MySQL Forums
Forum List  »  Newbie

Re: help with a query
Posted by: Christian Hamel
Date: January 31, 2007 09:43AM

Hello Oliver,

What about something like this:

SELECT t1.id, GROUP_CONCAT(t2.answer ORDER BY t2.QuestionNo)
FROM Person T1
INNER JOIN Answer T2 On T1.ID = T2.ID
GROUP BY T1.ID

Options: ReplyQuote


Subject
Written By
Posted
January 31, 2007 09:26AM
Re: help with a query
January 31, 2007 09:43AM
January 31, 2007 09:52AM
thx
January 31, 2007 10:07AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.