user: ### NOW ANSWER:
Question: What is the highest S number with a capital of Shekhsar?
Columns: ['S.No.', 'Name of janapada', 'Name of King', 'No. of villages', 'Capital']
Types: ['real', 'text', 'text', 'real', 'text']
Sample row: [1.0, 'Sihag', 'Chokha Singh', 150.0, 'Suin']
SQL:

assistant: SELECT MAX("S.No.") FROM "Table" WHERE "Capital" = 'Shekhsar';