Re: [SQL] combining records from a single table and presenting them as one record

2005-10-28 Thread Michael Fuhr
On Fri, Oct 28, 2005 at 11:47:12AM -0400, Abhishek wrote: > Using LIMIT 1 does return me a single record but please note that the table > can have multiple guids for which I need a unique record with all the digit > types combined. Using LIMIT 1 returns me always one record. :-( Have you looked at

Re: [SQL] combining records from a single table and presenting them as one record

2005-10-28 Thread Abhishek
Using LIMIT 1 does return me a single record but please note that the table can have multiple guids for which I need a unique record with all the digit types combined. Using LIMIT 1 returns me always one record. :-( On 10/27/05, boinger <[EMAIL PROTECTED]> wrote: On 10/27/05, Abhishek <[EMAIL PROT

Re: [SQL] combining records from a single table and presenting

2005-10-27 Thread Frank Bax
At 02:00 PM 10/27/05, Abhishek wrote: I have a table "TABLE1" which has Callguid | digits | type 123 'a' 345

Re: [SQL] combining records from a single table and presenting them as one record

2005-10-27 Thread boinger
On 10/27/05, Abhishek <[EMAIL PROTECTED]> wrote: > I am tryng to write a query which returns me a record like this > I do the query as this: > > select callguid , ( select digits from TABEL1 where type='a' ), ( select > digits from TABEL1 where type='b' ), ( select digits from TABEL1 where > type=

[SQL] combining records from a single table and presenting them as one record

2005-10-27 Thread Abhishek
Hi Everyone   I have a table "TABLE1"  which has Callguid  |   digits |  type    123   'a'    345   'b'