[thelist] SQL Group By question

Pedro Arana pedro.arana.matus at gmail.com
Wed Dec 6 14:02:18 CST 2006


no

Make 2 query, frist get groups then the Names



On 12/6/06, Casey Crookston <caseyc at intellisoftmn.com> wrote:
> If a table looks like this:
>
>
>
> ID         Name    Group
>
> 1          NameA Group1
>
> 2          NameB Group1
>
> 3          NameC Group2
>
> 4          NameD Group2
>
>
>
> Is it possible to build a query that would return these results:
>
>
>
> Group1
>
> NameA
>
> NameB
>
>
>
> Group2
>
> NameC
>
> NameD
>
>
>
> Thanks,
>
>
>
> Casey
>
>
>
> --
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>


-- 
"La forma más rápida de lograr que un ingeniero solucione un problema
es declarar que el problema es insoluble."



More information about the thelist mailing list