CREATE TABLE "2012_rankings" (
  "rank" real,
  "team" text,
  "country" text,
  "value_m" real,
  "revenue_m" real
);

Question: Name the highest revenue for schalke 04 with rank less than 10
SQL: SELECT MAX("revenue_m") FROM "2012_rankings" WHERE "team"='schalke 04' AND "rank"<10;

Question: Name the rank for tottenham hotspur
SQL: SELECT "rank" FROM "2012_rankings" WHERE "team"='tottenham hotspur';

Question: Name the least revenue for chelsea of england with rank less than 7
SQL: SELECT MIN("revenue_m") FROM "2012_rankings" WHERE "country"='england' AND "team"='chelsea' AND "rank"<7;

Question: Name the total number of value for revenue more than 193 and rank less than 12 for manchester united
SQL: SELECT COUNT("value_m") FROM "2012_rankings" WHERE "revenue_m">193 AND "rank"<12 AND "team"='manchester united';