Coding task · SQL and MySQL course · Module 2: Querying data (SELECT)

Five cheapest books with an alias

Combine an alias, sorting and LIMIT in one ranking query.

Task

Write a query that retrieves tytul and cena with the alias Cena from the ksiazki table, sorts ascending by price and shows the 5 cheapest books.