FROM QryCustomersWithMostOrders
Customer OrderCount
A 3
B 3
C 1
SELECT TOP 1 *
FROM QryCustomersWithMostOrders
ORDER BY OrderCount DESC
Customer OrderCount
A 3
SELECT TOP 1 WITH TIES *
FROM QryCustomersWithMostOrders
ORDER BY OrderCount DESC
FROM QryCustomersWithMostOrders
ORDER BY OrderCount DESC
Customer OrderCount
A 3
B 3
Geen opmerkingen:
Een reactie posten