Hi Javier,

> Hi, I have a table like this
> 
>    Key   Field-1
>    A       string1
>    A       string2
>    A       string3
>    B       string1
>    B       string 2
> 
>  I want to create a query to get the following result (only one line by key
> field):
> 
>    A  - string1,string2,string3
>    B  - string1,string2
> 
>  I try to use the Sum  function but it only works on numbers, ( the number
> of occurrences of  key field, is unknown)


Relational queries are performed on tables. The result of such a query will also be a 
table.
AFAIK there is no serialisation facility - you would need to post-process using 
another tool/language.

Regards,
=dn



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to