Changes between Version 3 and Version 4 of AdvancedReports
- Timestamp:
- 01/05/23 05:22:05 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v3 v4 151 151 === Извештај за секое кино, кој филм има направено најмногу профит во последните 3 месеци === 152 152 {{{#!sql 153 select c.id_cinema,c.name,max(sum_cena.sum1) as m 153 select c.id_cinema,c.name, 154 max(sum_cena.sum1) as m 154 155 from cinemas c 155 156 join cinema_plays_film cpf on cpf.id_cinema=c.id_cinema … … 165 166 where t1.date_reserved between now()-interval'3 months' and now() 166 167 group by c2.id_cinema,f2.id_film 167 ) as sum_cena on sum_cena.id=c.id_cinema 168 ) 169 as sum_cena on sum_cena.id=c.id_cinema 168 170 group by c.id_cinema 169 171 order by c.id_cinema