0

I am starting to learn SQL using MySQL and I got my hands on book "SQL for MySQL Developers: A Comprehensive Tutorial and Reference".

Why the author doesn't place semicolons ; at the end of the statements?

Can you form legal statement in MySQL without using semicolon?

Here is an example pulled right from the book (p.45) CREATE DATABASE TENNIS. Of course, MySQL shell responds by ->.

4

1 回答 1

1

Many flavors and applications of SQL require a semi-colon at the end. A few do not.

于 2013-02-08T02:14:28.247 回答