The difference between left jion where and on conditions

When using left jion, the difference between on and where conditions is as follows:

1. The on condition is the condition used when generating the temporary table. It will return the records in the left table regardless of whether the condition in on is true or not.

2. The where condition is a condition for filtering the temporary table after the temporary table is generated. If the condition is not true, all are filtered out.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324973231&siteId=291194637