Hi,
The following SQL is which type of join used in:
SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T ;
Thanks
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Feb 7, 2012, 2:41 AM
Above query is used INNER JOIN.
It is ANSI Standrad..
SQL Standrad is
SELECT C. CUSTOMER_ID, O. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T C
INNER JOIN ORDER_T O ON C.CUSTOMER_ID = O.CUSTOMER_ID
hope this help.