CREATE TABLE "table1_12043148_2" (
  "year" real,
  "premier_one" text,
  "premier_two" text,
  "bristol_somerset" text,
  "glos_wilts" text,
  "bristol_n_som" text,
  "somerset" text,
  "gloucestershire" text,
  "wiltshire" text
);

Question: what is the somerset for the  year 2009?
SQL: SELECT "somerset" FROM "table1_12043148_2" WHERE "year"=2009;

Question: what is the bristol & n. som where the somerset is ashcott and shapwick?
SQL: SELECT "bristol_n_som" FROM "table1_12043148_2" WHERE "somerset"='Ashcott and Shapwick';

Question: what is the latest year where glos & wilts is warminster?
SQL: SELECT MAX("year") FROM "table1_12043148_2" WHERE "glos_wilts"='Warminster';

Question: what is the glos & wilts where the bristol & somerset is lansdown?
SQL: SELECT "glos_wilts" FROM "table1_12043148_2" WHERE "bristol_somerset"='Lansdown';

Question: what is the year where glos & wilts is gloucester city winget?
SQL: SELECT "year" FROM "table1_12043148_2" WHERE "glos_wilts"='Gloucester City Winget';

Question: who many times is gloucestershire is painswick?
SQL: SELECT COUNT("premier_two") FROM "table1_12043148_2" WHERE "gloucestershire"='Painswick';