Professional Documents
Culture Documents
Set Operations:: To Write Queries Using Set Operations and To Write Nested Queries
Set Operations:: To Write Queries Using Set Operations and To Write Nested Queries
Set Operations:
UNION - OR
INTERSECT - AND
EXCEPT - - NOT
NESTED QUERY:- A nested query makes use of another sub-query to compute or retrieve
the information
1. Find the name of the institute in which the person studied and developed the costliest
package.
2. Find the salary and institute of a person who developed the highest selling package.
3. How many packages were developed by the person who developed the cheapest package.
4. Calculate the amount to be recovered for those packages whose development cost has not
yet recovered.
5. Display the title, scost, dcost, difference of scost and dcost in the descending order of
difference.