ERROR: syntax error at or near ")" LINE 4: WHERE T.productID IN () ^