question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211? | CREATE TABLE table_name_57 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211 |
What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R? | CREATE TABLE table_name_18 (Id VARCHAR) | SELECT 2012 FROM table_name_18 WHERE 2007 = "2r" AND 2009 = "1r" |
What was the 2009 result associated with a 2012 of 1R and a 2007 of 2R? | CREATE TABLE table_name_2 (Id VARCHAR) | SELECT 2009 FROM table_name_2 WHERE 2012 = "1r" AND 2007 = "2r" |
What was the 2008 result associated with a 2009 of A and a 2011 of 2R? | CREATE TABLE table_name_36 (Id VARCHAR) | SELECT 2008 FROM table_name_36 WHERE 2009 = "a" AND 2011 = "2r" |
In which tournament did Pauline Parmentier finish LQ in 2007? | CREATE TABLE table_name_34 (tournament VARCHAR) | SELECT tournament FROM table_name_34 WHERE 2007 = "lq" |
Name the player name with matches of 51 | CREATE TABLE table_name_23 (player_name VARCHAR, matches VARCHAR) | SELECT player_name FROM table_name_23 WHERE matches = "51" |
Name the position for brazil 2008 with goals of 0 1 | CREATE TABLE table_name_6 (position VARCHAR, goals VARCHAR, country VARCHAR, period VARCHAR) | SELECT position FROM table_name_6 WHERE country = "brazil" AND period = "2008" AND goals = "0 1" |
Name the goals with matches of 21 | CREATE TABLE table_name_38 (goals VARCHAR, matches VARCHAR) | SELECT goals FROM table_name_38 WHERE matches = "21" |
Name the period with matches of 0 0 of portugal | CREATE TABLE table_name_56 (period VARCHAR, matches VARCHAR, country VARCHAR) | SELECT period FROM table_name_56 WHERE matches = "0 0" AND country = "portugal" |
Name the opponents for round of round 5 | CREATE TABLE table_name_9 (opponents VARCHAR, round VARCHAR) | SELECT opponents FROM table_name_9 WHERE round = "round 5" |
Name the attendance for 4 january 2004 | CREATE TABLE table_name_72 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_72 WHERE date = "4 january 2004" |
Name the most attendance for 25 january 2004 | CREATE TABLE table_name_64 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_64 WHERE date = "25 january 2004" |
What is the average Attendance for the final round? | CREATE TABLE table_name_54 (attendance INTEGER, round VARCHAR) | SELECT AVG(attendance) FROM table_name_54 WHERE round = "final" |
What is the smallest number of people to attend a game with an H/A of h and the opponent was Roma? | CREATE TABLE table_name_67 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR) | SELECT MIN(attendance) FROM table_name_67 WHERE h___a = "h" AND opponents = "roma" |
Which game does the quentyn martell have? | CREATE TABLE table_name_54 (game VARCHAR, pov_character VARCHAR) | SELECT game FROM table_name_54 WHERE pov_character = "quentyn martell" |
Which storm has a clash of 3 and a dance of 4? | CREATE TABLE table_name_58 (storm VARCHAR, dance VARCHAR, clash VARCHAR) | SELECT storm FROM table_name_58 WHERE dance = "4" AND clash = "3" |
Name the melbourne with perth, adelaide and auckland of no with sydney of yes | CREATE TABLE table_name_38 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, perth VARCHAR, adelaide VARCHAR) | SELECT melbourne FROM table_name_38 WHERE perth = "no" AND adelaide = "no" AND auckland = "no" AND sydney = "yes" |
Name the gold coast which has an auckland of no and melbourne of yes | CREATE TABLE table_name_88 (gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR) | SELECT gold_coast FROM table_name_88 WHERE auckland = "no" AND melbourne = "yes" |
Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes | CREATE TABLE table_name_53 (sydney VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, perth VARCHAR, adelaide VARCHAR) | SELECT sydney FROM table_name_53 WHERE perth = "no" AND adelaide = "no" AND melbourne = "yes" AND gold_coast = "yes" |
Name the Adelaide for Sydney of yes and Perth of yes | CREATE TABLE table_name_6 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR) | SELECT adelaide FROM table_name_6 WHERE sydney = "yes" AND perth = "yes" |
Name the melbourne for adelaide of no with auckland of yes and gold coast of yes | CREATE TABLE table_name_49 (melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR) | SELECT melbourne FROM table_name_49 WHERE adelaide = "no" AND auckland = "yes" AND gold_coast = "no" |
Who is the Prime Minister of Antoine Wehenkel? | CREATE TABLE table_name_71 (Prime VARCHAR, minister VARCHAR) | SELECT Prime AS minister FROM table_name_71 WHERE minister = "antoine wehenkel" |
What is the least amount of wins earlier than 1964 with more than 7 points? | CREATE TABLE table_name_49 (wins INTEGER, year VARCHAR, points VARCHAR) | SELECT MIN(wins) FROM table_name_49 WHERE year < 1964 AND points > 7 |
What is the least points for class 125cc with 1 win earlier than 1961? | CREATE TABLE table_name_57 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR) | SELECT MIN(points) FROM table_name_57 WHERE class = "125cc" AND wins = 1 AND year < 1961 |
What is the number of wins when there are 7 points? | CREATE TABLE table_name_6 (wins VARCHAR, points VARCHAR) | SELECT wins FROM table_name_6 WHERE points = 7 |
What is the least amount of points when there is 1 win? | CREATE TABLE table_name_95 (points INTEGER, wins VARCHAR) | SELECT MIN(points) FROM table_name_95 WHERE wins = 1 |
What club has more than 35 goals, more than 7 draws, and 20 losses? | CREATE TABLE table_name_38 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR) | SELECT club FROM table_name_38 WHERE goals_for > 35 AND draws > 7 AND losses = 20 |
How many goals have more than 38 played and more than 9 draws? | CREATE TABLE table_name_5 (goals_for INTEGER, draws VARCHAR, played VARCHAR) | SELECT SUM(goals_for) FROM table_name_5 WHERE draws > 9 AND played > 38 |
How many losses has more than 59 goals against and more than 17 position? | CREATE TABLE table_name_32 (losses INTEGER, goals_against VARCHAR, position VARCHAR) | SELECT MIN(losses) FROM table_name_32 WHERE goals_against > 59 AND position > 17 |
On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78? | CREATE TABLE table_name_66 (date VARCHAR, meet VARCHAR, time VARCHAR) | SELECT date FROM table_name_66 WHERE meet = "2007 pan american games" AND time = "1:07.78" |
What Nationality's time is 2:07.64? | CREATE TABLE table_name_98 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_98 WHERE time = "2:07.64" |
What Event's Time is 4:01.00? | CREATE TABLE table_name_4 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_4 WHERE time = "4:01.00" |
In what Location in the United States the Time 2:25.62? | CREATE TABLE table_name_87 (location VARCHAR, nationality VARCHAR, time VARCHAR) | SELECT location FROM table_name_87 WHERE nationality = "united states" AND time = "2:25.62" |
Year larger than 1975, and a Record of 13β11 is what playoffs? | CREATE TABLE table_name_54 (playoffs VARCHAR, year VARCHAR, record VARCHAR) | SELECT playoffs FROM table_name_54 WHERE year > 1975 AND record = "13β11" |
What are the venues prior to 2005 in the World Class category that resulted in a bronze? | CREATE TABLE table_name_57 (venue VARCHAR, result VARCHAR, year VARCHAR, category VARCHAR) | SELECT venue FROM table_name_57 WHERE year < 2005 AND category = "world class" AND result = "bronze" |
What are the competitions that occurred before 2006 in SVK Nitra? | CREATE TABLE table_name_10 (competition VARCHAR, year VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_10 WHERE year < 2006 AND venue = "svk nitra" |
What are the categories of events that occurred after 2007 that were World Championships? | CREATE TABLE table_name_93 (category VARCHAR, year VARCHAR, competition VARCHAR) | SELECT category FROM table_name_93 WHERE year > 2007 AND competition = "world championships" |
What was the result of events held at Nor Elverum, prior to 2010? | CREATE TABLE table_name_22 (result VARCHAR, year VARCHAR, venue VARCHAR) | SELECT result FROM table_name_22 WHERE year < 2010 AND venue = "nor elverum" |
What was the competition held in 2003? | CREATE TABLE table_name_17 (competition VARCHAR, year VARCHAR) | SELECT competition FROM table_name_17 WHERE year = 2003 |
What chassis type does a scuderia ferrari with more than 1 point have? | CREATE TABLE table_name_33 (chassis VARCHAR, entrant VARCHAR, points VARCHAR) | SELECT chassis FROM table_name_33 WHERE entrant = "scuderia ferrari" AND points > 1 |
A ferrari flat-12 engine with more than 1 point has what kind of chassis? | CREATE TABLE table_name_80 (chassis VARCHAR, engine VARCHAR, points VARCHAR) | SELECT chassis FROM table_name_80 WHERE engine = "ferrari flat-12" AND points > 1 |
What is the average year for a merzario a2 chassis? | CREATE TABLE table_name_91 (year INTEGER, chassis VARCHAR) | SELECT AVG(year) FROM table_name_91 WHERE chassis = "merzario a2" |
What was the team's record when they played visitor team Chicago Black Hawks on November 24? | CREATE TABLE table_name_87 (record VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT record FROM table_name_87 WHERE visitor = "chicago black hawks" AND date = "november 24" |
What is the name of the visitor team who played home team Chicago Black Hawks on March 20? | CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_77 WHERE home = "chicago black hawks" AND date = "march 20" |
What was the team's record on November 12? | CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_38 WHERE date = "november 12" |
What champion has 1981 as the year? | CREATE TABLE table_name_33 (champion VARCHAR, year VARCHAR) | SELECT champion FROM table_name_33 WHERE year = "1981" |
What date final has 1982 as the year? | CREATE TABLE table_name_59 (date_final VARCHAR, year VARCHAR) | SELECT date_final FROM table_name_59 WHERE year = "1982" |
What prize money has michelob light challenge of champions as the commercial name? | CREATE TABLE table_name_56 (prize_money VARCHAR, commercial_name VARCHAR) | SELECT prize_money FROM table_name_56 WHERE commercial_name = "michelob light challenge of champions" |
What date final has 1989 as the year? | CREATE TABLE table_name_90 (date_final VARCHAR, year VARCHAR) | SELECT date_final FROM table_name_90 WHERE year = "1989" |
What score in final has boris becker as the champion? | CREATE TABLE table_name_54 (score_in_final VARCHAR, champion VARCHAR) | SELECT score_in_final FROM table_name_54 WHERE champion = "boris becker" |
What is the greatest point of an Entrant of connaught engineering alta straight-4 engine before 1957 | CREATE TABLE table_name_9 (points INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR) | SELECT MAX(points) FROM table_name_9 WHERE engine = "alta straight-4" AND entrant = "connaught engineering" AND year < 1957 |
What 1957 engine has a Chassis of connaught type b? | CREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957 |
When was the winning score β9 (72-68-64-67=271)? | CREATE TABLE table_name_89 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_89 WHERE winning_score = β9(72 - 68 - 64 - 67 = 271) |
What was the margin of victory for the Mississippi Gulf Resort Classic? | CREATE TABLE table_name_77 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_77 WHERE tournament = "mississippi gulf resort classic" |
What was the margin of victory when Mark Calcavecchia was the runner-up? | CREATE TABLE table_name_53 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_53 WHERE runner_s__up = "mark calcavecchia" |
What was the date of the Ace Group Classic tournament with a 1 stroke margin of victory? | CREATE TABLE table_name_24 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_24 WHERE margin_of_victory = "1 stroke" AND tournament = "the ace group classic" |
What was the margin of victory when the winning score was β9 (72-68-64-67=271)? | CREATE TABLE table_name_84 (margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT margin_of_victory FROM table_name_84 WHERE winning_score = β9(72 - 68 - 64 - 67 = 271) |
What is the average round for te position? | CREATE TABLE table_name_65 (round INTEGER, position VARCHAR) | SELECT AVG(round) FROM table_name_65 WHERE position = "te" |
Name the average overall for james davis | CREATE TABLE table_name_91 (overall INTEGER, player VARCHAR) | SELECT AVG(overall) FROM table_name_91 WHERE player = "james davis" |
Name the most overall for james davis and round more than 5 | CREATE TABLE table_name_89 (overall INTEGER, player VARCHAR, round VARCHAR) | SELECT MAX(overall) FROM table_name_89 WHERE player = "james davis" AND round > 5 |
Name the total number of overall for villanova and round less than 2 | CREATE TABLE table_name_20 (overall VARCHAR, college VARCHAR, round VARCHAR) | SELECT COUNT(overall) FROM table_name_20 WHERE college = "villanova" AND round < 2 |
Which state is Mount Chiginagak located in? | CREATE TABLE table_name_8 (state VARCHAR, mountain_peak VARCHAR) | SELECT state FROM table_name_8 WHERE mountain_peak = "mount chiginagak" |
What were the circumstances for the Baghlan location? | CREATE TABLE table_name_62 (circumstances VARCHAR, location VARCHAR) | SELECT circumstances FROM table_name_62 WHERE location = "baghlan" |
What were the casualties in the Baghlan location? | CREATE TABLE table_name_64 (casualties VARCHAR, location VARCHAR) | SELECT casualties FROM table_name_64 WHERE location = "baghlan" |
What was the date of natural cause situation? | CREATE TABLE table_name_12 (date VARCHAR, circumstances VARCHAR) | SELECT date FROM table_name_12 WHERE circumstances = "natural cause" |
Which Gold Coast has a Perth of no, a Sydney of yes, and an Auckland of yes? | CREATE TABLE table_name_49 (gold_coast VARCHAR, auckland VARCHAR, perth VARCHAR, sydney VARCHAR) | SELECT gold_coast FROM table_name_49 WHERE perth = "no" AND sydney = "yes" AND auckland = "yes" |
Which Melbourne has an Auckland of no, and a Gold Coast of no? | CREATE TABLE table_name_14 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR) | SELECT melbourne FROM table_name_14 WHERE auckland = "no" AND gold_coast = "no" |
Which Adelaide has a Melbourne of yes, an Auckland of yes, and a Perth of yes? | CREATE TABLE table_name_2 (adelaide VARCHAR, perth VARCHAR, melbourne VARCHAR, auckland VARCHAR) | SELECT adelaide FROM table_name_2 WHERE melbourne = "yes" AND auckland = "yes" AND perth = "yes" |
Which Sydney has a Perth of no, a Melbourne of yes, and a Gold Coast of no? | CREATE TABLE table_name_27 (sydney VARCHAR, gold_coast VARCHAR, perth VARCHAR, melbourne VARCHAR) | SELECT sydney FROM table_name_27 WHERE perth = "no" AND melbourne = "yes" AND gold_coast = "no" |
Which Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney of yes? | CREATE TABLE table_name_1 (auckland VARCHAR, sydney VARCHAR, adelaide VARCHAR, melbourne VARCHAR) | SELECT auckland FROM table_name_1 WHERE adelaide = "no" AND melbourne = "yes" AND sydney = "yes" |
Which Adelaide has an Auckland of yes, a Melbourne of yes, a Perth of yes, and a Sydney of cancelled? | CREATE TABLE table_name_39 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR) | SELECT adelaide FROM table_name_39 WHERE auckland = "yes" AND melbourne = "yes" AND perth = "yes" AND sydney = "cancelled" |
Who is the owner of RSS Racing that driver Ryan Sieg belongs to? | CREATE TABLE table_name_75 (owner_s_ VARCHAR, team VARCHAR, driver_s_ VARCHAR) | SELECT owner_s_ FROM table_name_75 WHERE team = "rss racing" AND driver_s_ = "ryan sieg" |
Parts Plus sponsors what driver? | CREATE TABLE table_name_21 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR) | SELECT driver_s_ FROM table_name_21 WHERE primary_sponsor_s_ = "parts plus" |
Who is the owner of NTS Motorsports sponsored by Qore-24? | CREATE TABLE table_name_61 (owner_s_ VARCHAR, team VARCHAR, primary_sponsor_s_ VARCHAR) | SELECT owner_s_ FROM table_name_61 WHERE team = "nts motorsports" AND primary_sponsor_s_ = "qore-24" |
Who is the crew chief, of driver Matt kurzejewski? | CREATE TABLE table_name_27 (crew_chief VARCHAR, driver_s_ VARCHAR) | SELECT crew_chief FROM table_name_27 WHERE driver_s_ = "matt kurzejewski" |
Who is the driver that has a crew chief Gary Ritter? | CREATE TABLE table_name_18 (driver_s_ VARCHAR, crew_chief VARCHAR) | SELECT driver_s_ FROM table_name_18 WHERE crew_chief = "gary ritter" |
what is the award for the 2009 songwriter of the year? | CREATE TABLE table_name_24 (award VARCHAR, year VARCHAR, category VARCHAR) | SELECT award FROM table_name_24 WHERE year = 2009 AND category = "songwriter of the year" |
what is the category that has the people's choice awards? | CREATE TABLE table_name_38 (category VARCHAR, award VARCHAR) | SELECT category FROM table_name_38 WHERE award = "people's choice awards" |
what year has general nominated in the category or choice breakthrough artist? | CREATE TABLE table_name_77 (year VARCHAR, nominated_work VARCHAR, category VARCHAR) | SELECT COUNT(year) FROM table_name_77 WHERE nominated_work = "general" AND category = "choice breakthrough artist" |
What was the score on 6 February 2008? | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_35 WHERE date = "6 february 2008" |
Which competition was held on 14 November 2012? | CREATE TABLE table_name_41 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_41 WHERE date = "14 november 2012" |
What competition took place on 10 August 2011? | CREATE TABLE table_name_85 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_85 WHERE date = "10 august 2011" |
What is the average Year with Chassis equalling cooper t60? | CREATE TABLE table_name_49 (year INTEGER, chassis VARCHAR) | SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60" |
Which Chassis has an Entrant of cooper car company, and a Year of 1963? | CREATE TABLE table_name_26 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_26 WHERE entrant = "cooper car company" AND year = 1963 |
Which Entrant has an Engine of climax straight-4, and Points larger than 0? | CREATE TABLE table_name_44 (entrant VARCHAR, engine VARCHAR, points VARCHAR) | SELECT entrant FROM table_name_44 WHERE engine = "climax straight-4" AND points > 0 |
Which tournament has hard as the surface and apr. 12, 1998 as the date? | CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_78 WHERE surface = "hard" AND date = "apr. 12, 1998" |
Which surface has wynne prakusya as the opponent in the final? | CREATE TABLE table_name_51 (surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT surface FROM table_name_51 WHERE opponent_in_the_final = "wynne prakusya" |
What score has wynne prakusya as the opponent in the final? | CREATE TABLE table_name_15 (score VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_15 WHERE opponent_in_the_final = "wynne prakusya" |
What tournament has nov. 21, 1999 as the date? | CREATE TABLE table_name_79 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_79 WHERE date = "nov. 21, 1999" |
Name the authority for coed gender and chanel college | CREATE TABLE table_name_67 (authority VARCHAR, gender VARCHAR, name VARCHAR) | SELECT authority FROM table_name_67 WHERE gender = "coed" AND name = "chanel college" |
Name the average decile for state authority and area of fernridge | CREATE TABLE table_name_62 (decile INTEGER, authority VARCHAR, area VARCHAR) | SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND area = "fernridge" |
What was the week on October 11, 1998? | CREATE TABLE table_name_48 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_48 WHERE date = "october 11, 1998" |
What is the location of the game with attendance of 63,336? | CREATE TABLE table_name_93 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_93 WHERE attendance = "63,336" |
What was the date of the week 13 game? | CREATE TABLE table_name_96 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_96 WHERE week = 13 |
What is the Panthers' Division Record? | CREATE TABLE table_name_48 (division_record VARCHAR, team VARCHAR) | SELECT division_record FROM table_name_48 WHERE team = "panthers" |
What is the Senators' division record? | CREATE TABLE table_name_39 (division_record VARCHAR, team VARCHAR) | SELECT division_record FROM table_name_39 WHERE team = "senators" |
What was the record after the January 18 game? | CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_86 WHERE date = "january 18" |
What was the record after the January 6 game? | CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_44 WHERE date = "january 6" |
Name the former name for 49 rank | CREATE TABLE table_name_79 (Former VARCHAR, rank VARCHAR) | SELECT Former AS name FROM table_name_79 WHERE rank = 49 |
Which NHL team has left wing listed as the position? | CREATE TABLE table_name_66 (nhl_team VARCHAR, position VARCHAR) | SELECT nhl_team FROM table_name_66 WHERE position = "left wing" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.