Table Fields are, RollNo DataType is Number and Class DataType is ShortText.
This the query,
SELECT
ISNULL(MAX(RollNo), -1) AS Roll
FROM
Students
WHERE
Class = "One"
When I run this query, I get an error:
Invalid operation or syntax using multi-valued field
I want to get a value of -1 if the column is null, otherwise the maximum value of the RollNo with the where condition of Class being One.