BMS-Medarex Site Consolidation Study

Database Error; SQL: SELECT DISTINCT *, `t`.`ID` AS `pod_item_id` FROM `o_posts` AS `t` WHERE ( ( `t`.`ID` = 17906 OR `t`.`ID` = 17907 OR `t`.`ID` = 17905 OR `t`.`ID` = 17904 ) AND ( `t`.`post_type` = "attachment" ) ); Response: Unknown column 'attachment' in 'where clause'