1D0-541 Exam QuestionsBrowse all questions from this exam

1D0-541 Exam - Question 11


Consider the following relational algebraic expression: Which of the following SQL statements is equivalent to this relational algebraic expression?

Show Answer
Correct Answer: C

The given relational algebraic expression first performs a projection to select specific columns from the Customers and Employees tables, then performs a natural join on the Sales_Rep_No column between Customers and Employees. The SQL statement equivalent to this should select Cust_No, Cust_Name from Customers and Emp_Name, Emp_Loc from Employees where Customers.Sales_Rep_No is equal to Employees.Sales_Rep_No. Option C is correct because it projects Cust_No, Cust_Name from Customers and Emp_Name, Emp_Loc from Employees and joins on Customers.Sales_Rep_No, matching the relational algebraic expression.

Discussion

1 comment
Sign in to comment
dayogreatsOption: B
Oct 3, 2023

B is coreect