SELECT MAX(ID) AS ID FROM BILLING_PAYMENT_CODE WHERE ID > 0
มัน error ว่า
SQL error:
ERROR: operator does not exist: character varying > integer
LINE 1: SELECT MAX(ID) AS ID FROM BILLING_PAYMENT_CODE WHERE ID > 0
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
In statement:
SELECT MAX(ID) AS ID FROM BILLING_PAYMENT_CODE WHERE ID > 0