Question: What is the total works number of the locomotive with 0-6-4T type after 1875?
SQL: SELECT SUM("Works number") FROM "2-1145645-1" WHERE "Type" = '0-6-4T' AND "Date" > 1875.0;

Question: What is the total work number of Gowrie after 1875?
SQL: SELECT SUM("Works number") FROM "2-1145645-1" WHERE "Date" > 1875.0 AND "Name" = 'Gowrie';

Question: What is the average work number of Snowdon Ranger with the builder Vulcan Foundry?
SQL: SELECT AVG("Works number") FROM "2-1145645-1" WHERE "Builder" = 'Vulcan Foundry' AND "Name" = 'Snowdon Ranger';

Question: What is the total work number of gowrie with a 0-6-4t type after 1908?
SQL: SELECT COUNT("Works number") FROM "2-1145645-1" WHERE "Type" = '0-6-4t' AND "Name" = 'gowrie' AND "Date" > 1908.0;