Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT * FROM people ORDER BY age DESC LIMIT 1;
- SELECT * FROM people WHERE MAX(age);
- SELECT * FROM people WHERE age IN (SELECT DISTINCT age FROM people ORDER BY age DESC LIMIT 3)
- SELECT * FROM people WHERE age = (SELECT MAX(age) FROM people)
- SELECT * FROM people WHERE age =
- (select MAX(age) from people);
Add Comment
Please, Sign In to add comment