LearnPath

sql · beginner · ~3h

Library queries

Write SQL that answers: which books are on loan, which author has the most titles, which titles were published after 2015.

Requirements

Skills: SQL fundamentals

Starter

queries.sql

sql editor · loading…

sql · sandboxed in your browser

Output

Run to see output.

Hints
  • GROUP BY author, COUNT(*) as titles.