SQL DELETE Statement and Data Cleaning Quiz

SQL DELETE Statement and Data Cleaning Quiz

Assessment

Interactive Video

Computers

9th - 10th Grade

Hard

Created by

Nancy Jackson

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What SQL statement is used to remove data from a table?

INSERT

UPDATE

DELETE

SELECT

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary key in the song table?

title

year_released

song_id

artist

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many songs in the table have an unknown release year?

10,000

5,320

4,680

1,000

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What clause is used in a DELETE statement to specify which rows to remove?

GROUP BY

ORDER BY

WHERE

HAVING

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if you execute a DELETE statement without a WHERE clause?

It does nothing.

It deletes the last row in the table.

It deletes the first row in the table.

It deletes all rows in the table.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the tempo of a song with a tempo value of 0 beats per minute?

Silent

Slow

Moderate

Fast

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many songs had a tempo of 0 beats per minute?

12

4,668

5,320

1

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?