Skip to content

Conversation

@ottp613
Copy link
Owner

@ottp613 ottp613 commented Dec 4, 2025

UofT-DSI | SQL - Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

all syntax for SQL

What did you learn from the changes you have made?

select, where, range data, price

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

na

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

learning query and syntax

How were these changes tested?

locally

A reference to a related issue in your repository (if applicable)

Checklist

  • I can confirm that my changes are working as intended

Copy link

@DwardEE DwardEE left a comment

Choose a reason for hiding this comment

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

Great work!

Just keep in mind that for your first SELECT statement (as well as your JOIN #1), GROUP BY doesn't sort the names, you should be using ORDER BY instead.

In WHERE #2, you are missing the actual creation of the new 'price' column.

In CASE #2, your LIKE %pepper% statement requires quotations around the condition.

Other than these small errors, the submission looks solid, so I'll mark it as complete.

Updated SQL queries to include price calculation and rounding.
@ottp613
Copy link
Owner Author

ottp613 commented Dec 8, 2025

@DwardEE tried a fix for both. thanks for the feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants