Changes between Version 11 and Version 12 of AdvancedReports
- Timestamp:
- 03/07/23 19:51:19 (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v11 v12 63 63 {{{#!sql 64 64 create view dostavuvac_dostavi_za_sekoe_prod_mesto as 65 select k.ime,p.ime as ime_mesto,count(distinct n2.naracka_id) as broj_naracki,sum(n.iznos) as vkupna_suma65 select distinct k.ime,p.ime as ime_mesto,count(distinct n2.naracka_id) as broj_naracki,sum(n.iznos) as vkupna_suma 66 66 from korisnik k join dostavuvac d 67 67 on k.korisnik_id = d.korisnik_id … … 88 88 {{{#!sql 89 89 90 create view franshiza_promet_mesta_tri_meseci as select f.ime as ime_franshiza, p.ime as ime_prodaznomesto, sum(n2.iznos) as vkupen_promet90 create view franshiza_promet_mesta_tri_meseci as select distinct f.ime as ime_franshiza, p.ime as ime_prodaznomesto, sum(n2.iznos) as vkupen_promet 91 91 from franshiza f join prodazhnomesto p on f.franshiza_id = p.franshiza_id 92 92 join naracka n on n.id_mesto = p.id_mesto