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` =5) and `isActive` =1orderby `lngId` desc) and `PR_ProductSpareParts`.`productId1` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') and `PR_ProductSpareParts`.`deleted_at` isnullorderby `order` asc
select `id`, `productId`, `stockCode`, `title`, `defaultImage`, `productPrice` from `PR_Products` where `PR_Products`.`productId` in ('1A34D917-7B94-4562-BBEE-A778CEF17548') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =5) and `isActive` =1orderby `lngId` desc
select*from `PR_ProductSpecifications` where `PR_ProductSpecifications`.`productId` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') and `PR_ProductSpecifications`.`deleted_at` isnull
select*from `PR_Specifications` where `PR_Specifications`.`specificationId` in ('14F3FB81-8947-4E5E-BB23-2F17B1452EF2') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
select*from `PR_ProductSpecificationProperties` where `PR_ProductSpecificationProperties`.`productId` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') 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` =5) and `isActive` =1orderby `lngId` desc) and `PR_PackageComponents`.`productId` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') 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 ('A529D411-A7CD-4D58-9C93-1CEA29652E74') and PR_BarTypes.lngId=5and `PR_BarTypeProductCompatibilities`.`deleted_at` isnullorderby `PR_BarTypes`.`order` asc
select*from `PR_SpecificationProperties` where `PR_SpecificationProperties`.`specificationPropertyId` in ('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') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
select*from `PR_SpecificationPropertyMasterData` where `PR_SpecificationPropertyMasterData`.`specificationPropertyMasterDataId` in ('83CF2ACC-FFB0-4A5F-8FC2-43124C363BA1') and `PR_SpecificationPropertyMasterData`.`deleted_at` isnullorderby `order` asc
select `specificationId` from `PR_CategorySpecifications` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', '4A599B08-ED9A-4BF6-A40A-8051DF769342', '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', 'CCBF1F5D-ADE4-4020-BBA9-A81B1D4019B6') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
select*from `PR_Products` where `PR_Products`.`productId` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =5) and `isActive` =1orderby `lngId` desc
select `productId` from `PR_Products` where `productId` in ('0CBCE4FA-50ED-4C11-93EC-7599403A7E3F', 'F14CBB22-7D27-465F-B064-1785980C38FA', '19E95622-9E29-4EF8-864A-901342003FF3', '206D3EB8-8E14-4402-AFA7-9BF635F2EC95') and `isActive` =1and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =5) and `isActive` =1orderby `lngId` desc
select*from `VM_Vehicles` where `vehicleId` in ('7D4E744F-7577-436B-8B63-018F5A9EF74F') and `VM_Vehicles`.`deleted_at` isnulland (`VM_Vehicles`.`lngId` isnullor `VM_Vehicles`.`lngId` ='5') and `isActive` =1orderby `lngId` desc
select*from `VM_Manufacturers` where `VM_Manufacturers`.`manufacturerId` in ('FE6200D9-1672-4A1B-AD49-9FB1249BD241') and `VM_Manufacturers`.`deleted_at` isnulland (`VM_Manufacturers`.`lngId` isnullor `VM_Manufacturers`.`lngId` ='5') and `isActive` =1orderby `lngId` desc
selectcount(*) as aggregate from `PR_ProductCategories` where `PR_ProductCategories`.`productId` ='A529D411-A7CD-4D58-9C93-1CEA29652E74'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 ('1A34D917-7B94-4562-BBEE-A778CEF17548') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =5) and `isActive` =1orderby `lngId` desc
select `parentId` from `PR_Categories` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', '4A599B08-ED9A-4BF6-A40A-8051DF769342', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5', '2C0FB2F9-F310-435A-BFC0-27BFB884CEE5') and `lngId` =5and `deleted_at` isnull
select*from `PR_CategoryProductImages` where `categoryId` in ('5480AA8E-3C8D-4831-8005-8E1D56C668EA', '1F1129D9-79D8-4138-A3E2-926E9090C4FE', 'FC67EF35-A392-43B7-B0C4-EAD75456D932') and `lngId` =5and `categoryId1` isnotnulland (`categoryId2` =''or `categoryId2` isnull) and `deleted_at` isnull
select `parentId` from `PR_Categories` where `categoryId` in ('5480AA8E-3C8D-4831-8005-8E1D56C668EA', '1F1129D9-79D8-4138-A3E2-926E9090C4FE', 'FC67EF35-A392-43B7-B0C4-EAD75456D932') and `lngId` =5and `deleted_at` isnull
select*from `PR_CategoryProductImages` where `categoryId` in ('3A0BDA4C-DFC8-4C88-AF5E-A1E56D78ECB7', 'F1D7419B-13D1-4D95-8AF7-0D95AED30BF2', '5C2DD4F5-056B-4961-B309-A37BA1BC5A4E') and `lngId` =5and (`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` =5) and `isActive` =1orderby `lngId` desc) and `PR_ProductSpareParts`.`productId1` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') and `PR_ProductSpareParts`.`deleted_at` isnullorderby `order` asc
select `id`, `productId`, `stockCode`, `title`, `defaultImage`, `productPrice` from `PR_Products` where `PR_Products`.`productId` in ('1A34D917-7B94-4562-BBEE-A778CEF17548') and `PR_Products`.`deleted_at` isnulland (`PR_Products`.`lngId` isnullor `PR_Products`.`lngId` =5) and `isActive` =1orderby `lngId` desc
select*from `PR_ProductSpecifications` where `PR_ProductSpecifications`.`productId` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') and `PR_ProductSpecifications`.`deleted_at` isnull
select*from `PR_Specifications` where `PR_Specifications`.`specificationId` in ('14F3FB81-8947-4E5E-BB23-2F17B1452EF2') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
select*from `PR_ProductSpecificationProperties` where `PR_ProductSpecificationProperties`.`productId` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') 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` =5) and `isActive` =1orderby `lngId` desc) and `PR_PackageComponents`.`productId` in ('A529D411-A7CD-4D58-9C93-1CEA29652E74') 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 ('A529D411-A7CD-4D58-9C93-1CEA29652E74') and PR_BarTypes.lngId=5and `PR_BarTypeProductCompatibilities`.`deleted_at` isnullorderby `PR_BarTypes`.`order` asc
select `specificationId` from `PR_CategorySpecifications` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', '4A599B08-ED9A-4BF6-A40A-8051DF769342', '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', 'CCBF1F5D-ADE4-4020-BBA9-A81B1D4019B6') and `PR_Specifications`.`deleted_at` isnullorderby `order` asc
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', '4A599B08-ED9A-4BF6-A40A-8051DF769342', '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` =5) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where (`categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', '4A599B08-ED9A-4BF6-A40A-8051DF769342', '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` =5) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'FE02EE2C-3CDC-4AC6-97FE-490ECB0F921B', '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` =5) and `isActive` =1and (`scope` isnullor `scope` =0)
selectcount(*) as aggregate from `PR_Categories` where `categoryId` in ('903F14E1-03DD-48EA-8E69-B837D70C3C0F', 'FE02EE2C-3CDC-4AC6-97FE-490ECB0F921B', '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` =5) and `isActive` =1and (`scope` isnullor `scope` =0)