Table: rajasthan_jat_states
Columns: s_no
name_of_janapada
name_of_king
no_of_villages
capital

Question: What capital has an S.Number under 7, and a Name of janapada of Punia?
SQL: SELECT "capital" FROM rajasthan_jat_states WHERE "s_no" < 7 AND "name_of_janapada" = 'punia'

Question: What king has an S. number over 1 and a number of villages of 600?
SQL: SELECT "name_of_king" FROM rajasthan_jat_states WHERE "s_no" > 1 AND "no_of_villages" = 600

Question: What is the average number of villages with a name of janapada of Punia?
SQL: SELECT AVG("no_of_villages") FROM rajasthan_jat_states WHERE "name_of_janapada" = 'punia'

Question: What is the highest S number with a capital of Shekhsar?
SQL: SELECT MAX("s_no") FROM rajasthan_jat_states WHERE "capital" = 'shekhsar'