MySQL Forums
Forum List  »  Italian

Re: Query "Pivot"
Posted by: max dix
Date: December 27, 2007 06:53AM

set @i:='20071207 20071208';
select 'cod_fornitore', @i from tuatabella limit 1
union all
select cod_fornitore,group_concat(opzione) from tuatabella
#where data in ()
group by cod_fornitore

Options: ReplyQuote


Subject
Views
Written By
Posted
7459
November 26, 2007 10:47AM
3987
December 27, 2007 06:52AM
Re: Query "Pivot"
3638
December 27, 2007 06:53AM


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.