Changes between Version 55 and Version 56 of AdvancedReports
- Timestamp:
- 12/24/22 22:51:57 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AdvancedReports
v55 v56 225 225 }}} 226 226 227 == За даден настан, листа на сите артисти на настанот со број на активни настани во кои учествува артисот228 229 {{{#!div style="font-size: 90%" 230 {{{#!sql 231 select u."name", u.surname, count(e.id_event) as broj_nastani227 == Прикажување на сите настани во кој учествува одреден тип на артист 228 229 {{{#!div style="font-size: 90%" 230 {{{#!sql 231 select e."name", e."date", e.city, e.price, u."name", u.surname 232 232 from artist a 233 233 join users u on a.id_user = u.id_user 234 234 join events e on a.id_user = e.id_user_artist 235 235 where u.id_user in( 236 select u.id_user237 from artist a 238 join users u on a.id_user = u.id_user239 join events e on a.id_user = e.id_user_artist240 where e.id_event = 1 241 group by u.id_user)242 group by u."name", u.surname 236 select u2.id_user 237 from artist a2 238 join users u2 on a2.id_user = u2.id_user 239 join events e2 on a2.id_user = e2.id_user_artist 240 where a2.type_of_artist = 'actress' 241 group by u2.id_user) 242 order by e."date" desc 243 243 }}} 244 244 }}}