instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the score if the Tie no is 32? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_99 WHERE tie_no = "32" |
Write a SQL query that answers the following question: What is the Tie no for Scunthorpe United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_78 WHERE home_team = "scunthorpe united" |
Write a SQL query that answers the following question: Which home team played against Stoke City? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_91 WHERE away_team = "stoke city" |
Write a SQL query that answers the following question: Which away team has a Tie no of 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_67 WHERE tie_no = "14" |
Write a SQL query that answers the following question: On what date does Watford have a Tie no of 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_45 WHERE home_team = "watford" AND tie_no = "2" |
Write a SQL query that answers the following question: Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (l1_cache VARCHAR, fsb_speed VARCHAR, clock_speed VARCHAR) | SELECT l1_cache FROM table_name_35 WHERE fsb_speed = "800mhz" AND clock_speed = "1.2ghz" |
Write a SQL query that answers the following question: What is the score of Player Tom Kite? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_17 WHERE player = "tom kite" |
Write a SQL query that answers the following question: What is the To Par that has a 69-69-73=211 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_35 WHERE score = 69 - 69 - 73 = 211 |
Write a SQL query that answers the following question: What is the Top that has a 66-71-66=203 score and a place of t1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (to_par VARCHAR, place VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_23 WHERE place = "t1" AND score = 66 - 71 - 66 = 203 |
Write a SQL query that answers the following question: What player has a To Par of +1 with a score of 71-67-73=211? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_89 WHERE to_par = "+1" AND score = 71 - 67 - 73 = 211 |
Write a SQL query that answers the following question: Which Player has a Score of 72-68-78-71=289? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_91 WHERE score = 72 - 68 - 78 - 71 = 289 |
Write a SQL query that answers the following question: What is the Place for the 66 Score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_33 WHERE score = 66 |
Write a SQL query that answers the following question: What Country has a 67 score by Phil Mickelson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (country VARCHAR, score VARCHAR, player VARCHAR) | SELECT country FROM table_name_89 WHERE score = 67 AND player = "phil mickelson" |
Write a SQL query that answers the following question: When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (week_5 VARCHAR, week_3 VARCHAR) | SELECT week_5 FROM table_name_96 WHERE week_3 = "cathi o'malley" |
Write a SQL query that answers the following question: When Star Zemba was featured in Week 3, who was the cyber girl for Week 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (week_2 VARCHAR, week_3 VARCHAR) | SELECT week_2 FROM table_name_11 WHERE week_3 = "star zemba" |
Write a SQL query that answers the following question: When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (week_3 VARCHAR, week_2 VARCHAR) | SELECT week_3 FROM table_name_11 WHERE week_2 = "heather christensen" |
Write a SQL query that answers the following question: When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (week_5 VARCHAR, week_2 VARCHAR) | SELECT week_5 FROM table_name_36 WHERE week_2 = "audra lynn" |
Write a SQL query that answers the following question: What is Agg., when Team 1 is "Tirana"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_48 WHERE team_1 = "tirana" |
Write a SQL query that answers the following question: What is 2nd Leg, when Team 2 is "Dunaferr"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_57 WHERE team_2 = "dunaferr" |
Write a SQL query that answers the following question: What is the elimination number for the time 13:43? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (elimination VARCHAR, time VARCHAR) | SELECT elimination FROM table_name_74 WHERE time = "13:43" |
Write a SQL query that answers the following question: What Elimination number is listed againt Eliminated by Sonjay Dutt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR) | SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt" |
Write a SQL query that answers the following question: What Elimination number is listed againt Eliminated by Sonjay Dutt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (elimination VARCHAR, eliminated_by VARCHAR) | SELECT elimination FROM table_name_2 WHERE eliminated_by = "sonjay dutt" |
Write a SQL query that answers the following question: What time is listed against the Wrestler Jimmy Rave? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (time VARCHAR, wrestler VARCHAR) | SELECT time FROM table_name_15 WHERE wrestler = "jimmy rave" |
Write a SQL query that answers the following question: Which Wrestler has an Elimination of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (wrestler VARCHAR, elimination VARCHAR) | SELECT wrestler FROM table_name_63 WHERE elimination = "5" |
Write a SQL query that answers the following question: What time is listed against Elimination number 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (time VARCHAR, elimination VARCHAR) | SELECT time FROM table_name_21 WHERE elimination = "2" |
Write a SQL query that answers the following question: What score has 2 as the place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (score VARCHAR, place VARCHAR) | SELECT score FROM table_name_78 WHERE place = "2" |
Write a SQL query that answers the following question: What is the average money (£) that has +8 as the to par, with 73-72-72-71=288 as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (money___ INTEGER, to_par VARCHAR, score VARCHAR) | SELECT AVG(money___) AS £__ FROM table_name_8 WHERE to_par = "+8" AND score = 73 - 72 - 72 - 71 = 288 |
Write a SQL query that answers the following question: What country has t6 as the place, with seve ballesteros as the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_2 WHERE place = "t6" AND player = "seve ballesteros" |
Write a SQL query that answers the following question: What year weas John McEnroe the champion? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (year INTEGER, champion VARCHAR) | SELECT AVG(year) FROM table_name_64 WHERE champion = "john mcenroe" |
Write a SQL query that answers the following question: Who was the runner-up, when the champion was Björn Borg after 1978? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (runner_up VARCHAR, champion VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_66 WHERE champion = "björn borg" AND year > 1978 |
Write a SQL query that answers the following question: Who was the champion earlier than 1978 when the runner-up was Jimmy Connors? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (champion VARCHAR, runner_up VARCHAR, year VARCHAR) | SELECT champion FROM table_name_90 WHERE runner_up = "jimmy connors" AND year < 1978 |
Write a SQL query that answers the following question: Which municipality has the code 2401? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (municipality VARCHAR, code VARCHAR) | SELECT municipality FROM table_name_84 WHERE code = 2401 |
Write a SQL query that answers the following question: What is the population of Danderyd municipality in Stockholm County with a code lower than 162? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (population VARCHAR, code VARCHAR, county VARCHAR, municipality VARCHAR) | SELECT COUNT(population) FROM table_name_62 WHERE county = "stockholm county" AND municipality = "danderyd municipality" AND code < 162 |
Write a SQL query that answers the following question: What is the total area for a code less than 1862 and a density (per km 2 land) of 21.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (total_area VARCHAR, code VARCHAR, density__per_km_2_land_ VARCHAR) | SELECT total_area FROM table_name_53 WHERE code < 1862 AND density__per_km_2_land_ = 21.6 |
Write a SQL query that answers the following question: what total was the lowest and had a to par of e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (total INTEGER, to_par VARCHAR) | SELECT MIN(total) FROM table_name_45 WHERE to_par = "e" |
Write a SQL query that answers the following question: Which player played in the united states and scored a total of 144 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (player VARCHAR, country VARCHAR, total VARCHAR) | SELECT player FROM table_name_85 WHERE country = "united states" AND total = 144 |
Write a SQL query that answers the following question: What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and when Trailing Party is "Indian National Congress"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR) | SELECT trailing_party % votes FROM table_name_74 WHERE party_won = "bharatiya janta party" AND trailing_party = "indian national congress" |
Write a SQL query that answers the following question: What is Members of Parliament, when Trailing Party is "Bharatiya Lok Dal"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (members_of_parliament VARCHAR, trailing_party VARCHAR) | SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = "bharatiya lok dal" |
Write a SQL query that answers the following question: What is Trailing Party, when Party Won is "Janata Dal", and when Year is "1996"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (trailing_party VARCHAR, party_won VARCHAR, year VARCHAR) | SELECT trailing_party FROM table_name_74 WHERE party_won = "janata dal" AND year = 1996 |
Write a SQL query that answers the following question: What is the lowest Year, when Lok Sabha is "4th Lok Sabha"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (year INTEGER, lok_sabha VARCHAR) | SELECT MIN(year) FROM table_name_53 WHERE lok_sabha = "4th lok sabha" |
Write a SQL query that answers the following question: Who scored a 68? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_96 WHERE score = 68 |
Write a SQL query that answers the following question: How many Grid has a Rider of ryuichi kiyonari? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR) | SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari" |
Write a SQL query that answers the following question: Name the lowest Grid which has a Bike of ducati 1098 rs 08 and a Rider of max biaggi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (grid INTEGER, bike VARCHAR, rider VARCHAR) | SELECT MIN(grid) FROM table_name_24 WHERE bike = "ducati 1098 rs 08" AND rider = "max biaggi" |
Write a SQL query that answers the following question: Name the Rider which has a Time of +59.304? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (rider VARCHAR, time VARCHAR) | SELECT rider FROM table_name_33 WHERE time = "+59.304" |
Write a SQL query that answers the following question: Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR) | SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = "kawasaki zx-10r" AND grid = 8 |
Write a SQL query that answers the following question: What is the total for player karrie webb? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (total VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_1 WHERE player = "karrie webb" |
Write a SQL query that answers the following question: What years did the player with a total larger than 157 have wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (year_s__won VARCHAR, total INTEGER) | SELECT year_s__won FROM table_name_75 WHERE total > 157 |
Write a SQL query that answers the following question: What is the sum of the to par of player meg mallon, who had a total greater than 157? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (to_par INTEGER, player VARCHAR, total VARCHAR) | SELECT SUM(to_par) FROM table_name_52 WHERE player = "meg mallon" AND total > 157 |
Write a SQL query that answers the following question: What is the highest total of the player with a 7 to par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (total INTEGER, to_par VARCHAR) | SELECT MAX(total) FROM table_name_71 WHERE to_par = 7 |
Write a SQL query that answers the following question: How many assists did Steve Walker have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (assists VARCHAR, player VARCHAR) | SELECT assists FROM table_name_4 WHERE player = "steve walker" |
Write a SQL query that answers the following question: How many goals did the player score who had 33 assists in 85 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (goals VARCHAR, assists VARCHAR, games VARCHAR) | SELECT goals FROM table_name_84 WHERE assists = "33" AND games = "85" |
Write a SQL query that answers the following question: How many points did Denis Pederson have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (points VARCHAR, player VARCHAR) | SELECT points FROM table_name_79 WHERE player = "denis pederson" |
Write a SQL query that answers the following question: Which Xenon has a Helium of 5.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (xenon VARCHAR, helium VARCHAR) | SELECT xenon FROM table_name_29 WHERE helium = "5.1" |
Write a SQL query that answers the following question: Which Neon has a Argon of −189.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (neon VARCHAR, argon VARCHAR) | SELECT neon FROM table_name_95 WHERE argon = "−189.6" |
Write a SQL query that answers the following question: Which Physical property has a Helium of 0.0693? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (physical_property VARCHAR, helium VARCHAR) | SELECT physical_property FROM table_name_13 WHERE helium = "0.0693" |
Write a SQL query that answers the following question: Name the Argon which has a Neon of 0.484? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (argon VARCHAR, neon VARCHAR) | SELECT argon FROM table_name_56 WHERE neon = "0.484" |
Write a SQL query that answers the following question: Which Krypton has a Physical property of critical pressure (atm)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (krypton VARCHAR, physical_property VARCHAR) | SELECT krypton FROM table_name_36 WHERE physical_property = "critical pressure (atm)" |
Write a SQL query that answers the following question: which Helium has a Argon of −189.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (helium VARCHAR, argon VARCHAR) | SELECT helium FROM table_name_54 WHERE argon = "−189.6" |
Write a SQL query that answers the following question: What is Venue, when Opposing Teams is "South Africa", and when Date is "17/06/2000"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (venue VARCHAR, opposing_teams VARCHAR, date VARCHAR) | SELECT venue FROM table_name_46 WHERE opposing_teams = "south africa" AND date = "17/06/2000" |
Write a SQL query that answers the following question: What is the sum of Against, when Opposing Teams is "South Africa", and when Status is "First Test"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (against INTEGER, opposing_teams VARCHAR, status VARCHAR) | SELECT SUM(against) FROM table_name_11 WHERE opposing_teams = "south africa" AND status = "first test" |
Write a SQL query that answers the following question: What is Opposing Teams, when Status is "Test Match", and when Date is "25/11/2000"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (opposing_teams VARCHAR, status VARCHAR, date VARCHAR) | SELECT opposing_teams FROM table_name_96 WHERE status = "test match" AND date = "25/11/2000" |
Write a SQL query that answers the following question: What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (against VARCHAR, venue VARCHAR, date VARCHAR) | SELECT against FROM table_name_55 WHERE venue = "twickenham , london" AND date = "04/03/2000" |
Write a SQL query that answers the following question: What is the Statue, when Venue is "Stadio Flaminio , Rome"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (status VARCHAR, venue VARCHAR) | SELECT status FROM table_name_63 WHERE venue = "stadio flaminio , rome" |
Write a SQL query that answers the following question: What is the H/A of the game on 24 january 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (h___a VARCHAR, date VARCHAR) | SELECT h___a FROM table_name_50 WHERE date = "24 january 2009" |
Write a SQL query that answers the following question: What year was the rank final of 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (year VARCHAR, rank_final VARCHAR) | SELECT year FROM table_name_90 WHERE rank_final = "6" |
Write a SQL query that answers the following question: What was the rank final before 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (rank_final VARCHAR, year INTEGER) | SELECT rank_final FROM table_name_41 WHERE year < 2007 |
Write a SQL query that answers the following question: What is District, when Incumbent is "Richard Neal"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_name_8 WHERE incumbent = "richard neal" |
Write a SQL query that answers the following question: What is the lowest First Elected, when District is "Massachusetts 10"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (first_elected INTEGER, district VARCHAR) | SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 10" |
Write a SQL query that answers the following question: What is the average First Elected, when District is "Massachusetts 3"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (first_elected INTEGER, district VARCHAR) | SELECT AVG(first_elected) FROM table_name_49 WHERE district = "massachusetts 3" |
Write a SQL query that answers the following question: What team lost with 30 tries against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (lost VARCHAR, tries_against VARCHAR) | SELECT lost FROM table_name_35 WHERE tries_against = "30" |
Write a SQL query that answers the following question: Who lost with 142 points for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (lost VARCHAR, points_for VARCHAR) | SELECT lost FROM table_name_73 WHERE points_for = "142" |
Write a SQL query that answers the following question: How many tries against for the team with 67 tries for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_name_83 WHERE tries_for = "67" |
Write a SQL query that answers the following question: Which club has 101 tries for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (club VARCHAR, tries_for VARCHAR) | SELECT club FROM table_name_79 WHERE tries_for = "101" |
Write a SQL query that answers the following question: What is the try bonus for the team with 67 tries for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (try_bonus VARCHAR, tries_for VARCHAR) | SELECT try_bonus FROM table_name_16 WHERE tries_for = "67" |
Write a SQL query that answers the following question: What is the team that lost with 77 tries against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (lost VARCHAR, tries_against VARCHAR) | SELECT lost FROM table_name_5 WHERE tries_against = "77" |
Write a SQL query that answers the following question: Which Fighting Spirit has a Name of tsurugamine, and a Technique smaller than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (fighting_spirit INTEGER, name VARCHAR, technique VARCHAR) | SELECT AVG(fighting_spirit) FROM table_name_55 WHERE name = "tsurugamine" AND technique < 10 |
Write a SQL query that answers the following question: How much Technique has the Highest rank of yokozuna, and a Total larger than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (technique VARCHAR, highest_rank VARCHAR, total VARCHAR) | SELECT COUNT(technique) FROM table_name_89 WHERE highest_rank = "yokozuna" AND total > 11 |
Write a SQL query that answers the following question: How much Fighting Spirit has a Total of 13, and a Technique smaller than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (fighting_spirit INTEGER, total VARCHAR, technique VARCHAR) | SELECT SUM(fighting_spirit) FROM table_name_25 WHERE total = 13 AND technique < 1 |
Write a SQL query that answers the following question: What are asashio's years? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (years VARCHAR, name VARCHAR) | SELECT years FROM table_name_31 WHERE name = "asashio" |
Write a SQL query that answers the following question: Which County has a Precincts of 33/33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (county VARCHAR, precincts VARCHAR) | SELECT county FROM table_name_88 WHERE precincts = "33/33" |
Write a SQL query that answers the following question: Name the T. Wyka has a Precincts of 51/55? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (t_wyka VARCHAR, precincts VARCHAR) | SELECT t_wyka FROM table_name_1 WHERE precincts = "51/55" |
Write a SQL query that answers the following question: Which Precincts has a G. Hager of 2,260 (15%)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (precincts VARCHAR, g_hager VARCHAR) | SELECT precincts FROM table_name_88 WHERE g_hager = "2,260 (15%)" |
Write a SQL query that answers the following question: Name the G. Hager of E. Greenberg of 266 (14%)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (g_hager VARCHAR, e_greenberg VARCHAR) | SELECT g_hager FROM table_name_49 WHERE e_greenberg = "266 (14%)" |
Write a SQL query that answers the following question: Which Precincts has a County of passaic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (precincts VARCHAR, county VARCHAR) | SELECT precincts FROM table_name_86 WHERE county = "passaic" |
Write a SQL query that answers the following question: Which E. Greenberg has a T. Wyka of 10,793 (70%)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (e_greenberg VARCHAR, t_wyka VARCHAR) | SELECT e_greenberg FROM table_name_34 WHERE t_wyka = "10,793 (70%)" |
Write a SQL query that answers the following question: Which player from England finished in T41? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (player VARCHAR, finish VARCHAR, country VARCHAR) | SELECT player FROM table_name_43 WHERE finish = "t41" AND country = "england" |
Write a SQL query that answers the following question: From which country is the player that won in 1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_78 WHERE year_s__won = "1998" |
Write a SQL query that answers the following question: In 1997, what was the final total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (total VARCHAR, year_s__won VARCHAR) | SELECT total FROM table_name_57 WHERE year_s__won = "1997" |
Write a SQL query that answers the following question: What was the To Par score for player Justin Leonard? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_14 WHERE player = "justin leonard" |
Write a SQL query that answers the following question: How many points were scored by the player who played 348 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (points VARCHAR, games VARCHAR) | SELECT points FROM table_name_30 WHERE games = "348" |
Write a SQL query that answers the following question: How many points were scored by the player who played 363 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (points VARCHAR, games VARCHAR) | SELECT points FROM table_name_86 WHERE games = "363" |
Write a SQL query that answers the following question: What kind of Replaced has a Manner of departure of end of contract on dec. 16, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (replaced_by VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT replaced_by FROM table_name_49 WHERE manner_of_departure = "end of contract" AND date_of_appointment = "dec. 16, 2008" |
Write a SQL query that answers the following question: What kind of Replaced has a Outgoing manager of guillermo sanguinetti? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (replaced_by VARCHAR, outgoing_manager VARCHAR) | SELECT replaced_by FROM table_name_95 WHERE outgoing_manager = "guillermo sanguinetti" |
Write a SQL query that answers the following question: What kind of Replaced has a Team of gimnasia y esgrima (lp)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_name_71 WHERE team = "gimnasia y esgrima (lp)" |
Write a SQL query that answers the following question: Which Team has a Position in table of 15th (c)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (team VARCHAR, position_in_table VARCHAR) | SELECT team FROM table_name_75 WHERE position_in_table = "15th (c)" |
Write a SQL query that answers the following question: Which Team that has a Position in table of 15th (a) and a Outgoing manager of claudio borghi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (team VARCHAR, position_in_table VARCHAR, outgoing_manager VARCHAR) | SELECT team FROM table_name_55 WHERE position_in_table = "15th (a)" AND outgoing_manager = "claudio borghi" |
Write a SQL query that answers the following question: Which Team has a Date of appointment on sep. 20, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (team VARCHAR, date_of_appointment VARCHAR) | SELECT team FROM table_name_14 WHERE date_of_appointment = "sep. 20, 2008" |
Write a SQL query that answers the following question: What was the highest number of losses for a position less than 6, with more than 11 wins and 36 points, with a played entry of more than 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (losses INTEGER, played VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR) | SELECT MAX(losses) FROM table_name_59 WHERE position < 6 AND wins > 11 AND points = 36 AND played > 30 |
Write a SQL query that answers the following question: What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR) | SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31 |
Write a SQL query that answers the following question: What is the average number of goals for entries with more than 12 losses, more than 10 wins, more than 3 draws, and fewer than 29 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (goals_for INTEGER, draws VARCHAR, points VARCHAR, losses VARCHAR, wins VARCHAR) | SELECT AVG(goals_for) FROM table_name_99 WHERE losses > 12 AND wins > 10 AND points < 29 AND draws > 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.