Complete Assignment 1: SQL Fundamentals and Logical Data Model#1
Open
Complete Assignment 1: SQL Fundamentals and Logical Data Model#1
Conversation
DwardEE
approved these changes
Nov 19, 2025
DwardEE
left a comment
There was a problem hiding this comment.
Great work!
Everything looks good, I love your detailed diagram. No changes are needed.
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)
-Completed Assignment 1 covering SQL fundamentals and logical data modeling:
SQL queries: SELECT, WHERE, CASE, JOIN, Aggregates, Temp Tables.
Logical data model diagram showing vendor to vendor_booth_assignments relationship (1:∞).
#What did you learn from the changes you have made?
-SQL query optimization and multiple filtering approaches.
-Table relationships through JOIN operations and primary/foreign keys.
-Conditional logic with CASE statements and data flagging.
-Data aggregation with GROUP BY and HAVING clauses.
-Temporary table creation and data manipulation.
-Entity relationship diagramming for database design.
#Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
-For the vendor booth count, thought about using COUNT with DISTINCT but realized COUNT(*) was more appropriate.
-For temp table creation, contemplated using CREATE TABLE with explicit column definitions instead of SELECT *.
#Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
-Temporary Tables: Initially faced issues with temp table persistence across sessions; resolved with proper session management
#How were these changes tested?
-Confirmed temp table operations by querying the created tables.
#A reference to a related issue in your repository (if applicable)
-N/A - This is the initial submission for Assignment 1.
Checklist
[ x] I can confirm that my changes are working as intended
[ x] All queries execute without errors