Fix missing space in Annex C SQL

Also fixes capitalisation of a couple of column names