Ed Sadler11,009 Points
Can someone take a look at my SQL statement. I'm obviously overlooking something.
I keep getting a "recheck your statement" message but I've tried everything. I don't know if my statement is wrong or there's an issue with the program.
KRIS NIKOLAISEN54,291 Points
LENGTH is a function. You'll want to sort by your alias like this:
SELECT title, LENGTH(title) as longest_length FROM books ORDER BY longest_length DESC LIMIT 1;