Advent of Code solutions in SQL (PostgreSQL).
Input data is loaded using command line or Python script (see files input.psql or input_transform.py). Everything else is written in SQL.
Most of the solutions consist of:
- create_*.sql script used for DDL.
- (magic)
- solution_*.sql script to compute output.