What is wrong with my query?It will not compile
insert into table1
(GID, SID, DateEntered)
values (
select GID,SID,getdate()
from table2
where GID='1' and SID
not in (select SID from table3
where GID='1')
)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.