Put in order · SQL and MySQL course · Module 6: Aggregation and grouping

Clauses of a simple grouping

Arrange the clauses of a simple grouping query in the correct order (top to bottom):

Items to put in order

  • FROM ksiazki
  • GROUP BY kategoria_id
  • SELECT kategoria_id, COUNT(*)

You can check the correct answer by solving this task in the CodeWorlds game.