Viewing 6 posts - 1 through 6 (of 6 total)
December 7, 2005 at 9:45 am
Alternatively, SQL Queries for Mere Mortals (Michael J. Hernandez, John L. Viescas) ISBN 0-201-43336-2
This was recommended by tutors as a foundation prior to undertaking MCDBA cert.
December 2, 2005 at 4:54 am
Here we have the same environment.
Check out BOL for
1. sp_addlinkedserver - You need to firstly set up the linked server
then
2. sp_addlinkedsrvlogin - set up a mapping between the local...
January 20, 2005 at 2:35 am
Try this:-
SELECT c.OrderId, b.[Max Qty]
FROM
(SELECT MAX(Qty) AS [Max Qty]
FROM
(SELECT OrderId, SUM(Quantity) AS Qty
FROM [Order Details]
WHERE OrderId BETWEEN 11000 AND 11005
GROUP BY OrderId) a) b
INNER JOIN
(SELECT OrderId, SUM(Quantity) AS Qty
FROM [Order...
June 16, 2004 at 5:17 am
Gee,
Got excited for a moment. Thought I'd got a reply.
Any help is appreciated.
June 8, 2004 at 2:08 am
I'm ok with indexing strategies etc, it's purely concerning the defined/not defined relationship prior to creating a JOIN.
February 26, 2004 at 3:42 am
Viewing 6 posts - 1 through 6 (of 6 total)