Re: Assing rows to a table

From: Vishal Parkar (REMOVE_THIS_vgparkar_at_yahoo.co.in)
Date: 05/25/04


Date: Tue, 25 May 2004 14:49:29 +0530

hi john,

if i understand you correctly you are looking for COMPUTE BY clause of
SELECT statement.
you can check the resultset of following query on northwind database.

use northwind
go
select b.customerid, a.unitprice
from [order details]a join orders b
on a.orderid =b.orderid
order by b.customerid
compute sum (a.unitprice ) by b.customerid
go

if this is not what you want pls post relevent table structure, sample
records, and expected result set out of it.Also specify whether you can
looking for in INSERT /UPDATE/SELECT statment.

--
Vishal Parkar
vgparkar@yahoo.co.in | vgparkar@hotmail.com


Relevant Pages

  • RE: dsum in access query returns null
    ... not just the one account number I'm querying. ... You tried to execute a query that does not include the specified expression ... It works when i do it in the Northwind database, but when I try to do it in ...
    (microsoft.public.access.queries)
  • Re: Querying Data
    ... BTW the same implementation use NorthWind database as Orders -Order ... > be in multiple categories. ... The problem I'm having is when I query some ...
    (microsoft.public.sqlserver.programming)
  • Re: Check Function
    ... you can include a subform on your form and filter the results. ... The Northwind database that ships with Access has at least one example of ... iterative loop that will continute to check itself against the other query ...
    (microsoft.public.access.gettingstarted)
  • Update Query Support setting in Sharepoint cannot be set.
    ... I have created a data source with a custom query to the Northwind database. ... However for such a query to work, a setting called Enable Update Query ... I run Small Business Server 2003. ...
    (microsoft.public.sharepoint.windowsservices)
  • RE: I want users to be able to select multiple items from a single co.
    ... Its based on building a query for your form. ... Youcan use Northwind database ... The Northwind database is read-only so its better to copy it to ... > individual items in the rows, ...
    (microsoft.public.access.forms)