
Database
Authored by AKA ThaScientist
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
64 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
SQL Categories:The Data Manipulation Language (DML) is NOT all about the rows in the table
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?