SQL DELETE Statement and Data Cleaning Quiz

SQL DELETE Statement and Data Cleaning Quiz

Assessment

Interactive Video

Computers

9th - 10th Grade

Practice Problem

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

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?