SQL
Which of t ...
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
Which of the following table definitions guarantee that column с1 cannot contain NULL values? Pick all applicable options.
CREATE TABLE z1 (c1 INT DEFAULT 0)
CREATE TABLE z1 (c1 INT PRIMARY KEY)
CREATE TABLE z1 (c1 INT NOT NULL)
CREATE TABLE z1 (c1 INT)
Explanation
PRIMARY KEY cannot contain NULL values
primary-key
1
(1)
Like
Login in
to like
Comment
Login in
to comment
Share
Tweet
S
QL
Quiz
Login to learn SQL
or
Read more about
SQL Quizzes
Follow CodeGalaxy
Mobile Beta
Send Feedback
Sign Up Now
or
Subscribe for future quizzes
Login in to like
Login in to comment