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: Quando Joaqui Mendoza é o nome, qual é a duração?
 ###Tabelas: CREATE TABLE teen_edition_housemates (teen_edition_housemates_id AUTO_INCREMENT PRIMARY KEY, Name VARCHAR, Home or representative town or province VARCHAR, Age INT, Edition VARCHAR, Total days in PBB House INT, Duration VARCHAR, Status VARCHAR) CREATE TABLE list_of_sovereign_nations_with_fewer_than_500000_people (list_of_sovereign_nations_with_fewer_than_500000_people_id AUTO_INCREMENT PRIMARY KEY, Rank INT, Country/territory/entity VARCHAR, Population INT, % of world population VARCHAR, Region VARCHAR) CREATE TABLE pga_tour_wins_25 (pga_tour_wins_25_id AUTO_INCREMENT PRIMARY KEY, Date VARCHAR, Tournament VARCHAR, Winning score VARCHAR, Margin of victory VARCHAR, Runner(s)-up VARCHAR) CREATE TABLE house_of_valois-burgundy_1405–1482 (house_of_valois-burgundy_1405–1482_id AUTO_INCREMENT PRIMARY KEY, Name VARCHAR, Date of birth VARCHAR, Date of death VARCHAR, Reign VARCHAR, Relationship with predecessor VARCHAR) CREATE TABLE class_f:_2-8-0 (class_f:_2-8-0_id AUTO_INCREMENT PRIMARY KEY, Class VARCHAR, Wheel arrangement VARCHAR, Fleet number(s) VARCHAR, Manufacturer VARCHAR, Year made VARCHAR, Quantity made VARCHAR, Quantity preserved VARCHAR)  
SELECT Duration FROM teen_edition_housemates WHERE Name = Joaqui Mendoza