Table: phar_lap_race_results_2
Columns: result
race
distance
weight
winner_or_2nd
pos_n

Question: What was the distance for the winner or 2nd Waterline?
SQL: SELECT "distance" FROM phar_lap_race_results_2 WHERE "winner_or_2nd" = 'waterline'

Question: What is the result for the distance of 10f, and a winner or 2nd of Lampra?
SQL: SELECT "result" FROM phar_lap_race_results_2 WHERE "distance" = '10f' AND "winner_or_2nd" = 'lampra'