SQL - Table Constraints
Which of the following is the correct syntax to add a NOT NULL constraint to a column named email when creating a table?
CREATE TABLE users (
id INT PRIMARY KEY,
email ???
);
Which of the following is the correct syntax to add a NOT NULL constraint to a column named email when creating a table?
CREATE TABLE users (
id INT PRIMARY KEY,
email ???
);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions