Just need someone to tell me if this statement has the proper syntax or not; i cannot get it to work properly.
SELECT plantname, orderfreq, totalincome
FROM plantreview
WHERE score >='5'
AND recommended='1'
ORDER BY score DESC, LIMIT +0, 5
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming MySQL, there should not be a
,after theORDER BYor+in theLIMIT. If your column is an integer, you also don’t need to encase it in quotes.See it in action