0

I can't pass the cake problem in SQL

I don't seem to find how to call the database as to direct the queries I need. It says I lack input

23rd Apr 2021, 3:11 PM
Gonzalo Rodríguez Hermida
Gonzalo Rodríguez Hermida - avatar
6 Respuestas
+ 3
Remove the semicolons. Only put a semicolon at the very end, and it's only necessary if you have multiple queries. Get rid of the semicolons and it will work.
23rd Apr 2021, 3:25 PM
Jerry Hobby
Jerry Hobby - avatar
+ 5
SELECT * FROM cakes; ORDER BY calories; LIMIT 3
23rd Apr 2021, 3:18 PM
Gonzalo Rodríguez Hermida
Gonzalo Rodríguez Hermida - avatar
0
Can you paste your query? so that we can look into it.
23rd Apr 2021, 3:15 PM
Aditya
Aditya - avatar
0
Your logic is crrt.. just look into the semicolons. SELECT * FROM cakes ORDER BY calories LIMIT 3;
23rd Apr 2021, 3:22 PM
Aditya
Aditya - avatar
0
Thanks!!!
23rd Apr 2021, 3:34 PM
Gonzalo Rodríguez Hermida
Gonzalo Rodríguez Hermida - avatar