Muna N.#5
Conversation
📝 HackYourFuture auto gradeAssignment Score: 0 / 100 ✅Status: ✅ Passed Test Details |
There was a problem hiding this comment.
Good effort overall! Most queries are correct but there are a few issues to fix.
Question 1 - Almost correct, but the question asks for oldest first, which means ascending order. You used DESC (newest first).
Question 3 - The logic is correct and good use of table aliases (b and a). However two small issues:
The space between first and last name is missing. You wrote '' (empty string) instead of ' ' (space). So names would appear as "StephenKing" instead of "Stephen King".
The alias is spelled auther_name, should be author_name. Small thing, but attention to detail matters!
Question 8 - The DELETE works, but you hardcoded id IN (101). This assumes you know the exact ID. A safer approach would be:DELETE FROM books WHERE title = 'The Light of life';
Also id IN (101) can just be id = 101 since it's a single value.
Bonus A - Almost correct! The GROUP BY and COUNT are right, but the question asks for most to fewest, which means descending order. Add DESC.
Ro-P
left a comment
There was a problem hiding this comment.
Great job! All the functionalities are implemented correctly.
No description provided.