Changes between Version 9 and Version 10 of AdvancedReports
- Timestamp:
- 02/01/22 14:38:27 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v9 v10 138 138 }}} 139 139 140 == Број на барања испратени кон одреден артист за одреден настан. 141 142 {{{#!sql 143 select a.user_id, count(o.artist_id) as num_of_offers_received 140 == Број на барања испратени кон артисти. 141 142 {{{#!sql 143 select 144 a.user_id, 145 count(o.id) as num_of_offers_received 144 146 from artists a 145 147 join users u on u.id = a.user_id 146 148 join offers o on o.artist_id = a.user_id 147 149 join events e on e.id = o.event_id 148 where149 e.title = 'Igor''s Birthday' and150 u.username = 'test_artist_1'151 150 group by a.user_id 152 151 }}}