Tag: inner-join

54 votes
12 answers
2.7K views
INNER JOIN ON vs WHERE clause

For simplicity, assume all relevant fields are NOT NULL. You can do: SELECT table1.this, table2.that, ta

avatar
Percy
0 1 0 9
asked 07 September, 2021
57 votes
6 answers
2.6K views
Difference between JOIN and INNER JOIN

Both these joins will give me the same results: SELECT * FROM table JOIN otherTable ON table.ID = otherTable.

avatar
Scot
0 1 0 9
asked 07 September, 2021
63 votes
15 answers
386 views
How can I delete using INNER JOIN with SQL Server?

I want to delete using INNER JOIN in SQL Server 2008. But I get this error: Msg 156, Level 15, State 1, L

avatar
Jefferey
0 1 0 9
asked 07 September, 2021
60 votes
27 answers
2.9K views
What is the difference between "INNER JOIN" and "OUTER JOIN"?

Also how do LEFT JOIN, RIGHT JOIN and FULL JOIN fit in?

avatar
Louetta
0 1 0 9
asked 07 September, 2021