https://github.com/shraddhaag/sql-practice-problem-solutions
A repository of solutions to SQL Practice Problems.
https://github.com/shraddhaag/sql-practice-problem-solutions
postgres solutions sql sql-practice-problems
Last synced: 7 months ago
JSON representation
A repository of solutions to SQL Practice Problems.
- Host: GitHub
- URL: https://github.com/shraddhaag/sql-practice-problem-solutions
- Owner: shraddhaag
- Created: 2022-07-02T11:33:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-02T11:33:45.000Z (over 3 years ago)
- Last Synced: 2025-02-02T00:25:21.357Z (12 months ago)
- Topics: postgres, solutions, sql, sql-practice-problems
- Homepage:
- Size: 57.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## SQL Practice Problem Solutions
This is a repository of solutions to [SQL Practice Problems: 57 beginning, intermediate, and advanced challenges for you to solve using a “learn-by-doing” approach](https://www.amazon.in/SQL-Practice-Problems-learn-doing-ebook/dp/B01N41VQFO).
The test database on which all the queries are made is the Northwind sample database. The SQL for the same can be found [here](northwind_postgres.sql).
I used a locally run Hasura instance to view the tables and ran SQL queries using its Raw SQL view. To setup a Hasura GraphQL Engine locally with a posgtres database, use the [docker-compose](docker-compose.yml) file which has the required configurations.