Changes between Version 5 and Version 6 of AdvancedReports


Ignore:
Timestamp:
01/11/22 00:46:24 (3 years ago)
Author:
183060
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedReports

    v5 v6  
    4141
    4242== Број на доктори во секој оддел
     43
     44
     45{{{#!sql
     46select o.bolnica_id, b.naziv as bolnica, b.grad as bolnica_grad,
     47o.naziv as oddel, count (d.doktor_id) broj_doktori_vo_oddel
     48from oddel o
     49join doktor d on (o.bolnica_id, o.oddel_id) = (d.bolnica_id, d.oddel_id)
     50join bolnica b on o.bolnica_id = b.bolnica_id
     51group by (o.bolnica_id, o.oddel_id), b.naziv, b.grad
     52}}}