Netflix-style Company ChallengeBeginnerVerified answerSQLite live

Crime Genre Titles

Return the title of every movie in the Crime genre, ordered alphabetically.

  • Filtering
  • Sorting

Challenge brief

Understand the request

Content Licensing The licensing team is reviewing Crime content contracts and needs a current list of titles in that genre.

List all titles in the Crime genre.

Return

  • title

Constraints

  • Return only movies whose genre is 'Crime'
  • Order alphabetically by title

Data you will use

Review the relevant tables before deciding how to join, filter, or aggregate them.

movies

  • movie_idINTEGER
  • titleVARCHAR(100)
  • genreVARCHAR(50)

Hints, when you need them

Open one clue at a time so you still do the reasoning.

Hint 1

Genre is stored with each catalog title.

Hint 2

Filter the catalog to the requested genre.

Hint 3

Return titles alphabetically.

Verified SQL answer

Attempt the problem first, then compare structure and reasoning—not just syntax.

Reveal solution and explanation
SELECT title FROM movies WHERE genre = 'Crime' ORDER BY title

Why this works

WHERE genre = 'Crime' isolates Crime titles. ORDER BY title gives the alphabetical list the licensing team needs.

Success check

Returns the complete deterministic result for crime genre titles

Expected result

Use this output to verify values, aliases, ordering, and row count.

title
Money Heist
Narcos

Learn the concepts behind this answer

Strengthen your understanding with these targeted learning topics:

Continue practicing

SQL Interview Practice

Return to the complete interview preparation experience.