select id from content where statusid=1 and siteid=3 and publisheddate between '2024-6-21 00:00:00' and '2024-11-18 23:59:59' order by publisheddate desc limit 0,20;select count(*) totalcount from content where statusid=1 and siteid=3 and publisheddate between '2024-6-21 00:00:00' and '2024-11-18 23:59:59' order by publisheddate desc