Home > Database > SQL > What is the command to create a data table in sql

What is the command to create a data table in sql

王林
Release: 2020-06-17 13:43:03
Original
18808 people have browsed it

What is the command to create a data table in sql

SQL syntax for creating a data table:

CREATE TABLE table_name (column_name column_type);
Copy after login

For example, if we need to create a student table now, the creation method is:

What is the command to create a data table in sql

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template