I don’t why my SQL does not work. I put 2 files at the same folder and the errors occur. Thank you
Welcome to the Community!
As per the error message, there is an indentation error.
You should use a separate cell for the
The first cell should have
%%capture %load_ext sql %sql sqlite:///factbook.db
And the second cell should have
%%sql SELECT * FROM facts LIMIT 5;
Check whether it works.
Thank you for helping me. It works now