- Instant help with your Sql coding problems

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.

Share "How to create table in MySQL?"
Tags:
Technical term:
Create table in MySQL