You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT [o0].[OrderID], [o0].[ProductID], [o0].[Discount], [o0].[Quantity], [o0].[UnitPrice], ROW_NUMBER() OVER(PARTITION BY [o0].[OrderID] ORDER BY [p].[ProductName]) AS [row]
960
936
FROM [Order Details] AS [o0]
961
937
INNER JOIN [Products] AS [p] ON [o0].[ProductID] = [p].[ProductID]
962
-
WHERE [o].[OrderID] = [o0].[OrderID]
963
-
ORDER BY [p].[ProductName]
964
938
) AS [s]
965
-
ORDER BY [s].[ProductName]
966
-
) AS [s0]
939
+
WHERE [s].[row] <= 1
940
+
) AS [s0] ON [o].[OrderID] = [s0].[OrderID]
967
941
WHERE [o].[OrderID] < 10250
968
942
""");
969
943
}
@@ -1344,16 +1318,14 @@ public override async Task SelectMany_with_multiple_Take(bool async)
SELECT [o].[OrderID], [o].[CustomerID], [o].[EmployeeID], [o].[OrderDate], ROW_NUMBER() OVER(PARTITION BY [o].[CustomerID] ORDER BY [o].[OrderID]) AS [row]
SELECT [e0].[Id], [e0].[Name], [e0].[PeriodEnd], [e0].[PeriodStart], [j].[LeftId], ROW_NUMBER() OVER(PARTITION BY [j].[LeftId] ORDER BY [e0].[Id]) AS [row]
340
340
FROM [JoinOneSelfPayload] FOR SYSTEM_TIME AS OF '2010-01-01T00:00:00.0000000' AS [j]
341
341
INNER JOIN [EntityOnes] FOR SYSTEM_TIME AS OF '2010-01-01T00:00:00.0000000' AS [e0] ON [j].[RightId] = [e0].[Id]
SELECT "o"."OrderID", "o"."CustomerID", "o"."EmployeeID", "o"."OrderDate", ROW_NUMBER() OVER(PARTITION BY "o"."CustomerID" ORDER BY "o"."OrderID") AS "row"
0 commit comments