CREATE TABLE "southern_fells" (
  "peak" text,
  "height_m" real,
  "prom_m" real,
  "class" text,
  "parent" text
);

Question: Which class has a peak named fountains fell south top?
SQL: SELECT "class" FROM "southern_fells" WHERE "peak"='fountains fell south top';

Question: What is the total of Prom in M for Peak great knoutberry hill?
SQL: SELECT SUM("prom_m") FROM "southern_fells" WHERE "peak"='great knoutberry hill';

Question: What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth?
SQL: SELECT AVG("height_m") FROM "southern_fells" WHERE "class"='hewitt' AND "prom_m"<86 AND "peak"='gragareth';