CREATE Command
CREATE Command
Description:
The CREATE command is used to create a new database or a new table.
Syntax:
CREATE DATABASE database_name;
CREATE TABLE table_name (
column1 datatype,
column2 datatype
);Example:
CREATE DATABASE college;
CREATE TABLE student(
id INT,
name VARCHAR(50)
);
Comments
Post a Comment