instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the title of the film when the producer was 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (title VARCHAR, producer VARCHAR)
SELECT title FROM table_name_65 WHERE producer = "2003"
Write a SQL query that answers the following question: Who is the director when the title is 2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_27 WHERE title = "2003"
Write a SQL query that answers the following question: What is the production cost when the producer is raintree pictures?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (production_cost VARCHAR, producer VARCHAR)
SELECT production_cost FROM table_name_63 WHERE producer = "raintree pictures"
Write a SQL query that answers the following question: What was the lowest attendance at a week 15 game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (attendance INTEGER, week VARCHAR)
SELECT MIN(attendance) FROM table_name_50 WHERE week = 15
Write a SQL query that answers the following question: What is the Score for the game with a record of 38-18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_84 WHERE record = "38-18"
Write a SQL query that answers the following question: What team was the opponent when the score was 8-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_24 WHERE score = "8-2"
Write a SQL query that answers the following question: What is the Location when the opponent shows vs. ole miss, and a Loss of mckean (4-1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (location VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT location FROM table_name_41 WHERE opponent = "vs. ole miss" AND loss = "mckean (4-1)"
Write a SQL query that answers the following question: What is the name of the Opponent when there is a Record of 39-19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_79 WHERE record = "39-19"
Write a SQL query that answers the following question: What is the Record on may 24, with a Loss of hayes (2-1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (record VARCHAR, date VARCHAR, loss VARCHAR)
SELECT record FROM table_name_98 WHERE date = "may 24" AND loss = "hayes (2-1)"
Write a SQL query that answers the following question: What is the Location when the Opponent shows vs. #23 south carolina?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_83 WHERE opponent = "vs. #23 south carolina"
Write a SQL query that answers the following question: What is that if the weight for the play born on June 2, 1983?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (weight__kg_ INTEGER, birthdate VARCHAR)
SELECT SUM(weight__kg_) FROM table_name_90 WHERE birthdate = "june 2, 1983"
Write a SQL query that answers the following question: What was the highest weight in kg for F Position, Jersey #12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (weight__kg_ INTEGER, position VARCHAR, jersey__number VARCHAR)
SELECT MAX(weight__kg_) FROM table_name_41 WHERE position = "f" AND jersey__number = 12
Write a SQL query that answers the following question: Which player is the NHL right, who was born in Downers Grove, Illinois?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (nhl_rights VARCHAR, _if_any VARCHAR, birthplace VARCHAR)
SELECT nhl_rights, _if_any FROM table_name_7 WHERE birthplace = "downers grove, illinois"
Write a SQL query that answers the following question: Which coding's variant id is abd'1a 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (coding VARCHAR, variant_id VARCHAR)
SELECT coding FROM table_name_48 WHERE variant_id = "abd'1a 3"
Write a SQL query that answers the following question: Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR)
SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2"
Write a SQL query that answers the following question: Which genbank id's variant is abd1a?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (genbank_id VARCHAR, variant_id VARCHAR)
SELECT genbank_id FROM table_name_41 WHERE variant_id = "abd1a"
Write a SQL query that answers the following question: What year did Orlando have a School/Club team in Clemson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_53 WHERE school_club_team = "clemson"
Write a SQL query that answers the following question: What years did the player in Orlando play that is from the United States, and is part of the school/club team Clemson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_7 WHERE nationality = "united states" AND school_club_team = "clemson"
Write a SQL query that answers the following question: Who is the player for the School/Club team in Georgia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_73 WHERE school_club_team = "georgia"
Write a SQL query that answers the following question: What was the nationality of the player Pat Garrity?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_28 WHERE player = "pat garrity"
Write a SQL query that answers the following question: What is the nationality of the School/Club team of Louisville?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (nationality VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_name_43 WHERE school_club_team = "louisville"
Write a SQL query that answers the following question: How many features did Adam Carroll win 6 times when the start was larger than 32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (feature VARCHAR, starts VARCHAR, wins VARCHAR, driver VARCHAR)
SELECT COUNT(feature) FROM table_name_88 WHERE wins = 6 AND driver = "adam carroll" AND starts > 32
Write a SQL query that answers the following question: What is the lowest feature with 2 wins and 2 sprints?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (feature INTEGER, wins VARCHAR, sprint VARCHAR)
SELECT MIN(feature) FROM table_name_32 WHERE wins = 2 AND sprint = 2
Write a SQL query that answers the following question: How many sprints on average had 10 wins and less than 5 features?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (sprint INTEGER, wins VARCHAR, feature VARCHAR)
SELECT AVG(sprint) FROM table_name_85 WHERE wins = 10 AND feature < 5
Write a SQL query that answers the following question: Which country has a lane greater than 6 and a mark of 6.63?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (country VARCHAR, lane VARCHAR, mark VARCHAR)
SELECT country FROM table_name_80 WHERE lane > 6 AND mark = "6.63"
Write a SQL query that answers the following question: What is the lowest lane for Nigeria, with a react less than 0.133?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (lane INTEGER, country VARCHAR, react VARCHAR)
SELECT MIN(lane) FROM table_name_17 WHERE country = "nigeria" AND react < 0.133
Write a SQL query that answers the following question: What is the mark for Kim Collins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (mark VARCHAR, name VARCHAR)
SELECT mark FROM table_name_11 WHERE name = "kim collins"
Write a SQL query that answers the following question: Which country had 1 Bronze, 1 Silver, with a total of 3 medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT nation FROM table_name_10 WHERE bronze = 1 AND total = 3 AND silver = 1
Write a SQL query that answers the following question: Which country had more than 2 silvers and less than 4 golds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (nation VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT nation FROM table_name_65 WHERE silver > 2 AND gold < 4
Write a SQL query that answers the following question: What's the average bronze with a total number of medals being 1, with more than 0 silvers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (bronze INTEGER, total VARCHAR, silver VARCHAR)
SELECT AVG(bronze) FROM table_name_25 WHERE total = 1 AND silver > 0
Write a SQL query that answers the following question: In the 2005 season, how many races did the 15th place team complete?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (races INTEGER, final_placing VARCHAR, season VARCHAR)
SELECT AVG(races) FROM table_name_98 WHERE final_placing = "15th" AND season = "2005"
Write a SQL query that answers the following question: Which team completed 10 races?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR)
SELECT team_name FROM table_name_92 WHERE races = 10
Write a SQL query that answers the following question: What is the PBA team with a Pick that is 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (pba_team VARCHAR, pick VARCHAR)
SELECT pba_team FROM table_name_35 WHERE pick = 4
Write a SQL query that answers the following question: What is the Player with a Pick that is 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_15 WHERE pick = 6
Write a SQL query that answers the following question: How many totals have 1 gold and a rank smaller than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND rank < 2
Write a SQL query that answers the following question: How much gold did South Korea get?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (gold INTEGER, nation VARCHAR)
SELECT SUM(gold) FROM table_name_49 WHERE nation = "south korea"
Write a SQL query that answers the following question: What locomotive built after 1895 has the highest SLM number?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (SLM INTEGER, built INTEGER)
SELECT MAX(SLM) AS number FROM table_name_26 WHERE built > 1895
Write a SQL query that answers the following question: Which type of locomotive was built in 1923?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR)
SELECT type FROM table_name_46 WHERE built = 1923
Write a SQL query that answers the following question: When the United Kingdom had a time of 1:30.51.2, what was the lowest that they ranked?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (place INTEGER, country VARCHAR, time VARCHAR)
SELECT MIN(place) FROM table_name_8 WHERE country = "united kingdom" AND time = "1:30.51.2"
Write a SQL query that answers the following question: What County scored with a speed of 98.09mph?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (country VARCHAR, speed VARCHAR)
SELECT country FROM table_name_7 WHERE speed = "98.09mph"
Write a SQL query that answers the following question: What is Set 4, when Date is Jun 27, and when Set 3 is 17-25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (set_4 VARCHAR, date VARCHAR, set_3 VARCHAR)
SELECT set_4 FROM table_name_64 WHERE date = "jun 27" AND set_3 = "17-25"
Write a SQL query that answers the following question: What is Score, when Set 3 is 17-25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (score VARCHAR, set_3 VARCHAR)
SELECT score FROM table_name_67 WHERE set_3 = "17-25"
Write a SQL query that answers the following question: What is Set 5, when Date is Jun 26, and when Set 2 is 25-22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (set_5 VARCHAR, date VARCHAR, set_2 VARCHAR)
SELECT set_5 FROM table_name_46 WHERE date = "jun 26" AND set_2 = "25-22"
Write a SQL query that answers the following question: What is Set 1, when Set 3 is 22-25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (set_1 VARCHAR, set_3 VARCHAR)
SELECT set_1 FROM table_name_39 WHERE set_3 = "22-25"
Write a SQL query that answers the following question: What is Set 1, when Date is Jun 26, and when Set 4 is 26-24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (set_1 VARCHAR, date VARCHAR, set_4 VARCHAR)
SELECT set_1 FROM table_name_87 WHERE date = "jun 26" AND set_4 = "26-24"
Write a SQL query that answers the following question: What is Set 4, when Set 5 is NA, and when Set 3 is 19-25?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (set_4 VARCHAR, set_5 VARCHAR, set_3 VARCHAR)
SELECT set_4 FROM table_name_10 WHERE set_5 = "na" AND set_3 = "19-25"
Write a SQL query that answers the following question: What is the Team when the match was in buenos aires , argentina?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (team VARCHAR, location VARCHAR)
SELECT team FROM table_name_60 WHERE location = "buenos aires , argentina"
Write a SQL query that answers the following question: What is the Location when the team was seve ballesteros & manuel piñero?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (location VARCHAR, team VARCHAR)
SELECT location FROM table_name_61 WHERE team = "seve ballesteros & manuel piñero"
Write a SQL query that answers the following question: What is the Location when the individual was josé maria cañizares?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR)
SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares"
Write a SQL query that answers the following question: What is the highest Year when the team was seve ballesteros & manuel piñero?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (year INTEGER, team VARCHAR)
SELECT MAX(year) FROM table_name_59 WHERE team = "seve ballesteros & manuel piñero"
Write a SQL query that answers the following question: What is the total number of acres at Sai Tso Wan, opening before 1978?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (acres VARCHAR, landfill VARCHAR, opened VARCHAR)
SELECT COUNT(acres) FROM table_name_29 WHERE landfill = "sai tso wan" AND opened < 1978
Write a SQL query that answers the following question: Which Rank has a Goals smaller than 76, and a Matches larger than 270?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (rank INTEGER, goals VARCHAR, matches VARCHAR)
SELECT SUM(rank) FROM table_name_42 WHERE goals < 76 AND matches > 270
Write a SQL query that answers the following question: Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR)
SELECT AVG(matches) FROM table_name_67 WHERE rank < 5 AND years = "1995–2003" AND goals < 104
Write a SQL query that answers the following question: Which Goals have a Name of lee dong-gook?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (goals INTEGER, name VARCHAR)
SELECT MAX(goals) FROM table_name_17 WHERE name = "lee dong-gook"
Write a SQL query that answers the following question: Which Rank has a Years of 1998–present?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (rank INTEGER, years VARCHAR)
SELECT AVG(rank) FROM table_name_82 WHERE years = "1998–present"
Write a SQL query that answers the following question: Which Matches have a Rank of 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (matches VARCHAR, rank VARCHAR)
SELECT COUNT(matches) FROM table_name_94 WHERE rank = 2
Write a SQL query that answers the following question: What Position was achieved in the World Championships Competition in Tokyo, Japan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (position VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT position FROM table_name_24 WHERE competition = "world championships" AND venue = "tokyo, japan"
Write a SQL query that answers the following question: Which Competition was 1st Position with 57.03 in Notes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (competition VARCHAR, position VARCHAR, notes VARCHAR)
SELECT competition FROM table_name_57 WHERE position = "1st" AND notes = "57.03"
Write a SQL query that answers the following question: What is the earliest Year for 400m h Event with 54.86 in Notes?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (year INTEGER, event VARCHAR, notes VARCHAR)
SELECT MIN(year) FROM table_name_55 WHERE event = "400m h" AND notes = "54.86"
Write a SQL query that answers the following question: What is the total number of appearances for players from Chaux-de-Fonds with places over 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (appearances VARCHAR, team VARCHAR, place VARCHAR)
SELECT COUNT(appearances) FROM table_name_25 WHERE team = "chaux-de-fonds" AND place > 8
Write a SQL query that answers the following question: What is the highest week of the game on November 9, 1997?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (week INTEGER, date VARCHAR)
SELECT MAX(week) FROM table_name_1 WHERE date = "november 9, 1997"
Write a SQL query that answers the following question: Which Proto-Austronesian has a Proto-Oceanic of *lima?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (proto_austronesian VARCHAR, proto_oceanic VARCHAR)
SELECT proto_austronesian FROM table_name_97 WHERE proto_oceanic = "*lima"
Write a SQL query that answers the following question: Which Proto-Oceanic has a Proto-Polynesian of *lima?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (proto_oceanic VARCHAR, proto_polynesian VARCHAR)
SELECT proto_oceanic FROM table_name_85 WHERE proto_polynesian = "*lima"
Write a SQL query that answers the following question: Which Number has a Proto-Polynesian of *taha?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (number VARCHAR, proto_polynesian VARCHAR)
SELECT number FROM table_name_71 WHERE proto_polynesian = "*taha"
Write a SQL query that answers the following question: WHich Proto-Polynesian has a Number of five?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (proto_polynesian VARCHAR, number VARCHAR)
SELECT proto_polynesian FROM table_name_69 WHERE number = "five"
Write a SQL query that answers the following question: Which Proto-Polynesian has a Proto-Malayo-Polynesian of *telu?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (proto_polynesian VARCHAR, proto_malayo_polynesian VARCHAR)
SELECT proto_polynesian FROM table_name_50 WHERE proto_malayo_polynesian = "*telu"
Write a SQL query that answers the following question: Which Proto-Oceanic has a Proto-Polynesian of *lima?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (proto_oceanic VARCHAR, proto_polynesian VARCHAR)
SELECT proto_oceanic FROM table_name_48 WHERE proto_polynesian = "*lima"
Write a SQL query that answers the following question: How many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (Id VARCHAR)
SELECT COUNT(2009) FROM table_name_49 WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 0
Write a SQL query that answers the following question: How much is the highest number in 2006 with fewer than 0 in 2002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (Id VARCHAR)
SELECT MAX(2006) FROM table_name_16 WHERE 2002 < 0
Write a SQL query that answers the following question: How many are there in 2003 that have 0 in 2001, more than 0 in 2009 and fewer than 0 in 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (Id VARCHAR)
SELECT SUM(2003) FROM table_name_97 WHERE 2001 = 0 AND 2009 > 0 AND 1999 < 0
Write a SQL query that answers the following question: Which country has more than 0 in 2012 and 2009, 0 in 2008 and more than 0 in 2004?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (country VARCHAR)
SELECT country FROM table_name_18 WHERE 2012 > 0 AND 2009 > 0 AND 2008 = 0 AND 2004 > 0
Write a SQL query that answers the following question: Which % GDP has an Expenditure larger than 50.9, and a Year larger than 2009, and an Income of 39.3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (_percentage_gdp VARCHAR, income VARCHAR, expenditure VARCHAR, year VARCHAR)
SELECT _percentage_gdp FROM table_name_16 WHERE expenditure > 50.9 AND year > 2009 AND income = 39.3
Write a SQL query that answers the following question: Which Year has an Expenditure smaller than 41.3, and a % GDP of x, and an Income larger than 34.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (year INTEGER, income VARCHAR, expenditure VARCHAR, _percentage_gdp VARCHAR)
SELECT SUM(year) FROM table_name_65 WHERE expenditure < 41.3 AND _percentage_gdp = "x" AND income > 34.4
Write a SQL query that answers the following question: Which Surplus(Deficit) has an Expenditure larger than 45.8, and a Year smaller than 2011, and a % GDP of (0.9%)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (surplus_deficit_ VARCHAR, _percentage_gdp VARCHAR, expenditure VARCHAR, year VARCHAR)
SELECT surplus_deficit_ FROM table_name_88 WHERE expenditure > 45.8 AND year < 2011 AND _percentage_gdp = "(0.9%)"
Write a SQL query that answers the following question: Which Year has an Expenditure of 55, and an Income smaller than 36.2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (year INTEGER, expenditure VARCHAR, income VARCHAR)
SELECT MIN(year) FROM table_name_7 WHERE expenditure = 55 AND income < 36.2
Write a SQL query that answers the following question: Which % GDP has a Year smaller than 2011, and an Expenditure larger than 41.3, and an Income smaller than 48, and a Surplus(Deficit) of (24.6)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (_percentage_gdp VARCHAR, surplus_deficit_ VARCHAR, income VARCHAR, year VARCHAR, expenditure VARCHAR)
SELECT _percentage_gdp FROM table_name_19 WHERE year < 2011 AND expenditure > 41.3 AND income < 48 AND surplus_deficit_ = "(24.6)"
Write a SQL query that answers the following question: What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR)
SELECT year FROM table_name_96 WHERE tournament_name = "grand prix passing shot bordeaux" AND runners_up = "diego nargiso"
Write a SQL query that answers the following question: What tournament had a score of 5–7, 6–4, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (tournament_name VARCHAR, score VARCHAR)
SELECT tournament_name FROM table_name_65 WHERE score = "5–7, 6–4, 6–4"
Write a SQL query that answers the following question: After 1989, what was the score of the Grand Prix Passing Shot where the Runners-up were Jeff Tarango?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (score VARCHAR, runners_up VARCHAR, year VARCHAR, tournament_name VARCHAR)
SELECT score FROM table_name_65 WHERE year > 1989 AND tournament_name = "grand prix passing shot" AND runners_up = "jeff tarango"
Write a SQL query that answers the following question: What's the name of the tournament that Gianni Ocleppo was the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (tournament_name VARCHAR, runners_up VARCHAR)
SELECT tournament_name FROM table_name_80 WHERE runners_up = "gianni ocleppo"
Write a SQL query that answers the following question: What is the lowest percentage of wins for 6½ games and more than 77 total wins?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (win_percentage INTEGER, games_behind VARCHAR, wins VARCHAR)
SELECT MIN(win_percentage) FROM table_name_63 WHERE games_behind = "6½" AND wins > 77
Write a SQL query that answers the following question: What is the score of the competition on November 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_90 WHERE date = "november 10"
Write a SQL query that answers the following question: Who is the visitor when the record is 2-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_95 WHERE record = "2-1"
Write a SQL query that answers the following question: Who is the home team when the score is 81-80?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_56 WHERE score = "81-80"
Write a SQL query that answers the following question: How many Gold medals did Japan receive who had a Total of more than 1 medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_39 WHERE nation = "japan" AND total > 1
Write a SQL query that answers the following question: What time (cst) has and NFL recap of recap with october 19, 2008 as the date?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (time__cst_ VARCHAR, nfl_recap VARCHAR, date VARCHAR)
SELECT time__cst_ FROM table_name_75 WHERE nfl_recap = "recap" AND date = "october 19, 2008"
Write a SQL query that answers the following question: Which week has giants stadium as the game site?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (week VARCHAR, game_site VARCHAR)
SELECT week FROM table_name_57 WHERE game_site = "giants stadium"
Write a SQL query that answers the following question: What is the lowest week that has 7:15 p.m. as the time (cst) and fedexfield as the game site?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (week INTEGER, time__cst_ VARCHAR, game_site VARCHAR)
SELECT MIN(week) FROM table_name_53 WHERE time__cst_ = "7:15 p.m." AND game_site = "fedexfield"
Write a SQL query that answers the following question: What office was law preservation ticket holder William E. Barron running for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (office VARCHAR, law_preservation_ticket VARCHAR)
SELECT office FROM table_name_51 WHERE law_preservation_ticket = "william e. barron"
Write a SQL query that answers the following question: Who was the constitutional ticken when Charles B. Sears was the republican ticket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (constitutional_ticket VARCHAR, republican_ticket VARCHAR)
SELECT constitutional_ticket FROM table_name_51 WHERE republican_ticket = "charles b. sears"
Write a SQL query that answers the following question: Who was the constitutional ticket when william karlin was the socialist ticket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (constitutional_ticket VARCHAR, socialist_ticket VARCHAR)
SELECT constitutional_ticket FROM table_name_95 WHERE socialist_ticket = "william karlin"
Write a SQL query that answers the following question: What was the margin of victory on Mar 18, 1979?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (margin_of_victory VARCHAR, date VARCHAR)
SELECT margin_of_victory FROM table_name_69 WHERE date = "mar 18, 1979"
Write a SQL query that answers the following question: What is the comp for the year 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (comp VARCHAR, year VARCHAR)
SELECT comp FROM table_name_42 WHERE year = "1989"
Write a SQL query that answers the following question: What is the team in 1989?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (team VARCHAR, year VARCHAR)
SELECT team FROM table_name_50 WHERE year = "1989"
Write a SQL query that answers the following question: What is the RAtt in the year 1988?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (ratt VARCHAR, year VARCHAR)
SELECT ratt FROM table_name_72 WHERE year = "1988"
Write a SQL query that answers the following question: What was the team with a Ratt of 42?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (team VARCHAR, ratt VARCHAR)
SELECT team FROM table_name_73 WHERE ratt = "42"
Write a SQL query that answers the following question: What was the team with a ratt of 57?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (team VARCHAR, ratt VARCHAR)
SELECT team FROM table_name_18 WHERE ratt = "57"
Write a SQL query that answers the following question: Who did the Giants play before week 7 in Tulane Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_name_25 WHERE week < 7 AND game_site = "tulane stadium"
Write a SQL query that answers the following question: What was the lowest attendance for week 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (attendance INTEGER, week VARCHAR)
SELECT MIN(attendance) FROM table_name_48 WHERE week = 1
Write a SQL query that answers the following question: What is the highest rank of a player from Ethiopia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (rank INTEGER, country VARCHAR)
SELECT MAX(rank) FROM table_name_8 WHERE country = "ethiopia"