Table: race_results_14
Columns: year
team
co_drivers
class
laps
pos
class_pos

Question: Which team finished 3rd in class with 337 laps before 2008?
SQL: SELECT "team" FROM race_results_14 WHERE "year" < 2008 AND "laps" > 337 AND "class_pos" = '3rd'

Question: In which class had 252 laps and a position of dnf?
SQL: SELECT "class" FROM race_results_14 WHERE "pos" = 'dnf' AND "laps" = 252

Question: Which position finished 3rd in class and completed less than 338 laps?
SQL: SELECT "pos" FROM race_results_14 WHERE "class_pos" = '3rd' AND "laps" < 338

Question: What was the position in 1997?
SQL: SELECT "pos" FROM race_results_14 WHERE "year" = 1997