我有一个名为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...
可能吗?