MySQL Forums
Forum List  »  Stored Procedures

Re: stored procedure to transform a table
Posted by: Peter Brawley
Date: May 18, 2014 02:01PM

It's a crosstab or "pivot" query. See that topic at http://www.artfulsoftware.com/queries.php.

Build the query first. Turning it into a table is trivial---just prepend Create Table tblname to the query.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: stored procedure to transform a table
900
May 18, 2014 02: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.