
Hi
Good day
As Mr.Raja said, The default JOIN predicate is "INNER JOIN".
See for further clarification...
Query1:
SELECT * FROM TABLE1,TABLE2 WHERE TABLE1.ID = TABLE2.ID
1. Physical Operator of this query is : Hash Match (Join Algorithm)
2. Logical Operator of this query is : INNER JOIN (It will produces common record from the both tables)
3. Entimated Rows will be : Matching records only
Query2:
SELECT * FROM TABLE1, TABLE2
1. The Physical Operator of this query is : Nested Loop (Join Algorithm)
2. Logical Operator of this query is : INNER JOIN(It will produces Cartesian Product of the both tables)
3. Entimated Rows will be : N*M records ( Table1 records * Table2 records = Cartesian product)
So, In our both scenario, we are not used any JOIN predicates. But the default JOIN predicate is "INNER JOIN", But the JOIN algorithm differs.
Cheers
Cheers
www.SQLServerbuddy.blogspot.com
iLink Multitech Solutions
Rajendra.prasad, if this helps please login to Mark As Answer. | Alert Moderator