What does the following query do? select name, ID, branch from student, department where student.branch = department.branch;

What does the following query do? select name, ID, branch from student, department where student.branch = department.branch; Correct Answer It gives the values of name, ID, branch from their respective relations where the values in the branch attribute are same

student.branch = department.branch verifies whether both the values of the attributes are same in both the relations and returns the value.

Related Questions

The Chairman of a big company visits one department on Monday of every week except for the Monday of third week of every month. When did he visit the Purchase department ? I. He visited Accounts department in the second week of September after having visited Purchase department on the earlier occasion. II. He had visited Purchase department immediately after visiting Stores department but before visiting Accounts department.