CREATE TABLE "provinces_table" (
  "province" text,
  "region" text,
  "capital" text,
  "districts" real,
  "ubigeo" real
);

Question: What province in Tumbes has less than 11 districts and a UBIGEO of 2401?
SQL: SELECT "province" FROM "provinces_table" WHERE "districts"<11 AND "region"='tumbes' AND "ubigeo"=2401;

Question: What is Chepén's average UBIGEO?
SQL: SELECT AVG("ubigeo") FROM "provinces_table" WHERE "province"='chepén';

Question: What is the region for Chepén with 3 districts?
SQL: SELECT "region" FROM "provinces_table" WHERE "districts"=3 AND "capital"='chepén';