title: Running mySQL queries from a script
body: <p>For my database class the teacher assigned us to use Oracle SQL to design an application. Because I have more experience with mySQL he said I could use it instead.</p>
  
  <p>I want to make my assignment look as simliar to his example as possible. What his example consists of of is one file run.sql that looks like this:</p>
  
  <pre><code>@start //this runs start.sql which creates the tables
  
  DESC table_name; //do this for all tables
  
  @insert //this runs insert.sql that creates dummy data
  
  SELECT * FROM table_name; //do this for all tables
  
  @query //this runs query.sql that runs our sample queries
  
  @drop //this kills all the data
  </code></pre>
  
  <p>Is there a way to do something simliar?</p>
  
  <p>Namely a way to write a query that calls external queries and outputs all data to an output.txt file?</p>