Anonymous
Asked in
Cars &Transportation
·
2 weeks ago
Which command is used for creating tables?
SQL: create command. create is a DDL SQL command used to create a table or a database in relational database management system.
What is the command to create tables?
Syntax. CREATE TABLE table_name( column1 datatype, column2 datatype, column3 datatype, ..... columnN datatype, PRIMARY KEY( one or more columns ) ); CREATE TABLE is the keyword telling the database system what you want to do.
What is the command for creating a table in SQL?
SQL CREATE TABLE StatementCREATE TABLE table_name ( column1 datatype, column2 datatype, column3 datatype, ... Example. CREATE TABLE Persons ( PersonID int, ... CREATE TABLE new_table_name AS. SELECT column1, column2,... FROM existing_table_name. ... Example. CREATE TABLE TestTable AS. SELECT customername, contactname.SQL CREATE TABLE Statement - W3Schools
Related Questions
Relevance
-
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago
Write us your question, the answer will be received in 24 hours