Create table in MySQL
Question:
How to create table in MySQL? Answer:
CREATE TABLE table_name (
col1 datatype,
col2 datatype,
...
);
CREATE TABLE student (
id INT,
student_name VARCHAR(255),
rate INT,
birth_date DATE
);
Description:
To create a new table in the database use the CREATE TABLE
statement.
Reference:
Creating tables reference
Share "How to create table in MySQL?"
Related snippets:
Tags:
Technical term:
Create table in MySQL