Skip to content

Complete Assignment2#2

Open
adnt01 wants to merge 2 commits intomainfrom
assignment-two
Open

Complete Assignment2#2
adnt01 wants to merge 2 commits intomainfrom
assignment-two

Conversation

@adnt01
Copy link
Copy Markdown
Owner

@adnt01 adnt01 commented Nov 24, 2025

PULL REQUEST TITLE: UofT-DSI | sql - Assignment 2

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

I was trying to use window functions, string manipulations, cross joins, and insert, delete, update statements.

What did you learn from the changes you have made?

I learned about logical models type1 and type, and window functions.

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

No there was no other approach.

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

No challenges

How were these changes tested?

I tested the changes using DB Browser for SQLite

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

None

Checklist

  • I can confirm that my changes are working as intended

@adnt01 adnt01 closed this Nov 24, 2025
@adnt01 adnt01 reopened this Nov 24, 2025
Copy link
Copy Markdown

@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!

Everything looks good. There is no big issues. For the update question, it seems that you used two approaches: Approach 1 deletes all but rn=1 which destroys data. Approach 2 uses correct logic but table was already modified. So just a small heads up so no changes are needed.

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