How can i solve sql cakes excrsise. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can i solve sql cakes excrsise.

24th Dec 2020, 2:08 PM
ARNAV SINGH
ARNAV SINGH - avatar
11 Answers
+ 12
ARNAV SINGH here is the query SELECT name, calories FROM cakes ORDER BY calories LIMIT 3;
29th Dec 2020, 7:31 AM
Zeba shabnoor
Zeba shabnoor - avatar
+ 1
You can use the InitCap() function. It worked for me. It’s a workaround until the bugs are squashed😀 https://oraclesql.in/initcap/
2nd May 2021, 5:21 PM
Shawn Blackman
Shawn Blackman - avatar
+ 1
SELECT name, calories FROM cakes ORDER BY calories ASC LIMIT 3; This should work 👍🏼
6th May 2021, 2:22 AM
KELECHI OZUMBA
KELECHI OZUMBA - avatar
+ 1
SELECT * FROM cakes ORDER BY calories LIMIT 3;
14th Sep 2021, 7:55 AM
Brigido bergado jr
Brigido bergado jr - avatar
+ 1
Copy this answer correct and like check
14th Sep 2021, 7:56 AM
Brigido bergado jr
Brigido bergado jr - avatar
0
SELECT name, calories FROM cakes ORDER BY calories ASC LIMIT 3;
17th Jan 2021, 3:50 PM
Manvendra Yadav
Manvendra Yadav - avatar
0
SELECT name, calories FROM cakes ORDER BY calories LIMIT 3;
5th Oct 2021, 12:53 PM
Fatemeh Afsahhosseini
Fatemeh Afsahhosseini - avatar
0
28th Feb 2022, 4:12 AM
302Palestina Arellano Joseph Adonai
302Palestina Arellano Joseph Adonai - avatar
0
28th Feb 2022, 4:12 AM
302Palestina Arellano Joseph Adonai
302Palestina Arellano Joseph Adonai - avatar
0
simplest way i can just this select * from cakes order by calories limit 3;
5th Sep 2022, 5:05 AM
Muhammad Naim
Muhammad Naim - avatar
0
SELECT * FROM cakes ORDER BY calories LIMIT 3;
6th Apr 2023, 12:26 AM
KELECHI OZUMBA
KELECHI OZUMBA - avatar