1.

The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T WHERE CUSTOMER_T. CUSTOMER_ID = ORDER_T. CUSTOMER_ID?(a) Equi-join(b) Natural join(c) Outer join(d) Cartesian joinThis question was addressed to me in my homework.The question is from Joins in section Laying the Foundation of SQL Server

Answer»

The correct OPTION is (a) Equi-join

The explanation: Equi-join JOINS only same data entry field. For example, one table contains department ID and another table should contain department id.



Discussion

No Comment Found

Related InterviewSolutions