SQL syntax for creating a data table:
CREATE TABLE table_name (column_name column_type);
For example, if we need to create a student table now, the creation method is:
Note:
Columns between tables must be separated by English [comma];
SQL statements of tables are not case-sensitive;
SQL A statement can only use a semicolon at the end of the entire edit, or it can be used without a semicolon.
Recommended tutorial: sql tutorial
The above is the detailed content of What is the command to create a data table in sql. For more information, please follow other related articles on the PHP Chinese website!