Skip to content

Muna N.#5

Open
MunaNasher wants to merge 1 commit into
HackYourAssignment:mainfrom
MunaNasher:main
Open

Muna N.#5
MunaNasher wants to merge 1 commit into
HackYourAssignment:mainfrom
MunaNasher:main

Conversation

@MunaNasher
Copy link
Copy Markdown

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 1, 2026

📝 HackYourFuture auto grade

Assignment Score: 0 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 0
🧪 The auto grade is experimental and still being improved

Test Details

@Ro-P Ro-P self-assigned this Apr 2, 2026
Comment thread task-1/queries.sql
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown

@Ro-P Ro-P left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! All the functionalities are implemented correctly.

@Ro-P Ro-P added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed Review in progress labels Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed This assignment has been reivewed by a mentor and a feedback has been provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants