Wording in comments
Alter db query for postgresql semantics