SQL QUERIES 

1- Get full details of all projects.

     

2- Get full details of all projects in London.

     

3- Get supplier numbers for suppliers who supply project J1.

   The attributes on the SELECT line are used

   like the PROJECT operator in algebra.

     

4- Get all shipments where quantity is in the range

   300 to 750 inclusive.

   a handy operator

     

5- Get all part-color/part-city combinations.

   assuming this refers to actual parts

   in the database

     

6- Get all snum/pnum/jnum triples such that the supplier,

   part and project are co-located.

   note this has nothing to do with shipments

   Tables involved are on the FROM line

     


Home                            All Queries                       Next page

Post a Comment

 
Top