Database

Database

9th - 12th Grade

64 Qs

quiz-placeholder

Similar activities

Quiz Dedicated Server

Quiz Dedicated Server

12th Grade

60 Qs

Computer Science Essentials Semester Exam 2021

Computer Science Essentials Semester Exam 2021

9th - 12th Grade

60 Qs

R081 - Revision Quiz

R081 - Revision Quiz

9th - 10th Grade

68 Qs

UAS  BIMTIK GENAP 2025 KLS 9

UAS BIMTIK GENAP 2025 KLS 9

9th Grade

65 Qs

Term 3 Mid-Term Quiz

Term 3 Mid-Term Quiz

6th - 12th Grade

60 Qs

Module Communication - Email

Module Communication - Email

7th Grade - University

60 Qs

Year 11 Progress test 2

Year 11 Progress test 2

9th - 10th Grade

61 Qs

Database

Database

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

AKA ThaScientist

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?