Re: group by
- From: Jeff Kish <jeff.kish@xxxxxxx>
- Date: Thu, 22 Jun 2006 09:29:17 -0400
On Wed, 21 Jun 2006 06:56:24 +0000 (UTC), Erland Sommarskog
<esquel@xxxxxxxxxxxxx> wrote:
Jeff Kish (kishjjrjj@xxxxxxxxxxx) writes:study study study.. it never ends...
Wow.
I'll have to study up some more on the 'ON' and 'AS' syntax.
The AS is optional and is only for defining an alias for the derived
table. The alias is always mandatory, though.
The ON is part of the newer ANSI syntax for joins which was introduced to
handle left joins, but once you have get used to it, you will use it for
all you joins, because it makes the queries so much clearer.
Thanks again. Bonus that it works for sql server 2000 as well, I imagine, the
newer version.
Regards
Jeff Kish
.
- References:
- group by
- From: Jeff Kish
- Re: group by
- From: Erland Sommarskog
- Re: group by
- From: Jeff Kish
- Re: group by
- From: Erland Sommarskog
- Re: group by
- From: Jeff Kish
- Re: group by
- From: Erland Sommarskog
- group by
- Prev by Date: Re: Help with SQL Statement to find first and last populated field in string of fields
- Next by Date: Re: Comparison operator in Select list
- Previous by thread: Re: group by
- Next by thread: DTS copies from SQL Server to MySQL on Windows.
- Index(es):
Relevant Pages
|