G
Grd
Hi there,
I've got the following SQL but I'm am getting more results than I want
because of ties.
SELECT TOP 5 Warehouse, Count(OrderId) AS NumberOrders
FROM tWareHTrans
GROUP BY Warehouse
ORDER BY Count(OrderId) DESC
How do I get rid of the ties - I'm getting more than 5.
Any help greatly appreciated
Tx
Suzanne
I've got the following SQL but I'm am getting more results than I want
because of ties.
SELECT TOP 5 Warehouse, Count(OrderId) AS NumberOrders
FROM tWareHTrans
GROUP BY Warehouse
ORDER BY Count(OrderId) DESC
How do I get rid of the ties - I'm getting more than 5.
Any help greatly appreciated
Tx
Suzanne