Changes between Version 16 and Version 17 of ImportantUseCase2


Ignore:
Timestamp:
01/20/22 13:19:04 (3 years ago)
Author:
183060
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ImportantUseCase2

    v16 v17  
    3535        c.embg as Матичен_број, u.dijagnoza as Дијагноза
    3636from upat as u
    37 join pacient p on u.pacient_id = p.pacient_id
    38 join covek c on p.pacient_id = c.covek_id
    39 where u.upat_id = 'selected_upat_id'; -- вредноста се однесува на ИД-то на избраниот упат
     37join pacient p on u.covek_pacient_id = p.covek_pacient_id
     38join covek c on p.covek_pacient_id = c.covek_id
     39where u.upat_id = 3 ; -- вредноста за упат е дадена само за пример
    4040}}}
    4141
     
    7777{{{#!sql
    7878select b.naziv as Болница, b.grad as Град, o.naziv as Оддел,
    79         c.ime as Доктор_Име, c.prezime as Доктор_Презиме, d.doktor_id as Доктор_ИД
     79        c.ime as Доктор_Име, c.prezime as Доктор_Презиме, d.doktor_id as Доктор_ИД
    8080from bolnica as b
    8181left join oddel o on b.bolnica_id = o.bolnica_id