Lexus RX (L2) 450h, 450h L V6 24V VVT-i AWD
Used Lambda probe
€ 45,00 Margin
Year of construction2021 |Classification codeA2 |Type of enginePetrol, Electric |Engine capacity3,456 cc |Engine code2GRFXS |Number of wires4 |LocationFront |Odometer reading33,703 km |Part number8946748310Remark Always check the item numbers before ordering.
Warranty 3 mo.
Supplier Autorecycling Kuijpers
Lexus RX (L2) 450h, 450h L V6 24V VVT-i AWD
Used Lambda probe
€ 45,00 Margin
Year of construction2021 |Classification codeA2 |Type of enginePetrol, Electric |Engine capacity3,456 cc |Engine code2GRFXS |Number of wires4 |LocationFront |Odometer reading33,703 km |Part number8946748320Remark Always check the item numbers before ordering.
Warranty 3 mo.
Supplier Autorecycling Kuijpers
Lexus RX (L2) 450h, 450h L V6 24V VVT-i AWD
Used Lambda probe
€ 45,00 Margin
Year of construction2021 |Classification codeA2 |Type of enginePetrol, Electric |Engine capacity3,456 cc |Engine code2GRFXS |Number of wires4 |LocationRear |Odometer reading33,703 km |Part number8946548410Remark Always check the item numbers before ordering.
Warranty 3 mo.
Supplier Autorecycling Kuijpers
Lexus RX (L2) 400h V6 24V VVT-i 4x4
Used Lambda probe
€ 20,00 Margin
Year of construction2006 |Classification codeA2 |Type of engineElectric, Petrol |Engine capacity3,311 cc |Engine code3MZFE |Number of wires4 |LocationFront |Odometer reading0 kmWarranty 3 mo.
Supplier Rooie Ben autodemontage
Lexus RX (L2) 400h V6 24V VVT-i 4x4
Used Lambda probe
€ 20,00 Margin
Year of construction2006 |Classification codeA2 |Type of engineElectric, Petrol |Engine capacity3,311 cc |Engine code3MZFE |Number of wires4 |LocationRear |Odometer reading0 km |Part number8946548210Warranty 3 mo.
Supplier Rooie Ben autodemontage
Lexus RX (L2) 400h V6 24V VVT-i 4x4
Used Lambda probe
€ 75,00 Margin
Year of construction2008 |Type of enginePetrol Injection |Engine capacity3,300 cc |Engine code3MZFE |Number of wires4 |Odometer reading133,853 km |Part number8946548200Remark 89465-48200
Warranty 3 mo.
Supplier Verhoef Cars & Parts
Lexus RX (L2) 400h V6 24V VVT-i 4x4
Used Lambda probe
€ 78,75 Margin
Year of construction2008 |Classification codeC1 |Type of enginePetrol |Engine capacity3,311 cc |Engine code3MZFE |Number of wires4 |LocationFront |Odometer reading134,815 km |Part number8946748060Warranty 3 mo.
Supplier Maresia Auto Recycling B.V.
Lexus RX 300
Used Lambda probe
€ 40,00 Margin
Year of construction2017 |Classification codeA2 |Type of engineMultipoint Petrol Injection |Engine capacity3,500 cc |Engine code2GRFXS |Odometer reading26,474 km |Part number8946548390Remark 2GR-FXS 4-POLIG Brandstof 2 : ELK
Warranty 12 mo.
Supplier Klein Gunnewiek Autodemontage & Motorentechniek
Lexus RX (L2) 400h V6 24V VVT-i 4x4
Used Lambda probe
€ 78,75 Margin
Year of construction2008 |Classification codeC1 |Type of enginePetrol |Engine capacity3,311 cc |Engine code3MZFE |Number of wires4 |Odometer reading134,815 km |Part number8946748080Warranty 3 mo.
Supplier Maresia Auto Recycling B.V.
Lexus RX (L2) 400h V6 24V VVT-i 4x4
Used Lambda probe
€ 78,75 Margin
Year of construction2008 |Classification codeC1 |Type of enginePetrol |Engine capacity3,311 cc |Engine code3MZFE |Number of wires4 |Odometer reading134,815 km |Part number8946548200Warranty 3 mo.
Supplier Maresia Auto Recycling B.V.
PreLoad
{ "Data": { "SessionId": 1, "Match": null, "Timestamp": "0001-01-01T00:00:00", "UrlRawCurrent": "/car-parts-stock/result/make/lexus/model/rx-300/part/lambda-probe/", "UrlAbsoluteCurrent": "/url_voorraad/car-parts-stock/result/make/lexus/model/rx-300/part/lambda-probe/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/car-parts-stock/result/make/lexus/model/rx-300/part/lambda-probe/" ], "UrlSet": false, "Query": null }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 0, "Size": 10, "Rows": 0, "SizeMax": 150, "SetMax": false, "GetIndexMax": 0, "GetSizeValid": true, "GetIndex": 0, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": {}, "Sort": "", "SortDirection": "Ascending", "CountryName": "United Kingdom", "CountryId": 826, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }
All sessions
LoadComplete
{ "Data": { "SessionId": 1, "Match": null, "Timestamp": "0001-01-01T00:00:00", "UrlRawCurrent": "/car-parts-stock/result/make/lexus/model/rx-300/part/lambda-probe/", "UrlAbsoluteCurrent": "/url_voorraad/car-parts-stock/result/make/lexus/model/rx-300/part/lambda-probe/", "UrlAbsoluteReferer": "", "UrlReferers": [ "/car-parts-stock/result/make/lexus/model/rx-300/part/lambda-probe/" ], "UrlSet": false, "Query": "SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; IF OBJECT_ID('tempdb..#TD') IS NOT NULL DROP TABLE #TD; CREATE TABLE #TD ([DebtorId] INT PRIMARY KEY NOT NULL); INSERT INTO #TD ([DebtorId]) SELECT DISTINCT [DebiteurId] FROM dbo.[Debiteuren] WHERE [OOL] = 1 AND [OOLGeenVoorraad] = 0 AND [DebiteurId] NOT IN (101190); IF OBJECT_ID('tempdb..#RM') IS NOT NULL DROP TABLE #RM; CREATE TABLE #RM ([RecordId] BIGINT NOT NULL, [xPR] DECIMAL(9, 2), [xPS] BIT NOT NULL, [xPD] INT, [xTP] DECIMAL(5, 2) NOT NULL, [xTT] INT NOT NULL, [xShopState] INT, [xShippingState] TINYINT, [xPF] DECIMAL(9, 2), [xPE] DECIMAL(9, 2), [xPI] DECIMAL(9, 2), [RowId] INT PRIMARY KEY CLUSTERED ([RecordId] ASC)) INSERT INTO #RM ([RecordId], [xPR], [xPS], [xPD], [xTP], [xTT], [xShopState], [xShippingState], [xPF], [xPE], [xPI], [RowId]) SELECT [R].[RecordId], [R].[xPR], [R].[xPS], [R].[xPD], [R].[xTP], [R].[xTT], [R].[xShopState], [R].[xShippingState], [R].[xPF], [R].[xPE], [R].[xPI], ROW_NUMBER() OVER (ORDER BY [SortId] DESC, + CASE WHEN [R].[xShopState] = 1 THEN 1 ELSE 0 END DESC, [PartRank] ASC, RIGHT([RecordId], 2)%(DATEPART(WEEKDAY, GETDATE()) + 3) ASC, [R].[RecordId] ASC) AS [RowId] FROM (SELECT [R].[RecordId], [R].[xPR], [R].[xPS], [R].[xPD], [R].[xTP], [R].[xTT], [R].[xShopState], [R].[xShippingState], [R].[xPF], [R].[xPE], [R].[xPI], [R].[SortId], ROW_NUMBER() OVER (PARTITION BY R.SortId, R.DebiteurId ORDER BY SortId + CASE WHEN [R].[xShopState] = 1 THEN 1 ELSE 0 END DESC, CASE WHEN [12] IS NULL THEN 1 END ASC, [12] DESC, CASE WHEN [14] IS NULL THEN 1 END ASC, [14] ASC, RIGHT([RecordId], 2)%(DATEPART(WEEKDAY, GETDATE()) + 3) ASC, [RecordId] ASC) AS [PartRank] FROM (SELECT *, CASE WHEN [xPF] IS NOT NULL THEN CASE WHEN [xTT] = 1 THEN CAST([xPF] / ((100 + [xTP]) / 100) AS DECIMAL(9, 2)) ELSE [xPF] END END AS [xPE], CASE WHEN [xPF] IS NOT NULL THEN CASE WHEN [xTT] = 0 THEN CAST([xPF] * ((100 + [xTP]) / 100) AS DECIMAL(9, 2)) ELSE [xPF] END END AS [xPI], CASE WHEN [xPF] IS NOT NULL THEN CASE WHEN [xTT] = 0 THEN CAST([xPF] * ((100 + [xTP]) / 100) AS DECIMAL(9, 2)) ELSE [xPF] END END AS [14] FROM (SELECT *, CASE WHEN [xPS] = 1 AND [xPR] IS NOT NULL THEN CAST(CASE WHEN [xPD] IS NOT NULL THEN (CAST((100 - ISNULL([xPD], 0)) AS DECIMAL) / 100) * [xPR] ELSE [xPR] END AS DECIMAL(10, 2)) END AS [xPF] FROM (SELECT [R].[RecordId], (ISNULL(CASE WHEN [R].[Shop] = 1 THEN ISNULL([R].[PriceShop],ROUND ( [R].[Prijs] * ((100 + ISNULL([D].[ShopPricePercentage], 0)) / 100), 2)) END, [R].[Prijs])) AS [xPR], CASE WHEN [R].[PrijsTonen] IS NOT NULL THEN [R].[PrijsTonen] WHEN [R].[SoortId] = 0 THEN [D].[OOLPrijzenG] WHEN [R].[SoortId] = 1 THEN [D].[OOLPrijzenR] WHEN [R].[SoortId] = 2 THEN [D].[OOLPrijzenN] ELSE 1 END AS [xPS], (SELECT [T].[Discount] FROM dbo.[AutomatePartDiscount] [T] WHERE [T].[SupplierId] = [R].[DebiteurId] AND [T].[StateId] = [R].[SoortId] AND [T].[PartAutomateId] = [R].[DeelId]) AS [xPD], ISNULL([VT].[General], 21) AS [xTP], CASE WHEN [R].[SoortId] = 0 AND NOT ISNULL([R].[PrijsSoort], 0) = 1 THEN 2 WHEN [D].[OOLPrijzenExcl] = 0 THEN 1 ELSE 0 END AS [xTT], CASE WHEN NOT [D].[ShopActive] = 1 THEN 11 ELSE ISNULL([ss].[StateId], 6) END AS [xShopState], xShippingState AS [xShippingState], [R].[SortId], [R].[DebiteurId], [R].[Bouwjaar] AS [12] FROM (SELECT [R].[RecordId] FROM dbo.[OOLInternet] [R] WITH (NOLOCK) WHERE ([R].[ModelId] = '60X05X' OR ([R].[AldocModelCode] IN (10388) OR [R].[RecordId] IN (SELECT K.RecordId FROM dbo.OOLKTyp K WITH (NOLOCK) WHERE K.KTyp IN (56014, 15576, 17342, 19210, 19339, 19209, 31710, 33014, 32194, 57212, 27306, 25436, 140362, 25657, 140361, 40860, 117621, 117678, 117389, 117390, 117419, 117417, 117620, 125909, 129839, 129840, 130235, 130236, 130237)))) AND [R].[DeelId] IN ('8750X') AND [R].[DebiteurId] IN (SELECT [DT].[DebtorId] FROM #TD [DT])) [RM] LEFT JOIN dbo.[OOLInternet] [R] ON [R].[RecordId] = [RM].[RecordId] LEFT JOIN dbo.[DebiteurLocatieData] [D] ON [D].[DebiteurId] = [R].[DebiteurId] AND [D].[LocatieId] = ISNULL([R].[DebiteurLocatieId], 1) LEFT JOIN [Basis].dbo.[CountryVatRate] [VT] ON [VT].[CountryId] = [D].[LandId] AND [VT].[Active] = 1 OUTER APPLY dbo.fnGetOOLShippingStateExtendedTVF([R].[DebiteurId], [R].[DebiteurLocatieId], [R].[DeelNr], 826, NULL) [SHS] OUTER APPLY dbo.[fn_OOL_HasPriceInline]([R].[RecordId]) [hp] OUTER APPLY dbo.[fnGetOOLShopStateInline2]([R].[RecordId], [R].[DebiteurId], [R].[Aantal], [R].[QuantityInfinite], [R].[GreenCasionExpiresAt], [R].[Shop], [D].[ShopEnabled], ISNULL([hp].[HasPrice], 0), 1, NULL, NULL, 2, xShippingState) [ss]) [R]) [R]) [R]) [R]; SELECT [R].[DeelId], [R].[SoortId], COUNT(*) AS [Aantal] FROM (SELECT [R].[DeelId], [R].[SoortId], [R].[RecordId], [R].[DebiteurId], [xPR], [xPF], [xPD], [xPS], [xPE], [xPI], [xTP], [xTT], [xShopState], [xShippingState] FROM #RM [RM] LEFT JOIN dbo.[OOLInternet] [R] With (NOLOCK FORCESEEK) ON [R].[RecordId] = [RM].[RecordId]) [R] GROUP BY [R].[DeelId], [R].[SoortId]; SELECT [R].*, [xTP] AS [PrijsTaxPerc], [xPD] AS [PrijsKorting], (SELECT [VIBM].[Bouwmaand] FROM dbo.[VOLInternet] [VIBM] WHERE [VIBM].[RecordId] = [R].[AutoRecordId]) AS [ConstructionMonth], [xPE] AS [PrijsAlt], STUFF((SELECT '|' + CAST([V].[VeldId] AS VARCHAR(10)) + '^' + [V].[Waarde] FROM (SELECT [V].[VeldId], [V].[Waarde], [V].[OrderId] FROM dbo.[OOLVelden] [V] WHERE [V].[RecordId] = [R].[RecordId] AND [V].[VeldId] IN (26)) [V] ORDER BY [V].[VeldId], [V].[OrderId] FOR XML PATH('')), 1, 1, '') AS [Automate2Velden], CASE WHEN [R].[GarantieToelichting] IS NOT NULL THEN (SELECT TOP 1 [TV].[Translation] FROM [Storage].dbo.[TranslateTextResult] [TV] WHERE [TV].[TextId] = (SELECT [TR].[TextId] FROM [Storage].dbo.[TranslateTextRecord] [TR] WHERE [TR].[RecordId] = [R].[RecordId] AND [TR].[TextTypeId] = 2) AND [TV].[LanguageId] IN (2, 2, 1) ORDER BY [TV].[LanguageId] DESC) END AS [GarantieTranslated], CASE WHEN [R].[BijzonderheidInet] IS NOT NULL THEN (SELECT TOP 1 [TV].[Translation] FROM [Storage].dbo.[TranslateTextResult] [TV] WHERE [TV].[TextId] = (SELECT [TR].[TextId] FROM [Storage].dbo.[TranslateTextRecord] [TR] WHERE [TR].[RecordId] = [R].[RecordId] AND [TR].[TextTypeId] = 1) AND [TV].[LanguageId] IN (2, 2, 1) ORDER BY [TV].[LanguageId] DESC) END AS [BijzonderheidInetTranslated], [xShopState] AS [ShopState], CASE WHEN [R].[AldocModelCode] IS NOT NULL THEN (SELECT ISNULL((STUFF((SELECT '^' + [T3].[NaamInternet] + '~' + [T2].[NaamInternet] FROM [Basis].dbo.[AutomateModellenTranslated] [T2] LEFT JOIN [Basis].dbo.[AutomateMerkenTranslated] [T3] ON [T3].[MerkId] = [T2].[MerkId] AND [T3].[LanguageId] = 2 WHERE [T2].[ModelId] IN (SELECT [T].[ModelId] FROM [Basis].dbo.[AldocModelKoppelingen] [T] WHERE [T].[ModelCode] = [R].[AldocModelCode]) AND [T2].[LanguageId] = 2 AND [T2].[Synoniem] = 0 FOR XML PATH('')), 1, 1,'')), '') + '|' + ISNULL((SELECT [T].[Omschrijving] FROM [Basis].dbo.[AldocModelOmschrijvingen] [T] WHERE [T].[ModelCode] = [R].[AldocModelCode] AND [T].[LanguageId] = 2), '') + '|' + ISNULL((SELECT [T].[Omschrijving] FROM [Basis].dbo.[AldocTypeOmschrijvingen] [T] WHERE [T].[TypeId] = [R].[AldocTypeId] AND [T].[LanguageId] = 2), '')) END AS [AldocDescription] FROM (SELECT [R].* FROM (SELECT [R].[SortId], [R].[RecordId], [R].[DebiteurId], [R].[ExternalId], [R].[ReferenceId], [R].[Youtube] AS [181], [184], [190], ISNULL([R].[Fotos], (SELECT 'G^' + CAST([G].[GroupId] AS VARCHAR(20)) + '^' + [G].[Images] FROM dbo.[OOLFotoGroups] [G] WHERE [G].[DebiteurId] = [R].[DebiteurId] AND [G].[SModelId] = [R].[SModelId] AND [G].[DeelId] = [R].[DeelId])) AS [58], [R].[SoortId] AS [StateId], CASE WHEN SUBSTRING([R].[ModelId], 1, 3) IN ('00X', '0XX') THEN NULL ELSE [MET].[NaamInternet] + '^' + [MOT].[NaamInternet] END AS [MakeModel], [xPS] AS [PrijsTonen], CASE WHEN [xTT] IN (0, 1) THEN 1 ELSE [xTT] END AS [PrijsTaxType], [xPI] AS [14], [R].[Bouwjaar] AS [12], [R].[AutoRecordId], CASE WHEN [135] IS NULL THEN CASE WHEN [R].[SoortId] = 0 THEN [D].[OOLGarantieG] WHEN [R].[SoortId] = 1 THEN [D].[OOLGarantieR] WHEN [R].[SoortId] = 2 THEN [D].[OOLGarantieN] ELSE NULL END ELSE [135] END AS [135], [37], STUFF((SELECT '|' + [XVT].[NaamLang] FROM dbo.[OOLVelden] [XOV] LEFT JOIN [Basis].dbo.[AutomateVeldWaardenTranslated] [XVT] ON [XVT].[VeldId] = [XOV].[VeldId] AND [XVT].[LanguageId] = 2 AND [XVT].[Waarde] = [XOV].[Waarde] WHERE [XOV].[RecordId] = [R].[RecordId] AND [XOV].[VeldId] = 17 ORDER BY [XOV].[OrderId] FOR XML PATH('')), 1, 1, '') AS [17], CASE WHEN [102] = 'E' THEN 'E85' WHEN [102] = 'G' THEN 'G3 LPG' WHEN [102] = 'H' THEN 'Hybrid' WHEN [102] = 'L' THEN 'LPG' WHEN [102] = 'C' THEN 'Natural gas' WHEN ISNULL([102], '') = '' THEN NULL ELSE [102] END AS [102], TRY_CAST([18] AS INT) AS [18], [R].[Motorcodes] AS [108], TRY_CAST([166] AS INT) AS [166], CASE WHEN [105] = 'V' THEN 'Front' WHEN [105] = 'A' THEN 'Rear' WHEN ISNULL([105], '') = '' THEN NULL ELSE [105] END AS [105], (SELECT TOP 1 [XOV].[Waarde] FROM dbo.[OOLVelden] [XOV] WHERE [XOV].[RecordId] = [R].[RecordId] AND [XOV].[VeldId] = 241 ORDER BY [XOV].[OrderId]) AS [241], TRY_CAST([26] AS INT) AS [26], [25], [R].[Artikelnummers] AS [21], ISNULL([D].[Bedrijfsnaam], '') + '|' + ISNULL([D].[BedrijfKort], '') AS [Leverancier], [R].[BijzonderheidInet], [R].[WarrantyText] AS [GarantieToelichting], [R].[Shop], [R].[Created], [xShippingState] AS [ShippingState], [R].[WarrantyConstruction] AS [WarrantyInstallation], [R].[DeelId], [R].[DebiteurRecordId], [R].[AldocModelCode], [R].[AldocTypeId], [xPR], [xPF], [xPD], [xPS], [xPE], [xPI], [xTP], [xTT], [xShopState], [xShippingState], [R].[SModelId], [R].[ModelId], [R].[PrijsSoort], [R].[PriceShop], [R].[RowId] FROM (SELECT * FROM (SELECT [R].*, [OV].[VeldId], [OV].[Waarde] FROM (SELECT [RM].[RowId], [R].[SortId], [R].[RecordId], [R].[DebiteurId], [R].[ExternalId], [R].[ReferenceId], [R].[Youtube], [R].[Fotos], [R].[SoortId], [R].[PrijsTonen], [R].[Prijs], [R].[Bouwjaar], [R].[AutoRecordId], [R].[Motorcodes], [R].[Artikelnummers], [R].[BijzonderheidInet], [R].[WarrantyText], [R].[Shop], [R].[Created], [R].[WarrantyConstruction], [R].[DeelId], [R].[DebiteurRecordId], [R].[AldocModelCode], [R].[AldocTypeId], [R].[DebiteurLocatieId], [R].[SModelId], [R].[ModelId], [R].[PrijsSoort], [R].[PriceShop], [xPR], [xPF], [xPD], [xPS], [xPE], [xPI], [xTP], [xTT], [xShopState], [xShippingState] FROM #RM [RM] LEFT JOIN dbo.[OOLInternet] [R] With (NOLOCK FORCESEEK) ON [R].[RecordId] = [RM].[RecordId] WHERE [RM].[RowId] BETWEEN 1 AND 10) AS [R] LEFT JOIN dbo.[OOLVelden] [OV] WITH (INDEX(PK_OOLVelden)) ON [OV].[RecordId] = [R].[RecordId] AND [OV].[VeldId] IN (184, 190, 135, 37, 102, 18, 166, 105, 241, 26, 25)) [R] PIVOT (MAX([Waarde]) FOR [VeldId] IN ([184], [190], [135], [37], [102], [18], [166], [105], [241], [26], [25])) AS [R]) [R] LEFT JOIN [Basis].dbo.[AutomateModellenTranslated] [MOT] ON [MOT].[ModelId] = [R].[ModelID] AND [MOT].[LanguageId] = 2 AND [MOT].[Synoniem] = 0 LEFT JOIN [Basis].dbo.[AutomateMerkenTranslated] [MET] ON [MET].[MerkId] = [MOT].[MerkId] AND [MET].[LanguageId] = 2 LEFT JOIN dbo.[DebiteurLocatieData] [D] ON [D].[DebiteurId] = [R].[DebiteurId] AND [D].[LocatieId] = ISNULL([R].[DebiteurLocatieId], 1)) [R] ORDER BY [SortId] DESC, + CASE WHEN [R].[xShopState] = 1 THEN 1 ELSE 0 END DESC, [RowId] ASC OFFSET 0 ROWS FETCH NEXT 10 ROWS ONLY) [R]; WITH [R] AS (SELECT [R].[RecordId], [xPR], [xPF], [xPD], [xPS], [xPE], [xPI], [xTP], [xTT], [xShopState], [xShippingState], [Bouwjaar], [xPI] AS [Prijs], [ModelId] FROM #RM [RM] LEFT JOIN dbo.[OOLInternet] [R] With (NOLOCK FORCESEEK) ON [R].[RecordId] = [RM].[RecordId] LEFT JOIN dbo.[DebiteurLocatieData] [D] ON [D].[DebiteurId] = [R].[DebiteurId] AND [D].[LocatieId] = ISNULL([R].[DebiteurLocatieId], 1)) SELECT [VeldId], [Waarde] AS [Value], NULL AS [ValueMIN], NULL AS [ValueMAX] FROM dbo.[OOLVelden] [OV] WHERE [RecordId] IN (SELECT [R].[RecordId] FROM [R]) AND [VeldId] IN (184,190,37,17,102,105,241,25) GROUP BY [VeldId], [Waarde] UNION SELECT [VeldId], NULL AS [Value], MIN([Waarde]) AS [ValueMIN], MAX([Waarde]) AS [ValueMAX] FROM (SELECT [VeldId], TRY_CAST([Waarde] AS INT) AS [Waarde] FROM dbo.[OOLVelden] [OV] WHERE [RecordId] IN (SELECT [R].[RecordId] FROM [R]) AND [VeldId] IN (135,18,166,26)) [OV] GROUP BY [VeldId] UNION SELECT 12, NULL AS [Value], MIN([R].[Bouwjaar]) AS [ValueMIN], MAX([R].[Bouwjaar]) AS [ValueMAX] FROM [R] UNION SELECT 14, NULL AS [Value], MIN(CAST([Prijs] AS INT)) AS [ValueMIN], MAX(CAST([Prijs] AS INT)) AS [ValueMAX] FROM [R] ORDER BY 1, 2; SELECT DISTINCT [R].[DebiteurId] FROM (SELECT DISTINCT [DebiteurId] FROM dbo.[OOLInternet] [R] WITH (NOLOCK) WHERE [R].[RecordId] In (SELECT [RM].[RecordId] FROM #RM [RM])) [R] IF OBJECT_ID('tempdb..#RM') IS NOT NULL DROP TABLE #RM; IF OBJECT_ID('tempdb..#TD') IS NOT NULL DROP TABLE #TD;" }, "Gridview": { "Type": "Detailed", "Properties": { "Index": 1, "Size": 10, "Rows": 35, "SizeMax": 150, "SetMax": false, "GetIndexMax": 4, "GetSizeValid": true, "GetIndex": 1, "GetQuery": { "Min": 1, "Max": 10, "Rows": 10, "Offset": 0 } }, "Rows": { "19467199": 1, "19467193": 2, "19468515": 3, "11931078": 4, "11931079": 5, "10548448": 6, "6634685": 7, "18412209": 8, "6634837": 9, "6634812": 10 }, "Sort": "", "SortDirection": "Ascending", "CountryName": "United Kingdom", "CountryId": 826, "Remarks": true, "Images": true, "Distance": false, "Zipcode": "", "UseSortPartitioning": true } }