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 ('1319F573-D082-46E5-B1BB-21C3C228A5DA') and `PR_ProductSpareParts`.`deleted_at` isnullorderby `order` asc
select*from `PR_ProductSpecifications` where `PR_ProductSpecifications`.`productId` in ('1319F573-D082-46E5-B1BB-21C3C228A5DA') and `PR_ProductSpecifications`.`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 ('1319F573-D082-46E5-B1BB-21C3C228A5DA') 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 ('1319F573-D082-46E5-B1BB-21C3C228A5DA') and PR_BarTypes.lngId=7and `PR_BarTypeProductCompatibilities`.`deleted_at` isnullorderby `PR_BarTypes`.`order` asc
select `specificationId` from `PR_CategorySpecifications` where `categoryId` in ('52F43AC9-4078-40A1-B209-3A40E9B2C94A', '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', 'EE207AA6-7F22-4AB0-9F48-74AC27A7D297', 'FF9D205F-F6D9-47CD-874C-7ED551C30FB7') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
selectcount(*) as aggregate from `PR_ProductCategories` where `PR_ProductCategories`.`productId` ='1319F573-D082-46E5-B1BB-21C3C228A5DA'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 `parentId` from `PR_Categories` where `categoryId` in ('52F43AC9-4078-40A1-B209-3A40E9B2C94A', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `lngId` =7and `deleted_at` isnull
select*from `PR_CategoryProductImages` where `categoryId` in ('5480AA8E-3C8D-4831-8005-8E1D56C668EA', '1F080BA4-2957-4128-92DF-5F3180D62872') and `lngId` =7and `categoryId1` isnotnulland (`categoryId2` =''or `categoryId2` isnull) and `deleted_at` isnull
select `parentId` from `PR_Categories` where `categoryId` in ('5480AA8E-3C8D-4831-8005-8E1D56C668EA', '1F080BA4-2957-4128-92DF-5F3180D62872') and `lngId` =7and `deleted_at` isnull
select*from `PR_CategoryProductImages` where `categoryId` in ('7A6D08A3-DB1C-445C-8FEE-52E108F5E215', 'F1D7419B-13D1-4D95-8AF7-0D95AED30BF2') and `lngId` =7and (`categoryId1` =''or `categoryId1` isnull) and (`categoryId2` =''or `categoryId2` isnull) and `deleted_at` isnull
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 ('1319F573-D082-46E5-B1BB-21C3C228A5DA') and `PR_ProductSpareParts`.`deleted_at` isnullorderby `order` asc
select*from `PR_ProductSpecifications` where `PR_ProductSpecifications`.`productId` in ('1319F573-D082-46E5-B1BB-21C3C228A5DA') and `PR_ProductSpecifications`.`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 ('1319F573-D082-46E5-B1BB-21C3C228A5DA') 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 ('1319F573-D082-46E5-B1BB-21C3C228A5DA') and PR_BarTypes.lngId=7and `PR_BarTypeProductCompatibilities`.`deleted_at` isnullorderby `PR_BarTypes`.`order` asc
select `specificationId` from `PR_CategorySpecifications` where `categoryId` in ('52F43AC9-4078-40A1-B209-3A40E9B2C94A', '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', 'EE207AA6-7F22-4AB0-9F48-74AC27A7D297', 'FF9D205F-F6D9-47CD-874C-7ED551C30FB7') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('52F43AC9-4078-40A1-B209-3A40E9B2C94A', '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 ('52F43AC9-4078-40A1-B209-3A40E9B2C94A', '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 ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'E64EF41D-D244-4084-9AA3-8B1E920644CD', '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` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'E64EF41D-D244-4084-9AA3-8B1E920644CD', '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` =7) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'E64EF41D-D244-4084-9AA3-8B1E920644CD', '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` =7) and `isActive` =1and (`scope` isnullor `scope` =0)