![]() |
|
#1
|
|||
|
|||
![]()
Had give it a try but don't think it is possible unless you had fixed number of friend. Easy solution will be like hurricane suggest used programming to loop thru it.
If you are using PL/SQL (Oracle) then you can create a function which will return concatenated friends name as a string and used it in your query. ![]() Edited--- This SQL will return what you want but fixed friends SELECT DISTINCT t.name, f1.friend & ', ' & f2.friend AS friends FROM tb t, tb f1, tb f2 WHERE t.name = f1.name AND tname = f2.name AND f1.friend < f2.friend; ![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hiya, New guy here with a question. | twincamfxd | Outlook | 0 | 09-10-2006 08:50 PM |
Need help with this question... | lllDNYlll | Outlook | 0 | 05-04-2006 07:17 AM |
Categories question & replying with attachment question | glitzymama | Outlook | 0 | 03-15-2006 09:32 AM |
![]() |
ExcelNewbie | Excel | 1 | 03-09-2006 04:45 PM |
![]() |
nrg | Office | 4 | 06-20-2005 11:09 PM |