Skip to content

Conversation

@AALICODE
Copy link
Owner

@AALICODE AALICODE commented Aug 24, 2025

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

What did you learn from the changes you have made?

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

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

How were these changes tested?

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

Checklist

  • I can confirm that my changes are working as intended

@AALICODE
Copy link
Owner Author

Updated Assignment2.md, assignment2.sql. Kindly let me know the updates required. Thank you.

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.

Strong work!

Two tune-ups: (1) In the cross-join revenue query you’re not using the customer count, multiply by it so the metric is 5 * cc.num_customers * vp.original_price (and you can drop SUM if vendor_products is one row per vendor/product). (2) For the Apple Pie INSERT, SELECT * can copy non-unit rows and colide on product_id; explicitly list columns, ensure product_qty_type='unit', or geneate a new id. Overall, clean and correct! No major changes are necessary so I'll mark the assignment as complete.

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