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.
An organised event
A traditional gathering
With family and friends
I don't celebrate the New Year
Adjusting my clocks for the Leap Second
I can't remember
Results (213 votes). Check out past polls.