codefighta
Programmer
In the db I have this:
How can I get the result below without using sub queries (pre mySQL 4.1)?
Thanks
cf
Code:
ITEM QTY DATE
---------------------
1234 2 2004-01-23
1234 3 2004-01-26
1234 1 2004-02-12
1234 5 2004-06-18
4321 8 2004-03-21
4321 2 2004-04-11
Code:
ITEM JAN FEB MAR APR MAY JUN JUL ... DEC
-----------------------------------------
1234 5 1 5
4321 8 2
cf