小编Ank*_*ala的帖子

替代MySQL中的Intersect

我需要在MySQL中实现以下查询.

(select * from emovis_reporting where (id=3 and cut_name= '?????' and cut_name='??') ) 
intersect
( select * from emovis_reporting where (id=3) and ( cut_name='?????' or cut_name='??') )
Run Code Online (Sandbox Code Playgroud)

我知道相交不在MySQL中.所以我需要另一种方式.请指导我.

mysql intersect

60
推荐指数
4
解决办法
10万
查看次数

标签 统计

intersect ×1

mysql ×1