Database

Database

9th - 12th Grade

64 Qs

quiz-placeholder

Similar activities

V4 Final Exam

V4 Final Exam

12th Grade

68 Qs

Database Recap

Database Recap

10th - 12th Grade

65 Qs

XII Database & SQL

XII Database & SQL

9th - 12th Grade

61 Qs

WIN-ADMINISTRASI SISTEM JARINGAN 67 SOAL

WIN-ADMINISTRASI SISTEM JARINGAN 67 SOAL

12th Grade

67 Qs

CLASS 12 COMPUTER APPLICATIONS CH-1 TO CH-6 STATEBOARD I - MID

CLASS 12 COMPUTER APPLICATIONS CH-1 TO CH-6 STATEBOARD I - MID

12th Grade

63 Qs

Cuestionario sobre Bases de Datos

Cuestionario sobre Bases de Datos

12th Grade

61 Qs

REMEDIAL XIMM PEMROGRAMAN WEB

REMEDIAL XIMM PEMROGRAMAN WEB

11th Grade

60 Qs

Charizard CS test

Charizard CS test

12th Grade

66 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?