instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which production code had original air dated february20,2011 | The relevant table was constructed using the following SQL : CREATE TABLE table_26259391_1 (production_code VARCHAR, original_air_date VARCHAR) | SELECT production_code FROM table_26259391_1 WHERE original_air_date = "February20,2011" |
Write a SQL query that answers the following question: What school joined the conference in 1996-97 and left it in 2011-12? | The relevant table was constructed using the following SQL : CREATE TABLE table_262560_2 (institution VARCHAR, joined VARCHAR, left VARCHAR) | SELECT institution FROM table_262560_2 WHERE joined = "1996-97" AND left = "2011-12" |
Write a SQL query that answers the following question: What location has a school with enrollment of 850? | The relevant table was constructed using the following SQL : CREATE TABLE table_262560_2 (location VARCHAR, enrollment VARCHAR) | SELECT location FROM table_262560_2 WHERE enrollment = 850 |
Write a SQL query that answers the following question: How many schools left in 2002-03? | The relevant table was constructed using the following SQL : CREATE TABLE table_262560_2 (location VARCHAR, left VARCHAR) | SELECT COUNT(location) FROM table_262560_2 WHERE left = "2002-03" |
Write a SQL query that answers the following question: Which city has a school where the nickname is Pioneers? | The relevant table was constructed using the following SQL : CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR) | SELECT location FROM table_262560_2 WHERE nickname = "Pioneers" |
Write a SQL query that answers the following question: What type of school has the nickname the Oilers? | The relevant table was constructed using the following SQL : CREATE TABLE table_262560_2 (type VARCHAR, nickname VARCHAR) | SELECT type FROM table_262560_2 WHERE nickname = "Oilers" |
Write a SQL query that answers the following question: How many locations have a school that is nicknamed the Panthers? | The relevant table was constructed using the following SQL : CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR) | SELECT COUNT(location) FROM table_262560_2 WHERE nickname = "Panthers" |
Write a SQL query that answers the following question: How many sprints classifications were associated with an overall winner of Joaquin Rodriguez? | The relevant table was constructed using the following SQL : CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, winner VARCHAR) | SELECT COUNT(sprints_classification) FROM table_26257223_13 WHERE winner = "Joaquin Rodriguez" |
Write a SQL query that answers the following question: Who led team classification during the stage whose winner was Chris Horner? | The relevant table was constructed using the following SQL : CREATE TABLE table_26257223_13 (team_classification VARCHAR, winner VARCHAR) | SELECT team_classification FROM table_26257223_13 WHERE winner = "Chris Horner" |
Write a SQL query that answers the following question: Who led sprints classification when Chris Horner led general classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_26257223_13 (sprints_classification VARCHAR, general_classification VARCHAR) | SELECT sprints_classification FROM table_26257223_13 WHERE general_classification = "Chris Horner" |
Write a SQL query that answers the following question: What are all the report for the Belgian Grand Prix? | The relevant table was constructed using the following SQL : CREATE TABLE table_26258348_4 (report VARCHAR, grand_prix VARCHAR) | SELECT report FROM table_26258348_4 WHERE grand_prix = "Belgian grand_prix" |
Write a SQL query that answers the following question: How many winning constructor catagories are there when Mark Webber had the fastest lap? | The relevant table was constructed using the following SQL : CREATE TABLE table_26258348_4 (winning_constructor VARCHAR, fastest_lap VARCHAR) | SELECT COUNT(winning_constructor) FROM table_26258348_4 WHERE fastest_lap = "Mark Webber" |
Write a SQL query that answers the following question: Who had the pole position in the Canadian Grand Prix? | The relevant table was constructed using the following SQL : CREATE TABLE table_26258348_4 (pole_position VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_26258348_4 WHERE grand_prix = "Canadian grand_prix" |
Write a SQL query that answers the following question: What year was the institution of St. Catharine College founded? | The relevant table was constructed using the following SQL : CREATE TABLE table_262534_2 (founded INTEGER, institution VARCHAR) | SELECT MIN(founded) FROM table_262534_2 WHERE institution = "St. Catharine College" |
Write a SQL query that answers the following question: What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)? | The relevant table was constructed using the following SQL : CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR) | SELECT enrollment FROM table_262534_2 WHERE location__population_ = "Lebanon, Tennessee (20,235)" |
Write a SQL query that answers the following question: What is the location and population of the institution called Bluefield College? | The relevant table was constructed using the following SQL : CREATE TABLE table_262534_2 (location__population_ VARCHAR, institution VARCHAR) | SELECT location__population_ FROM table_262534_2 WHERE institution = "Bluefield College" |
Write a SQL query that answers the following question: How many times was the result is hired by serepisos? | The relevant table was constructed using the following SQL : CREATE TABLE table_26263322_1 (hometown VARCHAR, result VARCHAR) | SELECT COUNT(hometown) FROM table_26263322_1 WHERE result = "Hired by Serepisos" |
Write a SQL query that answers the following question: What is the age when the result is fired in week 8 | The relevant table was constructed using the following SQL : CREATE TABLE table_26263322_1 (age INTEGER, result VARCHAR) | SELECT MIN(age) FROM table_26263322_1 WHERE result = "Fired in week 8" |
Write a SQL query that answers the following question: What is the background of the candidate daniel phillips? | The relevant table was constructed using the following SQL : CREATE TABLE table_26263322_1 (background VARCHAR, candidate VARCHAR) | SELECT background FROM table_26263322_1 WHERE candidate = "Daniel Phillips" |
Write a SQL query that answers the following question: How many times was the background self-employed - media agency? | The relevant table was constructed using the following SQL : CREATE TABLE table_26263322_1 (candidate VARCHAR, background VARCHAR) | SELECT COUNT(candidate) FROM table_26263322_1 WHERE background = "Self-employed - media agency" |
Write a SQL query that answers the following question: How many times was the background university student? | The relevant table was constructed using the following SQL : CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR) | SELECT COUNT(result) FROM table_26263322_1 WHERE background = "University Student" |
Write a SQL query that answers the following question: What is the candidate whose age is 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_26263322_1 (candidate VARCHAR, age VARCHAR) | SELECT candidate FROM table_26263322_1 WHERE age = 27 |
Write a SQL query that answers the following question: In Round 6, who is the winning team? | The relevant table was constructed using the following SQL : CREATE TABLE table_26267607_2 (winning_team VARCHAR, round VARCHAR) | SELECT winning_team FROM table_26267607_2 WHERE round = "6" |
Write a SQL query that answers the following question: On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia? | The relevant table was constructed using the following SQL : CREATE TABLE table_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR) | SELECT date FROM table_26267607_2 WHERE winning_team = "Abt Sportsline" AND pole_position = "Mattias Ekström" AND circuit = "circuit Ricardo Tormo , Valencia" |
Write a SQL query that answers the following question: Round 1 is in what circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_26267607_2 (circuit VARCHAR, round VARCHAR) | SELECT circuit FROM table_26267607_2 WHERE round = "1" |
Write a SQL query that answers the following question: In the circuit Showevent Olympiastadion München, where the winning driver is Bruno Spengler, what is the pole position? | The relevant table was constructed using the following SQL : CREATE TABLE table_26267607_2 (pole_position VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | SELECT pole_position FROM table_26267607_2 WHERE winning_driver = "Bruno Spengler" AND circuit = "Showevent Olympiastadion München" |
Write a SQL query that answers the following question: Where the fastest lap is Mike Rockenfeller, who is the winning driver? | The relevant table was constructed using the following SQL : CREATE TABLE table_26267607_2 (winning_driver VARCHAR, fastest_lap VARCHAR) | SELECT winning_driver FROM table_26267607_2 WHERE fastest_lap = "Mike Rockenfeller" |
Write a SQL query that answers the following question: How many dates are there in round 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_26267607_2 (date VARCHAR, round VARCHAR) | SELECT COUNT(date) FROM table_26267607_2 WHERE round = "3" |
Write a SQL query that answers the following question: Name the least series number written by brenda hampton and directed by burt brinckerhoff | The relevant table was constructed using the following SQL : CREATE TABLE table_26261072_1 (series__number INTEGER, written_by VARCHAR, directed_by VARCHAR) | SELECT MIN(series__number) FROM table_26261072_1 WHERE written_by = "Brenda Hampton" AND directed_by = "Burt Brinckerhoff" |
Write a SQL query that answers the following question: Name the original air date for series number 15 | The relevant table was constructed using the following SQL : CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR) | SELECT original_air_date FROM table_26261072_1 WHERE series__number = 15 |
Write a SQL query that answers the following question: What team was Pearson on when his winnings were $5,200? | The relevant table was constructed using the following SQL : CREATE TABLE table_2626564_2 (team_s_ VARCHAR, winnings VARCHAR) | SELECT team_s_ FROM table_2626564_2 WHERE winnings = "$5,200" |
Write a SQL query that answers the following question: How many starts did Pearson have when his winnings were $101,438? | The relevant table was constructed using the following SQL : CREATE TABLE table_2626564_2 (starts VARCHAR, winnings VARCHAR) | SELECT starts FROM table_2626564_2 WHERE winnings = "$101,438" |
Write a SQL query that answers the following question: How many top 10's did Pearson have the year he was in 8th position? | The relevant table was constructed using the following SQL : CREATE TABLE table_2626564_2 (top_10 INTEGER, position VARCHAR) | SELECT MIN(top_10) FROM table_2626564_2 WHERE position = "8th" |
Write a SQL query that answers the following question: what is the title of the episode daphne field wrote? | The relevant table was constructed using the following SQL : CREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_2626495_1 WHERE written_by = "Daphne Field" |
Write a SQL query that answers the following question: who directed the episode james clavell wrote? | The relevant table was constructed using the following SQL : CREATE TABLE table_2626495_1 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_2626495_1 WHERE written_by = "James Clavell" |
Write a SQL query that answers the following question: how many times was the episode directed by maury geraghty originally aired? | The relevant table was constructed using the following SQL : CREATE TABLE table_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR) | SELECT COUNT(originalairdate) FROM table_2626495_1 WHERE directed_by = "Maury Geraghty" |
Write a SQL query that answers the following question: What Film Festival had participants/recipients of Isao Tomita? | The relevant table was constructed using the following SQL : CREATE TABLE table_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR) | SELECT film_festival FROM table_26282750_1 WHERE participants_recipients = "Isao Tomita" |
Write a SQL query that answers the following question: Who was the participant or recipient for the Best Female Actor? | The relevant table was constructed using the following SQL : CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR) | SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor" |
Write a SQL query that answers the following question: What date was the participant/recipient takakazu watanabe? | The relevant table was constructed using the following SQL : CREATE TABLE table_26282750_1 (date_of_ceremony VARCHAR, participants_recipients VARCHAR) | SELECT date_of_ceremony FROM table_26282750_1 WHERE participants_recipients = "Takakazu Watanabe" |
Write a SQL query that answers the following question: What film festival had the Best Male Actor? | The relevant table was constructed using the following SQL : CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR) | SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor" |
Write a SQL query that answers the following question: What category was the the participant/recipient otōto? | The relevant table was constructed using the following SQL : CREATE TABLE table_26282750_1 (category VARCHAR, participants_recipients VARCHAR) | SELECT category FROM table_26282750_1 WHERE participants_recipients = "Otōto" |
Write a SQL query that answers the following question: Name the performance order of the velasco brothers | The relevant table was constructed using the following SQL : CREATE TABLE table_26267849_11 (performance_order VARCHAR, artist VARCHAR) | SELECT performance_order FROM table_26267849_11 WHERE artist = "Velasco Brothers" |
Write a SQL query that answers the following question: Name the number of semi final results for 12 performance order | The relevant table was constructed using the following SQL : CREATE TABLE table_26267849_11 (semi_finals_result VARCHAR, performance_order VARCHAR) | SELECT COUNT(semi_finals_result) FROM table_26267849_11 WHERE performance_order = 12 |
Write a SQL query that answers the following question: Name the performance order for 2.15% | The relevant table was constructed using the following SQL : CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR) | SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.15%" |
Write a SQL query that answers the following question: Name the percentage of votes for 3rd finished | The relevant table was constructed using the following SQL : CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, finished VARCHAR) | SELECT percentage_of_votes FROM table_26267849_11 WHERE finished = "3rd" |
Write a SQL query that answers the following question: Name the percentage of votes for violinist | The relevant table was constructed using the following SQL : CREATE TABLE table_26267849_11 (percentage_of_votes VARCHAR, act VARCHAR) | SELECT percentage_of_votes FROM table_26267849_11 WHERE act = "Violinist" |
Write a SQL query that answers the following question: what are all the hometown where the average age is 16 | The relevant table was constructed using the following SQL : CREATE TABLE table_26267849_2 (hometown VARCHAR, age_s_ VARCHAR) | SELECT hometown FROM table_26267849_2 WHERE age_s_ = "16" |
Write a SQL query that answers the following question: What is the population in 2011 for the name Beaubassin East? | The relevant table was constructed using the following SQL : CREATE TABLE table_26321719_1 (population__2011_ VARCHAR, name VARCHAR) | SELECT population__2011_ FROM table_26321719_1 WHERE name = "Beaubassin East" |
Write a SQL query that answers the following question: What is every population density if name is Beaubassin East? | The relevant table was constructed using the following SQL : CREATE TABLE table_26321719_1 (population_density VARCHAR, name VARCHAR) | SELECT population_density FROM table_26321719_1 WHERE name = "Beaubassin East" |
Write a SQL query that answers the following question: What is every value for area for population density of 100.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, population_density VARCHAR) | SELECT area__km²_ FROM table_26321719_1 WHERE population_density = "100.8" |
Write a SQL query that answers the following question: What is every value for change% for area of 1835.01? | The relevant table was constructed using the following SQL : CREATE TABLE table_26321719_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR) | SELECT change___percentage_ FROM table_26321719_1 WHERE area__km²_ = "1835.01" |
Write a SQL query that answers the following question: How many names correspond to an area of 8.12? | The relevant table was constructed using the following SQL : CREATE TABLE table_26321719_1 (name VARCHAR, area__km²_ VARCHAR) | SELECT COUNT(name) FROM table_26321719_1 WHERE area__km²_ = "8.12" |
Write a SQL query that answers the following question: What is every value for area if change% is -3.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR) | SELECT area__km²_ FROM table_26321719_1 WHERE change___percentage_ = "-3.6" |
Write a SQL query that answers the following question: Name the hdi 2012 for dominica | The relevant table was constructed using the following SQL : CREATE TABLE table_26313243_1 (hdi_2012 VARCHAR, country VARCHAR) | SELECT hdi_2012 FROM table_26313243_1 WHERE country = "Dominica" |
Write a SQL query that answers the following question: Name the fsi 2012 for 42.7 cpi | The relevant table was constructed using the following SQL : CREATE TABLE table_26313243_1 (fsi_2012 VARCHAR, cpi_2012 VARCHAR) | SELECT fsi_2012 FROM table_26313243_1 WHERE cpi_2012 = "42.7" |
Write a SQL query that answers the following question: Name the gdp per capita for haiti | The relevant table was constructed using the following SQL : CREATE TABLE table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 VARCHAR, country VARCHAR) | SELECT gdp__ppp__per_capita___intl_$___2011 FROM table_26313243_1 WHERE country = "Haiti" |
Write a SQL query that answers the following question: How many times was lakpa tashi sherpa ( bhu ) w pts 12-5 in round of 32? | The relevant table was constructed using the following SQL : CREATE TABLE table_26335424_86 (round_of_16 VARCHAR, round_of_32 VARCHAR) | SELECT COUNT(round_of_16) FROM table_26335424_86 WHERE round_of_32 = "Lakpa Tashi Sherpa ( BHU ) W PTS 12-5" |
Write a SQL query that answers the following question: If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete? | The relevant table was constructed using the following SQL : CREATE TABLE table_26335424_86 (athlete VARCHAR, quarterfinals VARCHAR) | SELECT athlete FROM table_26335424_86 WHERE quarterfinals = "Nabil Talal ( JOR ) L PTS 3-3" |
Write a SQL query that answers the following question: If the event was bantamweight (-63kg), and the quarterfinals did not advance, then who was in round of 32? | The relevant table was constructed using the following SQL : CREATE TABLE table_26335424_86 (round_of_32 VARCHAR, quarterfinals VARCHAR, event VARCHAR) | SELECT round_of_32 FROM table_26335424_86 WHERE quarterfinals = "Did not advance" AND event = "Bantamweight (-63kg)" |
Write a SQL query that answers the following question: If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals? | The relevant table was constructed using the following SQL : CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR) | SELECT semifinals FROM table_26335424_86 WHERE round_of_16 = "Yulius Fernando ( INA ) L PTS 5-6" |
Write a SQL query that answers the following question: If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event? | The relevant table was constructed using the following SQL : CREATE TABLE table_26335424_86 (event VARCHAR, round_of_32 VARCHAR) | SELECT event FROM table_26335424_86 WHERE round_of_32 = "Sawatvilay Phimmasone ( LAO ) W PTS 9-7" |
Write a SQL query that answers the following question: What date was the district incumbent Saxby Chambliss elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336739_1 (elected INTEGER, incumbent VARCHAR) | SELECT MAX(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss" |
Write a SQL query that answers the following question: What is the status in the district with the incumbent Bob Barr? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336739_1 (status VARCHAR, incumbent VARCHAR) | SELECT status FROM table_26336739_1 WHERE incumbent = "Bob Barr" |
Write a SQL query that answers the following question: How many elected catagories are there for the district with Saxby Chambliss as the incumbent? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR) | SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss" |
Write a SQL query that answers the following question: What was the result for the district with an election in 1986 | The relevant table was constructed using the following SQL : CREATE TABLE table_26336739_1 (result VARCHAR, elected VARCHAR) | SELECT result FROM table_26336739_1 WHERE elected = 1986 |
Write a SQL query that answers the following question: how many party classifications are there for the incumbent Mac Collins? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336739_1 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_26336739_1 WHERE incumbent = "Mac Collins" |
Write a SQL query that answers the following question: For the engine family MaxxForce 11, what is the years produced? | The relevant table was constructed using the following SQL : CREATE TABLE table_26352332_4 (years_produced VARCHAR, engine_family VARCHAR) | SELECT years_produced FROM table_26352332_4 WHERE engine_family = "MaxxForce 11" |
Write a SQL query that answers the following question: The cylinder layout v8 is produced in what years? | The relevant table was constructed using the following SQL : CREATE TABLE table_26352332_4 (years_produced VARCHAR, cylinder_layout VARCHAR) | SELECT years_produced FROM table_26352332_4 WHERE cylinder_layout = "V8" |
Write a SQL query that answers the following question: The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout? | The relevant table was constructed using the following SQL : CREATE TABLE table_26352332_4 (cylinder_layout VARCHAR, years_produced VARCHAR, engine_family VARCHAR) | SELECT cylinder_layout FROM table_26352332_4 WHERE years_produced = "2007-current" AND engine_family = "MaxxForce 5" |
Write a SQL query that answers the following question: Where the displacement(s) is 10.5L is, what is the engine family? | The relevant table was constructed using the following SQL : CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR) | SELECT engine_family FROM table_26352332_4 WHERE displacement_s_ = "10.5L" |
Write a SQL query that answers the following question: The displacement(s) 466 cubic inches (7.6L), has what engine family? | The relevant table was constructed using the following SQL : CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR) | SELECT engine_family FROM table_26352332_4 WHERE displacement_s_ = "466 cubic inches (7.6L)" |
Write a SQL query that answers the following question: What is the coinage metal for a KM number of S75? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR) | SELECT coinage_metal FROM table_26336060_19 WHERE km_number = "S75" |
Write a SQL query that answers the following question: What is the maximum date for a mintage of 150 and a KM number of S66? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336060_19 (date INTEGER, mintage VARCHAR, km_number VARCHAR) | SELECT MAX(date) FROM table_26336060_19 WHERE mintage = 150 AND km_number = "S66" |
Write a SQL query that answers the following question: What is the mintage for a location of Sion and a denomination of 00500 500 Francs? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR) | SELECT mintage FROM table_26336060_19 WHERE location = "Sion" AND denomination = "00500 500 francs" |
Write a SQL query that answers the following question: What is the coinage metal for KM numbers of S45? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, km_number VARCHAR) | SELECT coinage_metal FROM table_26336060_19 WHERE km_number = "S45" |
Write a SQL query that answers the following question: What is the coinage metal for a location of Fribourg and denomination of 00005 5 Francs? | The relevant table was constructed using the following SQL : CREATE TABLE table_26336060_19 (coinage_metal VARCHAR, location VARCHAR, denomination VARCHAR) | SELECT coinage_metal FROM table_26336060_19 WHERE location = "Fribourg" AND denomination = "00005 5 francs" |
Write a SQL query that answers the following question: When the under-17 was Antonio Glez, who was the under-13? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_17 VARCHAR) | SELECT under_13 FROM table_26368963_1 WHERE under_17 = "Antonio Glez" |
Write a SQL query that answers the following question: In the year 2009 who was the under-13? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_1 (under_13 VARCHAR, year VARCHAR) | SELECT under_13 FROM table_26368963_1 WHERE year = 2009 |
Write a SQL query that answers the following question: When Julian Illingworth was the under-19, who was the under-15? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_1 (under_15 VARCHAR, under_19 VARCHAR) | SELECT under_15 FROM table_26368963_1 WHERE under_19 = "Julian Illingworth" |
Write a SQL query that answers the following question: Who was the under-15 when Moises Galvez was the under-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_1 (under_15 VARCHAR, under_17 VARCHAR) | SELECT under_15 FROM table_26368963_1 WHERE under_17 = "Moises Galvez" |
Write a SQL query that answers the following question: How many years are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_1 (year VARCHAR, under_15 VARCHAR, under_19 VARCHAR) | SELECT COUNT(year) FROM table_26368963_1 WHERE under_15 = "Arturo Salazar Martinez" AND under_19 = "Moises Galvez" |
Write a SQL query that answers the following question: When the under-11 was Aly Abou El Einen, who was the under-13? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_11 VARCHAR) | SELECT under_13 FROM table_26368963_1 WHERE under_11 = "Aly Abou El Einen" |
Write a SQL query that answers the following question: What is the election date for those politicians who left office on 1850-11-15? | The relevant table was constructed using the following SQL : CREATE TABLE table_26362472_1 (election_date VARCHAR, left_office VARCHAR) | SELECT COUNT(election_date) FROM table_26362472_1 WHERE left_office = "1850-11-15" |
Write a SQL query that answers the following question: What are the election date for elections held in the province of Albacete? | The relevant table was constructed using the following SQL : CREATE TABLE table_26362472_1 (election_date VARCHAR, province VARCHAR) | SELECT election_date FROM table_26362472_1 WHERE province = "Albacete" |
Write a SQL query that answers the following question: What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_26362472_1 (left_office VARCHAR, election_number VARCHAR) | SELECT left_office FROM table_26362472_1 WHERE election_number = 11 |
Write a SQL query that answers the following question: In how many district has a politician took office on 1844-10-14? | The relevant table was constructed using the following SQL : CREATE TABLE table_26362472_1 (district VARCHAR, took_office VARCHAR) | SELECT district FROM table_26362472_1 WHERE took_office = "1844-10-14" |
Write a SQL query that answers the following question: What are the dates of leaving office for politician from the province of Seville? | The relevant table was constructed using the following SQL : CREATE TABLE table_26362472_1 (left_office VARCHAR, province VARCHAR) | SELECT left_office FROM table_26362472_1 WHERE province = "Seville" |
Write a SQL query that answers the following question: When united arab emirates is the country how many fastest qualifying are there? | The relevant table was constructed using the following SQL : CREATE TABLE table_26358264_2 (fastest_qualifying VARCHAR, country VARCHAR) | SELECT COUNT(fastest_qualifying) FROM table_26358264_2 WHERE country = "United Arab Emirates" |
Write a SQL query that answers the following question: When cancelled is the fastest qualifying where is the location? | The relevant table was constructed using the following SQL : CREATE TABLE table_26358264_2 (location VARCHAR, fastest_qualifying VARCHAR) | SELECT location FROM table_26358264_2 WHERE fastest_qualifying = "Cancelled" |
Write a SQL query that answers the following question: When united arab emirates is the country what is the winning aircraft? | The relevant table was constructed using the following SQL : CREATE TABLE table_26358264_2 (winning_aircraft VARCHAR, country VARCHAR) | SELECT winning_aircraft FROM table_26358264_2 WHERE country = "United Arab Emirates" |
Write a SQL query that answers the following question: List the number of assists against illinois-chicago. | The relevant table was constructed using the following SQL : CREATE TABLE table_26360571_2 (assists VARCHAR, opponent VARCHAR) | SELECT assists FROM table_26360571_2 WHERE opponent = "Illinois-Chicago" |
Write a SQL query that answers the following question: List the opposing team on february 15, 2003. | The relevant table was constructed using the following SQL : CREATE TABLE table_26360571_2 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_26360571_2 WHERE date = "February 15, 2003" |
Write a SQL query that answers the following question: List the number of recovers for player #2. | The relevant table was constructed using the following SQL : CREATE TABLE table_26360571_2 (rebounds VARCHAR, _number VARCHAR) | SELECT rebounds FROM table_26360571_2 WHERE _number = 2 |
Write a SQL query that answers the following question: List the opposing team from february 22, 1983. | The relevant table was constructed using the following SQL : CREATE TABLE table_26360571_2 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_26360571_2 WHERE date = "February 22, 1983" |
Write a SQL query that answers the following question: List the lowest number of assists. | The relevant table was constructed using the following SQL : CREATE TABLE table_26360571_2 (assists INTEGER) | SELECT MIN(assists) FROM table_26360571_2 |
Write a SQL query that answers the following question: What is every value for Under-11 when value of under-17 is Salma Nassar? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_2 (under_11 VARCHAR, under_17 VARCHAR) | SELECT under_11 FROM table_26368963_2 WHERE under_17 = "Salma Nassar" |
Write a SQL query that answers the following question: What is every value for Under-13 when value for Under-15 is Maria Elena Ubina? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_2 (under_13 VARCHAR, under_15 VARCHAR) | SELECT under_13 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina" |
Write a SQL query that answers the following question: What is every value for Under-17 if Under-15 is Maria Elena Ubina? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_2 (under_17 VARCHAR, under_15 VARCHAR) | SELECT under_17 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina" |
Write a SQL query that answers the following question: What is every value for Under-11 if Under-19 is Leong Siu Lynn? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_2 (under_11 VARCHAR, under_19 VARCHAR) | SELECT under_11 FROM table_26368963_2 WHERE under_19 = "Leong Siu Lynn" |
Write a SQL query that answers the following question: Who is every Under-15 if Under-11 is Reeham Sedky? | The relevant table was constructed using the following SQL : CREATE TABLE table_26368963_2 (under_15 VARCHAR, under_11 VARCHAR) | SELECT under_15 FROM table_26368963_2 WHERE under_11 = "Reeham Sedky" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.