title: SQL not accepting my comments
body: <p>I am trying to run this sql query in PHPMyAdmin:</p>
  
  <pre><code>--create a mysql contact table
  --delete contact table if already exists
  DROP TABLE IF EXISTS contact;
  
  --create new table named contact with fields as specified
  CREATE TABLE contact(
      contactID int PRIMARY KEY,
      name VARCHAR(50),
      company VARCHAR(30),
      email VARCHAR(50)
  );
  
  --add these to the table
  INSERT INTO contact VALUES (0, 'Bill Gates', 'Microsoft', 'bill@micro.com');
  INSERT INTO contact VALUES (1, 'Larry Page', 'Google', 'larry@google.com');
  
  --displays whats in this
  SELECT * FROM contact;
  </code></pre>
  
  <p>I thought that in sql this is considered a comment: <code>--I'm a comment</code></p>
  
  <p>However PHPMyAdmin isn't accepting it.</p>
  
  <p>I get this error:</p>
  
  <pre><code>SQL query:
  
  --create a mysql contact table
  
  --delete contact table if already exists DROP TABLE IF EXISTS contact; 
  
  
  MySQL said: 
  
  Documentation
  
  1064 - You have an error in your SQL syntax; 
  
  Check the manual that corresponds to your MySQL server version for the right syntax to 
  
  use near '--create a mysql contact table --delete contact table if already exists 
  
  DROP T' at line 1
  </code></pre>
  
  <p>I get the same error with the same code on these sql checkers also:</p>
  
  <p><a href="http://www.piliapp.com/mysql-syntax-check/" rel="noreferrer">http://www.piliapp.com/mysql-syntax-check/</a>
  <a href="http://sqlfiddle.com/" rel="noreferrer">http://sqlfiddle.com/</a></p>