CREATE TABLE
CREATE TABLE — statement is used to create a new table in a database.CREATE TABLE table_name( column1 datatype, column2 datatype, column3 datatype, .... );The column parameters specify the names of the columns of the table. The datatype parameter specifies the type of data the column can hold (e.g. varchar, integer, date, etc.).
CREATE TABLE - Popular snippets
- MySQL 8.0 CREATE TABLE
last run:
2024-12-30 11:51:05
245
- PostgreSQL 14 CREATE TABLE INSERT INTO SELECT ORDER BY
last run:
2024-11-08 16:59:06
207
- MySQL 8.0 CREATE TABLE INSERT INTO DELETE WHERE AND SELECT
last run:
2024-12-20 08:24:50
197
- MariaDB 11.5 CREATE TABLE NOT AUTO_INCREMENT DEFAULT UPDATE PRIMARY KEY INSERT INTO SELECT WHERE GROUP BY AND LEFT JOIN INNER JOIN ORDER BY
last run:
2024-12-03 12:28:55
184
- MySQL 5.7 CREATE TABLE INSERT INTO
last run:
2024-12-04 19:13:59
172
- Oracle Database 21c CREATE TABLE INSERT INTO SELECT SUM LEFT JOIN GROUP BY
last run:
2024-12-19 16:57:50
155
- PostgreSQL 15 CREATE TABLE DEFAULT PRIMARY KEY INSERT INTO LEAD NOT SELECT
last run:
2024-12-13 06:59:24
153
- MS SQL Server 2017 CREATE TABLE SELECT SUM COUNT LEFT OUTER JOIN GROUP BY
last run:
2023-08-30 12:37:31
136
- MySQL 8.0 CREATE TABLE PRIMARY KEY AUTO_INCREMENT INSERT INTO SELECT WHERE IN GROUP BY HAVING ORDER BY
last run:
2024-07-04 08:07:58
130
- MySQL 8.0 CREATE TABLE INSERT INTO WITH SELECT WHERE CONCAT INNER JOIN CASE NOT ORDER BY BETWEEN AND LEFT JOIN
last run:
2024-12-24 09:17:44
126
CREATE TABLE - New snippets
-
MySQL 8.0 CREATE TABLE
added at:
2024-12-30 11:52:24
3
-
MySQL 8.0 CREATE TABLE
added at:
2024-12-30 11:51:49
1
-
MySQL 5.7 NOT CREATE TABLE INSERT INTO SELECT WHERE
added at:
2024-12-30 11:28:38
1
-
MySQL 5.7 NOT CREATE TABLE INSERT INTO SELECT WHERE
added at:
2024-12-30 11:28:11
1
-
MySQL 8.0 Sakila (ReadOnly) SHOW CREATE TABLE LIKE
added at:
2024-12-30 11:10:45
1
-
MySQL 8.0 CREATE TABLE LIKE INSERT INTO SELECT SHOW
added at:
2024-12-30 10:52:17
1
-
MySQL 8.0 CREATE TABLE LIKE INSERT INTO SELECT SHOW
added at:
2024-12-30 10:52:08
1
-
MySQL 8.0 CREATE TABLE LIKE INSERT INTO SELECT SHOW
added at:
2024-12-30 10:49:59
1
-
MySQL 8.0 CREATE TABLE LIKE INSERT INTO SELECT SHOW
added at:
2024-12-30 10:49:50
1
-
MySQL 5.7 CREATE TABLE AUTO_INCREMENT PRIMARY KEY NOT DEFAULT FOREIGN KEY
added at:
2024-12-30 08:52:35
1