1
我想一個SELECT查詢返回的特定值,如果一個嵌套子查詢的次數爲0 ...SQL子查詢COUNT CASE
SELECT
(SELECT (CASE COUNT(*) = 0 THEN 'TRUE' ELSE 'FALSE' END)
FROM List
WHERE Status = 1
AND Deleted = 1
) AS Status
這不起作用,什麼是錯的這個語法?