Question: What's the year with a score of 305?
SQL: SELECT MIN("Year") FROM "2-18541861-2" WHERE "Total score" = '305';

Question: What's the To par of St Andrews before the year 1888?
SQL: SELECT "To par [a ]" FROM "2-18541861-2" WHERE "Course" = 'St Andrews' AND "Year" < 1888.0;

Question: What's the location that has a total of 149?
SQL: SELECT "Location" FROM "2-18541861-2" WHERE "Total score" = '149';