Changes between Version 7 and Version 8 of AdvancedReports
- Timestamp:
- 01/25/22 20:22:29 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v7 v8 8 8 == Листа од прекшроци кој начесто се случуваат на ниво на сите паркинзи 9 9 {{{#!sql 10 select z.Id_zona, count(p.broj_na_pmesta) from zona as z 11 join parking_mesto as p on z.Id_zona=p.IdZona 12 group by z.id_zona 10 select lokacija,coalesce(sum(krajno_vreme-pocetno_vreme),0) as vreme from ime_na_parking as inp 11 left join zona as z on ime_na_parking_id_ime =id_ime 12 left join parking_mesto as pm on id_zona= idzona 13 left join rezervacija as rez on rez.broj_na_pmesta=pm.broj_na_pmesta 14 group by inp.lokacija 15 order by vreme desc limit 1 13 16 }}} 14 17 … … 22 25 == Прикажување на статистика кој паркинг носи најголема заработка 23 26 {{{#!sql 24 select z.Id_zona, count(p.broj_na_pmesta) from zona as z25 join parking_mesto as p on z.Id_zona=p.IdZona 26 group by z.id_zona 27 select tip_plakjanje , count( tip_plakjanje) as brpt from plakjanje 28 group by tip_plakjanje 29 order by brpt desc limit 1 27 30 }}} 28 31