0 votes
in Sql by
Which of the following SQL statements is used to add a primary key constraint to a table in SQLite?

a) ADD CONSTRAINT PRIMARY KEY

b) ADD PRIMARY KEY

c) PRIMARY KEY CONSTRAINT

d) None of the above

1 Answer

0 votes
by

Answer: b) ADD PRIMARY KEY

Explanation: The ADD PRIMARY KEY statement is used to add a primary key constraint to a table in SQLite.

...