instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR) | SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-6-2" |
Write a SQL query that answers the following question: What livery belongs to the steam Locomotive type builder that was building before 1989? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (livery VARCHAR, year_built VARCHAR, locomotive_type VARCHAR) | SELECT livery FROM table_name_69 WHERE year_built < 1989 AND locomotive_type = "steam" |
Write a SQL query that answers the following question: What is the total number of medals when the gold is more than 2 and silver more than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT COUNT(total) FROM table_name_52 WHERE gold > 2 AND silver > 2 |
Write a SQL query that answers the following question: What is the most silver medals when the total is less than 4 and the rank is 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (silver INTEGER, total VARCHAR, rank VARCHAR) | SELECT MAX(silver) FROM table_name_35 WHERE total < 4 AND rank = "12" |
Write a SQL query that answers the following question: What is the total number of bronze medals when the silver is greater than 0, and the total medals 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (bronze INTEGER, silver VARCHAR, total VARCHAR) | SELECT SUM(bronze) FROM table_name_14 WHERE silver > 0 AND total = 5 |
Write a SQL query that answers the following question: What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR) | SELECT COUNT(total) FROM table_name_14 WHERE bronze > 1 AND nation = "germany" AND gold < 1 |
Write a SQL query that answers the following question: When Oscar Míguez had over 107 goals, what was the lowest he ranked? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (rank INTEGER, name VARCHAR, goals VARCHAR) | SELECT MIN(rank) FROM table_name_21 WHERE name = "oscar míguez" AND goals > 107 |
Write a SQL query that answers the following question: What was the highest number of goals for 1922–1935? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (goals INTEGER, years VARCHAR) | SELECT MAX(goals) FROM table_name_18 WHERE years = "1922–1935" |
Write a SQL query that answers the following question: Which pick number was there for Jason French? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (pick__number VARCHAR, player VARCHAR) | SELECT pick__number FROM table_name_20 WHERE player = "jason french" |
Write a SQL query that answers the following question: Which cfl team was associated with the college of manitoba? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_name_32 WHERE college = "manitoba" |
Write a SQL query that answers the following question: Which college's cfl team is the hamilton tiger-cats? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (college VARCHAR, cfl_team VARCHAR) | SELECT college FROM table_name_58 WHERE cfl_team = "hamilton tiger-cats" |
Write a SQL query that answers the following question: Which position's cfl team was the Montreal Alouettes when the pick number was less than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (position VARCHAR, cfl_team VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_52 WHERE cfl_team = "montreal alouettes" AND pick__number < 15 |
Write a SQL query that answers the following question: Which player was drafted by the Saskatchewan Roughriders? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (player VARCHAR, cfl_team VARCHAR) | SELECT player FROM table_name_5 WHERE cfl_team = "saskatchewan roughriders" |
Write a SQL query that answers the following question: What college did Ben Wearing play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_37 WHERE player = "ben wearing" |
Write a SQL query that answers the following question: What is the average FA Cup Goal value for players that have 0 Other goals, 0 FL Cup goals, and fewer than 39 League goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (fa_cup_goals INTEGER, league_goals VARCHAR, other_goals VARCHAR, fl_cup_goals VARCHAR) | SELECT AVG(fa_cup_goals) FROM table_name_33 WHERE other_goals = 0 AND fl_cup_goals = 0 AND league_goals < 39 |
Write a SQL query that answers the following question: On what date were the Ottawa Swans the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, away VARCHAR) | SELECT date FROM table_name_25 WHERE away = "ottawa swans" |
Write a SQL query that answers the following question: What was the score of the game with the Etobicoke Kangaroos as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_55 WHERE home = "etobicoke kangaroos" |
Write a SQL query that answers the following question: What was the score of the game with the Broadview Hawks as the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_97 WHERE home = "broadview hawks" |
Write a SQL query that answers the following question: What was the score of the Broadview Hawks home game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_69 WHERE home = "broadview hawks" |
Write a SQL query that answers the following question: Who was the away team for the Etobicoke Kangaroos home game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (away VARCHAR, home VARCHAR) | SELECT away FROM table_name_81 WHERE home = "etobicoke kangaroos" |
Write a SQL query that answers the following question: What was the date for the 130-56 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_26 WHERE score = "130-56" |
Write a SQL query that answers the following question: What is the date with Cuba is Home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_20 WHERE home_team = "cuba" |
Write a SQL query that answers the following question: What is the location with Honduras is Home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (location VARCHAR, home_team VARCHAR) | SELECT location FROM table_name_57 WHERE home_team = "honduras" |
Write a SQL query that answers the following question: What is the location of 11 April 2013 and Mexico Home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (location VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT location FROM table_name_8 WHERE home_team = "mexico" AND date = "11 april 2013" |
Write a SQL query that answers the following question: What is the date that is Away team is Honduras? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_25 WHERE away_team = "honduras" |
Write a SQL query that answers the following question: What is the date where Guatemala is the Away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_44 WHERE away_team = "guatemala" |
Write a SQL query that answers the following question: What is the score for 17 April 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_33 WHERE date = "17 april 2013" |
Write a SQL query that answers the following question: How many weeks have September 14, 2008 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (week INTEGER, date VARCHAR) | SELECT SUM(week) FROM table_name_79 WHERE date = "september 14, 2008" |
Write a SQL query that answers the following question: What opponent has a week less than 16, with September 7, 2008 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_43 WHERE week < 16 AND date = "september 7, 2008" |
Write a SQL query that answers the following question: What record has candlestick park as the game site, and october 12, 2008 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (record VARCHAR, game_site VARCHAR, date VARCHAR) | SELECT record FROM table_name_36 WHERE game_site = "candlestick park" AND date = "october 12, 2008" |
Write a SQL query that answers the following question: What date has new england patriots as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_26 WHERE opponent = "new england patriots" |
Write a SQL query that answers the following question: What date has 10 for the week? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_66 WHERE week = 10 |
Write a SQL query that answers the following question: What game site has w 10-3 as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (game_site VARCHAR, result VARCHAR) | SELECT game_site FROM table_name_50 WHERE result = "w 10-3" |
Write a SQL query that answers the following question: What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (rank INTEGER, singapore_cup VARCHAR, name VARCHAR) | SELECT SUM(rank) FROM table_name_80 WHERE singapore_cup = "0 (1)" AND name = "masrezwan masturi" |
Write a SQL query that answers the following question: What is the Name of the person with a Total of 3 (15), and Rank of more than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (name VARCHAR, total VARCHAR, rank VARCHAR) | SELECT name FROM table_name_87 WHERE total = "3 (15)" AND rank > 3 |
Write a SQL query that answers the following question: What is the Singapore Cup when the S-League is 5 (14)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (singapore_cup VARCHAR, s_league VARCHAR) | SELECT singapore_cup FROM table_name_92 WHERE s_league = "5 (14)" |
Write a SQL query that answers the following question: What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (singapore_league_cup VARCHAR, rank VARCHAR, s_league VARCHAR) | SELECT singapore_league_cup FROM table_name_50 WHERE rank > 4 AND s_league = "2 (12)" |
Write a SQL query that answers the following question: In which tournament did Al Geiberger finish runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_2 WHERE runner_s__up = "al geiberger" |
Write a SQL query that answers the following question: What is the Season with an Acquisition via of rookie draft, and the number is 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (season VARCHAR, acquisition_via VARCHAR, number VARCHAR) | SELECT season FROM table_name_50 WHERE acquisition_via = "rookie draft" AND number = "15" |
Write a SQL query that answers the following question: What is the Acquisition via for Dennis Miranda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (acquisition_via VARCHAR, name VARCHAR) | SELECT acquisition_via FROM table_name_33 WHERE name = "dennis miranda" |
Write a SQL query that answers the following question: What team acquired as a rookie draft in the position of guard Dennis Miranda? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (school_club_team VARCHAR, name VARCHAR, acquisition_via VARCHAR, position VARCHAR) | SELECT school_club_team FROM table_name_84 WHERE acquisition_via = "rookie draft" AND position = "guard" AND name = "dennis miranda" |
Write a SQL query that answers the following question: What season was School/Club Team perpetual help in the guard position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (season VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT season FROM table_name_6 WHERE position = "guard" AND school_club_team = "perpetual help" |
Write a SQL query that answers the following question: What number was Rashad McCants? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (number VARCHAR, name VARCHAR) | SELECT number FROM table_name_82 WHERE name = "rashad mccants" |
Write a SQL query that answers the following question: What season did School/Club Team, East have an Acquisition via of trade? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (season VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR) | SELECT season FROM table_name_19 WHERE acquisition_via = "trade" AND school_club_team = "east" |
Write a SQL query that answers the following question: What is the Date for the City/State of Sydney, New South Wales? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (date VARCHAR, city___state VARCHAR) | SELECT date FROM table_name_61 WHERE city___state = "sydney, new south wales" |
Write a SQL query that answers the following question: What is the Revenues during Tenure 1854-1855? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (revenues VARCHAR, tenure VARCHAR) | SELECT revenues FROM table_name_43 WHERE tenure = "1854-1855" |
Write a SQL query that answers the following question: What is the Revenues of Ukyo-Daiyu? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (revenues VARCHAR, courtesy_title VARCHAR) | SELECT revenues FROM table_name_81 WHERE courtesy_title = "ukyo-daiyu" |
Write a SQL query that answers the following question: What country was the player, rod pampling, from who placed t10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_43 WHERE place = "t10" AND player = "rod pampling" |
Write a SQL query that answers the following question: What was the score that thomas levet got when he placed t10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_36 WHERE place = "t10" AND player = "thomas levet" |
Write a SQL query that answers the following question: What country did the player who scored 73-73-65=211 come from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_6 WHERE score = 73 - 73 - 65 = 211 |
Write a SQL query that answers the following question: What is the score that the player who placed t4 from the united states get? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (score VARCHAR, country VARCHAR, place VARCHAR) | SELECT score FROM table_name_80 WHERE country = "united states" AND place = "t4" |
Write a SQL query that answers the following question: What country is phil mickelson from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_57 WHERE player = "phil mickelson" |
Write a SQL query that answers the following question: What is the Team with a Machine that is nsr250 and has Points of 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (team VARCHAR, machine VARCHAR, points VARCHAR) | SELECT team FROM table_name_39 WHERE machine = "nsr250" AND points = 8 |
Write a SQL query that answers the following question: What is the total lost that has points greater than 8 and a difference of - 8 and a position of greater than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (lost INTEGER, position VARCHAR, points VARCHAR, difference VARCHAR) | SELECT SUM(lost) FROM table_name_2 WHERE points > 8 AND difference = "- 8" AND position > 5 |
Write a SQL query that answers the following question: What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (points INTEGER, played VARCHAR, lost VARCHAR, difference VARCHAR) | SELECT MAX(points) FROM table_name_66 WHERE lost > 5 AND difference = "- 10" AND played > 12 |
Write a SQL query that answers the following question: What is the Name with an Average that is 16.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (name VARCHAR, average VARCHAR) | SELECT name FROM table_name_10 WHERE average = 16.4 |
Write a SQL query that answers the following question: What was the match number for Start Gniezno? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (match VARCHAR, team VARCHAR) | SELECT match FROM table_name_13 WHERE team = "start gniezno" |
Write a SQL query that answers the following question: Who was the team that lost but had 10 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (lost VARCHAR, points VARCHAR) | SELECT lost FROM table_name_48 WHERE points = "10" |
Write a SQL query that answers the following question: What was the draw for Lpż Gdańsk with a match of 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (draw VARCHAR, match VARCHAR, team VARCHAR) | SELECT draw FROM table_name_57 WHERE match = "8" AND team = "lpż gdańsk" |
Write a SQL query that answers the following question: What team had a draw of 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (team VARCHAR, draw VARCHAR) | SELECT team FROM table_name_29 WHERE draw = "0" |
Write a SQL query that answers the following question: What match had 8 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (match VARCHAR, points VARCHAR) | SELECT match FROM table_name_91 WHERE points = "8" |
Write a SQL query that answers the following question: What is the draw for a match that had 10 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (draw VARCHAR, points VARCHAR) | SELECT draw FROM table_name_37 WHERE points = "10" |
Write a SQL query that answers the following question: What was the 1980-1981 team of the player born in Warroad, Minnesota? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (birthplace VARCHAR) | SELECT 1980 AS _1981_team FROM table_name_22 WHERE birthplace = "warroad, minnesota" |
Write a SQL query that answers the following question: How many losses have a draw greater than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (lost INTEGER, draw INTEGER) | SELECT SUM(lost) FROM table_name_99 WHERE draw > 0 |
Write a SQL query that answers the following question: Which average match has points less than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (match INTEGER, points INTEGER) | SELECT AVG(match) FROM table_name_33 WHERE points < 6 |
Write a SQL query that answers the following question: Which average draw has points greater than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (draw INTEGER, points INTEGER) | SELECT AVG(draw) FROM table_name_52 WHERE points > 12 |
Write a SQL query that answers the following question: What Trainer had Jockey William Jenkins in a race with Time of 1:44.80? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR) | SELECT trainer FROM table_name_54 WHERE time = "1:44.80" AND jockey = "william jenkins" |
Write a SQL query that answers the following question: In what Year was the Purse $150,000 with a Time of 1:49.00? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (year INTEGER, purse VARCHAR, time VARCHAR) | SELECT MIN(year) FROM table_name_6 WHERE purse = "$150,000" AND time = "1:49.00" |
Write a SQL query that answers the following question: What Owner's Trainer is Todd A. Pletcher? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (owner VARCHAR, trainer VARCHAR) | SELECT owner FROM table_name_64 WHERE trainer = "todd a. pletcher" |
Write a SQL query that answers the following question: What was the Purse for Owner Harold A. Allen prior to 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (purse VARCHAR, year VARCHAR, owner VARCHAR) | SELECT purse FROM table_name_41 WHERE year < 2009 AND owner = "harold a. allen" |
Write a SQL query that answers the following question: What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (gdp__ppp__per_capita_2012_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR) | SELECT gdp__ppp__per_capita_2012_euro FROM table_name_49 WHERE population_in_millions > 10.8 AND gdp__nominal__per_capita_2012_euro = "25,600" |
Write a SQL query that answers the following question: What is GDP 2012 Millions of Euro, when Population in Millions is less than 1.3, and when GDP (Nominal) Per Capita 2012 Euro is 20,700(p)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (gdp_2012_millions_of_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR) | SELECT gdp_2012_millions_of_euro FROM table_name_51 WHERE population_in_millions < 1.3 AND gdp__nominal__per_capita_2012_euro = "20,700(p)" |
Write a SQL query that answers the following question: What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (gdp__ppp__per_capita_2012_eu27_ VARCHAR, _100 VARCHAR, gdp_2012_millions_of_euro VARCHAR) | SELECT gdp__ppp__per_capita_2012_eu27_ = _100 FROM table_name_27 WHERE gdp_2012_millions_of_euro = "309,900" |
Write a SQL query that answers the following question: What is Population in Millions, when GDP 2012 Millions of Euro is 600,638? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (population_in_millions VARCHAR, gdp_2012_millions_of_euro VARCHAR) | SELECT population_in_millions FROM table_name_73 WHERE gdp_2012_millions_of_euro = "600,638" |
Write a SQL query that answers the following question: What was the Money for Player Ernie Els? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (money___$__ VARCHAR, player VARCHAR) | SELECT money___$__ FROM table_name_22 WHERE player = "ernie els" |
Write a SQL query that answers the following question: What T9 Player had a Score of 70-74-69-70=283? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_93 WHERE place = "t9" AND score = 70 - 74 - 69 - 70 = 283 |
Write a SQL query that answers the following question: What is the Money for the T1 Player with a Score of 66-69-70-75=280? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (money___$__ VARCHAR, place VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_90 WHERE place = "t1" AND score = 66 - 69 - 70 - 75 = 280 |
Write a SQL query that answers the following question: What is Chris Riley's Money? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (money___$__ VARCHAR, player VARCHAR) | SELECT money___$__ FROM table_name_46 WHERE player = "chris riley" |
Write a SQL query that answers the following question: What is the lowest amount of Span metres when the year opened is 2007, the country is China, rank is less than 13, and the span feet is less than 1378? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (span_metres INTEGER, span_feet VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR) | SELECT MIN(span_metres) FROM table_name_23 WHERE year_opened = "2007" AND country = "china" AND rank < 13 AND span_feet < 1378 |
Write a SQL query that answers the following question: Which country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (country VARCHAR, year_opened VARCHAR, span_feet VARCHAR, material VARCHAR, span_metres VARCHAR) | SELECT country FROM table_name_36 WHERE material = "concrete" AND span_metres < 270 AND span_feet > 837 AND year_opened = "1943" |
Write a SQL query that answers the following question: What country won in 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_28 WHERE year_s__won = "1993" |
Write a SQL query that answers the following question: What was the finish with a total larger than 286, a to par of +4 and Bob Tway played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (finish VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR) | SELECT finish FROM table_name_70 WHERE total > 286 AND to_par = "+4" AND player = "bob tway" |
Write a SQL query that answers the following question: What player in the United States had a total of 286 and won in 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR) | SELECT player FROM table_name_78 WHERE country = "united states" AND total = 286 AND year_s__won = "2003" |
Write a SQL query that answers the following question: What country has a total of 293? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (country VARCHAR, total VARCHAR) | SELECT country FROM table_name_37 WHERE total = 293 |
Write a SQL query that answers the following question: What player is from Fiji? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_67 WHERE country = "fiji" |
Write a SQL query that answers the following question: Which method was used in the welterweight class with a preliminary card? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (method VARCHAR, weight_class VARCHAR, card VARCHAR) | SELECT method FROM table_name_58 WHERE weight_class = "welterweight" AND card = "preliminary" |
Write a SQL query that answers the following question: Which method was used in a round greater than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (method VARCHAR, round INTEGER) | SELECT method FROM table_name_15 WHERE round > 3 |
Write a SQL query that answers the following question: Which weight class had a time of 4:59? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (weight_class VARCHAR, time VARCHAR) | SELECT weight_class FROM table_name_65 WHERE time = "4:59" |
Write a SQL query that answers the following question: What was the time for a round less than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (time VARCHAR, round INTEGER) | SELECT time FROM table_name_35 WHERE round < 3 |
Write a SQL query that answers the following question: What is the smallest round for the welterweight class with a preliminary card? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (round INTEGER, weight_class VARCHAR, card VARCHAR) | SELECT MIN(round) FROM table_name_11 WHERE weight_class = "welterweight" AND card = "preliminary" |
Write a SQL query that answers the following question: Were there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR) | SELECT bulletins_to_all_contacts FROM table_name_43 WHERE transport_layer_security = "no" AND license = "proprietary" AND creator = "microsoft" |
Write a SQL query that answers the following question: Were there Bulletins to all contacts of the license created by GG Network? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (bulletins_to_all_contacts VARCHAR, creator VARCHAR) | SELECT bulletins_to_all_contacts FROM table_name_69 WHERE creator = "gg network" |
Write a SQL query that answers the following question: What is the name of the license created by IETF? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (license VARCHAR, creator VARCHAR) | SELECT license FROM table_name_72 WHERE creator = "ietf" |
Write a SQL query that answers the following question: What is the envelopment for the rhabdoviridae family? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (envelopment VARCHAR, family VARCHAR) | SELECT envelopment FROM table_name_83 WHERE family = "rhabdoviridae" |
Write a SQL query that answers the following question: Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (baltimore_group VARCHAR, family VARCHAR, replication_site VARCHAR, virion_shape VARCHAR, envelopment VARCHAR) | SELECT baltimore_group FROM table_name_13 WHERE virion_shape = "icosahedral" AND envelopment = "non-enveloped" AND replication_site = "cytoplasm" AND family = "astroviridae" |
Write a SQL query that answers the following question: Which Baltimore group is of the retroviridae family? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (baltimore_group VARCHAR, family VARCHAR) | SELECT baltimore_group FROM table_name_62 WHERE family = "retroviridae" |
Write a SQL query that answers the following question: Which Baltimore group is of the togaviridae family? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (baltimore_group VARCHAR, family VARCHAR) | SELECT baltimore_group FROM table_name_27 WHERE family = "togaviridae" |
Write a SQL query that answers the following question: Which Baltimore group is non-enveloped and is of the papillomaviridae family? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (baltimore_group VARCHAR, envelopment VARCHAR, family VARCHAR) | SELECT baltimore_group FROM table_name_85 WHERE envelopment = "non-enveloped" AND family = "papillomaviridae" |
Write a SQL query that answers the following question: What is the replication site when the species is enveloped and is of the bunyaviridae family? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (replication_site VARCHAR, envelopment VARCHAR, family VARCHAR) | SELECT replication_site FROM table_name_58 WHERE envelopment = "enveloped" AND family = "bunyaviridae" |
Write a SQL query that answers the following question: What is the highest League Cup with a Player that is steed malbranque? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (league_cup INTEGER, player VARCHAR) | SELECT MAX(league_cup) FROM table_name_95 WHERE player = "steed malbranque" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.