0

以下のステートメントでエラー
SQL Error: ORA-00934 : group function is not allowed hereが表示され
ます このエラーを回避する方法を知っている人はいますか?

update revisit set visitcounter=1234 where  visittimestamp=MAX(visittimestamp)
4

1 に答える 1

3

試す:

update revisit set visitcounter=1234 where  visittimestamp = (select MAX(visittimestamp) from revisit)
于 2013-02-17T13:09:27.377 に答える