|
kamalkishore_in
Yak Posting Veteran
76 Posts |
Posted - 2001-07-29 : 21:48:27
|
| Hi,I have a talbe with the follwoingsTableId,Qty,Dt1,2,2001/01/011,5,2001/01/013,1,2001/01/024,2,2001/01/033,6,2001/01/024,7,2001/01/10I need the sum of qty based on Dt field From and To. Group by Id.ex. Date from 2001/01/01 to 2001/01/02Result is :Id,Qty1,53,7...And one more Same query but the different Date ex.ex. Date from 2001/01/01 to 2001/01/10Result is :Id,Qty4,9Till here the query looks simple... But I wants to combile these two results like that. And I need the query for the following result.Id,Qty1,Qty21,5,03,7,04,0,9I hope you got my question... any further clarification welcome.. |
|