instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What percent did RETTÖ get in the state where LINKE got 0.1%, and FRITZ got 1.3%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (rettö VARCHAR, linke VARCHAR, fritz VARCHAR)
SELECT rettö FROM table_name_81 WHERE linke = "0.1%" AND fritz = "1.3%"
Write a SQL query that answers the following question: What percent did GRÜNE get in the state where FRITZ got 1.3%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (grüne VARCHAR, fritz VARCHAR)
SELECT grüne FROM table_name_14 WHERE fritz = "1.3%"
Write a SQL query that answers the following question: What percent did LINKE get in Tyrol?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (linke VARCHAR, state VARCHAR)
SELECT linke FROM table_name_99 WHERE state = "tyrol"
Write a SQL query that answers the following question: What percent did STARK get in upper austria?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (stark VARCHAR, state VARCHAR)
SELECT stark FROM table_name_58 WHERE state = "upper austria"
Write a SQL query that answers the following question: What's the lowest against on 27/03/1971?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (against INTEGER, date VARCHAR)
SELECT MIN(against) FROM table_name_45 WHERE date = "27/03/1971"
Write a SQL query that answers the following question: What venue has an against over 14, an opposing team of scotland, and a status of five nations?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR, opposing_teams VARCHAR)
SELECT venue FROM table_name_16 WHERE against > 14 AND opposing_teams = "scotland" AND status = "five nations"
Write a SQL query that answers the following question: What is the T4 Place Player with a Score of 71-74-66=211?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_57 WHERE place = "t4" AND score = 71 - 74 - 66 = 211
Write a SQL query that answers the following question: With a To par of –1, what is Player Henrik Stenson's Score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_48 WHERE to_par = "–1" AND player = "henrik stenson"
Write a SQL query that answers the following question: What is the To par of the Player with a Score of 73-67-68=208?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_89 WHERE score = 73 - 67 - 68 = 208
Write a SQL query that answers the following question: WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (project_management VARCHAR, social_software VARCHAR, enterprise_search VARCHAR, blogs VARCHAR, xml_forms_management_and_workflow VARCHAR)
SELECT project_management FROM table_name_9 WHERE blogs = "no" AND xml_forms_management_and_workflow = "no" AND enterprise_search = "no" AND social_software = "no"
Write a SQL query that answers the following question: WHAT CHARTING HAS NO BLOGS OR DISCUSSION?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (charting VARCHAR, blogs VARCHAR, discussion VARCHAR)
SELECT charting FROM table_name_96 WHERE blogs = "no" AND discussion = "no"
Write a SQL query that answers the following question: WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (social_software VARCHAR, charting VARCHAR, discussion VARCHAR, time_tracking VARCHAR)
SELECT social_software FROM table_name_18 WHERE discussion = "no" AND time_tracking = "no" AND charting = "no"
Write a SQL query that answers the following question: WHAT IS THE BOOKMARKING, TAGGING, RATING AND COMMENTS WITH NO LIST MANAGEMENT, NO CHARTING, NO WEB PUBLISHING, OF MICROSOFT EXCHANGE SERVER?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (bookmarking VARCHAR, _tagging VARCHAR, _rating_and_comments VARCHAR, name VARCHAR, web_publishing VARCHAR, list_management VARCHAR, charting VARCHAR)
SELECT bookmarking, _tagging, _rating_and_comments FROM table_name_1 WHERE list_management = "no" AND charting = "no" AND web_publishing = "no" AND name = "microsoft exchange server"
Write a SQL query that answers the following question: What is Constellation, when Date Sent is "September 4, 2001", and when Distance ( ly ) is less than 57.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (constellation VARCHAR, date_sent VARCHAR, distance___ly__ VARCHAR)
SELECT constellation FROM table_name_71 WHERE date_sent = "september 4, 2001" AND distance___ly__ < 57.4
Write a SQL query that answers the following question: What is Date, when Constellation is "Delphinus"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date_sent VARCHAR, constellation VARCHAR)
SELECT date_sent FROM table_name_71 WHERE constellation = "delphinus"
Write a SQL query that answers the following question: What is the total number of Distance ( ly ), when Constellation is "Draco"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR)
SELECT COUNT(distance___ly__) FROM table_name_34 WHERE constellation = "draco"
Write a SQL query that answers the following question: What is Date Sent, when Signal Power ( kW ) is less than 126, when Arrival Date is "January 2059", and when HD Designation is "HD193664"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date_sent VARCHAR, hd_designation VARCHAR, signal_power___kw__ VARCHAR, arrival_date VARCHAR)
SELECT date_sent FROM table_name_75 WHERE signal_power___kw__ < 126 AND arrival_date = "january 2059" AND hd_designation = "hd193664"
Write a SQL query that answers the following question: What is Constellation, when HD Designation is "HD197076"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (constellation VARCHAR, hd_designation VARCHAR)
SELECT constellation FROM table_name_82 WHERE hd_designation = "hd197076"
Write a SQL query that answers the following question: What date was the match against leonardo tavares with a score of 6–4, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (date VARCHAR, score VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_4 WHERE score = "6–4, 6–4" AND opponent = "leonardo tavares"
Write a SQL query that answers the following question: What date was the match against adrián menéndez-maceiras?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_9 WHERE opponent = "adrián menéndez-maceiras"
Write a SQL query that answers the following question: What is the highest number of wins for Quambatook when Against is less than 1129?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (wins INTEGER, golden_rivers VARCHAR, against VARCHAR)
SELECT MAX(wins) FROM table_name_83 WHERE golden_rivers = "quambatook" AND against < 1129
Write a SQL query that answers the following question: What is the total number of draws when there are fewer than 3 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (draws VARCHAR, wins INTEGER)
SELECT COUNT(draws) FROM table_name_20 WHERE wins < 3
Write a SQL query that answers the following question: What is the total number of draws for Wakool when there are more than 11 losses and fewer than 4 wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (draws VARCHAR, golden_rivers VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT COUNT(draws) FROM table_name_7 WHERE losses > 11 AND wins < 4 AND golden_rivers = "wakool"
Write a SQL query that answers the following question: Which Country has a Score of 69-74=143?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_66 WHERE score = 69 - 74 = 143
Write a SQL query that answers the following question: Which Player has a To Par smaller than 5, and a Score of 70-72=142?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT player FROM table_name_36 WHERE to_par < 5 AND score = 70 - 72 = 142
Write a SQL query that answers the following question: What was Frank Moore's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_81 WHERE player = "frank moore"
Write a SQL query that answers the following question: What was the score of the game that home team birmingham city played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_84 WHERE home_team = "birmingham city"
Write a SQL query that answers the following question: What date was the game when away team northampton town played?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_43 WHERE away_team = "northampton town"
Write a SQL query that answers the following question: Who was the team who played home team woking?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_16 WHERE home_team = "woking"
Write a SQL query that answers the following question: What is the home for the league 3rd liga (iii)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (home VARCHAR, league VARCHAR)
SELECT home FROM table_name_81 WHERE league = "3rd liga (iii)"
Write a SQL query that answers the following question: What is the home for league 3rd liga, and an away of 4-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (home VARCHAR, league VARCHAR, away VARCHAR)
SELECT home FROM table_name_11 WHERE league = "3rd liga" AND away = "4-0"
Write a SQL query that answers the following question: What is the home for the away of 4-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (home VARCHAR, away VARCHAR)
SELECT home FROM table_name_1 WHERE away = "4-0"
Write a SQL query that answers the following question: What season has a league 3rd liga, and away of 1-0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (season VARCHAR, league VARCHAR, away VARCHAR)
SELECT season FROM table_name_89 WHERE league = "3rd liga" AND away = "1-0"
Write a SQL query that answers the following question: What team has a season of 2009-10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (teams VARCHAR, season VARCHAR)
SELECT teams FROM table_name_66 WHERE season = "2009-10"
Write a SQL query that answers the following question: What is the highest Goals Against, when Points is greater than 25, when Club is "SD Indautxu", and when Position is greater than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (goals_against INTEGER, position VARCHAR, points VARCHAR, club VARCHAR)
SELECT MAX(goals_against) FROM table_name_21 WHERE points > 25 AND club = "sd indautxu" AND position > 3
Write a SQL query that answers the following question: What is the total number of Wins, when Draws is less than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (wins VARCHAR, draws INTEGER)
SELECT COUNT(wins) FROM table_name_48 WHERE draws < 2
Write a SQL query that answers the following question: What is the average Wins, when Played is less than 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (wins INTEGER, played INTEGER)
SELECT AVG(wins) FROM table_name_96 WHERE played < 30
Write a SQL query that answers the following question: What is the total number of Wins, when Draws is less than 5, when Goals is greater than 49, and when Played is greater than 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (wins VARCHAR, played VARCHAR, draws VARCHAR, goals_against VARCHAR)
SELECT COUNT(wins) FROM table_name_93 WHERE draws < 5 AND goals_against > 49 AND played > 30
Write a SQL query that answers the following question: What is the lowest Goal Difference, when Position is "7", and when Played is greater than 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (goal_difference INTEGER, position VARCHAR, played VARCHAR)
SELECT MIN(goal_difference) FROM table_name_1 WHERE position = 7 AND played > 30
Write a SQL query that answers the following question: What is the week 3, prior to the when the week 4 was Laura Nicole?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR)
SELECT week_4 FROM table_name_26 WHERE week_3 = "laura nicole"
Write a SQL query that answers the following question: What was the week 2 prior to the when Miranda Jordan was the week 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (week_2 VARCHAR, week_4 VARCHAR)
SELECT week_2 FROM table_name_99 WHERE week_4 = "miranda jordan"
Write a SQL query that answers the following question: What was the week 2 prior to the when Brittany Alyse was week 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (week_2 VARCHAR, week_3 VARCHAR)
SELECT week_2 FROM table_name_60 WHERE week_3 = "brittany alyse"
Write a SQL query that answers the following question: What is the week 5 after Dani Dior as week 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (week_5 VARCHAR, week_1 VARCHAR)
SELECT week_5 FROM table_name_36 WHERE week_1 = "dani dior"
Write a SQL query that answers the following question: What was the week 2 before Lara Leverence was week 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (week_2 VARCHAR, week_3 VARCHAR)
SELECT week_2 FROM table_name_40 WHERE week_3 = "lara leverence"
Write a SQL query that answers the following question: What is the total number of bronzes that is less than 1 in total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (bronze VARCHAR, total INTEGER)
SELECT COUNT(bronze) FROM table_name_24 WHERE total < 1
Write a SQL query that answers the following question: What is the total number of bronze that has less than 2 gold, and more than 1 silver?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (bronze VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT COUNT(bronze) FROM table_name_97 WHERE gold < 2 AND silver > 1
Write a SQL query that answers the following question: What is the lowest rank with less than 1 gold, 0 silver, 1 bronze, and a total less than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (rank INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT MIN(rank) FROM table_name_75 WHERE gold < 1 AND silver = 0 AND bronze = 1 AND total < 1
Write a SQL query that answers the following question: What is the average bronze for less than 0 gold?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (bronze INTEGER, gold INTEGER)
SELECT AVG(bronze) FROM table_name_64 WHERE gold < 0
Write a SQL query that answers the following question: What is the total number for less than 8 bronze, the Netherlands nation, and is ranked less than 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (total VARCHAR, rank VARCHAR, bronze VARCHAR, nation VARCHAR)
SELECT COUNT(total) FROM table_name_51 WHERE bronze < 8 AND nation = "netherlands" AND rank < 16
Write a SQL query that answers the following question: What California city has an active status and a greek designation of established colony?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (city VARCHAR, greek_designation VARCHAR, status VARCHAR, us_state_district VARCHAR)
SELECT city FROM table_name_57 WHERE status = "active" AND us_state_district = "california" AND greek_designation = "established colony"
Write a SQL query that answers the following question: What's the greek designation of the new york chapter with a charter date of april 23, 2005?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (greek_designation VARCHAR, us_state_district VARCHAR, charter_date VARCHAR)
SELECT greek_designation FROM table_name_74 WHERE us_state_district = "new york" AND charter_date = "april 23, 2005"
Write a SQL query that answers the following question: What collegiate institution has an active status and a charter date of march 30, 2002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (collegiate_institution VARCHAR, status VARCHAR, charter_date VARCHAR)
SELECT collegiate_institution FROM table_name_56 WHERE status = "active" AND charter_date = "march 30, 2002"
Write a SQL query that answers the following question: What's the greek designation of the city riverside?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (greek_designation VARCHAR, city VARCHAR)
SELECT greek_designation FROM table_name_28 WHERE city = "riverside"
Write a SQL query that answers the following question: What city has a charter date of november 24, 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (city VARCHAR, charter_date VARCHAR)
SELECT city FROM table_name_9 WHERE charter_date = "november 24, 1999"
Write a SQL query that answers the following question: What state or district has a charter date of april 17, 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (us_state_district VARCHAR, charter_date VARCHAR)
SELECT us_state_district FROM table_name_51 WHERE charter_date = "april 17, 2011"
Write a SQL query that answers the following question: What is the smallest all around when the total is 19.85 and the hoop is less than 9.85?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (all_around INTEGER, total VARCHAR, hoop VARCHAR)
SELECT MIN(all_around) FROM table_name_70 WHERE total = 19.85 AND hoop < 9.85
Write a SQL query that answers the following question: What is the average hoop when the all around is less than 9.7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (hoop INTEGER, all_around INTEGER)
SELECT AVG(hoop) FROM table_name_37 WHERE all_around < 9.7
Write a SQL query that answers the following question: What is Median Family Income, when Median Household Income is "$50,717"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (median_family_income VARCHAR, median_household_income VARCHAR)
SELECT median_family_income FROM table_name_76 WHERE median_household_income = "$50,717"
Write a SQL query that answers the following question: What is the highest Number of Households, when Per Capita Income is "$25,557", and when Population is less than "22,330"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR)
SELECT MAX(number_of_households) FROM table_name_57 WHERE per_capita_income = "$25,557" AND population < 22 OFFSET 330
Write a SQL query that answers the following question: What is the lowest Population, when Per Capita Income is "$16,330"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (population INTEGER, per_capita_income VARCHAR)
SELECT MIN(population) FROM table_name_80 WHERE per_capita_income = "$16,330"
Write a SQL query that answers the following question: What is the highest Population, when Per Capita Income is "$17,168", and when Number of Households is greater than 3,287?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (population INTEGER, per_capita_income VARCHAR, number_of_households VARCHAR)
SELECT MAX(population) FROM table_name_86 WHERE per_capita_income = "$17,168" AND number_of_households > 3 OFFSET 287
Write a SQL query that answers the following question: What is Place, when Score is "70-68=138", and when Player is "Andrew Magee"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (place VARCHAR, player VARCHAR, score VARCHAR)
SELECT place FROM table_name_1 WHERE score = 70 - 68 = 138 AND player = "andrew magee"
Write a SQL query that answers the following question: What is To par, when Place is "T5", and when Score is "70-68=138"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_57 WHERE place = "t5" AND score = 70 - 68 = 138
Write a SQL query that answers the following question: What is Score, when Place is "T5", when Country is "United States", and when Player is "Davis Love III"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT score FROM table_name_21 WHERE place = "t5" AND country = "united states" AND player = "davis love iii"
Write a SQL query that answers the following question: What is Player, when Country is "United States", when Place is "T10", and when Score is "68-71=139"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t10" AND score = 68 - 71 = 139
Write a SQL query that answers the following question: What is Score, when Player is "Vijay Singh"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_81 WHERE player = "vijay singh"
Write a SQL query that answers the following question: Which Player has a To par of –2, and a Country of wales?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_7 WHERE to_par = "–2" AND country = "wales"
Write a SQL query that answers the following question: Which Score has a To par of –3, and a Player of santiago luna?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"
Write a SQL query that answers the following question: Which Player has a Score of 67 in united states?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (player VARCHAR, score VARCHAR, country VARCHAR)
SELECT player FROM table_name_17 WHERE score = 67 AND country = "united states"
Write a SQL query that answers the following question: What are the Opponents at the Schenectady, U.S. Tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, tournament VARCHAR)
SELECT opponents_in_the_final FROM table_name_51 WHERE tournament = "schenectady, u.s."
Write a SQL query that answers the following question: What was the outcome of the August 20, 2007 match?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_29 WHERE date = "august 20, 2007"
Write a SQL query that answers the following question: What was the score in the August 20, 2007 match?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_2 WHERE date = "august 20, 2007"
Write a SQL query that answers the following question: Which tournament was held on July 13, 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_20 WHERE date = "july 13, 2008"
Write a SQL query that answers the following question: Who was the opponent in the September 20, 2010 match?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_49 WHERE date = "september 20, 2010"
Write a SQL query that answers the following question: What date was the Izmir Cup in which İlhan played against Somdev Devvarman?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_35 WHERE tournament = "izmir cup" AND opponent = "somdev devvarman"
Write a SQL query that answers the following question: What years did Tom Lehman win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (year_s__won VARCHAR, player VARCHAR)
SELECT year_s__won FROM table_name_25 WHERE player = "tom lehman"
Write a SQL query that answers the following question: What was the total To Par for the winner in 1995?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (to_par VARCHAR, year_s__won VARCHAR)
SELECT COUNT(to_par) FROM table_name_26 WHERE year_s__won = "1995"
Write a SQL query that answers the following question: How many years had a 100 m hurdles event at the world championships in Osaka, Japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year INTEGER, venue VARCHAR, event VARCHAR, competition VARCHAR)
SELECT SUM(year) FROM table_name_96 WHERE event = "100 m hurdles" AND competition = "world championships" AND venue = "osaka, japan"
Write a SQL query that answers the following question: What was the position of the event held in Valencia, Spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (position VARCHAR, venue VARCHAR)
SELECT position FROM table_name_8 WHERE venue = "valencia, spain"
Write a SQL query that answers the following question: What was the earliest year that an event held in Berlin, Germany had a 100 m hurdles event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (year INTEGER, venue VARCHAR, event VARCHAR)
SELECT MIN(year) FROM table_name_98 WHERE venue = "berlin, germany" AND event = "100 m hurdles"
Write a SQL query that answers the following question: What even was held in Valencia, Spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (event VARCHAR, venue VARCHAR)
SELECT event FROM table_name_3 WHERE venue = "valencia, spain"
Write a SQL query that answers the following question: What is the time of the tim trophy competition where juventus was the opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (time VARCHAR, competition VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_4 WHERE competition = "tim trophy" AND opponent = "juventus"
Write a SQL query that answers the following question: What is the competition on 15 August 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_27 WHERE date = "15 august 2008"
Write a SQL query that answers the following question: What is the score of the friendly match competition on 24 July 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_3 WHERE competition = "friendly match" AND date = "24 july 2008"
Write a SQL query that answers the following question: What is the ground of the tim trophy competition, which had a time of 23:00 cet?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (ground VARCHAR, competition VARCHAR, time VARCHAR)
SELECT ground FROM table_name_83 WHERE competition = "tim trophy" AND time = "23:00 cet"
Write a SQL query that answers the following question: What competition is at 23:00 cet?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (competition VARCHAR, time VARCHAR)
SELECT competition FROM table_name_91 WHERE time = "23:00 cet"
Write a SQL query that answers the following question: What is the outcome on March 20, 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_89 WHERE date = "march 20, 1994"
Write a SQL query that answers the following question: What tournament had a hard surface on February 25, 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND date = "february 25, 1996"
Write a SQL query that answers the following question: What is the score in the final with a hard surface and is against Hiromi Nagano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (score_in_the_final VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT score_in_the_final FROM table_name_60 WHERE surface = "hard" AND opponent_in_the_final = "hiromi nagano"
Write a SQL query that answers the following question: What is the total outcome for the clay surface on April 21, 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (outcome VARCHAR, surface VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_91 WHERE surface = "clay" AND date = "april 21, 1996"
Write a SQL query that answers the following question: What aircraft is located at S of Avion?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (aircraft VARCHAR, location VARCHAR)
SELECT aircraft FROM table_name_3 WHERE location = "s of avion"
Write a SQL query that answers the following question: What is the Unit for the Aircraft F.e.2b, located in Logeast?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (unit INTEGER, aircraft VARCHAR, location VARCHAR)
SELECT SUM(unit) FROM table_name_20 WHERE aircraft = "f.e.2b" AND location = "logeast"
Write a SQL query that answers the following question: What is the name of the place that has a census ranking of 1,229 of 5,008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (official_name VARCHAR, census_ranking VARCHAR)
SELECT official_name FROM table_name_63 WHERE census_ranking = "1,229 of 5,008"
Write a SQL query that answers the following question: How large, in square kilometers, is Sackville?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT area_km_2 FROM table_name_38 WHERE official_name = "sackville"
Write a SQL query that answers the following question: What is the name(s) of the place(s) with a population of less than 1,429?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (official_name VARCHAR, population INTEGER)
SELECT official_name FROM table_name_38 WHERE population < 1 OFFSET 429
Write a SQL query that answers the following question: What score has 33 as the points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score VARCHAR, points VARCHAR)
SELECT score FROM table_name_93 WHERE points = 33
Write a SQL query that answers the following question: What date has joe louis arena as the arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, arena VARCHAR)
SELECT date FROM table_name_53 WHERE arena = "joe louis arena"
Write a SQL query that answers the following question: What competition was played on 2 June 1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_4 WHERE date = "2 june 1992"
Write a SQL query that answers the following question: What date was a friendly match played that ended in a 3-0 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (date VARCHAR, result VARCHAR, competition VARCHAR)
SELECT date FROM table_name_74 WHERE result = "3-0" AND competition = "friendly match"
Write a SQL query that answers the following question: What was the score of the match played on 5 September 2001?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_38 WHERE date = "5 september 2001"