请帮助我如何解决此问题
Msg 116, Level 16, State 1, Line 1
当子查询没有用 EXISTS 引入时,只能在选择列表中指定一个表达式。
这是我的查询
SELECT a.RegId,
a.PropertyThumbnail
FROM tblPropertyDetail a
WHERE a.RegId NOT IN
(
SELECT RegId,
COUNT(RegId) AS NumOccurrences
FROM tblPropertyDetail
GROUP BY RegId
HAVING (COUNT(RegId) > 1)
)