mysql intersect

前端 未结 3 832
野性不改
野性不改 2021-01-24 10:44

I\'m new to mysql so please be kind. I\'m getting the following error for my script and im not sure whats wrong with it.

SELECT uoid 
FROM mint 
WHERE mint_id=\'         


        
3条回答
  •  -上瘾入骨i
    2021-01-24 11:24

    This is because intersect only work on same table, not on different tables as you are trying. See this

    In place of intersect use join statement syntax. And INTERSECT does exist in sql

提交回复
热议问题