Table:
A table in SQL is a set of data which is systematically displayed in rows and columns.
The CREATE TABLE Statement is used to create a new table.
Syntax:
Example:
Output:
Note: We can use DESC command to see the created table.
DESC EMPLOYEE;
CREATE TABLE tableName |
CREATE TABLE EMPLOYEE ( |
Table created. |
Table Column Data Type Length Precision Scale Primary Key Nullable Default Comment |
No comments:
Post a Comment