├── .envrc ├── .gitignore ├── README.md ├── data-manipulation-and-concurrency-control └── batch-update │ ├── artists.2017-05-01.csv │ ├── artists.2017-06-01.csv │ ├── load-data.sql │ └── update.sql ├── data-modeling ├── normalization │ └── custom-data-type.sql ├── not-only-sql │ ├── black-cards.sql │ ├── load-data.py │ ├── load-data.sql │ └── normalize.sql └── tooling-for-database-modeling │ ├── model-sandbox.sql │ ├── random-lorem-function.sql │ └── rencet-articles-per-category.sql ├── data-types ├── denormalized-data-types │ ├── enum-type.sql │ └── tweets │ │ ├── load-data.sql │ │ ├── popular-tag.sql │ │ └── tweets.csv ├── postgresql-data-types │ ├── data-types.sql │ ├── get-currency-rate.sql │ ├── rates │ │ ├── 2018-06-raw.txt │ │ ├── load-data.sql │ │ ├── process.py │ │ └── processed.csv │ └── time-diff.sql └── some-relational-theory │ └── equal-operator.sql ├── introduction └── a-first-use-case │ ├── add-wow.sql │ ├── factbook.csv │ ├── load-data.sql │ ├── select-february.sql │ └── select-full-february.sql ├── requirements.txt ├── sql-toolbox ├── get-some-data │ ├── f1db │ │ ├── csv │ │ │ ├── circuits.csv │ │ │ ├── constructor_results.csv │ │ │ ├── constructor_standings.csv │ │ │ ├── constructors.csv │ │ │ ├── driver.csv │ │ │ ├── driver_standings.csv │ │ │ ├── lap_times.csv │ │ │ ├── pit_stops.csv │ │ │ ├── qualifying.csv │ │ │ ├── races.csv │ │ │ ├── results.csv │ │ │ ├── seasons.csv │ │ │ └── status.csv │ │ └── schema.txt │ └── load_data.sql ├── group_by-having-with-union_all │ ├── 971-not-972.sql │ ├── 972-points.sql │ ├── accident-pct.sql │ ├── champions.sql │ ├── dangerous-seasons.sql │ ├── decade-races-with-diff.sql │ ├── driver-constructor-cube.sql │ ├── driver-constructor-points.sql │ ├── driver-constructor-rollup.sql │ ├── ever-won.sql │ ├── never-finished-by-season.sql │ ├── never-finished.sql │ ├── races-per-decade.sql │ └── status-count.sql ├── order_by-limit-no_offset │ ├── knn.sql │ ├── order-by.sql │ ├── page-by-seek.sql │ └── top-drivers-per-decade.sql ├── select-from-where │ ├── date-calc.sql │ ├── race-and-winner.sql │ ├── top-drivers.sql │ └── unlucky-drivers.sql └── understanding-nulls │ └── truth-table.sql └── writing-sql-queries ├── a-small-application ├── chinook.sqlite ├── load-data.sh ├── top-artists-by-album.sql └── top-artists-by-genre.sql ├── business-logic ├── artist-album-duration.py ├── artist-album-duration.sql ├── four-albums.sql └── sp_get-all-albums.sql ├── sql-is-code └── tracks-named-after-artists.sql └── the-sql-repl └── get-database-size.sql /.envrc: -------------------------------------------------------------------------------- 1 | source ~/Documents/python/envs/mastering-pg/bin/activate 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/README.md -------------------------------------------------------------------------------- /data-manipulation-and-concurrency-control/batch-update/artists.2017-05-01.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-manipulation-and-concurrency-control/batch-update/artists.2017-05-01.csv -------------------------------------------------------------------------------- /data-manipulation-and-concurrency-control/batch-update/artists.2017-06-01.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-manipulation-and-concurrency-control/batch-update/artists.2017-06-01.csv -------------------------------------------------------------------------------- /data-manipulation-and-concurrency-control/batch-update/load-data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-manipulation-and-concurrency-control/batch-update/load-data.sql -------------------------------------------------------------------------------- /data-manipulation-and-concurrency-control/batch-update/update.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-manipulation-and-concurrency-control/batch-update/update.sql -------------------------------------------------------------------------------- /data-modeling/normalization/custom-data-type.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-modeling/normalization/custom-data-type.sql -------------------------------------------------------------------------------- /data-modeling/not-only-sql/black-cards.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-modeling/not-only-sql/black-cards.sql -------------------------------------------------------------------------------- /data-modeling/not-only-sql/load-data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-modeling/not-only-sql/load-data.py -------------------------------------------------------------------------------- /data-modeling/not-only-sql/load-data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-modeling/not-only-sql/load-data.sql -------------------------------------------------------------------------------- /data-modeling/not-only-sql/normalize.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-modeling/not-only-sql/normalize.sql -------------------------------------------------------------------------------- /data-modeling/tooling-for-database-modeling/model-sandbox.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-modeling/tooling-for-database-modeling/model-sandbox.sql -------------------------------------------------------------------------------- /data-modeling/tooling-for-database-modeling/random-lorem-function.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-modeling/tooling-for-database-modeling/random-lorem-function.sql -------------------------------------------------------------------------------- /data-modeling/tooling-for-database-modeling/rencet-articles-per-category.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-modeling/tooling-for-database-modeling/rencet-articles-per-category.sql -------------------------------------------------------------------------------- /data-types/denormalized-data-types/enum-type.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/denormalized-data-types/enum-type.sql -------------------------------------------------------------------------------- /data-types/denormalized-data-types/tweets/load-data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/denormalized-data-types/tweets/load-data.sql -------------------------------------------------------------------------------- /data-types/denormalized-data-types/tweets/popular-tag.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/denormalized-data-types/tweets/popular-tag.sql -------------------------------------------------------------------------------- /data-types/denormalized-data-types/tweets/tweets.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/denormalized-data-types/tweets/tweets.csv -------------------------------------------------------------------------------- /data-types/postgresql-data-types/data-types.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/postgresql-data-types/data-types.sql -------------------------------------------------------------------------------- /data-types/postgresql-data-types/get-currency-rate.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/postgresql-data-types/get-currency-rate.sql -------------------------------------------------------------------------------- /data-types/postgresql-data-types/rates/2018-06-raw.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/postgresql-data-types/rates/2018-06-raw.txt -------------------------------------------------------------------------------- /data-types/postgresql-data-types/rates/load-data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/postgresql-data-types/rates/load-data.sql -------------------------------------------------------------------------------- /data-types/postgresql-data-types/rates/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/postgresql-data-types/rates/process.py -------------------------------------------------------------------------------- /data-types/postgresql-data-types/rates/processed.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/postgresql-data-types/rates/processed.csv -------------------------------------------------------------------------------- /data-types/postgresql-data-types/time-diff.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/postgresql-data-types/time-diff.sql -------------------------------------------------------------------------------- /data-types/some-relational-theory/equal-operator.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/data-types/some-relational-theory/equal-operator.sql -------------------------------------------------------------------------------- /introduction/a-first-use-case/add-wow.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/introduction/a-first-use-case/add-wow.sql -------------------------------------------------------------------------------- /introduction/a-first-use-case/factbook.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/introduction/a-first-use-case/factbook.csv -------------------------------------------------------------------------------- /introduction/a-first-use-case/load-data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/introduction/a-first-use-case/load-data.sql -------------------------------------------------------------------------------- /introduction/a-first-use-case/select-february.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/introduction/a-first-use-case/select-february.sql -------------------------------------------------------------------------------- /introduction/a-first-use-case/select-full-february.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/introduction/a-first-use-case/select-full-february.sql -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | psycopg2-binary==2.7.4 2 | -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/circuits.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/circuits.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/constructor_results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/constructor_results.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/constructor_standings.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/constructor_standings.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/constructors.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/constructors.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/driver.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/driver.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/driver_standings.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/driver_standings.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/lap_times.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/lap_times.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/pit_stops.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/pit_stops.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/qualifying.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/qualifying.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/races.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/races.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/results.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/results.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/seasons.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/seasons.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/csv/status.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/csv/status.csv -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/f1db/schema.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/f1db/schema.txt -------------------------------------------------------------------------------- /sql-toolbox/get-some-data/load_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/get-some-data/load_data.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/971-not-972.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/971-not-972.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/972-points.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/972-points.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/accident-pct.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/accident-pct.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/champions.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/champions.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/dangerous-seasons.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/dangerous-seasons.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/decade-races-with-diff.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/decade-races-with-diff.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/driver-constructor-cube.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/driver-constructor-cube.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/driver-constructor-points.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/driver-constructor-points.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/driver-constructor-rollup.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/driver-constructor-rollup.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/ever-won.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/ever-won.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/never-finished-by-season.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/never-finished-by-season.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/never-finished.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/never-finished.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/races-per-decade.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/races-per-decade.sql -------------------------------------------------------------------------------- /sql-toolbox/group_by-having-with-union_all/status-count.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/group_by-having-with-union_all/status-count.sql -------------------------------------------------------------------------------- /sql-toolbox/order_by-limit-no_offset/knn.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/order_by-limit-no_offset/knn.sql -------------------------------------------------------------------------------- /sql-toolbox/order_by-limit-no_offset/order-by.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/order_by-limit-no_offset/order-by.sql -------------------------------------------------------------------------------- /sql-toolbox/order_by-limit-no_offset/page-by-seek.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/order_by-limit-no_offset/page-by-seek.sql -------------------------------------------------------------------------------- /sql-toolbox/order_by-limit-no_offset/top-drivers-per-decade.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/order_by-limit-no_offset/top-drivers-per-decade.sql -------------------------------------------------------------------------------- /sql-toolbox/select-from-where/date-calc.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/select-from-where/date-calc.sql -------------------------------------------------------------------------------- /sql-toolbox/select-from-where/race-and-winner.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/select-from-where/race-and-winner.sql -------------------------------------------------------------------------------- /sql-toolbox/select-from-where/top-drivers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/select-from-where/top-drivers.sql -------------------------------------------------------------------------------- /sql-toolbox/select-from-where/unlucky-drivers.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/select-from-where/unlucky-drivers.sql -------------------------------------------------------------------------------- /sql-toolbox/understanding-nulls/truth-table.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/sql-toolbox/understanding-nulls/truth-table.sql -------------------------------------------------------------------------------- /writing-sql-queries/a-small-application/chinook.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/a-small-application/chinook.sqlite -------------------------------------------------------------------------------- /writing-sql-queries/a-small-application/load-data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/a-small-application/load-data.sh -------------------------------------------------------------------------------- /writing-sql-queries/a-small-application/top-artists-by-album.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/a-small-application/top-artists-by-album.sql -------------------------------------------------------------------------------- /writing-sql-queries/a-small-application/top-artists-by-genre.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/a-small-application/top-artists-by-genre.sql -------------------------------------------------------------------------------- /writing-sql-queries/business-logic/artist-album-duration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/business-logic/artist-album-duration.py -------------------------------------------------------------------------------- /writing-sql-queries/business-logic/artist-album-duration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/business-logic/artist-album-duration.sql -------------------------------------------------------------------------------- /writing-sql-queries/business-logic/four-albums.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/business-logic/four-albums.sql -------------------------------------------------------------------------------- /writing-sql-queries/business-logic/sp_get-all-albums.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/business-logic/sp_get-all-albums.sql -------------------------------------------------------------------------------- /writing-sql-queries/sql-is-code/tracks-named-after-artists.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/sql-is-code/tracks-named-after-artists.sql -------------------------------------------------------------------------------- /writing-sql-queries/the-sql-repl/get-database-size.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cj1128/mastering-postgres-review/HEAD/writing-sql-queries/the-sql-repl/get-database-size.sql --------------------------------------------------------------------------------