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: Quantos anos foram usados os g Tyres e o Minardi m187?
 ###Tabelas: CREATE TABLE singles:_23_14-9 (singles:_23_14-9_id AUTO_INCREMENT PRIMARY KEY, Outcome VARCHAR, Date VARCHAR, Championship VARCHAR, Surface VARCHAR, Opponent in the final VARCHAR, Score in the final VARCHAR) CREATE TABLE editions_feature_grid (editions_feature_grid_id AUTO_INCREMENT PRIMARY KEY, Product VARCHAR, Extensions VARCHAR, Projects templates VARCHAR, MSDN integration VARCHAR, Debugging VARCHAR, Profiling VARCHAR, IntelliTrace VARCHAR, Unit test VARCHAR, Code coverage VARCHAR, Test impact analysis VARCHAR, Load testing VARCHAR, Lab management VARCHAR, Architecture and modelling VARCHAR, Windows Phone development VARCHAR) CREATE TABLE conference_winners_and_tournaments (conference_winners_and_tournaments_id AUTO_INCREMENT PRIMARY KEY, Conference VARCHAR, Regular Season Winner VARCHAR, Conference Player of the Year VARCHAR, Conference Tournament VARCHAR, Tournament Venue (City) VARCHAR, Tournament Winner VARCHAR) CREATE TABLE complete_formula_one_world_championship_results (complete_formula_one_world_championship_results_id AUTO_INCREMENT PRIMARY KEY, Year INT, Entrant VARCHAR, Chassis VARCHAR, Engine VARCHAR, Tyres VARCHAR, Points INT) CREATE TABLE hills_of_gödöllő (hills_of_gödöllő_id AUTO_INCREMENT PRIMARY KEY, Further Cities VARCHAR, County, Oblast or State VARCHAR, Country VARCHAR, Distance VARCHAR, Direction VARCHAR)  
SELECT AVG Year FROM complete_formula_one_world_championship_results WHERE Tyres = g AND Chassis = minardi m187