Fixed case in SQL queries
Fixed case in SQL queries


Former-commit-id: 90a9c1497cb3841feeffd0ec478492abe66870d1 [formerly e76bd16d985747dd022a165f3c6ffeed52dbbef0]
Former-commit-id: 509229fb49749e381bfe1a016c71a8f78b1a5ff4
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine