I have this SQL script:
create view transactview as (
select SUM(quantity) as venta,tag,shift_id,pump,nozzle from transactions
where tag in (100,200,300,400) group by tag,shift_id,pump,nozzle
union select SUM(quantity) as venta,'-1',shift_...
asked by
12.08.2016 / 16:13