MySQL Forums
Forum List  »  General

Re: eloquent mysql: aggregate data returned by query with sums (group concat?)
Posted by: Peter Brawley
Date: March 24, 2016 10:42AM

The result you're looking for looks like a crosstab or pivot table, which is hard if you've never done one before in SQL, not so hard after you've done a couple of them. For examples see "Pivot tables" at http://www.artfulsoftware.com/queries.php

Options: ReplyQuote




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.