查询错误:输入的子查询只能有一个输出列。如何更新此表?谢谢您
UPDATE table
SET ViewItem = SessionStart
WHERE (event_date, user_pseudo_id)
IN
(SELECT event_date, user_pseudo_id
FROM table
WHERE ViewItem > SessionStart
GROUP BY event_date, user_pseudo_id
ORDER BY event_date, user_pseudo_id
)
;
1条答案
按热度按时间rnmwe5a21#
试试下面