Table: race_stats_40
Columns: year
starts
wins
top_5
top_10
poles
avg_start
avg_finish
winnings
position
team_s

Question: Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?
SQL: SELECT AVG("top_5") FROM race_stats_40 WHERE "position" = '52nd' AND "year" < 2000

Question: Name the average Wins  which has a Top 10 smaller than 0?
SQL: SELECT AVG("wins") FROM race_stats_40 WHERE "top_10" < 0