13.07.2015 Views

1 Vježba 2: (SQL Server) Rješenja: Koristiti funkcije: - FESB

1 Vježba 2: (SQL Server) Rješenja: Koristiti funkcije: - FESB

1 Vježba 2: (SQL Server) Rješenja: Koristiti funkcije: - FESB

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Fakultet elektrotehnike, strojarstva i brodogradnje BAZE PODATAKA 2DODATAK 2: Model baze podataka:Rješenja:1.a.select mjesto_id, ime_mjestafrom mjestowhere post_br IS NULL1.b.select ime + ', ' + ime_oca + ', '+ prezime as 'Ime, ime oca, prezime' ,CONVERT(varchar(10),dat_upisa, 104) as 'Upisan', matbr as 'Mat. broj'from student1.c.select ime + ', ' + ime_oca + ', ' + prezime, convert(varchar(10),dat_upisa,104), matbrfrom student1.d.select * from predmetwhere left(ime_predmeta,13) = 'programiranje'1.e.select * from predmetwhere not exists (select * from nastavni_planwhere nastavni_plan.predmet_id = predmet.predmet_id)722.11.2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!