CREATE TABLE "summary" (
  "owner" text,
  "class" text,
  "number_in_class" real,
  "road_numbers" text,
  "built" text
);

Question: What is the total number in class for the Whitehaven Coal?
SQL: SELECT SUM("number_in_class") FROM "summary" WHERE "owner"='whitehaven coal';

Question: What was built in a class with less than 10, and the Downer Rail owner?
SQL: SELECT "built" FROM "summary" WHERE "number_in_class"<10 AND "owner"='downer rail';

Question: Which class has more than 15 people in the class?
SQL: SELECT "class" FROM "summary" WHERE "number_in_class">15;

Question: Who is the owner that built in 2009-2011?
SQL: SELECT "owner" FROM "summary" WHERE "built"='2009-2011';