user: ### NOW ANSWER:
Question: For team #40 Chip Ganassi Racing which top 5 is the highest where top 10 is 5?
Columns: ['Year', 'Starts', 'Wins', 'Top 5', 'Top 10', 'Poles', 'Avg. Start', 'Avg. Finish', 'Winnings', 'Position', 'Team(s)']
Types: ['real', 'real', 'real', 'real', 'real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [1976.0, 1.0, 0.0, 0.0, 0.0, 0.0, '30.0', '29.0', '$565', '101st', '#14 Cunningham-Kelly']
SQL:

assistant: SELECT MAX("Top 5") FROM "Table" WHERE "Top 10" = 5.0 AND "Team(s)" = '#40 Chip Ganassi Racing';