Which table exactly is the “left” table and “right” table in a JOIN statement (SQL)?

前端 未结 5 2135
悲哀的现实
悲哀的现实 2020-12-24 10:17

What makes a given table the left table?

Is it that the table is indicated in the \"From\" part of the query?

Or, is it the left table because it is on the l

5条回答
  •  情话喂你
    2020-12-24 10:44

    Yes, it's determined by the side of the JOIN operator the table appears on. Your two examples are indeed equivalent.

提交回复
热议问题