CREATE TABLE "most_points_scored_by_a_team" (
  "points" real,
  "score" text,
  "premiers" text,
  "runners_up" text,
  "details" text
);

Question: What's the total number of points scored during the 1951 NSWRFL Grand Final?
SQL: SELECT COUNT("points") FROM "most_points_scored_by_a_team" WHERE "details"='1951 nswrfl grand final';

Question: Which premier team played the 1951 NSWRFL Grand Final?
SQL: SELECT "premiers" FROM "most_points_scored_by_a_team" WHERE "details"='1951 nswrfl grand final';

Question: During which competition were a total of 36 points scored?
SQL: SELECT "details" FROM "most_points_scored_by_a_team" WHERE "points"=36;

Question: What's the total sum of points scored by the Brisbane Broncos?
SQL: SELECT SUM("points") FROM "most_points_scored_by_a_team" WHERE "premiers"='brisbane broncos';

Question: What is the premier team that has 38 points and won with a score of 38-0?
SQL: SELECT "premiers" FROM "most_points_scored_by_a_team" WHERE "points"=38 AND "score"='38-0';