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