[英]MySQL . Combine records from one table with another table with not common field
tired of searching for a solution to this: 厌倦了寻找解决方案:
Table A
-------
RED
BLUE
YELLOW
Table B
-------
BALL
CUBE
STICK
Need this result: 需要这个结果:
RED BALL
RED CUBE
RED STICK
BLUE BALL
BLUE CUBE
BLUE STICK
YELLOW BALL
YELLOW CUBE
YELLOW STICK
It is possible to get this in one query? 有可能在一个查询中得到这个吗?
选择*从TableA交叉联接TableB
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.