Open
Conversation
DwardEE
approved these changes
Aug 20, 2025
DwardEE
left a comment
There was a problem hiding this comment.
Good job!
The diagrams look good with no major problems.
Your Section 2 work is excellent: the COALESCE query is neatly done and handles NULLs correctly; the ROW_NUMBER approach is valid, and your step with reversing/CTEs shows strong understanding. Good catch using the COUNT OVER window, it’s much cleaner than the join version.
It's ok that you got outside help. The code looks good too. There are no issues with it.
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)
Submitted Assignment 2. Section 3 was not fully completed, and it was too late to ask in office hours by that time.
What did you learn from the changes you have made?
I learned that if I don't know the answer, asking something like Chat GPT (even after the fact) will greatly hinder my learning.
I did learn the functions and some advanced SQL, though. Especially when it comes to theory as the classes were really good.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
They are mentioned in the comments. A couple examples: compromise between type 1 and type 2 SCDs; section 2 part 3 also had me research after the fact.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
A lot during SQL coding. I need to get used to it. Asking something like ChatGPT after the fact at some point made it even more challenging to understand the issues because it diminished my learning from trial and error. Had to go back to class recordings and my notes from classes which I kept, in order to try to solve this.
How were these changes tested?
in SQLite
A reference to a related issue in your repository (if applicable)
Section 3 of assignment 2.
Checklist