Hello everyone,
Using a UNION statement, can I retrieve records that are mutually exclusive in each SQL statement?
Something like this, but where all records are returned, but the TOP 5...
SELECT Products FROM tblProducts '<<returns all products
UNION
SELECT TOP 5 Products FROM tblProducts;'<<eliminate these TOP 5
Any ideas how to go about this?
Thanks.
Using a UNION statement, can I retrieve records that are mutually exclusive in each SQL statement?
Something like this, but where all records are returned, but the TOP 5...
SELECT Products FROM tblProducts '<<returns all products
UNION
SELECT TOP 5 Products FROM tblProducts;'<<eliminate these TOP 5
Any ideas how to go about this?
Thanks.