Viewing 8 posts - 1 through 8 (of 8 total)
LocationName will an exact match.
As far as the min/max question. It is based on the SpecName and LocationName
So if the Service table has SpecName = 'A' then on the Specification...
September 2, 2010 at 12:44 pm
Thanks Wayne, if I would have known cte = common table expression I would have googled it myself.
July 6, 2010 at 10:10 am
Thanks Lutz!
It works just as intended. One question, do you know where I can find some tutorials on how to use cte's? I don't exactly know how your code...
July 6, 2010 at 9:52 am
Thanks for the reply, I am out of the office until Tuesday but I will let you know how that works. The count of ServiceID 10 should be 2...
July 3, 2010 at 9:18 am
You are correct but even with LEFT OUTER JOIN it returns the same result of having each column on a different row.
June 30, 2010 at 1:01 pm
Here is my query. If I remove the full joins or use left, right I get no results.
SELECT DISTINCT o.ClientID,o.OrderID, i.ItemID, t1.1_ID,t2.2_ID
FROM Order as o
FULL JOIN Item as...
June 30, 2010 at 12:48 pm
Viewing 8 posts - 1 through 8 (of 8 total)