Repository navigation
Assignment one - #1
BeinClaveria wants to merge 3 commits into
Conversation
🧪 SQL Queries Run Results (up to 3 rows)Click to expand/collapse assignment queries execution results✅ Query 1: SELECT * FROM customer, Results:
✅ Query 2: SELECT * Results:
✅ Query 3: SELECT * Results:
✅ Query 4: *SELECT , quantity * cost_per_quantity AS 'Price' Results:
✅ Query 5: SELECT Results:
✅ Query 6: SELECT Results:
✅ Query 7: SELECT * Results:
⚪ Query 8: **, No rows returned ⚪ Query 9: **, No rows returned ⚪ Query 10: **, No rows returned ⚪ Query 11: **, No rows returned ⚪ Query 12: **, No rows returned |
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I was creating an SQL code that would show a customized version of an existing data for analysis
What did you learn from the changes you have made?
That positioning of the tables, connecting tables and minor changes can make a big difference on how the data will be shown in the output.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
In some of the code I was sure that I needed to use ORDER BY instead of GROUP BY but when I tried it, it did not show the data the way I wanted so needed to update.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
It's just creating the code itself. I needed to create the basis first, SELECT and FROM. Then add code base on needs, like on SELECT I would then specify further which table to show instead of all. I would also then add filters like ORDER BY, GROUP BY and HAVING. Then connecting one table to another. It feels like building a house and you would go back and forth. Correcting and changing until the code is fully built.
How were these changes tested?
I tested by running the code on SQLite. For most part I don't get it right away so I correct and edit up until it shows the data the way I wanted it to show.
A reference to a related issue in your repository (if applicable)
I mainly answered directly on GitHub this time unlike on python class so when I wanted to push I realized the branch already exist on GitHub. So for the diagram I just added file and did commit directly.
Checklist