Michael Stassen wrote:
Daniel Bowett wrote:
Michael Stassen wrote:
Daniel Bowett wrote:
Peter Brawley wrote:
Dan,
/>...Total sales for ever would be a simple GROUP BY query with a
>sum on the sales - but I cant see how I am going to get this info.
>Do I need to use nested queries? /
Y
Daniel Bowett wrote:
Michael Stassen wrote:
Daniel Bowett wrote:
Peter Brawley wrote:
Dan,
/>...Total sales for ever would be a simple GROUP BY query with a
>sum on the sales - but I cant see how I am going to get this info.
>Do I need to use nested queries? /
You don't need nested quer
Dan,
If you don't want the query to stop with the current month, drop the
WHERE clause.
PB
Daniel Bowett wrote:
Michael Stassen wrote:
Daniel Bowett wrote:
Peter Brawley wrote:
Dan,
/>...Total sales for ever would be a simple GROUP BY query with a
>sum on the sales - but I cant see
news <[EMAIL PROTECTED]> wrote on 10/26/2005 04:02:33 PM:
> Michael Stassen wrote:
> > Daniel Bowett wrote:
> >
> >> Peter Brawley wrote:
> >>
> >>> Dan,
> >>>
> >>> />...Total sales for ever would be a simple GROUP BY query with a
> >>> >sum on the sales - but I cant see how I am going to get t
Michael Stassen wrote:
Daniel Bowett wrote:
Peter Brawley wrote:
Dan,
/>...Total sales for ever would be a simple GROUP BY query with a
>sum on the sales - but I cant see how I am going to get this info.
>Do I need to use nested queries? /
You don't need nested queries. It's a crosstab or
Daniel Bowett wrote:
Peter Brawley wrote:
Dan,
/>...Total sales for ever would be a simple GROUP BY query with a
>sum on the sales - but I cant see how I am going to get this info.
>Do I need to use nested queries? /
You don't need nested queries. It's a crosstab or pivot table query.
The
Peter Brawley wrote:
Dan,
/>...Total sales for ever would be a simple GROUP BY query with a
>sum on the sales - but I cant see how I am going to get this info.
>Do I need to use nested queries? /
You don't need nested queries. It's a crosstab or pivot table query. The
trick is to sum into on
news <[EMAIL PROTECTED]> wrote on 10/26/2005 09:46:49 AM:
> I am unsure how to write this query, can someone help?
>
> I have two tables.
>
> One has a list of retailers (tbl_retailer):
>
> retailerid
> name
> postcode
>
> e.g.
>
> 1 Sprocket Supplies CH23 4PY
>
> The other has the sales
Dan,
>...Total sales for ever would be a simple GROUP BY query with a
>sum on the sales - but I cant see how I am going to get this info.
>Do I need to use nested queries?
You don't need nested queries. It's a crosstab or pivot table query.
The trick is to sum into one column per desired
y
I am unsure how to write this query, can someone help?
I have two tables.
One has a list of retailers (tbl_retailer):
retailerid
name
postcode
e.g.
1 Sprocket Supplies CH23 4PY
The other has the sales by month for each retailer:
retailerid
month_2
sales
e.g.
1 2004-01 100
1 200
10 matches
Mail list logo