Select from Table1, Table2

后端 未结 3 741
盖世英雄少女心
盖世英雄少女心 2021-01-11 16:43

I found the following query and appreciate it if someone can help explain to me what this means.

select * from table1, table2
3条回答
  •  攒了一身酷
    2021-01-11 17:11

    You will get all rows from table1 multiplied by all rows from table2, and will display depending on the columns of both tables. As @sgeddes pointed out, creating a cartesian product.

提交回复
热议问题