human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: S.No., Name of janapada, Name of King, No. of villages, Capital
###Question: What is the average number of villages with a name of janapada of Punia?
gpt
SELECT AVG No. of villages FROM table WHERE Name of janapada = punia