Put in order · SQL and MySQL course · Module 8: Subqueries

UNION ALL of two year ranges

Arrange in one line (left to right) the elements joining two queries with the UNION ALL operator:

Items to put in order

  • SELECT tytul FROM ksiazki WHERE rok_wydania < 0
  • UNION ALL
  • ;
  • SELECT tytul FROM ksiazki WHERE rok_wydania >= 0

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