

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A list of 29 sql query forms and asks the reader to identify a minimal set of query types that can express all of them. The queries involve disjoint lists of relations, unique attribute names, and correlated references to relations outside of subqueries. The goal is to find a minimal set of query types that does not result in a loss of expressive power.
Typology: Study notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


where cond and A1 in (select A2 from Rlist2 where cond2)
where cond1 and A1 not in (select A2 from Rlist2 where cond2)
where cond1 and exists (select * from Rlist2 where cond2)
where cond1 and not exists (select * from Rlist2 where cond2)
where cond1 and A1 = all (select A2 from Rlist2 where cond2)
where cond1 and not A1 = all (select A2 from Rlist2 where cond2)
where cond1 and A1 <> all (select A2 from Rlist2 where cond2)
where cond1 and not A1 <> all (select A2 from Rlist2 where cond2)
where cond1 and A1 < all (select A2 from Rlist2 where cond2)
where cond1 and not A1 < all (select A2 from Rlist2 where cond2)
where cond1 and A1 <= all (select A2 from Rlist2 where cond2)
where cond1 and not A1 <= all (select A2 from Rlist2 where cond2)
where cond1 and A1 > all (select A2 from Rlist2 where cond2)
where cond1 and not A1 > all (select A2 from Rlist2 where cond2)
where cond1 and A1 >= all (select A2 from Rlist2 where cond2)
where cond1 and not A1 >= all (select A2 from Rlist2 where cond2)
where cond1 and A1 = any (select A2 from Rlist2 where cond2)
where cond1 and not A1 = any (select A2 from Rlist2 where cond2)
where cond1 and A1 <> any (select A2 from Rlist2 where cond2)
where cond1 and not A1 <> any (select A2 from Rlist2 where cond2)
where cond1 and A1 < any (select A2 from Rlist2 where cond2)
where cond1 and not A1 < any (select A2 from Rlist2 where cond2)
where cond1 and A1 <= any (select A2 from Rlist2 where cond2)
where cond1 and not A1 <= any (select A2 from Rlist2 where cond2)