0
Please someone should solve cakes in SQL. I'm desperate
SQL
6 Antworten
+ 3
I did this:-
SELECT * FROM cakes ORDER BY calories LIMIT 3;
I selected each set using the *(wild card) from the table cakes. You should order them by their calories(smallest to largest) using ORDER BY keyword but you need to show the first three sets using the LIMIT keyword.
+ 1
Charles Ugwu Show your attempt and I will help you.
+ 1
Thanks man
0
SELECT name, calories
FROM customers
ORDER BY name, calories
FROM customers LIMIT 3
0
Charles Ugwu Your welcome.
0
SELECT name, calories
FROM cakes ORDER BY calories LIMIT 3;