Database

Database

9th - 12th Grade

64 Qs

quiz-placeholder

Similar activities

BTEC National ICT U2 LAB - Queries 1

BTEC National ICT U2 LAB - Queries 1

12th Grade

60 Qs

Computer Awareness - 8

Computer Awareness - 8

12th Grade

60 Qs

PSAT INFORMATIKA KELAS X 2025

PSAT INFORMATIKA KELAS X 2025

10th Grade

60 Qs

INF.03 SQL Test końcowy

INF.03 SQL Test końcowy

11th Grade

67 Qs

Ports & Protocols

Ports & Protocols

12th Grade

69 Qs

Pengayaan USP 1

Pengayaan USP 1

12th Grade

60 Qs

REMEDIAL XIMM PEMROGRAMAN WEB

REMEDIAL XIMM PEMROGRAMAN WEB

11th Grade

60 Qs

QUIZ PHP SIMULAZIONE 5BSA

QUIZ PHP SIMULAZIONE 5BSA

9th - 12th Grade

61 Qs

Database

Database

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

AKA ThaScientist

Used 4+ times

FREE Resource

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

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?