Changes between Version 4 and Version 5 of ImportantUseCase1
- Timestamp:
- 12/15/22 09:11:04 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ImportantUseCase1
v4 v5 30 30 insert into e_prof_na(p_id, ku_id) 31 31 values 32 ((select p.p_id from profesori as p where p.p_korisnicko_ime = 'vangel.ajanovski'),(select ku.ku_id from kursevi as ku where ku.ku_ime = 'Bazi na podatoci - VA')), 32 ((select p.p_id from profesori as p where p.p_korisnicko_ime = 'vangel.ajanovski'),(select ku.ku_id from kursevi as ku where ku.ku_ime = 'БнП- VA - 2022/2023')), 33 ((select p.p_id from profesori as p where p.p_korisnicko_ime = 'vangel.ajanovski'),(select ku.ku_id from kursevi as ku where ku.ku_ime = 'БнП- VA - 2021/2022')), 34 ((select p.p_id from profesori as p where p.p_korisnicko_ime = 'vangel.ajanovski'),(select ku.ku_id from kursevi as ku where ku.ku_ime = 'БнП- VA - 2020/2021')); 33 35 }}} 34 36 == Чекор 4\\ … … 38 40 {{{ 39 41 select * 40 from project. kursevi as k41 join project. predmeti p on k.pr_id = p.pr_id42 where p.p r_ime = 'Bazi na podatoci';42 from project.e_prof_na as epn 43 join project.kursevi k on k.pu_id = epn.ku_id 44 where p.p_id = 1; 43 45 }}} 44 46 … … 59 61 Во позадина се извршува 60 62 {{{ 61 select * from project.prasanja where ku_id = (select ku_id from kursevi where ku_ime = ' Bazi na podatoci - VA');63 select * from project.prasanja where ku_id = (select ku_id from kursevi where ku_ime = 'БнП- VA - 2022/2023'); 62 64 }}} 63 65 за листање на прашањата \\ 64 66 {{{ 65 select * from project.materijali where ku_id = (select ku_id from kursevi where ku_ime = ' Bazi na podatoci - VA');67 select * from project.materijali where ku_id = (select ku_id from kursevi where ku_ime = 'БнП- VA - 2022/2023'); 66 68 }}} 67 69 за листање на материјалите\\ … … 75 77 insert into project.materijali(m_ime,p_id,ka_id,ku_id) 76 78 values 77 ('Правила-и-услови.txt',(select p.p_id from profesori as p where p.p_korisnicko_ime = 'vangel.ajanovski'),(select ka.ka_id from kategorii as ka where ka.ka_ime = 'Predavanja'),(select ku.ku_id from kursevi as ku where ku.ku_ime = ' Bazi na podatoci - VA')),79 ('Правила-и-услови.txt',(select p.p_id from profesori as p where p.p_korisnicko_ime = 'vangel.ajanovski'),(select ka.ka_id from kategorii as ka where ka.ka_ime = 'Predavanja'),(select ku.ku_id from kursevi as ku where ku.ku_ime = 'БнП- VA - 2022/2023')), 78 80 }}} 79 81