MySQL Forums
Forum List  »  Newbie

Re: Use a SQL query to create column names for another query
Posted by: Rick James
Date: August 17, 2015 11:01AM

Here is my blog on pivoting; it provides a Stored Proc to do something like what you want:

http://mysql.rjweb.org/doc.php/pivot

Options: ReplyQuote


Subject
Written By
Posted
Re: Use a SQL query to create column names for another query
August 17, 2015 11:01AM


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.