T
T
theSever2018-01-21 18:47:14
SQL
theSever, 2018-01-21 18:47:14

SQLite Why is table not being created?

I'm trying to create a table, but it's not being created.

CREATE TABLE Dating (
id INTEGER  PRIMARY KEY AUTOINCREMENT NULL,
site TEXT  NULL,
dat TEXT  NULL,
tic TEXT  NULL,
yk TEXT  NULL,
alexa TEXT  NULL
reit TEXT  NULL
description TEXT  NULL
);

And this is how it is created:
CREATE TABLE Form (
id INTEGER  PRIMARY KEY AUTOINCREMENT NULL,
ico TEXT  NULL,
color TEXT  NULL,
name TEXT  NULL,
tel TEXT  NULL,
adr TEXT  NULL
);

And this is how it is created:
CREATE TABLE table2 (
a INTEGER PRIMARY KEY AUTOINCREMENT NULL,
b TEXT  UNIQUE NULL,
c TEXT NULL
);

What is the difference between the first and second requests??? O_o

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2018-01-21
@theSever

In the absence of commas.

D
Dimonchik, 2018-01-21
@dimonchik2013

`date` TEXT NULL,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question