Skip to content

UofT-DSI | SQL - Assignment 1#1

Open
CrystalC20 wants to merge 3 commits intomainfrom
assignment-1
Open

UofT-DSI | SQL - Assignment 1#1
CrystalC20 wants to merge 3 commits intomainfrom
assignment-1

Conversation

@CrystalC20
Copy link
Copy Markdown
Owner

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

I added a logical model inside 02_activities > assignments > images. I also added my answers to Section 1 & 4 of the Assignment1.md file. Lastly, I added requested queries (answering Section 2 & 3) inside assignment1.sql file.

What did you learn from the changes you have made?

I learned how to write queries in SQL using commands like SELECT, JOIN, FROM; filter data using HAVING, WHERE; aggregate data using various aggregate functions like sum, avg.

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?

No particular challenges. I am still trying to get more familiar with the order of the commands (SELECT > FROM > JOIN > WHERE). Especially with the various filtering, sorting and ordering functions, I'm still not quite clear how they should be ordered.

How were these changes tested?

I ran the queries in DB Browser to make sure the resulting output matched the descriptions.

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

NA

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.

Point: 30/30

Section 1: ✅

Section 2: ✅

Section 3: ✅

Section 4: ✅

Hi Crystal, thank you for the thoughtful reflection, I enjoyed reading it. Not only your codes are correct, they are also well formatted. Making the codes easy to read is a undermined but essential skill, I'm appreciate your effort. Congrats!

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