ERROR: syntax error at or near ")" LINE 1: SELECT name from picture_types where id in () ^