Ambiguous attributes  

  • Ambigious attribute name = an attribute name that can be found in multiple relations

    Example:

      project(essn, pno, hours);      
    
      dependent(essn, name, sex, bdate, relationship);  
    

  • Consequence:   when project and dependent relations are both used in a query :

    • The attribute name "essn" will be ambiguous

      Example:

          select  essn     // Ambigious attribute name    
          from    project, dependent
          where   ...
      

    (Because you cannot tell whether essn is an attribute from the Project relation or from the Dependent relation)