+ 1
this query always result to be incorrect from Sorting Data lesson
SELECT * FROM books ORDER BY title ASC this query always result to be incorrect from Sorting Data lesson
3 Réponses
+ 6
A Garcia I just went through the exercise in the course and this is the correct answer... If you continue to have issues please screenshot and send to info@sololearn.com
SELECT *
FROM books
ORDER BY title ASC
+ 4
Maybe you accidentally added a semicolon after ASC?
The syntax is correct and works in a real database, but it won't be accepted in the lesson.
0
Double check your ORDER BY clause and column names. Make sure you are sorting by the true statement column and that the data types support sorting. Also, check for typos or incorrect table aliases