title: ERROR 1064 (42000): You have an error in your SQL syntax;
body: <p>I have a MySQL commands:</p>
  
  <pre><code>CREATE DATABASE IF NOT EXISTS courses;
  
  USE courses
  
  CREATE TABLE IF NOT EXISTS teachers(
      id INT(10) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
      name VAR_CHAR(50) NOT NULL,
      addr VAR_CHAR(255) NOT NULL,
      phone INT NOT NULL,
  );
  </code></pre>
  
  <p>When I run it, I get an error:</p>
  
  <pre><code>ERROR 1064 (42000): 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 'VAR_CHAR(50) NOT NULL, addr VAR_CHAR(255) NOT
  NULL, phone INT NOT NULL, )' at line 3
  </code></pre>