Site icon i2tutorials

DBMS – Multiple-Key Access

Multiple-Key Access

 Consider the following example.

“Find all faculty names in DNo = 5, with a salary equal to 50000 rupees.

  Select  FName

                  From  FACULTY

                  Where DNo = 5 and Salary = 50000;

 

There are three ways to do this:

 

 

 

Note: Here, there are many records pertaining to DNo = 5. Similarly, there are many records pertaining to Salary = 50000.

But, there will be few records pertaining to both DNo and Salary attributes.

 

Reference Link

Multiple-Key Access

Exit mobile version