Foxhole Atheist
Thursday, February 16, 2012
Rozenshtein question 1 (sql cookbook)
really bizzare solutions in the book
here is the simple answer to find any student not taking a particular course
select
*
from
student s
where
not
exists
(
select
*
from
take t
where
t
.
cno
=
'CS112'
and
t
.
sno
=
s
.
sno
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment