0
以下是需要優化的確切代碼。請協助。需要優化SQL語句不存在檢查多列
IF NOT EXISTS (SELECT 1
FROM Table1
WHERE Clientid = 1111
AND
Objectid IN (SELECT Objectid
FROM Table1
WHERE clientid = 5555
)
AND
Fieldid IN (SELECT Fieldid
FROM Table1
WHERE clientid = 5555
)
)