Answer the question
In order to leave comments, you need to log in
Postgres return the given number if there is no result?
I can't figure out where the error is
SELECT
NULLIF ((max(VALUE::int) + 1), 1)
FROM
table
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question