in reply to Re: hoh or hoa data structurein thread hoh or hoa data structure
SELECT null, e_id, Cus, ta, gd1, gd2 FROM tabla1 t
select 'Total', e_id, Cus, ta, sum(gd1), SUM(gd2) from tabla1 group by
+ e_id,Cus, ta
order by e_id,Cus, ta;
Thanks to all for the different answers. It works perfect.
1. Keep it simple
2. Just remember to pull out 3 in the morning
3. A good puzzle will wake me up
Many. I like to torture myself
0. Socks just get in the way
Results (371 votes). Check out past polls.