0

What's wrong with my code for Cakes SQL??

Can't seem to figure out what's wrong with my code for the Cakes project in SQL? Can someone help? My code: SELECT * FROM cakes; ORDER BY calories LIMIT 3;

6th Mar 2021, 12:06 AM
Erika Alejandra Licona Garcia
Erika Alejandra Licona Garcia - avatar
2 Réponses
+ 4
Remove the semicolon in the first line.
6th Mar 2021, 2:09 AM
Simba
Simba - avatar
0
SELECT name, calories FROM cakes ORDER BY calories LIMIT 3;
5th Oct 2021, 12:54 PM
Fatemeh Afsahhosseini
Fatemeh Afsahhosseini - avatar