selectcount(*) as aggregate from `articles` where `title` like'%مرافقيه%'and `publish_time` <='2025-04-14 08:59:24'and `status` =1and `articles`.`deleted_at` isnull
select `sections`.*, `article_section`.`article_id` as `pivot_article_id`, `article_section`.`section_id` as `pivot_section_id` from `sections` innerjoin `article_section` on `sections`.`id` = `article_section`.`section_id` where `article_section`.`article_id` in (151581, 155661, 156256, 159639, 177981, 182578, 196436, 197502, 205283) and `sections`.`deleted_at` isnull