G
ghost
Greeting,
I have 2 tables, one for sales, one for customers, and one for revenueitems.
Sales table has the following fields:
RevenueitmesId
Customerid
Price
Date
Customers table has the following fields:
CustomerID(primary key)
Name
Revenueitems table has the following fields:
RevenueitemsID(primary key)
Description
Price
I have about 10 items in the revenueitmes table and I generate daily report
abut sales. What I want to do is making as the following report:
CustomerID Name item1 item2 item3…. Item10 totalprice
1 John 3 0 0 3 100
2 Jakc 0 2 4 3 300
So on
How to make that please?
I have 2 tables, one for sales, one for customers, and one for revenueitems.
Sales table has the following fields:
RevenueitmesId
Customerid
Price
Date
Customers table has the following fields:
CustomerID(primary key)
Name
Revenueitems table has the following fields:
RevenueitemsID(primary key)
Description
Price
I have about 10 items in the revenueitmes table and I generate daily report
abut sales. What I want to do is making as the following report:
CustomerID Name item1 item2 item3…. Item10 totalprice
1 John 3 0 0 3 100
2 Jakc 0 2 4 3 300
So on
How to make that please?