sales5 つのフィールドを持つ名前のテーブルがあります。
iddateid_storeid_customerprice
テーブルcustomers:
customers.idcustomers.name
そしてテーブルstores:
stores.idstores.name
私はこの結果を得たい:
January, Total customer name1, Total customer name2 ..., Total store name 1, Total store name 2...
February, Total customer name1, Total customer name2 ..., Total store name 1, Total store name 2...
March, Total customer name1, Total customer name2 ..., Total store name 1, Total store name 2...
April...
出来ますか?