Re: Doing multiple joins on one table
- From: Hugo Kornelis <hugo@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 05 Sep 2006 00:45:49 +0200
On Mon, 4 Sep 2006 14:21:39 +0200, Yaniv Danan wrote:
it doesnt work , it returns always the same max count() for all the rows
Hi Yaniv,
There's neither a max nor a count() in my solution, so I have no idea
what "it" refers to, not how or why it "doesn't work".
To get better help, it's advisable to post table structure in the form
of CREATE TABLE statements (omitting irrelevant columns, but including
all constraints, properties, and indexes), sample data in the form of
INSERT statements (not housands of rows, but just a few rows of data,
carefully chosen to illustrate the problem), and expected results based
on the sample data provided.
Also, check out www.aspfaq.com/5006.
--
Hugo Kornelis, SQL Server MVP
.
- References:
- Doing multiple joins on one table
- From: Yaniv Danan
- Re: Doing multiple joins on one table
- From: Hugo Kornelis
- Re: Doing multiple joins on one table
- From: Yaniv Danan
- Doing multiple joins on one table
- Prev by Date: Re: Doing multiple joins on one table
- Next by Date: query for displaying non distinct entries
- Previous by thread: Re: Doing multiple joins on one table
- Next by thread: Re: Doing multiple joins on one table
- Index(es):
Relevant Pages
|
|