+ 2
8 people are registered for an online course, but only the first 4 of them are able to participate.
Please answer this question for me thanks I insert : Select * from apartment Where limit 4 But its wrong and has error please help me that where is my mistakeâ€
9 Answers
+ 3
Sandeep Kushwaha it doesnt workđ
+ 3
Andrew Choi it was true thanks
+ 2
Post your attempt first
+ 1
Sandeep Kushwaha SELECT FROM Participants;
WHERE LIMIT 4;
the name of table is Participants
+ 1
i think you just need to order by registration date. so your code could look something like this:
SELECT *
FROM participants
ORDER BY registration_date
LIMIT 4;
+ 1
glad that worked.
+ 1
this how i can solve it : select Participants.firstname,Participants.lastname
from Participants
limit 4;
saludos de Mex
0
SELECT *
FROM participants
LIMIT 4;
0
SELECT Participants.firstname,Participants.lastname
FROM Participants
LIMIT 4;