Skip to content

UofT-DSI | SQL - Assignment 1 - #485

Closed
evaxwu wants to merge 10 commits into
UofT-DSI:mainfrom
evaxwu:assignment-one
Closed

evaxwu wants to merge 10 commits into
UofT-DSI:mainfrom
evaxwu:assignment-one

Conversation

@evaxwu

@evaxwu evaxwu commented Oct 27, 2026

Copy link
Copy Markdown

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

Adding code for the assignment.

What did you learn from the changes you have made?

How to do SQL queries, filter and manipulate data.

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

For "join", I could use "ON table1.ID = table2.ID", but then both ID columns would be kept and it could be confusing. Upon some search, I found out that using "USING ID" if both tables share the same ID column name would allow it to drop one of the ID columns while joining, so that the resulting table will only have one ID column.

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

I didn't know how to insert new values. I dug into the live coding folder and found sample codes that I referenced for that query.

How were these changes tested?

I queried them on DB Browser and if the correct tables got returned, I knew I did it right.

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

N/A

  • Note: my logical model was in the Assignment1.md file.

Checklist

  • I can confirm that my changes are working as intended

@github-actions

Copy link
Copy Markdown

This pull request was made to the wrong repository. If you are a participant, please close it and open it in your own fork instead. Refer to the Assignment Submission Guide for detailed instructions.

@github-actions github-actions Bot closed this Oct 27, 2026
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.

1 participant