What does the following query do?
select name, ID, branch
from student, department
where student.branch = department.branch;
- It gives all values of name, ID, branch from both the relations only if all those attributes are present in both
- It gives all values of name, ID, branch from their respective relations
- It gives the values of name, ID, branch from their respective relations where the values in the branch attribute are same
- It gives the values of name, ID, branch from their respective relations where all the values are matching with each other
(c).It gives the values of name, ID, branch from their respective relations where the values in the branch attribute are same
need an explanation for this answer? contact us directly to get an explanation for this answer