33 个问题
你好,
试试这个语句:
SELECT DISTINCT ID FROM YourTable
WHERE Status <> 'Pass'
EXCEPT
SELECT DISTINCT ID FROM YourTable
WHERE Status = 'Pass'
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".