Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 413 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 413 Bytes

My solutions to PostgreSQL Exercise

Setup

$ cd pgexercises
$ curl -o clubdata.sql https://pgexercises.com/dbfiles/clubdata.sql
$ docker compose up

Running query

# The database must be running to run a query
$ cd pgexercises
$ docker compose exec db bash -c "psql -U postgres -d exercises -f solutions/01-basic/01-retrieve-everything-from-a-table.sql"