Changes between Version 18 and Version 19 of AdvancedReports


Ignore:
Timestamp:
03/10/22 18:52:58 (3 years ago)
Author:
191151
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v18 v19  
    253253}}}
    254254
    255 == Број на барања испратени кон артисти.
    256 
    257 {{{#!sql
    258 select
    259         a.user_id,
    260         count(o.id) as num_of_offers_received
     255== Број на добиени барања за понуди по артист.
     256
     257{{{#!sql
     258select
     259        u."name" ,
     260        count(o.id) as num_of_offers_received
    261261from artists a
    262262join users u on u.id = a.user_id
    263263join offers o on o.artist_id = a.user_id
    264264join events e on e.id = o.event_id
    265 group by a.user_id
     265group by u."name"
    266266}}}
    267267