Querying tickets with simple Maths

Querying tickets with simple Maths

Hi,

How can we find out what the minimum ticketId or maximum ticketNumber that we have in our ZohoDesk?

Thanks,
P