Re: DMAX equivalent
From: Partha Mandayam (mcp111_at_hotmail.com)
Date: 08/26/04
- Next message: Gerry Viator: "concatenation with group by results"
- Previous message: AFN: "Re: calling one stored procedure from another"
- In reply to: Robert Taylor: "Re: DMAX equivalent"
- Next in thread: Robert Taylor: "Re: DMAX equivalent"
- Reply: Robert Taylor: "Re: DMAX equivalent"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Aug 2004 14:22:20 -0700
That just means that you are aliasing the columns in the subquery x as
CustomerID, OrderDate, i.e orderdate actually stands for max(orderdate)
from the subquery
so that we can write the join later as
o.CustomerID = x.CustomerID and
o.OrderDate = x.OrderDate
Regards
Partha Mandayam
Software Consultant
Home page: http://partha.tripod.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Gerry Viator: "concatenation with group by results"
- Previous message: AFN: "Re: calling one stored procedure from another"
- In reply to: Robert Taylor: "Re: DMAX equivalent"
- Next in thread: Robert Taylor: "Re: DMAX equivalent"
- Reply: Robert Taylor: "Re: DMAX equivalent"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|