select*from `client_currencies` innerjoin `currencies` as `cu` on `cu`.`id` = `client_currencies`.`currency_id` where `client_currencies`.`is_primary` =1 limit 1
select*from `vendor_slots` whereexists (select*from `slot_days` where `vendor_slots`.`id` = `slot_days`.`slot_id` and `day` =2) and `start_time` <'07:16:54'and `end_time` >'07:16:54'and `vendor_slots`.`vendor_id` in (75)
selectcount(*) as aggregate from `vendors` whereexists (select*from `products` where `vendors`.`id` = `products`.`vendor_id` andexists (select*from `order_product_ratings` where `products`.`id` = `order_product_ratings`.`product_id`) and `is_live` ='1'and `products`.`deleted_at` isnull)
select `product_variant_sets`.`product_id`, `product_variant_sets`.`product_variant_id`, `product_variant_sets`.`variant_type_id`, `vr`.`type`, `vt`.`title` from `product_variant_sets` innerjoin `variants` as `vr` on `product_variant_sets`.`variant_type_id` = `vr`.`id` innerjoin `variant_translations` as `vt` on `vt`.`variant_id` = `vr`.`id` where `vt`.`language_id` =148and `product_id` in (select `id` from `products` where `vendor_id` =75) groupby `product_variant_sets`.`variant_type_id`
select `vendors`.*, (selectcount(*) from `products` where `vendors`.`id` = `products`.`vendor_id` and `products`.`deleted_at` isnull) as `products_count` from `vendors`
selectcount(*) as aggregate from `products` whereexists (select*from `categories` where `products`.`category_id` = `categories`.`id` and `type_id` in (1, 3, 4, 5, 6, 11) and `categories`.`deleted_at` isnull) andexists (select*from `vendors` where `products`.`vendor_id` = `vendors`.`id` and `delivery` =1) and `is_live` =1and `vendor_id` =75and `products`.`deleted_at` isnull
select `category_translations`.*, `languages`.`id` as `langId`, `languages`.`name` as `langName`, `cl`.`is_primary` from `category_translations` innerjoin `client_languages` as `cl` on `cl`.`language_id` = `category_translations`.`language_id` innerjoin `languages` on `category_translations`.`language_id` = `languages`.`id` where `cl`.`is_active` =1and `category_translations`.`category_id` in (884, 886, 887, 888) and `category_translations`.`language_id` =148orderby `cl`.`is_primary` desc
select `vendors`.*, (selectcount(*) from `products` where `vendors`.`id` = `products`.`vendor_id` and `products`.`deleted_at` isnull) as `products_count` from `vendors`
select `id` from `products` whereexists (select*from `categories` where `products`.`category_id` = `categories`.`id` and `type_id` in (1, 3, 4, 5, 6, 11) and `categories`.`deleted_at` isnull) and `vendor_id` =75and `is_live` =1and `products`.`deleted_at` isnull