CH8 of database

Quiz
•
Computers
•
University
•
Hard
Rodah Alkaabi
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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
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
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
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
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
Similar Resources on Wayground
14 questions
SQL MCQ

Quiz
•
University
16 questions
Chapter 8-2 (Docker)

Quiz
•
University
10 questions
SQL basic

Quiz
•
University
10 questions
U1 DDL

Quiz
•
University
15 questions
Chapt.2 - Data Models

Quiz
•
University
10 questions
MySQL Python Connectivity

Quiz
•
12th Grade - University
15 questions
SQL and Database Quiz

Quiz
•
University
14 questions
Parcial I - Base de Datos

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade