You can run and edit code on this page to explore the question and better understand the concepts
Here is a database table with information about a menu
What is the output from this SQL code ?
select course, min(price) as 'least expensive item'
from bistro
where portions >= 2
group by course
(you can copy and run the code in the repl block):
Additional question
How would you create this output, the most expensive dessert course and main course?
course most expensive item
---------- --------------------
Dessert 8.99
Main 15.99
(you can edit and run the code in the repl block: query.sql):