Skip to content

Assignment 2#2

Open
hamidbani wants to merge 3 commits intomainfrom
assignment_2
Open

Assignment 2#2
hamidbani wants to merge 3 commits intomainfrom
assignment_2

Conversation

@hamidbani
Copy link
Copy Markdown
Owner

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

Logical Model: Tables for employee, customer, book, order, sales, date; added shift table; mapped 1:∞ relationships.
Customer Address : Type 1 overwrites address; Type 2 saves history.
COALESCE: Replaced NULLs with blank or ‘unit’ while keeping syntax.
Window Functions: Numbered visits, reversed numbering, counted product purchases.
String Manipulations: Extracted descriptions after hyphens; found numbers in sizes.
UNION: Combined best and worst sales days into one query.
Cross Join: Calculated vendor sales assuming 5 products for every customer.
INSERT/DELETE/UPDATE: Created product_units, added data, deleted old, updated quantity.
Copy link
Copy Markdown

@JzfL JzfL left a comment

Choose a reason for hiding this comment

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

Well done! 70/70

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.

2 participants