The SQL scripts could use some cosmetic improvements (e.g. it mixes lowercase `select` and uppercase `SELECT`).