Hi,
When i executed the below query , i have an error :(
select s# from s where exists (select * from spj where spj.s# = s.s# and spj.p# = p.p#)
and relation is :
S(s#,sname,city) s# is primary key
p(p#,pname,color) p#
is primary key
j(j#,jname,city) j#
is primary key
SPJ(S#,p#,j#,qty) s# and p# and j# is foreign key