Get startedGet started for free

How many protected files?

One of your tasks is to understand the media type of each song available to customers. Songs in the track table can take one of five different media types. These are currently coded using integers. Songs with a media_type_id of 1, 4, or 5 are unprotected and media_type_id values of 2 or 3 are protected.

You'll be working with the TRACK table, within the STORE schema, part of the database starting COURSE_40931.

⚠️ Can't select a database, or getting a "table not found" error?

Use the table's full path in your FROM clause. Get it from the left panel: Databases tab → expand your COURSE_… database → select the table → Copy name.

This exercise is part of the course

Data Manipulation in Snowflake

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise