SELECT id_news FROM ch_news WHERE `id_news_type` = 4 AND `id_active` = 1 AND `id_delete` = 0 AND dt_publish <= NOW() AND dt_publish != '0000-00-00 00:00:00' AND id_news NOT IN (23482) ORDER BY dt_publish DESC LIMIT 6 here