text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
What electorate does Member dingley brittin category:articles with hcards represent?
### CONTEXT
CREATE TABLE table_name_37 (electorate VARCHAR, member VARCHAR)
### ANSWER
SELECT electorate FROM table_name_37 WHERE member = "dingley brittin category:articles with hcards" | {
"answer": "SELECT electorate FROM table_name_37 WHERE member = \"dingley brittin category:articles with hcards\"",
"context": "CREATE TABLE table_name_37 (electorate VARCHAR, member VARCHAR)",
"question": "What electorate does Member dingley brittin category:articles with hcards represent?"
} |
### QUESTION
Find the start and end dates of detentions of teachers with last name "Schultz".
### CONTEXT
CREATE TABLE Detention (datetime_detention_start VARCHAR, teacher_id VARCHAR); CREATE TABLE Teachers (teacher_id VARCHAR, last_name VARCHAR)
### ANSWER
SELECT T1.datetime_detention_start, datetime_detention_end FROM Detention AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = "Schultz" | {
"answer": "SELECT T1.datetime_detention_start, datetime_detention_end FROM Detention AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = \"Schultz\"",
"context": "CREATE TABLE Detention (datetime_detention_start VARCHAR, teacher_id VARCHAR); CREATE TABLE Teachers (teacher_id VARCHAR, last_name VARCHAR)",
"question": "Find the start and end dates of detentions of teachers with last name \"Schultz\"."
} |
### QUESTION
Name the date successor seated for delegate seat established
### CONTEXT
CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR)
### ANSWER
SELECT date_successor_seated FROM table_224837_4 WHERE reason_for_change = "Delegate seat established" | {
"answer": "SELECT date_successor_seated FROM table_224837_4 WHERE reason_for_change = \"Delegate seat established\"",
"context": "CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR)",
"question": "Name the date successor seated for delegate seat established"
} |
### QUESTION
Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller?
### CONTEXT
CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR)
### ANSWER
SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller" | {
"answer": "SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = \"blake miller\"",
"context": "CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR)",
"question": "Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller?"
} |
### QUESTION
What was the 1st leg when team 2 was nov milenium?
### CONTEXT
CREATE TABLE table_name_7 (team_2 VARCHAR)
### ANSWER
SELECT 1 AS st_leg FROM table_name_7 WHERE team_2 = "nov milenium" | {
"answer": "SELECT 1 AS st_leg FROM table_name_7 WHERE team_2 = \"nov milenium\"",
"context": "CREATE TABLE table_name_7 (team_2 VARCHAR)",
"question": "What was the 1st leg when team 2 was nov milenium?"
} |
### QUESTION
Show last names for all student who are on scholarship.
### CONTEXT
CREATE TABLE Student (Lname VARCHAR, StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR, onscholarship VARCHAR)
### ANSWER
SELECT T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.onscholarship = 'Y' | {
"answer": "SELECT T2.Lname FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.onscholarship = 'Y'",
"context": "CREATE TABLE Student (Lname VARCHAR, StuID VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR, onscholarship VARCHAR)",
"question": "Show last names for all student who are on scholarship."
} |
### QUESTION
What player attended avon old farms (ushs-ct)?
### CONTEXT
CREATE TABLE table_2897457_5 (player VARCHAR, college_junior_club_team VARCHAR)
### ANSWER
SELECT player FROM table_2897457_5 WHERE college_junior_club_team = "Avon Old Farms (USHS-CT)" | {
"answer": "SELECT player FROM table_2897457_5 WHERE college_junior_club_team = \"Avon Old Farms (USHS-CT)\"",
"context": "CREATE TABLE table_2897457_5 (player VARCHAR, college_junior_club_team VARCHAR)",
"question": "What player attended avon old farms (ushs-ct)?"
} |
### QUESTION
Name the number of high rebounds for l 92–96 (ot)
### CONTEXT
CREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR)
### ANSWER
SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = "L 92–96 (OT)" | {
"answer": "SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = \"L 92–96 (OT)\"",
"context": "CREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR)",
"question": "Name the number of high rebounds for l 92–96 (ot)"
} |
### QUESTION
What is the average Year with a Veritas rs chassis and more than 0 points?
### CONTEXT
CREATE TABLE table_name_73 (year INTEGER, chassis VARCHAR, points VARCHAR)
### ANSWER
SELECT AVG(year) FROM table_name_73 WHERE chassis = "veritas rs" AND points > 0 | {
"answer": "SELECT AVG(year) FROM table_name_73 WHERE chassis = \"veritas rs\" AND points > 0",
"context": "CREATE TABLE table_name_73 (year INTEGER, chassis VARCHAR, points VARCHAR)",
"question": "What is the average Year with a Veritas rs chassis and more than 0 points?"
} |
### QUESTION
What is the highest pick of the back player from round 28?
### CONTEXT
CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, round VARCHAR)
### ANSWER
SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 28 | {
"answer": "SELECT MAX(pick) FROM table_name_42 WHERE position = \"back\" AND round = 28",
"context": "CREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, round VARCHAR)",
"question": "What is the highest pick of the back player from round 28?"
} |
### QUESTION
What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀?
### CONTEXT
CREATE TABLE table_name_47 (portfolio_attachment VARCHAR, age_at_appointment VARCHAR, chinese_name VARCHAR)
### ANSWER
SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chinese_name = "梁鳳儀" | {
"answer": "SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chinese_name = \"梁鳳儀\"",
"context": "CREATE TABLE table_name_47 (portfolio_attachment VARCHAR, age_at_appointment VARCHAR, chinese_name VARCHAR)",
"question": "What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀?"
} |
### QUESTION
What Gaelic Athletic Association stadium is located in Carrick-on-Shannon?
### CONTEXT
CREATE TABLE table_name_72 (stadium VARCHAR, location VARCHAR)
### ANSWER
SELECT stadium FROM table_name_72 WHERE location = "carrick-on-shannon" | {
"answer": "SELECT stadium FROM table_name_72 WHERE location = \"carrick-on-shannon\"",
"context": "CREATE TABLE table_name_72 (stadium VARCHAR, location VARCHAR)",
"question": "What Gaelic Athletic Association stadium is located in Carrick-on-Shannon?"
} |
### QUESTION
Which event has Toa Naketoatama as an opponent?
### CONTEXT
CREATE TABLE table_name_92 (event VARCHAR, opponent VARCHAR)
### ANSWER
SELECT event FROM table_name_92 WHERE opponent = "toa naketoatama" | {
"answer": "SELECT event FROM table_name_92 WHERE opponent = \"toa naketoatama\"",
"context": "CREATE TABLE table_name_92 (event VARCHAR, opponent VARCHAR)",
"question": "Which event has Toa Naketoatama as an opponent?"
} |
### QUESTION
What is the to par of the golfer with winnings of 40,850 and a score of 72-74-70-70=286?
### CONTEXT
CREATE TABLE table_name_52 (to_par VARCHAR, money___£__ VARCHAR, score VARCHAR)
### ANSWER
SELECT to_par FROM table_name_52 WHERE money___£__ = "40,850" AND score = 72 - 74 - 70 - 70 = 286 | {
"answer": "SELECT to_par FROM table_name_52 WHERE money___£__ = \"40,850\" AND score = 72 - 74 - 70 - 70 = 286",
"context": "CREATE TABLE table_name_52 (to_par VARCHAR, money___£__ VARCHAR, score VARCHAR)",
"question": "What is the to par of the golfer with winnings of 40,850 and a score of 72-74-70-70=286?"
} |
### QUESTION
Which start station had the most trips starting from August? Give me the name and id of the station.
### CONTEXT
CREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR)
### ANSWER
SELECT start_station_name, start_station_id FROM trip WHERE start_date LIKE "8/%" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT start_station_name, start_station_id FROM trip WHERE start_date LIKE \"8/%\" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR)",
"question": "Which start station had the most trips starting from August? Give me the name and id of the station."
} |
### QUESTION
How many students does LORIA ONDERSMA teaches?
### CONTEXT
CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
### ANSWER
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "LORIA" AND T2.lastname = "ONDERSMA" | {
"answer": "SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = \"LORIA\" AND T2.lastname = \"ONDERSMA\"",
"context": "CREATE TABLE list (classroom VARCHAR); CREATE TABLE teachers (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)",
"question": "How many students does LORIA ONDERSMA teaches?"
} |
### QUESTION
Which of the attributes has is cancelable and an answer of yes for bubbles?
### CONTEXT
CREATE TABLE table_name_15 (attribute VARCHAR, cancelable VARCHAR, bubbles VARCHAR)
### ANSWER
SELECT attribute FROM table_name_15 WHERE cancelable = "yes" AND bubbles = "yes" | {
"answer": "SELECT attribute FROM table_name_15 WHERE cancelable = \"yes\" AND bubbles = \"yes\"",
"context": "CREATE TABLE table_name_15 (attribute VARCHAR, cancelable VARCHAR, bubbles VARCHAR)",
"question": "Which of the attributes has is cancelable and an answer of yes for bubbles?"
} |
### QUESTION
What is the away team score for South Melbourne?
### CONTEXT
CREATE TABLE table_name_86 (away_team VARCHAR)
### ANSWER
SELECT away_team AS score FROM table_name_86 WHERE away_team = "south melbourne" | {
"answer": "SELECT away_team AS score FROM table_name_86 WHERE away_team = \"south melbourne\"",
"context": "CREATE TABLE table_name_86 (away_team VARCHAR)",
"question": "What is the away team score for South Melbourne?"
} |
### QUESTION
What is the winning span in the country of England with the name of paul casey?
### CONTEXT
CREATE TABLE table_1953516_1 (winning_span VARCHAR, country VARCHAR, name VARCHAR)
### ANSWER
SELECT winning_span FROM table_1953516_1 WHERE country = "England" AND name = "Paul Casey" | {
"answer": "SELECT winning_span FROM table_1953516_1 WHERE country = \"England\" AND name = \"Paul Casey\"",
"context": "CREATE TABLE table_1953516_1 (winning_span VARCHAR, country VARCHAR, name VARCHAR)",
"question": "What is the winning span in the country of England with the name of paul casey?"
} |
### QUESTION
When was radek necas with less than 2.04 height born?
### CONTEXT
CREATE TABLE table_name_97 (year_born INTEGER, player VARCHAR, height VARCHAR)
### ANSWER
SELECT AVG(year_born) FROM table_name_97 WHERE player = "radek necas" AND height < 2.04 | {
"answer": "SELECT AVG(year_born) FROM table_name_97 WHERE player = \"radek necas\" AND height < 2.04",
"context": "CREATE TABLE table_name_97 (year_born INTEGER, player VARCHAR, height VARCHAR)",
"question": "When was radek necas with less than 2.04 height born?"
} |
### QUESTION
What is the highest number supporting prohibition in British Columbia when the percent opposing is more than 10.8, the percent supporting is less than 72.2, number against is less than 4,756?
### CONTEXT
CREATE TABLE table_name_43 (for_prohibition INTEGER, against_prohibition VARCHAR, jurisdiction VARCHAR, percent_against VARCHAR, percent_for VARCHAR)
### ANSWER
SELECT MAX(for_prohibition) FROM table_name_43 WHERE percent_against > 10.8 AND percent_for < 72.2 AND jurisdiction = "british columbia" AND against_prohibition < 4 OFFSET 756 | {
"answer": "SELECT MAX(for_prohibition) FROM table_name_43 WHERE percent_against > 10.8 AND percent_for < 72.2 AND jurisdiction = \"british columbia\" AND against_prohibition < 4 OFFSET 756",
"context": "CREATE TABLE table_name_43 (for_prohibition INTEGER, against_prohibition VARCHAR, jurisdiction VARCHAR, percent_against VARCHAR, percent_for VARCHAR)",
"question": "What is the highest number supporting prohibition in British Columbia when the percent opposing is more than 10.8, the percent supporting is less than 72.2, number against is less than 4,756?"
} |
### QUESTION
What is the fewest losses for teams with points of 53 and more than 73 goals for?
### CONTEXT
CREATE TABLE table_name_23 (lost INTEGER, points_1 VARCHAR, goals_for VARCHAR)
### ANSWER
SELECT MIN(lost) FROM table_name_23 WHERE points_1 = "53" AND goals_for > 73 | {
"answer": "SELECT MIN(lost) FROM table_name_23 WHERE points_1 = \"53\" AND goals_for > 73",
"context": "CREATE TABLE table_name_23 (lost INTEGER, points_1 VARCHAR, goals_for VARCHAR)",
"question": "What is the fewest losses for teams with points of 53 and more than 73 goals for?"
} |
### QUESTION
What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek?
### CONTEXT
CREATE TABLE table_name_68 (outcome VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
### ANSWER
SELECT outcome FROM table_name_68 WHERE tournament = "lugano , switzerland wta virginia slims" AND opponent_in_the_final = "bonnie gadusek" | {
"answer": "SELECT outcome FROM table_name_68 WHERE tournament = \"lugano , switzerland wta virginia slims\" AND opponent_in_the_final = \"bonnie gadusek\"",
"context": "CREATE TABLE table_name_68 (outcome VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)",
"question": "What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek?"
} |
### QUESTION
Who is performer 4 on episode 3, where Jim Sweeney was performer 1?
### CONTEXT
CREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR)
### ANSWER
SELECT performer_4 FROM table_name_86 WHERE performer_1 = "jim sweeney" AND episode = 3 | {
"answer": "SELECT performer_4 FROM table_name_86 WHERE performer_1 = \"jim sweeney\" AND episode = 3",
"context": "CREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR)",
"question": "Who is performer 4 on episode 3, where Jim Sweeney was performer 1?"
} |
### QUESTION
What is the area of cimahi city?
### CONTEXT
CREATE TABLE table_21734764_1 (area__km²__2005 VARCHAR, administrative_division VARCHAR)
### ANSWER
SELECT area__km²__2005 FROM table_21734764_1 WHERE administrative_division = "Cimahi City" | {
"answer": "SELECT area__km²__2005 FROM table_21734764_1 WHERE administrative_division = \"Cimahi City\"",
"context": "CREATE TABLE table_21734764_1 (area__km²__2005 VARCHAR, administrative_division VARCHAR)",
"question": "What is the area of cimahi city?"
} |
### QUESTION
Tell me the time for 6/6/77 release date and song title of way down
### CONTEXT
CREATE TABLE table_name_95 (time VARCHAR, release_date VARCHAR, song_title VARCHAR)
### ANSWER
SELECT time FROM table_name_95 WHERE release_date = "6/6/77" AND song_title = "way down" | {
"answer": "SELECT time FROM table_name_95 WHERE release_date = \"6/6/77\" AND song_title = \"way down\"",
"context": "CREATE TABLE table_name_95 (time VARCHAR, release_date VARCHAR, song_title VARCHAR)",
"question": "Tell me the time for 6/6/77 release date and song title of way down"
} |
### QUESTION
What is the mean round number for center position when the pick number is less than 23?
### CONTEXT
CREATE TABLE table_name_39 (round INTEGER, position VARCHAR, pick__number VARCHAR)
### ANSWER
SELECT AVG(round) FROM table_name_39 WHERE position = "center" AND pick__number < 23 | {
"answer": "SELECT AVG(round) FROM table_name_39 WHERE position = \"center\" AND pick__number < 23",
"context": "CREATE TABLE table_name_39 (round INTEGER, position VARCHAR, pick__number VARCHAR)",
"question": "What is the mean round number for center position when the pick number is less than 23?"
} |
### QUESTION
What time is MDT when EDT is set and PDT is 6:00 a.m.?
### CONTEXT
CREATE TABLE table_name_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR)
### ANSWER
SELECT mdt___6_utc_ FROM table_name_58 WHERE edt___4_utc_ = "set" AND pdt___7_utc_ = "6:00 a.m." | {
"answer": "SELECT mdt___6_utc_ FROM table_name_58 WHERE edt___4_utc_ = \"set\" AND pdt___7_utc_ = \"6:00 a.m.\"",
"context": "CREATE TABLE table_name_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR)",
"question": "What time is MDT when EDT is set and PDT is 6:00 a.m.?"
} |
### QUESTION
What was the length of the jumper representing FIN, in meters?
### CONTEXT
CREATE TABLE table_14407512_4 (nationality VARCHAR)
### ANSWER
SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = "FIN" | {
"answer": "SELECT 1 AS st__m_ FROM table_14407512_4 WHERE nationality = \"FIN\"",
"context": "CREATE TABLE table_14407512_4 (nationality VARCHAR)",
"question": "What was the length of the jumper representing FIN, in meters?"
} |
### QUESTION
Where's the first round that southern mississippi shows up during the draft?
### CONTEXT
CREATE TABLE table_name_31 (round INTEGER, school_club_team VARCHAR)
### ANSWER
SELECT MIN(round) FROM table_name_31 WHERE school_club_team = "southern mississippi" | {
"answer": "SELECT MIN(round) FROM table_name_31 WHERE school_club_team = \"southern mississippi\"",
"context": "CREATE TABLE table_name_31 (round INTEGER, school_club_team VARCHAR)",
"question": "Where's the first round that southern mississippi shows up during the draft?"
} |
### QUESTION
What is the largest height when the prominence is 3,118?
### CONTEXT
CREATE TABLE table_name_98 (height__m_ INTEGER, prominence__m_ VARCHAR)
### ANSWER
SELECT MAX(height__m_) FROM table_name_98 WHERE prominence__m_ = 3 OFFSET 118 | {
"answer": "SELECT MAX(height__m_) FROM table_name_98 WHERE prominence__m_ = 3 OFFSET 118",
"context": "CREATE TABLE table_name_98 (height__m_ INTEGER, prominence__m_ VARCHAR)",
"question": "What is the largest height when the prominence is 3,118?"
} |
### QUESTION
What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator?
### CONTEXT
CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR)
### ANSWER
SELECT year_startup FROM table_name_18 WHERE operator = "albian sands" AND project_name = "jackpine mine (ph 2)" | {
"answer": "SELECT year_startup FROM table_name_18 WHERE operator = \"albian sands\" AND project_name = \"jackpine mine (ph 2)\"",
"context": "CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR)",
"question": "What was the startup year for the Jackpine Mine (ph 2) project with an albian sands operator?"
} |
### QUESTION
What district did James O'Connor belong to?
### CONTEXT
CREATE TABLE table_1342451_16 (district VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT district FROM table_1342451_16 WHERE incumbent = "James O'Connor" | {
"answer": "SELECT district FROM table_1342451_16 WHERE incumbent = \"James O'Connor\"",
"context": "CREATE TABLE table_1342451_16 (district VARCHAR, incumbent VARCHAR)",
"question": "What district did James O'Connor belong to?"
} |
### QUESTION
What is the Pressure in hPa (mbar), when Vacuum Range is "medium vacuum"?
### CONTEXT
CREATE TABLE table_name_69 (pressure_in_hpa__mbar_ VARCHAR, vacuum_range VARCHAR)
### ANSWER
SELECT pressure_in_hpa__mbar_ FROM table_name_69 WHERE vacuum_range = "medium vacuum" | {
"answer": "SELECT pressure_in_hpa__mbar_ FROM table_name_69 WHERE vacuum_range = \"medium vacuum\"",
"context": "CREATE TABLE table_name_69 (pressure_in_hpa__mbar_ VARCHAR, vacuum_range VARCHAR)",
"question": "What is the Pressure in hPa (mbar), when Vacuum Range is \"medium vacuum\"?"
} |
### QUESTION
What season was Norwich Union League promoted?
### CONTEXT
CREATE TABLE table_name_22 (season VARCHAR, promoted VARCHAR)
### ANSWER
SELECT season FROM table_name_22 WHERE promoted = "norwich union league" | {
"answer": "SELECT season FROM table_name_22 WHERE promoted = \"norwich union league\"",
"context": "CREATE TABLE table_name_22 (season VARCHAR, promoted VARCHAR)",
"question": "What season was Norwich Union League promoted?"
} |
### QUESTION
List the language used least number of TV Channel. List language and number of TV Channel.
### CONTEXT
CREATE TABLE TV_Channel (LANGUAGE VARCHAR)
### ANSWER
SELECT LANGUAGE, COUNT(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY COUNT(*) LIMIT 1 | {
"answer": "SELECT LANGUAGE, COUNT(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY COUNT(*) LIMIT 1",
"context": "CREATE TABLE TV_Channel (LANGUAGE VARCHAR)",
"question": "List the language used least number of TV Channel. List language and number of TV Channel."
} |
### QUESTION
Which nationality is kitchener rangers (ohl) college/junior/club team?
### CONTEXT
CREATE TABLE table_21721351_18 (nationality VARCHAR, college_junior_club_team VARCHAR)
### ANSWER
SELECT nationality FROM table_21721351_18 WHERE college_junior_club_team = "Kitchener Rangers (OHL)" | {
"answer": "SELECT nationality FROM table_21721351_18 WHERE college_junior_club_team = \"Kitchener Rangers (OHL)\"",
"context": "CREATE TABLE table_21721351_18 (nationality VARCHAR, college_junior_club_team VARCHAR)",
"question": "Which nationality is kitchener rangers (ohl) college/junior/club team?"
} |
### QUESTION
What year was Otto Passman (d) unopposed first elected?
### CONTEXT
CREATE TABLE table_1341690_18 (first_elected INTEGER, candidates VARCHAR)
### ANSWER
SELECT MAX(first_elected) FROM table_1341690_18 WHERE candidates = "Otto Passman (D) Unopposed" | {
"answer": "SELECT MAX(first_elected) FROM table_1341690_18 WHERE candidates = \"Otto Passman (D) Unopposed\"",
"context": "CREATE TABLE table_1341690_18 (first_elected INTEGER, candidates VARCHAR)",
"question": "What year was Otto Passman (d) unopposed first elected?"
} |
### QUESTION
For End of Fiscal Year(s) with a Debt Held By Public ($Billions) larger than 236.8, and as % of GDP Low-High of 33.4 what is the sum of the number of Gross Debt in $Billions undeflated Treas.?
### CONTEXT
CREATE TABLE table_name_11 (gross_debt_in_ VARCHAR, debt_held_by_public__$billions_ VARCHAR, as__percentage_of_gdp_low_high VARCHAR)
### ANSWER
SELECT COUNT(gross_debt_in_) AS $billions_undeflated_treas FROM table_name_11 WHERE debt_held_by_public__$billions_ > 236.8 AND as__percentage_of_gdp_low_high = "33.4" | {
"answer": "SELECT COUNT(gross_debt_in_) AS $billions_undeflated_treas FROM table_name_11 WHERE debt_held_by_public__$billions_ > 236.8 AND as__percentage_of_gdp_low_high = \"33.4\"",
"context": "CREATE TABLE table_name_11 (gross_debt_in_ VARCHAR, debt_held_by_public__$billions_ VARCHAR, as__percentage_of_gdp_low_high VARCHAR)",
"question": "For End of Fiscal Year(s) with a Debt Held By Public ($Billions) larger than 236.8, and as % of GDP Low-High of 33.4 what is the sum of the number of Gross Debt in $Billions undeflated Treas.?"
} |
### QUESTION
What year was the Album/Song Speaking louder than before?
### CONTEXT
CREATE TABLE table_name_39 (year INTEGER, album___song VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_39 WHERE album___song = "speaking louder than before" | {
"answer": "SELECT SUM(year) FROM table_name_39 WHERE album___song = \"speaking louder than before\"",
"context": "CREATE TABLE table_name_39 (year INTEGER, album___song VARCHAR)",
"question": "What year was the Album/Song Speaking louder than before?"
} |
### QUESTION
What are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances?
### CONTEXT
CREATE TABLE table_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)
### ANSWER
SELECT seasons_by_team FROM table_274117_5 WHERE position = "OL" AND number = 11 | {
"answer": "SELECT seasons_by_team FROM table_274117_5 WHERE position = \"OL\" AND number = 11",
"context": "CREATE TABLE table_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)",
"question": "What are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances? "
} |
### QUESTION
What was the aggregate for Ricky Groves?
### CONTEXT
CREATE TABLE table_25931938_1 (aggregate INTEGER, celebrity VARCHAR)
### ANSWER
SELECT MAX(aggregate) FROM table_25931938_1 WHERE celebrity = "Ricky Groves" | {
"answer": "SELECT MAX(aggregate) FROM table_25931938_1 WHERE celebrity = \"Ricky Groves\"",
"context": "CREATE TABLE table_25931938_1 (aggregate INTEGER, celebrity VARCHAR)",
"question": "What was the aggregate for Ricky Groves?"
} |
### QUESTION
Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?
### CONTEXT
CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)
### ANSWER
SELECT rookie FROM table_name_6 WHERE defensive = "matt vinc" AND offensive = "pat maddalena" | {
"answer": "SELECT rookie FROM table_name_6 WHERE defensive = \"matt vinc\" AND offensive = \"pat maddalena\"",
"context": "CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)",
"question": "Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?"
} |
### QUESTION
What league has a D position, a round smaller than 11 and is with Dennis Vial?
### CONTEXT
CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR)
### ANSWER
SELECT college_junior_club_team__league_ FROM table_name_84 WHERE position = "d" AND round < 11 AND player = "dennis vial" | {
"answer": "SELECT college_junior_club_team__league_ FROM table_name_84 WHERE position = \"d\" AND round < 11 AND player = \"dennis vial\"",
"context": "CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR)",
"question": "What league has a D position, a round smaller than 11 and is with Dennis Vial?"
} |
### QUESTION
What instrumental has tkven-i as the genitive?
### CONTEXT
CREATE TABLE table_name_42 (instrumental VARCHAR, genitive VARCHAR)
### ANSWER
SELECT instrumental FROM table_name_42 WHERE genitive = "tkven-i" | {
"answer": "SELECT instrumental FROM table_name_42 WHERE genitive = \"tkven-i\"",
"context": "CREATE TABLE table_name_42 (instrumental VARCHAR, genitive VARCHAR)",
"question": "What instrumental has tkven-i as the genitive?"
} |
### QUESTION
What A-League has 6 (1) for the finals, and leigh broxham as the name?
### CONTEXT
CREATE TABLE table_name_54 (a_league VARCHAR, finals VARCHAR, name VARCHAR)
### ANSWER
SELECT a_league FROM table_name_54 WHERE finals = "6 (1)" AND name = "leigh broxham" | {
"answer": "SELECT a_league FROM table_name_54 WHERE finals = \"6 (1)\" AND name = \"leigh broxham\"",
"context": "CREATE TABLE table_name_54 (a_league VARCHAR, finals VARCHAR, name VARCHAR)",
"question": "What A-League has 6 (1) for the finals, and leigh broxham as the name?"
} |
### QUESTION
Which Date has an Attendance of 9,535?
### CONTEXT
CREATE TABLE table_name_73 (date VARCHAR, attendance VARCHAR)
### ANSWER
SELECT date FROM table_name_73 WHERE attendance = "9,535" | {
"answer": "SELECT date FROM table_name_73 WHERE attendance = \"9,535\"",
"context": "CREATE TABLE table_name_73 (date VARCHAR, attendance VARCHAR)",
"question": "Which Date has an Attendance of 9,535?"
} |
### QUESTION
The Eastern Creek Raceway circuit is on what date?
### CONTEXT
CREATE TABLE table_name_56 (date VARCHAR, circuit VARCHAR)
### ANSWER
SELECT date FROM table_name_56 WHERE circuit = "eastern creek raceway" | {
"answer": "SELECT date FROM table_name_56 WHERE circuit = \"eastern creek raceway\"",
"context": "CREATE TABLE table_name_56 (date VARCHAR, circuit VARCHAR)",
"question": "The Eastern Creek Raceway circuit is on what date?"
} |
### QUESTION
What are the issue dates of volumes associated with the artist aged 23 or younger?
### CONTEXT
CREATE TABLE volume (Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR)
### ANSWER
SELECT Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age <= 23 | {
"answer": "SELECT Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID = T2.Artist_ID WHERE T1.age <= 23",
"context": "CREATE TABLE volume (Artist_ID VARCHAR); CREATE TABLE artist (Artist_ID VARCHAR, age VARCHAR)",
"question": "What are the issue dates of volumes associated with the artist aged 23 or younger?"
} |
### QUESTION
Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville?
### CONTEXT
CREATE TABLE table_name_79 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR)
### ANSWER
SELECT ihsaa_football_class FROM table_name_79 WHERE ihsaa_class = "aaa" AND location = "nashville" | {
"answer": "SELECT ihsaa_football_class FROM table_name_79 WHERE ihsaa_class = \"aaa\" AND location = \"nashville\"",
"context": "CREATE TABLE table_name_79 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR)",
"question": "Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville?"
} |
### QUESTION
What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )?
### CONTEXT
CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)
### ANSWER
SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Daniel Abt ( 2012 )" | {
"answer": "SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = \"Daniel Abt ( 2012 )\"",
"context": "CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)",
"question": "What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )?"
} |
### QUESTION
Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?
### CONTEXT
CREATE TABLE table_name_61 (year_s__won VARCHAR, country VARCHAR, total VARCHAR, to_par VARCHAR)
### ANSWER
SELECT year_s__won FROM table_name_61 WHERE total > 148 AND to_par < 17 AND country = "new zealand" | {
"answer": "SELECT year_s__won FROM table_name_61 WHERE total > 148 AND to_par < 17 AND country = \"new zealand\"",
"context": "CREATE TABLE table_name_61 (year_s__won VARCHAR, country VARCHAR, total VARCHAR, to_par VARCHAR)",
"question": "Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?"
} |
### QUESTION
What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn money?
### CONTEXT
CREATE TABLE table_name_36 (release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR)
### ANSWER
SELECT release_date FROM table_name_36 WHERE version = "1.0" AND category = "utilities" AND developer = "microsoft" AND title = "msn money" | {
"answer": "SELECT release_date FROM table_name_36 WHERE version = \"1.0\" AND category = \"utilities\" AND developer = \"microsoft\" AND title = \"msn money\"",
"context": "CREATE TABLE table_name_36 (release_date VARCHAR, title VARCHAR, developer VARCHAR, version VARCHAR, category VARCHAR)",
"question": "What Release date has a Version of 1.0, a Category of utilities, a Developer of microsoft, and a Title of msn money?"
} |
### QUESTION
Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14?
### CONTEXT
CREATE TABLE table_name_80 (byes INTEGER, wins VARCHAR, against VARCHAR, ntfa_div_2 VARCHAR)
### ANSWER
SELECT MAX(byes) FROM table_name_80 WHERE against < 1647 AND ntfa_div_2 = "fingal valley" AND wins < 14 | {
"answer": "SELECT MAX(byes) FROM table_name_80 WHERE against < 1647 AND ntfa_div_2 = \"fingal valley\" AND wins < 14",
"context": "CREATE TABLE table_name_80 (byes INTEGER, wins VARCHAR, against VARCHAR, ntfa_div_2 VARCHAR)",
"question": "Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14?"
} |
### QUESTION
For each Orange county campus, report the number of degrees granted after 2000.
### CONTEXT
CREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR); CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year VARCHAR)
### ANSWER
SELECT T1.campus, SUM(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T1.county = "Orange" AND T2.year >= 2000 GROUP BY T1.campus | {
"answer": "SELECT T1.campus, SUM(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T1.county = \"Orange\" AND T2.year >= 2000 GROUP BY T1.campus",
"context": "CREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR); CREATE TABLE degrees (degrees INTEGER, campus VARCHAR, year VARCHAR)",
"question": "For each Orange county campus, report the number of degrees granted after 2000."
} |
### QUESTION
What were the sets when Federer had 6 and a nadal of 13?
### CONTEXT
CREATE TABLE table_name_95 (sets VARCHAR, nadal VARCHAR, federer VARCHAR)
### ANSWER
SELECT sets FROM table_name_95 WHERE nadal = 13 AND federer = 6 | {
"answer": "SELECT sets FROM table_name_95 WHERE nadal = 13 AND federer = 6",
"context": "CREATE TABLE table_name_95 (sets VARCHAR, nadal VARCHAR, federer VARCHAR)",
"question": "What were the sets when Federer had 6 and a nadal of 13?"
} |
### QUESTION
Name the english meaning for engey poringo
### CONTEXT
CREATE TABLE table_name_8 (english_meaning VARCHAR, how_other_tamils_say_it VARCHAR)
### ANSWER
SELECT english_meaning FROM table_name_8 WHERE how_other_tamils_say_it = "engey poringo" | {
"answer": "SELECT english_meaning FROM table_name_8 WHERE how_other_tamils_say_it = \"engey poringo\"",
"context": "CREATE TABLE table_name_8 (english_meaning VARCHAR, how_other_tamils_say_it VARCHAR)",
"question": "Name the english meaning for engey poringo"
} |
### QUESTION
When the team classification was quick step, what was the total number of general classifications?
### CONTEXT
CREATE TABLE table_15294880_2 (general_classification VARCHAR, team_classification VARCHAR)
### ANSWER
SELECT COUNT(general_classification) FROM table_15294880_2 WHERE team_classification = "Quick Step" | {
"answer": "SELECT COUNT(general_classification) FROM table_15294880_2 WHERE team_classification = \"Quick Step\"",
"context": "CREATE TABLE table_15294880_2 (general_classification VARCHAR, team_classification VARCHAR)",
"question": "When the team classification was quick step, what was the total number of general classifications?"
} |
### QUESTION
What is the winning score for the B.C. Open 1 tournament?
### CONTEXT
CREATE TABLE table_name_40 (winning_score VARCHAR, tournament VARCHAR)
### ANSWER
SELECT winning_score FROM table_name_40 WHERE tournament = "b.c. open 1" | {
"answer": "SELECT winning_score FROM table_name_40 WHERE tournament = \"b.c. open 1\"",
"context": "CREATE TABLE table_name_40 (winning_score VARCHAR, tournament VARCHAR)",
"question": "What is the winning score for the B.C. Open 1 tournament?"
} |
### QUESTION
How big (in km2) is the district with a code BW?
### CONTEXT
CREATE TABLE table_2801442_1 (area__km²_ INTEGER, code VARCHAR)
### ANSWER
SELECT MIN(area__km²_) FROM table_2801442_1 WHERE code = "BW" | {
"answer": "SELECT MIN(area__km²_) FROM table_2801442_1 WHERE code = \"BW\"",
"context": "CREATE TABLE table_2801442_1 (area__km²_ INTEGER, code VARCHAR)",
"question": "How big (in km2) is the district with a code BW?"
} |
### QUESTION
How many times has the playoff been 1 in the contest for the afc cup?
### CONTEXT
CREATE TABLE table_14460937_1 (afc_cup VARCHAR, play_off VARCHAR)
### ANSWER
SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE play_off = 1 | {
"answer": "SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE play_off = 1",
"context": "CREATE TABLE table_14460937_1 (afc_cup VARCHAR, play_off VARCHAR)",
"question": "How many times has the playoff been 1 in the contest for the afc cup?"
} |
### QUESTION
Radio Station/Production Company that has a Role of interviewee & monologues is what radio station?
### CONTEXT
CREATE TABLE table_name_73 (radio_station_production_company VARCHAR, role VARCHAR)
### ANSWER
SELECT radio_station_production_company FROM table_name_73 WHERE role = "interviewee & monologues" | {
"answer": "SELECT radio_station_production_company FROM table_name_73 WHERE role = \"interviewee & monologues\"",
"context": "CREATE TABLE table_name_73 (radio_station_production_company VARCHAR, role VARCHAR)",
"question": "Radio Station/Production Company that has a Role of interviewee & monologues is what radio station?"
} |
### QUESTION
Who was champion in 2005 where the semi-finalist was #1 in western Carolina?
### CONTEXT
CREATE TABLE table_name_36 (champion VARCHAR, year VARCHAR, semi_finalist__number1 VARCHAR)
### ANSWER
SELECT champion FROM table_name_36 WHERE year = 2005 AND semi_finalist__number1 = "western carolina" | {
"answer": "SELECT champion FROM table_name_36 WHERE year = 2005 AND semi_finalist__number1 = \"western carolina\"",
"context": "CREATE TABLE table_name_36 (champion VARCHAR, year VARCHAR, semi_finalist__number1 VARCHAR)",
"question": "Who was champion in 2005 where the semi-finalist was #1 in western Carolina?"
} |
### QUESTION
How big was the crowd when Geelong was the home team?
### CONTEXT
CREATE TABLE table_name_96 (crowd VARCHAR, home_team VARCHAR)
### ANSWER
SELECT COUNT(crowd) FROM table_name_96 WHERE home_team = "geelong" | {
"answer": "SELECT COUNT(crowd) FROM table_name_96 WHERE home_team = \"geelong\"",
"context": "CREATE TABLE table_name_96 (crowd VARCHAR, home_team VARCHAR)",
"question": "How big was the crowd when Geelong was the home team?"
} |
### QUESTION
What is the location of the Conquista Fight 1?
### CONTEXT
CREATE TABLE table_name_11 (location VARCHAR, event VARCHAR)
### ANSWER
SELECT location FROM table_name_11 WHERE event = "conquista fight 1" | {
"answer": "SELECT location FROM table_name_11 WHERE event = \"conquista fight 1\"",
"context": "CREATE TABLE table_name_11 (location VARCHAR, event VARCHAR)",
"question": "What is the location of the Conquista Fight 1?"
} |
### QUESTION
What is Name, when Weight is "kg (lb)", when Club is "Gezira", and when Date of Birth is "1974-02-18"?
### CONTEXT
CREATE TABLE table_name_83 (name VARCHAR, date_of_birth VARCHAR, weight VARCHAR, club VARCHAR)
### ANSWER
SELECT name FROM table_name_83 WHERE weight = "kg (lb)" AND club = "gezira" AND date_of_birth = "1974-02-18" | {
"answer": "SELECT name FROM table_name_83 WHERE weight = \"kg (lb)\" AND club = \"gezira\" AND date_of_birth = \"1974-02-18\"",
"context": "CREATE TABLE table_name_83 (name VARCHAR, date_of_birth VARCHAR, weight VARCHAR, club VARCHAR)",
"question": "What is Name, when Weight is \"kg (lb)\", when Club is \"Gezira\", and when Date of Birth is \"1974-02-18\"?"
} |
### QUESTION
How many wins were in the PGA Championship when there were more than 10 events?
### CONTEXT
CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR)
### ANSWER
SELECT COUNT(wins) FROM table_name_55 WHERE tournament = "pga championship" AND events > 10 | {
"answer": "SELECT COUNT(wins) FROM table_name_55 WHERE tournament = \"pga championship\" AND events > 10",
"context": "CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR)",
"question": "How many wins were in the PGA Championship when there were more than 10 events?"
} |
### QUESTION
What was the decile of Samuel Marsden Collegiate School in Whitby, when it had a roll higher than 163?
### CONTEXT
CREATE TABLE table_name_55 (decile VARCHAR, roll VARCHAR, area VARCHAR, name VARCHAR)
### ANSWER
SELECT COUNT(decile) FROM table_name_55 WHERE area = "whitby" AND name = "samuel marsden collegiate school" AND roll > 163 | {
"answer": "SELECT COUNT(decile) FROM table_name_55 WHERE area = \"whitby\" AND name = \"samuel marsden collegiate school\" AND roll > 163",
"context": "CREATE TABLE table_name_55 (decile VARCHAR, roll VARCHAR, area VARCHAR, name VARCHAR)",
"question": "What was the decile of Samuel Marsden Collegiate School in Whitby, when it had a roll higher than 163?"
} |
### QUESTION
College of san diego state, and a Pick # smaller than 30 has what lowest overall?
### CONTEXT
CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
### ANSWER
SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30 | {
"answer": "SELECT MIN(overall) FROM table_name_46 WHERE college = \"san diego state\" AND pick__number < 30",
"context": "CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)",
"question": "College of san diego state, and a Pick # smaller than 30 has what lowest overall?"
} |
### QUESTION
What is Date, when Location is Polo Grounds, when Winner is Philadelphia Eagles, and when Year is 1948?
### CONTEXT
CREATE TABLE table_name_70 (date VARCHAR, year VARCHAR, location VARCHAR, winner VARCHAR)
### ANSWER
SELECT date FROM table_name_70 WHERE location = "polo grounds" AND winner = "philadelphia eagles" AND year = 1948 | {
"answer": "SELECT date FROM table_name_70 WHERE location = \"polo grounds\" AND winner = \"philadelphia eagles\" AND year = 1948",
"context": "CREATE TABLE table_name_70 (date VARCHAR, year VARCHAR, location VARCHAR, winner VARCHAR)",
"question": "What is Date, when Location is Polo Grounds, when Winner is Philadelphia Eagles, and when Year is 1948?"
} |
### QUESTION
Which League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0?
### CONTEXT
CREATE TABLE table_name_93 (league_cup_goals INTEGER, scorer VARCHAR, fa_cup_goals VARCHAR)
### ANSWER
SELECT MAX(league_cup_goals) FROM table_name_93 WHERE scorer = "ken houghton" AND fa_cup_goals < 0 | {
"answer": "SELECT MAX(league_cup_goals) FROM table_name_93 WHERE scorer = \"ken houghton\" AND fa_cup_goals < 0",
"context": "CREATE TABLE table_name_93 (league_cup_goals INTEGER, scorer VARCHAR, fa_cup_goals VARCHAR)",
"question": "Which League Cup goals have a Scorer of ken houghton, and an FA Cup goals smaller than 0?"
} |
### QUESTION
Where did Tyler Haws, 2009 Utah Mr. Basketball, go to high school?
### CONTEXT
CREATE TABLE table_name_89 (high_school VARCHAR, utah_mr_basketball VARCHAR, year VARCHAR)
### ANSWER
SELECT high_school FROM table_name_89 WHERE utah_mr_basketball = "tyler haws" AND year = 2009 | {
"answer": "SELECT high_school FROM table_name_89 WHERE utah_mr_basketball = \"tyler haws\" AND year = 2009",
"context": "CREATE TABLE table_name_89 (high_school VARCHAR, utah_mr_basketball VARCHAR, year VARCHAR)",
"question": "Where did Tyler Haws, 2009 Utah Mr. Basketball, go to high school?"
} |
### QUESTION
Name the highest Parallel Bars of the united states with a Vault smaller than 63.85?
### CONTEXT
CREATE TABLE table_name_61 (parallel_bars INTEGER, country VARCHAR, vault VARCHAR)
### ANSWER
SELECT MAX(parallel_bars) FROM table_name_61 WHERE country = "united states" AND vault < 63.85 | {
"answer": "SELECT MAX(parallel_bars) FROM table_name_61 WHERE country = \"united states\" AND vault < 63.85",
"context": "CREATE TABLE table_name_61 (parallel_bars INTEGER, country VARCHAR, vault VARCHAR)",
"question": "Name the highest Parallel Bars of the united states with a Vault smaller than 63.85?"
} |
### QUESTION
Who drove the maserati under 18 laps with an oil leak that had a grid of under 14?
### CONTEXT
CREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)
### ANSWER
SELECT driver FROM table_name_34 WHERE constructor = "maserati" AND laps < 18 AND grid < 14 AND time_retired = "oil leak" | {
"answer": "SELECT driver FROM table_name_34 WHERE constructor = \"maserati\" AND laps < 18 AND grid < 14 AND time_retired = \"oil leak\"",
"context": "CREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)",
"question": "Who drove the maserati under 18 laps with an oil leak that had a grid of under 14?"
} |
### QUESTION
Which constructor had a grid number bigger than 14, laps of more than 93, and rank higher than 25?
### CONTEXT
CREATE TABLE table_name_2 (constructor VARCHAR, rank VARCHAR, grid VARCHAR, laps VARCHAR)
### ANSWER
SELECT constructor FROM table_name_2 WHERE grid > 14 AND laps > 93 AND rank > 25 | {
"answer": "SELECT constructor FROM table_name_2 WHERE grid > 14 AND laps > 93 AND rank > 25",
"context": "CREATE TABLE table_name_2 (constructor VARCHAR, rank VARCHAR, grid VARCHAR, laps VARCHAR)",
"question": "Which constructor had a grid number bigger than 14, laps of more than 93, and rank higher than 25?"
} |
### QUESTION
What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?
### CONTEXT
CREATE TABLE table_name_10 (others VARCHAR, szdsz VARCHAR, fidesz VARCHAR)
### ANSWER
SELECT others FROM table_name_10 WHERE szdsz = "4%" AND fidesz = "60%" | {
"answer": "SELECT others FROM table_name_10 WHERE szdsz = \"4%\" AND fidesz = \"60%\"",
"context": "CREATE TABLE table_name_10 (others VARCHAR, szdsz VARCHAR, fidesz VARCHAR)",
"question": "What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?"
} |
### QUESTION
What is the score of the United States, which has more than $24,542?
### CONTEXT
CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR)
### ANSWER
SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542 | {
"answer": "SELECT score FROM table_name_21 WHERE country = \"united states\" AND money___$__ > 24 OFFSET 542",
"context": "CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR)",
"question": "What is the score of the United States, which has more than $24,542?"
} |
### QUESTION
What are the ids, names and genders of the architects who built two bridges or one mill?
### CONTEXT
CREATE TABLE mill (architect_id VARCHAR); CREATE TABLE architect (id VARCHAR, name VARCHAR, gender VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)
### ANSWER
SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 2 UNION SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 1 | {
"answer": "SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 2 UNION SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 1",
"context": "CREATE TABLE mill (architect_id VARCHAR); CREATE TABLE architect (id VARCHAR, name VARCHAR, gender VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)",
"question": "What are the ids, names and genders of the architects who built two bridges or one mill?"
} |
### QUESTION
Find the emails of customers who has filed a complaints of the product with the most complaints.
### CONTEXT
CREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR)
### ANSWER
SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id ORDER BY COUNT(*) LIMIT 1 | {
"answer": "SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id ORDER BY COUNT(*) LIMIT 1",
"context": "CREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR)",
"question": "Find the emails of customers who has filed a complaints of the product with the most complaints."
} |
### QUESTION
How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema?
### CONTEXT
CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR, producer VARCHAR, director VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_94 WHERE producer = "star cinema" AND director = "rory quintos" AND title = "kay tagal kang hinintay" | {
"answer": "SELECT COUNT(year) FROM table_name_94 WHERE producer = \"star cinema\" AND director = \"rory quintos\" AND title = \"kay tagal kang hinintay\"",
"context": "CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR, producer VARCHAR, director VARCHAR)",
"question": "How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema?"
} |
### QUESTION
What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten?
### CONTEXT
CREATE TABLE table_name_83 (social_ao VARCHAR, external_co VARCHAR, internal_co VARCHAR)
### ANSWER
SELECT social_ao FROM table_name_83 WHERE external_co = "simonas savickas" AND internal_co = "pieter kuijsten" | {
"answer": "SELECT social_ao FROM table_name_83 WHERE external_co = \"simonas savickas\" AND internal_co = \"pieter kuijsten\"",
"context": "CREATE TABLE table_name_83 (social_ao VARCHAR, external_co VARCHAR, internal_co VARCHAR)",
"question": "What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten?"
} |
### QUESTION
In the Indianapolis Sweepstakes race session, what is the championship?
### CONTEXT
CREATE TABLE table_name_72 (championship VARCHAR, session VARCHAR, event VARCHAR)
### ANSWER
SELECT championship FROM table_name_72 WHERE session = "race" AND event = "indianapolis sweepstakes" | {
"answer": "SELECT championship FROM table_name_72 WHERE session = \"race\" AND event = \"indianapolis sweepstakes\"",
"context": "CREATE TABLE table_name_72 (championship VARCHAR, session VARCHAR, event VARCHAR)",
"question": "In the Indianapolis Sweepstakes race session, what is the championship?"
} |
### QUESTION
What are the names of body builders in descending order of total scores?
### CONTEXT
CREATE TABLE body_builder (People_ID VARCHAR, Total VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
### ANSWER
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC | {
"answer": "SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC",
"context": "CREATE TABLE body_builder (People_ID VARCHAR, Total VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)",
"question": "What are the names of body builders in descending order of total scores?"
} |
### QUESTION
What is the total of Final year that has a Notes of replaced by i-96?
### CONTEXT
CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR)
### ANSWER
SELECT SUM(final_year) FROM table_name_15 WHERE notes = "replaced by i-96" | {
"answer": "SELECT SUM(final_year) FROM table_name_15 WHERE notes = \"replaced by i-96\"",
"context": "CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR)",
"question": "What is the total of Final year that has a Notes of replaced by i-96?"
} |
### QUESTION
Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?
### CONTEXT
CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, fm_winning_team VARCHAR, hm_winning_team VARCHAR)
### ANSWER
SELECT ep_winning_team FROM table_29225103_2 WHERE fm_winning_team = "Brabham - Ford" AND hm_winning_team = "Osca" | {
"answer": "SELECT ep_winning_team FROM table_29225103_2 WHERE fm_winning_team = \"Brabham - Ford\" AND hm_winning_team = \"Osca\"",
"context": "CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, fm_winning_team VARCHAR, hm_winning_team VARCHAR)",
"question": "Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?"
} |
### QUESTION
What date did the New York Giants play as a visiting team?
### CONTEXT
CREATE TABLE table_name_34 (date VARCHAR, visiting_team VARCHAR)
### ANSWER
SELECT date FROM table_name_34 WHERE visiting_team = "new york giants" | {
"answer": "SELECT date FROM table_name_34 WHERE visiting_team = \"new york giants\"",
"context": "CREATE TABLE table_name_34 (date VARCHAR, visiting_team VARCHAR)",
"question": "What date did the New York Giants play as a visiting team?"
} |
### QUESTION
What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket?
### CONTEXT
CREATE TABLE table_name_8 (office VARCHAR, socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)
### ANSWER
SELECT office FROM table_name_8 WHERE socialist_labor_ticket = "(none)" AND liberal_ticket = "stanley h. fuld" | {
"answer": "SELECT office FROM table_name_8 WHERE socialist_labor_ticket = \"(none)\" AND liberal_ticket = \"stanley h. fuld\"",
"context": "CREATE TABLE table_name_8 (office VARCHAR, socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)",
"question": "What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket?"
} |
### QUESTION
Tell me the year for defensive tackle and college of lsu
### CONTEXT
CREATE TABLE table_name_13 (year VARCHAR, position VARCHAR, college VARCHAR)
### ANSWER
SELECT year FROM table_name_13 WHERE position = "defensive tackle" AND college = "lsu" | {
"answer": "SELECT year FROM table_name_13 WHERE position = \"defensive tackle\" AND college = \"lsu\"",
"context": "CREATE TABLE table_name_13 (year VARCHAR, position VARCHAR, college VARCHAR)",
"question": "Tell me the year for defensive tackle and college of lsu"
} |
### QUESTION
Name the position for brazil 2008 with goals of 0 1
### CONTEXT
CREATE TABLE table_name_6 (position VARCHAR, goals VARCHAR, country VARCHAR, period VARCHAR)
### ANSWER
SELECT position FROM table_name_6 WHERE country = "brazil" AND period = "2008" AND goals = "0 1" | {
"answer": "SELECT position FROM table_name_6 WHERE country = \"brazil\" AND period = \"2008\" AND goals = \"0 1\"",
"context": "CREATE TABLE table_name_6 (position VARCHAR, goals VARCHAR, country VARCHAR, period VARCHAR)",
"question": "Name the position for brazil 2008 with goals of 0 1"
} |
### QUESTION
What year has a original title of "el tinte de la fama"?
### CONTEXT
CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR)
### ANSWER
SELECT year__ceremony_ FROM table_name_81 WHERE original_title = "el tinte de la fama" | {
"answer": "SELECT year__ceremony_ FROM table_name_81 WHERE original_title = \"el tinte de la fama\"",
"context": "CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR)",
"question": "What year has a original title of \"el tinte de la fama\"?"
} |
### QUESTION
Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8?
### CONTEXT
CREATE TABLE table_name_44 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR)
### ANSWER
SELECT SUM(fa_cup) FROM table_name_44 WHERE malaysia_cup > 0 AND total = 8 | {
"answer": "SELECT SUM(fa_cup) FROM table_name_44 WHERE malaysia_cup > 0 AND total = 8",
"context": "CREATE TABLE table_name_44 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR)",
"question": "Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8?"
} |
### QUESTION
What is the percentage for Brown when the lead margin is 26?
### CONTEXT
CREATE TABLE table_name_35 (republican VARCHAR, lead_margin VARCHAR)
### ANSWER
SELECT republican AS :_roy_brown FROM table_name_35 WHERE lead_margin = 26 | {
"answer": "SELECT republican AS :_roy_brown FROM table_name_35 WHERE lead_margin = 26",
"context": "CREATE TABLE table_name_35 (republican VARCHAR, lead_margin VARCHAR)",
"question": "What is the percentage for Brown when the lead margin is 26?"
} |
### QUESTION
what is the number of areas where the townland is brittas?
### CONTEXT
CREATE TABLE table_30120560_1 (area__acres__ VARCHAR, townland VARCHAR)
### ANSWER
SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = "Brittas" | {
"answer": "SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = \"Brittas\"",
"context": "CREATE TABLE table_30120560_1 (area__acres__ VARCHAR, townland VARCHAR)",
"question": "what is the number of areas where the townland is brittas?"
} |
### QUESTION
What is the highest Peroutka with 46 others, and less than 15 electors?
### CONTEXT
CREATE TABLE table_name_69 (peroutka INTEGER, others VARCHAR, electors VARCHAR)
### ANSWER
SELECT MAX(peroutka) FROM table_name_69 WHERE others = 46 AND electors < 15 | {
"answer": "SELECT MAX(peroutka) FROM table_name_69 WHERE others = 46 AND electors < 15",
"context": "CREATE TABLE table_name_69 (peroutka INTEGER, others VARCHAR, electors VARCHAR)",
"question": "What is the highest Peroutka with 46 others, and less than 15 electors?"
} |
### QUESTION
Which Model number has a Front Side Bus of 100mhz, a L2-Cache of 64kib and a Multiplier of 8.5×?
### CONTEXT
CREATE TABLE table_name_98 (model_number VARCHAR, multiplier VARCHAR, front_side_bus VARCHAR, l2_cache VARCHAR)
### ANSWER
SELECT model_number FROM table_name_98 WHERE front_side_bus = "100mhz" AND l2_cache = "64kib" AND multiplier = "8.5×" | {
"answer": "SELECT model_number FROM table_name_98 WHERE front_side_bus = \"100mhz\" AND l2_cache = \"64kib\" AND multiplier = \"8.5×\"",
"context": "CREATE TABLE table_name_98 (model_number VARCHAR, multiplier VARCHAR, front_side_bus VARCHAR, l2_cache VARCHAR)",
"question": "Which Model number has a Front Side Bus of 100mhz, a L2-Cache of 64kib and a Multiplier of 8.5×?"
} |
### QUESTION
find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion.
### CONTEXT
CREATE TABLE company (rank VARCHAR, company VARCHAR, market_value VARCHAR, main_industry VARCHAR, sales_billion VARCHAR, profits_billion VARCHAR)
### ANSWER
SELECT rank, company, market_value FROM company WHERE main_industry = 'Banking' ORDER BY sales_billion, profits_billion | {
"answer": "SELECT rank, company, market_value FROM company WHERE main_industry = 'Banking' ORDER BY sales_billion, profits_billion",
"context": "CREATE TABLE company (rank VARCHAR, company VARCHAR, market_value VARCHAR, main_industry VARCHAR, sales_billion VARCHAR, profits_billion VARCHAR)",
"question": "find the rank, company names, market values of the companies in the banking industry order by their sales and profits in billion."
} |
### QUESTION
Show total hours per week and number of games played for student David Shieber.
### CONTEXT
CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR, Lname VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR)
### ANSWER
SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T2.Fname = "David" AND T2.Lname = "Shieber" | {
"answer": "SELECT SUM(hoursperweek), SUM(gamesplayed) FROM Sportsinfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T2.Fname = \"David\" AND T2.Lname = \"Shieber\"",
"context": "CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR, Lname VARCHAR); CREATE TABLE Sportsinfo (StuID VARCHAR)",
"question": "Show total hours per week and number of games played for student David Shieber."
} |
### QUESTION
Show names of technicians and series of machines they are assigned to repair.
### CONTEXT
CREATE TABLE machine (Machine_series VARCHAR, machine_id VARCHAR); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)
### ANSWER
SELECT T3.Name, T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID | {
"answer": "SELECT T3.Name, T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID",
"context": "CREATE TABLE machine (Machine_series VARCHAR, machine_id VARCHAR); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)",
"question": "Show names of technicians and series of machines they are assigned to repair."
} |
### QUESTION
How many were won when there were 49 points?
### CONTEXT
CREATE TABLE table_17369472_2 (won VARCHAR, points VARCHAR)
### ANSWER
SELECT won FROM table_17369472_2 WHERE points = "49" | {
"answer": "SELECT won FROM table_17369472_2 WHERE points = \"49\"",
"context": "CREATE TABLE table_17369472_2 (won VARCHAR, points VARCHAR)",
"question": "How many were won when there were 49 points? "
} |
### QUESTION
What was the home team's score at junction oval?
### CONTEXT
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT home_team AS score FROM table_name_17 WHERE venue = "junction oval" | {
"answer": "SELECT home_team AS score FROM table_name_17 WHERE venue = \"junction oval\"",
"context": "CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)",
"question": "What was the home team's score at junction oval?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.