selectcount(*) as aggregate from `articles` where `title` like'%مزحة%'and `publish_time` <='2025-07-18 06:24:11'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 (14945, 154574, 160188, 181237, 217788) and `sections`.`deleted_at` isnull