Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: Qual é a média da quantidade de voltas para o piloto patrick tambay?
 ###Tabelas: CREATE TABLE main_places (main_places_id AUTO_INCREMENT PRIMARY KEY, Place VARCHAR, Code INT, Area (km 2 ) INT, Population INT, Most spoken language VARCHAR) CREATE TABLE chronological_list_of_grand_slam_singles_titles_leaders (chronological_list_of_grand_slam_singles_titles_leaders_id AUTO_INCREMENT PRIMARY KEY, Years led VARCHAR, Span of years led INT, Player VARCHAR, Titles won at point of lead INT, Total Career titles INT, Tournament at which lead began VARCHAR) CREATE TABLE singles:_13_7–6 (singles:_13_7–6_id AUTO_INCREMENT PRIMARY KEY, Date VARCHAR, Tournament VARCHAR, Surface VARCHAR, Opponent VARCHAR, Score VARCHAR) CREATE TABLE race (race_id AUTO_INCREMENT PRIMARY KEY, Driver VARCHAR, Constructor VARCHAR, Laps INT, Time/Retired VARCHAR, Grid INT) CREATE TABLE topscorers_in_order_of_league_goals (topscorers_in_order_of_league_goals_id AUTO_INCREMENT PRIMARY KEY, Player VARCHAR, Club VARCHAR, League INT, FA Cup INT, FA Trophy INT, League Cup INT, Total INT)  
SELECT AVG Laps FROM race WHERE Driver = patrick tambay