SQL | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

SQL

Why this query is wrong? Write a query to sort the cakes by calorie count and select the first 3 cakes from the list to offer the customer. SELECT Names FROM Cakes WHERE calories <= 100 ORDER BY calories LIMIT 3 ;

31st Jan 2022, 10:35 PM
Neda Soufieh
Neda Soufieh - avatar
1 Answer
+ 2
SELECT * FROM Cakes ORDER By calories LIMIT 3 ;
1st Feb 2022, 1:18 AM
Alexey Kopyshev
Alexey Kopyshev - avatar