Postgres
FreeOpen-source relational database. The usual pick when you want real SQL.
Try itPros of Postgres
Reliable relational database
JSON without leaving SQL
Free to run yourself
Cons of Postgres
You manage backups and upgrades
Heavier than SQLite for a tiny app