DB Error: ERROR: syntax error at or near "(" LINE 42: ...etting_value = $17 AND asa6.setting_value = $18)(asg7.sett... ^