Changes between Version 5 and Version 6 of AdvancedReports
- Timestamp:
- 01/12/22 16:40:49 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v5 v6 29 29 30 30 {{{#!sql 31 select sum(mp.projection_price) as vkupna_potroshuvacka,u.user_name from users as u31 select c.user_id,sum(mp.projection_price) as vkupna_potroshuvacka,u.user_name,u.user_surname from users as u 32 32 join client as c on c.user_id = u.user_id 33 33 join reservation as r on r.user_id = c.user_id … … 35 35 join movieprojection as mp on mp.projection_id = r.projection_id 36 36 where mp.projection_id = 12732 --?-- 37 group by u.user_name37 group by c.user_id,u.user_name,u.user_surname 38 38 order by vkupna_potroshuvacka desc 39 39 limit 1;