Re: Is it possible to group data in a dataset?
From: Patrick Steele [MVP] (patrick_at_mvps.org)
Date: 05/26/04
- Next message: Ollie: "Re: Manually generating Interop assembly failing......"
- Previous message: M. Said: "Re: How to scroll the contents of a Form in code."
- In reply to: Amadelle: "Re: Is it possible to group data in a dataset?"
- Next in thread: Amadelle: "Re: Is it possible to group data in a dataset?"
- Reply: Amadelle: "Re: Is it possible to group data in a dataset?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 26 May 2004 09:35:05 -0400
In article <#V3ao6pQEHA.1048@tk2msftngp13.phx.gbl>, amadelle@yahoo.com
says...
> r u seriously asking me that question?
Yes, I am.
> I don't have to have aggregate functions to use a Group by Clause.
True. But you don't need group by to do what you want.
> tblAccounts
> accountID userID
> 1 23
> 2 23
> 3 23
> 4 35
> 5 35
>
> the group by clause that I have will return the following:
>
> UserID
> 23
> 35
Look into SELECT DISTINCT.
-- Patrick Steele Microsoft .NET MVP http://weblogs.asp.net/psteele
- Next message: Ollie: "Re: Manually generating Interop assembly failing......"
- Previous message: M. Said: "Re: How to scroll the contents of a Form in code."
- In reply to: Amadelle: "Re: Is it possible to group data in a dataset?"
- Next in thread: Amadelle: "Re: Is it possible to group data in a dataset?"
- Reply: Amadelle: "Re: Is it possible to group data in a dataset?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|