CREATE TABLE "sapporo" (
  "rank" real,
  "name" text,
  "nationality" text,
  "1st_m" real,
  "2nd_m" real,
  "points" real,
  "overall_wc_points_rank" text
);

Question: Which Points have a Name of denis kornilov?
SQL: SELECT AVG("points") FROM "sapporo" WHERE "name"='denis kornilov';

Question: Which Rank is the highest one that has a 1st (m) larger than 130, and a Name of thomas morgenstern, and a 2nd (m) larger than 139?
SQL: SELECT MAX("rank") FROM "sapporo" WHERE "1st_m">130 AND "name"='thomas morgenstern' AND "2nd_m">139;

Question: Which Rank that a Name of thomas morgenstern, and Points larger than 288.7?
SQL: SELECT SUM("rank") FROM "sapporo" WHERE "name"='thomas morgenstern' AND "points">288.7;

Question: How many Points have a Nationality of nor, and an Overall WC points (Rank) of 374 (13), and a Rank smaller than 4?
SQL: SELECT COUNT("points") FROM "sapporo" WHERE "nationality"='nor' AND "overall_wc_points_rank"='374 (13)' AND "rank"<4;