我是mysql的新手,所以请善待.我的脚本出现以下错误,我不知道它有什么问题.
SELECT uoid
FROM mint
WHERE mint_id='6' and userid='3836'
INTERSECT
SELECT id as uoid
FROM cats
WHERE category='Health, Fitness'
ORDER BY 1;
Run Code Online (Sandbox Code Playgroud)
给
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INTERSECT SELECT id as uoid FROM cats WHERE category='Health, Fitness'' at line 4
Run Code Online (Sandbox Code Playgroud)