Solutions written and tested in PostgreSQL (LeetCode code editor → PostgreSQL). Local practice uses PostgreSQL 17 as well (data-engineer-prep).
Progress: 31 / 50 · Easy 23 · Medium 8 · Hard 0
| Done | # | Diff | Topic |
|---|---|---|---|
| [x] | 1757 | Easy | Select |
| [x] | 584 | Easy | Select |
| [x] | 595 | Easy | Select |
| [x] | 596 | Easy | Aggregation |
| [x] | 1148 | Easy | Select |
| [x] | 1683 | Easy | Select |
| [x] | 1378 | Easy | Basic Joins |
| [x] | 1068 | Easy | Basic Joins |
| [x] | 1070 | Medium | Basic Joins |
| [x] | 1581 | Easy | Basic Joins |
| [x] | 197 | Easy | Basic Joins |
| [x] | 1661 | Easy | Basic Joins |
| [x] | 577 | Easy | Basic Joins |
| [x] | 1280 | Easy | Basic Joins |
| [x] | 570 | Medium | Aggregation |
| [x] | 1934 | Medium | Aggregation |
| [x] | 620 | Easy | Sorting and Filtering |
| [x] | 1251 | Easy | Aggregation |
| [x] | 1075 | Easy | Aggregation |
| [x] | 1633 | Easy | Aggregation |
| [x] | 1729 | Easy | Aggregation |
| [x] | 619 | Easy | Aggregation |
| [x] | 1045 | Medium | Aggregation |
| [x] | 1731 | Easy | Aggregation |
| [x] | 1211 | Medium | Aggregation |
| [x] | 1193 | Medium | Aggregation |
| [x] | 1174 | Medium | Aggregation |
| [x] | 550 | Medium | Aggregation |
| [x] | 2356 | Easy | Aggregation |
| [x] | 1141 | Easy | Aggregation |
| … |
Diff matches LeetCode labels (Easy / Medium / Hard). Each .sql file has the same in the header.
cd C:\leetcode-sql50
# new file: NNNN-slug.sql (copy from _template.sql — set Difficulty in header)
git add .
git status
git commit -m "leetcode: SQL50 — 1148 Article Views I"
git pushRepo: https://github.com/David-saytrue/leetcode-sql50-
Portfolio / ETL: data-engineer-prep