Skip to content

Uploaded files for Assignment 2#2

Open
ccmckenzie17 wants to merge 1 commit intomainfrom
assignment-2
Open

Uploaded files for Assignment 2#2
ccmckenzie17 wants to merge 1 commit intomainfrom
assignment-2

Conversation

@ccmckenzie17
Copy link
Copy Markdown
Owner

Cory McKenzie

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

-Adding 2 ERDs for a hypothetical bookstore database
-Adding code on assignment2.sql for section 2 and 3
-Adding written responses for section 1 and 4 prompts in assignement2.md

What did you learn from the changes you have made?

I learned how to write more complex, multi-step, queries in sql using a variety of commands

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

One thing I found was that for some of the more complicated problems in section 3 I found it easier to
wrap my head around if I made temp tables as intermediate steps so that not everything had to be in one long statement. I'm not sure if this was always the most appropriate or elegant way to do things but it worked for me.

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

My challenges mostly came from getting the syntax right for the query I wanted to make. Usually I had a good idea of what steps were needed and just had to find out how to write the code in the correct way. SQL's "natural" language helped to usually get my first guess most of the way there and then some searching online, looking at notes from class, and trial and error helped get the syntax working.

How were these changes tested?

Lots of trial and error and checking query results and temp tables.

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

Checklist

  • [ X] I can confirm that my changes are working as intended

Copy link
Copy Markdown

@anjali-deshpande-hub anjali-deshpande-hub left a comment

Choose a reason for hiding this comment

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

Very 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