As a beginning programmer with +20 hours of Python coding and novice familiarity with the command-line, I opened up Zed Shaw\'s \"Learn SQL The Hard Way\" and was quickly st
I ran into same problem today, and like you I was wondering why my command is not working. As mentioned above author assumes that you create the initial command in a text editor and save as a .sql file. And then ex1.db < ex1.sql command converts the file to a .db file.