CREATE TABLE "highest_and_lowest_points_in_each_us_nat" (
  "rank" real,
  "park" text,
  "location" text,
  "peak_name" text,
  "elevation_ft" real,
  "minimum_elevation_ft" text,
  "vertical_relief_ft" real
);

Question: What is the mean vertical relief in feet when the rank is more than 40 and the location is va0573?
SQL: SELECT AVG("vertical_relief_ft") FROM "highest_and_lowest_points_in_each_us_nat" WHERE "rank">40 AND "location"='va0573';

Question: What is the mean vertical relief in feet when the Peak Name is Tower near mead wood road entrance and the elevation in feet is more than 1,410?
SQL: SELECT AVG("vertical_relief_ft") FROM "highest_and_lowest_points_in_each_us_nat" WHERE "peak_name"='tower near mead wood road entrance' AND "elevation_ft">'1,410';

Question: What is the total number of ranks when the Peak Name is Red Shirt Table?
SQL: SELECT SUM("rank") FROM "highest_and_lowest_points_in_each_us_nat" WHERE "peak_name"='red shirt table';