CH8 of database

CH8 of database

University

11 Qs

quiz-placeholder

Similar activities

SQL Queries

SQL Queries

University

10 Qs

RDBMS

RDBMS

University

15 Qs

DDL

DDL

University

10 Qs

SQL Queries

SQL Queries

University

10 Qs

MB-8

MB-8

University

15 Qs

13-mavzu. Bog‘langan ma’lumotlarni o‘chirish

13-mavzu. Bog‘langan ma’lumotlarni o‘chirish

University

16 Qs

JETBOY BBF NG MANDA REVIEW

JETBOY BBF NG MANDA REVIEW

University

10 Qs

DBMS Quiz2

DBMS Quiz2

University - Professional Development

10 Qs

CH8 of database

CH8 of database

Assessment

Quiz

Computers

University

Hard

Created by

Rodah Alkaabi

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the action taken when a referential integrity constraint is violated by inserting, deleting, or modifying tuples?

Ignore the violation and proceed

Rollback the transaction

Modify the constraint

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which command is used to remove a base table that is no longer needed?

Drop table

Remove table

Delete table

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What are the options available for actions in Referential Triggered Action?

SET PRIMARY , SET FOREIGN , SET UNIQUE

SET INDEX , SET CHECK , SET CONSTRAINT

SET NULL , CASCADE , and SET DEFAULT

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In table creation with foreign key references, which actions can be specified like SET DEFAULT and SET NULL?

CREATE TABLE REF

CREATE TABLE KEY

CREATE TABLE EMP

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the ALTER TABLE command do?

Creates new table

Deletes the entire table

Modifies a base table by adding \ dropping columns , changing definitions , or adding \ dropping constraints

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which command is used to add a column to an existing table?

MODIFY TABLE EMPLOYEE ADD JOB VARCHAR(12);

ALTER TABLE EMPLOYEE ADD JOB VARCHAR(12);

ADD COLUMN EMPLOYEE JPB VARCHAR(12);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

When dropping a column using ALTER TABLE, which behavior can be chosen between CASCADE and RESTRICT?

CASCADE drops constraints and views automatically

CASCADE ensures data loss

RESTRICT ensures no data loss

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?