小编squ*_*ail的帖子

没有键的mysql连接表

基本问题:如何连接2个表以获得以下输出?

Table1:
"type"
red
blue
big
small
Run Code Online (Sandbox Code Playgroud)

===

Table2:
"object"
cat
person
chair
Run Code Online (Sandbox Code Playgroud)

===

Output:
red cat 
blue cat
big cat
small cat
red person
blue person
big person
small person
red chair
blue chair
big chair
small chair
Run Code Online (Sandbox Code Playgroud)

mysql join

1
推荐指数
1
解决办法
929
查看次数

标签 统计

join ×1

mysql ×1