Search Header Logo

Let's practice! - WHERE

Authored by Thuan Tran

Specialty

University

Used 2+ times

Let's practice! - WHERE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

In this set of exercises, you'll use the songlist table, which contains songs featured on the playlists of 25 classic rock radio stations.

Yes

OK, let go!

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

  • Retrieve the song, artist, and release_year columns from the songlist table.

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

  • Make sure there are no NULL values in the release_year column.

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

  • Fill in the blank

  • Order the results by artist and release_year.

  • SELECT song, artist, release_year FROM songlist WHERE release_year IS NOT NULL

    ______;

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

  • Fill in the blank

  • Extend the WHERE clause so that the results are those with a release_year greater than or equal to 1980 and less than or equal to 1990.

  • SELECT song, artist, release_year FROM songlist WHERE ______

  • ORDER BY artist, release_year;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

  • Fill in the blank

  • Select all artists beginning with B who released tracks in 1986, but also retrieve any records where the release_year is greater than 1990.

  • SELECT song, artist, release_year FROM songlist WHERE ______

  • ORDER BY artist, release_year;

(artist = 'B%' AND release_year = 1986)

OR release_year > 1990

artist LIKE 'B%' AND release_year = 1986

OR release_year > 1990

(artist LIKE 'B%' AND release_year = 1986)

OR release_year > 1990

(artist LIKE 'B%' AND release_year = 1986)

AND release_year > 1990

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?