0

The below statement give me error
SQL Error: ORA-00934 : group function is not allowed here
Does anyone know how to get around this error ?

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

1 Answer 1

3

try:

update revisit set visitcounter=1234 where  visittimestamp = (select MAX(visittimestamp) from revisit)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.