#691

Works published more than 5 times

Cian gives candidates a tiny library schema as a warm-up before the real listing-based questions: it tests only JOIN + GROUP BY + HAVING. The task is to find works with a rich publishing history. Find works with more than five editions and, for each, return the total edition count.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables.

titlework_idedition_count
Fathers and Sons67
Anna Karenina36
War and Peace16
Cian

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid