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.
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (338 votes). Check out past polls.