TL;DR – The SQL CREATE TABLE command creates a new table in your database. Each table has a name and is organized into columns and rows. You can define the data held in the column by using the datatype parameter.
Contents
The SQL CREATE TABLE syntax
Example
CREATE TABLE mytable (
column1 datatype,
column2 datatype,
column3 datatype,
....
);

Pros Main Features
- Simplistic design (no unnecessary information)
- High-quality courses (even the free ones)
- Variety of features
- Nanodegree programs
- Suitable for enterprises
- Paid certificates of completion

Pros Main Features
- Professional service
- Flexible timetables
- A variety of features to choose from
- Professional certificates of completion
- University-level courses
- Multiple Online degree programs

Pros Main Features
- Great user experience
- Offers quality content
- Very transparent with their pricing
- Free certificates of completion
- Focused on data science skills
- Flexible learning timetable
Copying an existing table
Example
CREATE TABLE mynew_table_name AS
SELECT column1, column2,...
FROM myexisting_table_name
WHERE ....;
An example of creating an SQL table
Example
CREATE TABLE Suppliers (
SupplierID int,
FirstName varchar(255),
LastName varchar(255),
City varchar(255),
Country varchar(255)
);
Note: you can fill the empty table with data later by using the INSERT INTO statement.
The result
ID | First_Name | Last_Name | City | Country |
---|---|---|---|---|
Latest Udacity Coupon Found:
Verified STAFF PICK
75% OFF COURSES
Udacity Black Friday Offer
The best time to save on Udacity courses is now - follow this coupon to access a 75% Udacity Black Friday discount & enjoy learning at a very low cost!
Expiration date: 03/03/2021
3176 People Used
Only 97 Left