select*from `PR_Products` where `PR_Products`.`productId` in ('77B9120F-5E30-4C57-972C-0E054712A5FF', 'D6BFBFE0-097E-4564-B9C6-3DD6833916F9') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc
select*from `PR_ProductSpareParts` whereexists (select*from `PR_Products` where `PR_ProductSpareParts`.`productId2` = `PR_Products`.`productId` and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc) and `PR_ProductSpareParts`.`productId1` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and `PR_ProductSpareParts`.`deleted_at` isnullorderby `order` asc
select `id`, `productId`, `stockCode`, `title`, `defaultImage`, `productPrice` from `PR_Products` where `PR_Products`.`productId` in ('C95465CC-B2A6-4F45-BE2E-4C8A4CEE409A') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc
select*from `PR_ProductSpecifications` where `PR_ProductSpecifications`.`productId` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and `PR_ProductSpecifications`.`deleted_at` isnull
select*from `PR_Specifications` where `PR_Specifications`.`specificationId` in ('14F3FB81-8947-4E5E-BB23-2F17B1452EF2', '50F360E9-8C0F-437E-A879-5685BEFF3827') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
select*from `PR_ProductSpecificationProperties` where `PR_ProductSpecificationProperties`.`productId` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and `PR_ProductSpecificationProperties`.`deleted_at` isnull
select*from `PR_PackageComponents` whereexists (select*from `PR_Products` where `PR_PackageComponents`.`componentId` = `PR_Products`.`productId` and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc) and `PR_PackageComponents`.`productId` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and `PR_PackageComponents`.`deleted_at` isnullorderby `order` asc
select*from `PR_BarTypeProductCompatibilities` innerjoin `PR_BarTypes` on `PR_BarTypeProductCompatibilities`.`barTypeId` = `PR_BarTypes`.`barTypeId` where `PR_BarTypeProductCompatibilities`.`productId` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and PR_BarTypes.lngId=7and `PR_BarTypeProductCompatibilities`.`deleted_at` isnullorderby `PR_BarTypes`.`order` asc
select*from `PR_Products` where `productId` in ('06E7D881-897B-4943-872E-636B571D7B01', 'CEE46B8C-EB89-4BC3-AAC6-D6A247BD3282', 'F7C51A49-5297-4EC1-B1EF-71414676433F') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc
select*from `PR_SpecificationProperties` where `PR_SpecificationProperties`.`specificationPropertyId` in ('40A339D4-C734-41BE-A9F5-7540C347B360', 'D78F6505-9766-4732-A858-73785505B425') and `PR_SpecificationProperties`.`deleted_at` isnullorderby `order` asc
select*from `PR_Specifications` where `PR_Specifications`.`specificationId` in ('14F3FB81-8947-4E5E-BB23-2F17B1452EF2', '50F360E9-8C0F-437E-A879-5685BEFF3827') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
select*from `PR_SpecificationPropertyMasterData` where `PR_SpecificationPropertyMasterData`.`specificationPropertyMasterDataId` in ('F1B13263-BFD0-457E-8483-82BAC86D607E') and `PR_SpecificationPropertyMasterData`.`deleted_at` isnullorderby `order` asc
select `specificationId` from `PR_CategorySpecifications` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'DFC7031B-350D-4256-BFD8-A01156482C16', '08FDCA51-149B-4C4B-8C87-D52042CA6273', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `isVisibleOnProduct` =1and `PR_CategorySpecifications`.`deleted_at` isnullorderby `order` asc
select `title` from `PR_Specifications` where `specificationId` in ('14F3FB81-8947-4E5E-BB23-2F17B1452EF2', '50F360E9-8C0F-437E-A879-5685BEFF3827', '14F3FB81-8947-4E5E-BB23-2F17B1452EF2', '50F360E9-8C0F-437E-A879-5685BEFF3827', 'CE49416F-033B-4F79-A495-86DFDF9F4655') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
selectcount(*) as aggregate from `PR_ProductCategories` where `PR_ProductCategories`.`productId` ='5A28A728-E93E-4BEA-89D1-7593A695BB9B'and `PR_ProductCategories`.`productId` isnotnulland `categoryId` in ('2B39426A-55C6-45D5-9418-5A79A0166DEA', '23C6863F-91C0-44EE-B8DB-949A42E96573', 'DBE8AFC5-A2D9-4715-BB32-79424DBECA14', 'F7380C9C-AF6D-4B3D-82C9-17E81216DCA2') and `PR_ProductCategories`.`deleted_at` isnull
select*from `PR_Products` where `PR_Products`.`productId` in ('C95465CC-B2A6-4F45-BE2E-4C8A4CEE409A') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc
select `parentId` from `PR_Categories` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'DFC7031B-350D-4256-BFD8-A01156482C16', '08FDCA51-149B-4C4B-8C87-D52042CA6273', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `lngId` =7and `deleted_at` isnull
select `parentId` from `PR_Categories` where `categoryId` in ('A421D742-61EB-43C9-978F-43AADD8F611B', '5480AA8E-3C8D-4831-8005-8E1D56C668EA', 'FC67EF35-A392-43B7-B0C4-EAD75456D932', 'A421D742-61EB-43C9-978F-43AADD8F611B') and `lngId` =7and `deleted_at` isnull
select*from `PR_CategoryProductImages` where `categoryId` in ('F1D7419B-13D1-4D95-8AF7-0D95AED30BF2', '5C2DD4F5-056B-4961-B309-A37BA1BC5A4E', '5C2DD4F5-056B-4961-B309-A37BA1BC5A4E') and `lngId` =7and (`categoryId1` =''or `categoryId1` isnull) and (`categoryId2` =''or `categoryId2` isnull) and `deleted_at` isnull
select*from `PR_Products` where `PR_Products`.`productId` in ('77B9120F-5E30-4C57-972C-0E054712A5FF', 'D6BFBFE0-097E-4564-B9C6-3DD6833916F9') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc
select*from `PR_ProductSpareParts` whereexists (select*from `PR_Products` where `PR_ProductSpareParts`.`productId2` = `PR_Products`.`productId` and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc) and `PR_ProductSpareParts`.`productId1` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and `PR_ProductSpareParts`.`deleted_at` isnullorderby `order` asc
select `id`, `productId`, `stockCode`, `title`, `defaultImage`, `productPrice` from `PR_Products` where `PR_Products`.`productId` in ('C95465CC-B2A6-4F45-BE2E-4C8A4CEE409A') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc
select*from `PR_ProductSpecifications` where `PR_ProductSpecifications`.`productId` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and `PR_ProductSpecifications`.`deleted_at` isnull
select*from `PR_Specifications` where `PR_Specifications`.`specificationId` in ('14F3FB81-8947-4E5E-BB23-2F17B1452EF2', '50F360E9-8C0F-437E-A879-5685BEFF3827') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
select*from `PR_ProductSpecificationProperties` where `PR_ProductSpecificationProperties`.`productId` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and `PR_ProductSpecificationProperties`.`deleted_at` isnull
select*from `PR_PackageComponents` whereexists (select*from `PR_Products` where `PR_PackageComponents`.`componentId` = `PR_Products`.`productId` and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =7) and `isActive` =1orderby `lngId` desc) and `PR_PackageComponents`.`productId` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and `PR_PackageComponents`.`deleted_at` isnullorderby `order` asc
select*from `PR_BarTypeProductCompatibilities` innerjoin `PR_BarTypes` on `PR_BarTypeProductCompatibilities`.`barTypeId` = `PR_BarTypes`.`barTypeId` where `PR_BarTypeProductCompatibilities`.`productId` in ('5A28A728-E93E-4BEA-89D1-7593A695BB9B') and PR_BarTypes.lngId=7and `PR_BarTypeProductCompatibilities`.`deleted_at` isnullorderby `PR_BarTypes`.`order` asc
select `specificationId` from `PR_CategorySpecifications` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'DFC7031B-350D-4256-BFD8-A01156482C16', '08FDCA51-149B-4C4B-8C87-D52042CA6273', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `isVisibleOnProduct` =1and `PR_CategorySpecifications`.`deleted_at` isnullorderby `order` asc
select `title` from `PR_Specifications` where `specificationId` in ('14F3FB81-8947-4E5E-BB23-2F17B1452EF2', '50F360E9-8C0F-437E-A879-5685BEFF3827', '14F3FB81-8947-4E5E-BB23-2F17B1452EF2', '50F360E9-8C0F-437E-A879-5685BEFF3827', 'CE49416F-033B-4F79-A495-86DFDF9F4655') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'DFC7031B-350D-4256-BFD8-A01156482C16', '08FDCA51-149B-4C4B-8C87-D52042CA6273', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `isRoofRackCategory` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where (`categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'DFC7031B-350D-4256-BFD8-A01156482C16', '08FDCA51-149B-4C4B-8C87-D52042CA6273', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `slug` ='reconn-deck-bars'or `slug` ='reconn-deck-bar') and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('1481CF80-9553-4672-B659-22175F76D729', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('1481CF80-9553-4672-B659-22175F76D729', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('1481CF80-9553-4672-B659-22175F76D729', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('11C9289D-BCE1-4CE6-AABB-BE2169E8302F', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('11C9289D-BCE1-4CE6-AABB-BE2169E8302F', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('11C9289D-BCE1-4CE6-AABB-BE2169E8302F', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('91F7FB08-F114-42CE-A8A9-66AE3E7FB1BC', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('91F7FB08-F114-42CE-A8A9-66AE3E7FB1BC', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('91F7FB08-F114-42CE-A8A9-66AE3E7FB1BC', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `always_in_stock` =1and `PR_Categories`.`deleted_at` isnulland (`PR_Categories`.`lngId` isnullor `PR_Categories`.`lngId` =7) and `isActive` =1and (`scope` isnullor `scope` =0)