MySQL Forums
Forum List  »  Newbie

Re: Multiple Records Displayed Horizontally
Posted by: Peter Brawley
Date: March 17, 2009 01:01PM

Using phpMyAdmin? Try ...

select a.id,cast(group_concat(concat(b.year, ' ', b.value))as char) as assets
from a join b on a.id=b.aid
group by a.id;

or try another client.

PB
http://www.artfulsoftware.com



Edited 1 time(s). Last edit at 03/17/2009 01:05PM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
Re: Multiple Records Displayed Horizontally
March 17, 2009 01:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.