Skip to content

Assignment two#2

Open
Clay-Qiu wants to merge 5 commits intomainfrom
assignment-two
Open

Assignment two#2
Clay-Qiu wants to merge 5 commits intomainfrom
assignment-two

Conversation

@Clay-Qiu
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

Copy link
Copy Markdown

@kelichiu kelichiu left a comment

Choose a reason for hiding this comment

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

Total Point: 60/70

Section 1: 38/46

  • Type 1 and Type 2 table structures proposal is missing.
  • Date Table and its relationships with other table is missing.

Section 2: 8/8

  • WINDOW FUNCTION Q1: When use ROW_NUMBER, the data of customer_id and market_date is not unique. We need to use GROUP BY to get the unique combination of customer_id and market_date in data.

Section 3: 6/8

  • DELETE: You are now deleting product by their ID. In the instruction, it's specified that we delete the product by not only ID, but also the timestamp. Imagine you have previously insert a product with an ID that already exist in the table, your approach would delete both of the records(new and old). We need to incorporate the checking of timestamp in order to make sure that we are deleting just the old record.

Section 4: 8/8

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