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

Question: What are the average laps driven in the GT class?
SQL: SELECT AVG("laps") FROM jaime_melo_race_results WHERE "class" = 'gt'

Question: What classes have driven greater than 133 laps, placed above 18th position and have a class position of 1st?
SQL: SELECT "class" FROM jaime_melo_race_results WHERE "laps" > 133 AND "pos" = '18th' AND "class_pos" = '1st'