What's the difference between INNER JOIN and a join in the WHERE clause (... =...) ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What's the difference between INNER JOIN and a join in the WHERE clause (... =...) ?

4th May 2016, 9:08 AM
Yoel Benhamou
Yoel Benhamou - avatar
2 Answers
+ 3
"INNER JOIN" clause join tables and WHERE filter data, but you can use WHERE for join tables, but if you want join 2 tables and filter specific records,for example, SELECT * FROM 'cat' INNER JOIN 'dog' ON 'cat.id' = 'dog.id' WHERE 'cat.color' = 'black';
25th Jun 2016, 7:18 PM
Luis Aguilar Ortiz
Luis Aguilar Ortiz - avatar
- 3
both of them are same
21st Jun 2016, 11:44 AM
Hossein Tavasolnia
Hossein Tavasolnia - avatar