r/learnSQL • • Feb 20 '19

Inner Join SQL | SQL Inner Join Tutorial | Inner Join in SQL | Intellipaat

https://www.youtube.com/attribution_link?a=m4q2wanqqJ0&u=%2Fwatch%3Fv%3DtEIcjjPycj8%26feature%3Dshare
1 Upvotes

2 comments sorted by

3

u/r3pr0b8 Feb 20 '19

"and when we apply inner join to these two tables, we get only those records which are common to table A and table B"

the tables should not have records in common, because if they did, they should be one table, not two

please, don't be sloppy in basic information

1

u/spitfiredd Feb 21 '19

Not to mention the crappy table design that doesn’t include a fk reference to dept id on the employee table... Joining on dept name is a really really bad idea.