0 votes
in SQLite by
How would you create a table in SQLite database?

1 Answer

0 votes
by

CREATE TABLE statement is used to create a table in SQLite database. You have to define the columns and data types of each column while creating the table.

Syntax:

CREATE TABLE database_name.table_name(    

column1 datatype  PRIMARY KEY(one or more columns),    

column2 datatype,    

column3 datatype,    

columnN datatype,    

);    

Related questions

+1 vote
asked Nov 12, 2021 in SQLite by Robin
0 votes
asked Nov 15, 2021 in SQLite by Robin
...