select `specificationPropertyMasterDataId` from `PR_ProductSpecificationProperties` where `productId` in ('1A6A74A6-F2F0-49B6-92C1-0FCD3DD09C7B', '35F33104-3C5A-46D7-AE06-5131A0C5BF92', 'A80B6709-D371-4C88-805E-A54FA99C9A89')
selectMAX(`productPrice`) as max_price, MIN(`productPrice`) as min_price, count(*) as product_count from `PR_ProductCategories` innerjoin `PR_Products` on `PR_Products`.`productId` = `PR_ProductCategories`.`productId` and `PR_Products`.`isActive` =1and `isObsolete` isnulland `PR_Products`.`deleted_at` isnulland `PR_Products`.`lngId` =8where `categoryid` ='18FCA1F1-E71D-496E-9AAF-18DBA3549385'and `PR_ProductCategories`.`deleted_at` isnull
select*from `PR_Products` where `PR_Products`.`productId` in ('1A6A74A6-F2F0-49B6-92C1-0FCD3DD09C7B', '35F33104-3C5A-46D7-AE06-5131A0C5BF92', 'A80B6709-D371-4C88-805E-A54FA99C9A89') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =8) and `isActive` =1orderby `lngId` desc
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '18FCA1F1-E71D-496E-9AAF-18DBA3549385', 'DFC85A3C-534F-4217-8BE9-7A54FBBD6B52', 'B8B347E3-63D0-406C-A666-E26FB2E4C35B', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =8) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '18FCA1F1-E71D-496E-9AAF-18DBA3549385', 'DFC85A3C-534F-4217-8BE9-7A54FBBD6B52', 'B8B347E3-63D0-406C-A666-E26FB2E4C35B', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =8) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('18FCA1F1-E71D-496E-9AAF-18DBA3549385', '903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'B8B347E3-63D0-406C-A666-E26FB2E4C35B', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =8) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('18FCA1F1-E71D-496E-9AAF-18DBA3549385', '903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'B8B347E3-63D0-406C-A666-E26FB2E4C35B', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =8) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '18FCA1F1-E71D-496E-9AAF-18DBA3549385', '903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'B8B347E3-63D0-406C-A666-E26FB2E4C35B', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =8) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '18FCA1F1-E71D-496E-9AAF-18DBA3549385', '903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'B8B347E3-63D0-406C-A666-E26FB2E4C35B', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =8) and `isActive` =1and (`scope` isnullor `scope` =0)