[MySQL study notes 8] Basic writing rules of SQL

  1. The SQL statement should end with a semicolon ( ; );
  2. SQL does not distinguish the case of keywords, but the data inserted into the table is case-sensitive;
  3. The win system does not distinguish the case of the table name and field name by default;
  4. Linux / mac strictly distinguishes the case of table names and field names by default;
  5. The way of writing constants is fixed;
  6. Words need to be separated by half-width spaces or newlines.

Guess you like

Origin blog.csdn.net/weixin_52703185/article/details/118249539