Open
Conversation
kelichiu
reviewed
Feb 2, 2025
kelichiu
left a comment
There was a problem hiding this comment.
Total Point: 68/70
Section 1: 46/46
Section 2: 8/8
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I have created two entity-relationship diagrams that are saved both in the assignment-2 markdown file and as a separate pngs. I have also answered the prompt 3 in section 1 regarding changing dimensions in the markdown file. I have completed all of the SQL prompts in the assignment2.sql file which involved various manipulations of "farmersmarket.db". Finally, I have included a response to the article "Neural nets are just people all the way down" in the assignment-2 markdown file.
What did you learn from the changes you have made?
I learned how to perform intricate commands in SQL that allowed me to summarize data from various interconnected datasets in the form of database queries. I also learned how to modify existing datasets in the database.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
As with assignment 1, I found myself wondering how commands might be completed in R, but I continued with SQL as the assignment required
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
I found the string manipulation question in section 3 extremely challenging as we were asked to not include a general case statement. I overcame this through trial and error where I tried many different query options and through researching solutions online. Ultimately, I found the correct combination of commands that included a NULLIF statement.
How were these changes tested?
I tested all SQL commands on "farmersmarket.db" on my local computer.
A reference to a related issue in your repository (if applicable)
NA
Checklist