ERROR: syntax error at or near ")" LINE 1: select * from m_cmsdetail where nm_cms in () order by nm_det... ^