SQL - Constraints

SQL - Constraints

University

15 Qs

quiz-placeholder

Similar activities

DBMS QUIZ-1

DBMS QUIZ-1

University

20 Qs

RDBMS-SQL

RDBMS-SQL

University

10 Qs

PERINTAH SQL 01

PERINTAH SQL 01

10th Grade - University

10 Qs

Database starter

Database starter

12th Grade - University

15 Qs

SQL MCQ

SQL MCQ

University

14 Qs

My SQL- DDL

My SQL- DDL

11th Grade - Professional Development

20 Qs

ULANGAN HARIAN KELAS 11 IPA

ULANGAN HARIAN KELAS 11 IPA

University

20 Qs

BASIS DATA -  Modul 05

BASIS DATA - Modul 05

University

20 Qs

SQL - Constraints

SQL - Constraints

Assessment

Quiz

Computers

University

Medium

Created by

Twins TR

Used 91+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used for removing a table and all its data from the database:

Create command

Drop table command

Alter table command

All of the mentioned

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which constraint(s) can be used to make sure that the column is not left empty?

NOT NULL

UNIQUE

PRIMARY KEY

ALL THE ABOVE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a type of SQL constraint?
Primary Key
Foreign Key
Alternate Key
Unique
NOT NULL

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______________ constraint prevents NULL values

UNIQUE

NOT NULL

NULL

FOREIGN KEY

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. ___________ constraint ensures that no two rows have the same value in the specified columns.

Primary Key

Unique

Default

Check

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. ___________ which helps to uniquely identify a record.

Primary key Constraint

Unique Constraint

Default constraint

Check constraint

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. _________ helps to set a limit value placed for a field.

DEFAULT Constraint

Primary Key Constraint

Check Constraint

TABLE CONSTRAINT

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?