SQL Categories:The Data Manipulation Language (DML) is NOT all about the rows in the table

Database

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
AKA ThaScientist
Used 4+ times
FREE Resource
64 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True
False
...
...
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Create Table:Which of the following are typically found on a separate line (or separated by a comma) when creating the table
Note: Multiple answers may apply
The 3-part column definition
A table constraint for the Primary Key
A column "constraint" like Identity or Default
A table constraint for the Foreign Key
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Drop vs. Truncate:
When used on a table, what's the difference between the Drop and Truncate statements
Evaluate responses using AI:
OFF
Answer explanation
Truncate removes data but keeps structure. Drop removes data and selected structure.
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Create Table:
Create an SQL statement that will create the table from this following relational notation
Note: Include the 3-part column notation and PK
Inventory (PartNumber, Description)
Evaluate responses using AI:
OFF
Answer explanation
create table Inventory (
PartNumber int not null,
Description nvarchar(50) not null,
Constraint InventoryPK Primary Key(PartNumber),
)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identity:
The "Identity" keyword is used to designate that this column is a Primary Key
True
False
k
k
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Constraint Actions:
Consider an scenario where the FK constraint is using the "No Action" option. Describe what happens if you attempt to insert data into a child table without having a matching column in the parent
Evaluate responses using AI:
OFF
Answer explanation
Error message, this is not allowed as there is nothing to refer to. Fail.
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Cascade:
Consider a typical 1:M relationship with a foreign key constraint that has "on delete cascade". Describe what happens if you delete a row on the "1" side that has matching rows on the "M" side
Evaluate responses using AI:
OFF
Answer explanation
Line the parent up and all the kids.
Fire Away!!! LOL
Create a free account and access millions of resources
Similar Resources on Quizizz
60 questions
IT JUNE 2020 P1

Quiz
•
9th - 12th Grade
59 questions
TIN HỌC_B15-16-17-18-19-20

Quiz
•
11th Grade
63 questions
CLASS 12 COMPUTER APPLICATIONS CH-1 TO CH-6 STATEBOARD I - MID

Quiz
•
12th Grade
61 questions
QUIZ PHP SIMULAZIONE 5BSA

Quiz
•
9th - 12th Grade
68 questions
V4 Final Exam

Quiz
•
12th Grade
66 questions
Grade7 All

Quiz
•
7th Grade - University
60 questions
CSEC IT- Past Paper MCQ- 2020

Quiz
•
12th Grade
60 questions
Big Data Analytics Quiz

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University