DB Error: ERROR: syntax error at or near "(" LINE 17: ....setting_value = $2 AND asa1.setting_value = $3)(asg2.sett... ^