title: Can I execute .sql file from SQLite command line when I don't have a .db file?
body: <p>I've been writing SQL in environments where the databases and tables are all easy to pull in using simple 'FROM db.table'. Now I'm trying to do my own project on .csv files. I want to be able to write all of my queries in .sql files and execute them using command line. </p>
  
  <p>I'm uncertain about the following: </p>
  
  <ol>
  <li>What the best program to use is.</li>
  <li>Wow to execute a .sql file from command line.</li>
  <li>How to import a .csv file. </li>
  </ol>
  
  <p>Yipes! I'm new to using command line and I'm new to pulling in my own tables.</p>
  
  <p>I'm currently trying out SQLlite3, but from the documentation* it doesn't look like I can simply execute a .sql file using SQLlite3 in command line. 
  I've tried running "sqlite3 HelloWorld.sql" in command line for a file that just has "SELECT 'Hello World';" in it and this is what I get: </p>
  
  <p>SQLite version 3.9.2 2015-11-02 18:31:45
  Enter ".help" for usage hints.
  sqlite>  </p>
  
  <p>Any advice would be greatly appreciated! </p>
  
  <ul>
  <li><a href="https://www.sqlite.org/cli.htmlb" rel="nofollow">https://www.sqlite.org/cli.htmlb</a></li>
  </ul>