Trebalo je uraditi brisanje.
select *
into copyPrijave
from Prijave
delete FROM copyPrijave
where EXISTS(select *
from Diplomirani d
where d.Indeks = copyPrijave.Indeks and d.Upisan = copyPrijave.Upisan)
Trebalo je uraditi brisanje.
select *
into copyPrijave
from Prijave
delete FROM copyPrijave
where EXISTS(select *
from Diplomirani d
where d.Indeks = copyPrijave.Indeks and d.Upisan = copyPrijave.Upisan)