select `specificationPropertyMasterDataId` from `PR_ProductSpecificationProperties` where `productId` in ('57ED32D5-BD96-4386-B601-86CCDDC9DCAB', 'F682F2E4-1B3A-445A-8D40-08EAE3C14E1C')
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` ='D16A4B20-0EBE-4636-874D-A3A8AADD8F01'and `PR_ProductCategories`.`deleted_at` isnull
select*from `PR_Products` where `PR_Products`.`productId` in ('57ED32D5-BD96-4386-B601-86CCDDC9DCAB', 'F682F2E4-1B3A-445A-8D40-08EAE3C14E1C') 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 ('D16A4B20-0EBE-4636-874D-A3A8AADD8F01', 'A7CF97A7-D46E-44F9-B157-F805D8C7ECE4', 'FF832D2E-9B0B-4A76-A060-C26621F72D35', 'DFC7031B-350D-4256-BFD8-A01156482C16', 'DFC85A3C-534F-4217-8BE9-7A54FBBD6B52', '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 ('D16A4B20-0EBE-4636-874D-A3A8AADD8F01', 'A7CF97A7-D46E-44F9-B157-F805D8C7ECE4', 'FF832D2E-9B0B-4A76-A060-C26621F72D35', 'DFC7031B-350D-4256-BFD8-A01156482C16', 'DFC85A3C-534F-4217-8BE9-7A54FBBD6B52', '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 ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', '49E2AAB4-8B62-40B5-9673-4B1387C64368', 'D16A4B20-0EBE-4636-874D-A3A8AADD8F01', '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 ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', '49E2AAB4-8B62-40B5-9673-4B1387C64368', 'D16A4B20-0EBE-4636-874D-A3A8AADD8F01', '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)