answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT SUM(week) FROM table_name_27 WHERE attendance = 47 OFFSET 218 | CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR) | In which week was the attendance 47,218? |
SELECT COUNT(december) FROM table_name_90 WHERE opponent = "calgary flames" | CREATE TABLE table_name_90 (december VARCHAR, opponent VARCHAR) | How many Decembers have calgary flames as the opponent? |
SELECT game FROM table_name_96 WHERE decision = "valiquette" AND opponent = "@ los angeles kings" | CREATE TABLE table_name_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR) | What game has valiquette as the decision, with @ los angeles kings as the opponent? |
SELECT MAX(tf1__number) FROM table_name_95 WHERE official__number > 47 AND air_date__france_ = "13 july 2010" | CREATE TABLE table_name_95 (tf1__number INTEGER, official__number VARCHAR, air_date__france_ VARCHAR) | What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010? |
SELECT venue FROM table_name_4 WHERE round = "sf" | CREATE TABLE table_name_4 (venue VARCHAR, round VARCHAR) | What venue had SF? |
SELECT venue FROM table_name_45 WHERE attendance > 50 OFFSET 715 | CREATE TABLE table_name_45 (venue VARCHAR, attendance INTEGER) | What venue has more than 50,715 attending? |
SELECT round FROM table_name_7 WHERE venue = "a" AND attendance > 14 OFFSET 314 | CREATE TABLE table_name_7 (round VARCHAR, venue VARCHAR, attendance VARCHAR) | What round was at the A venue with a attendance more than 14,314? |
SELECT callsign FROM table_name_34 WHERE branding = "mom's radio 101.9 zamboanga" | CREATE TABLE table_name_34 (callsign VARCHAR, branding VARCHAR) | What's the callsign of Mom's Radio 101.9 Zamboanga? |
SELECT power__kw_ FROM table_name_26 WHERE frequency = "101.5mhz" | CREATE TABLE table_name_26 (power__kw_ VARCHAR, frequency VARCHAR) | What's the power when the frequency is 101.5mhz? |
SELECT location FROM table_name_58 WHERE power__kw_ = "10kw" AND branding = "mom's radio 95.9 naga" | CREATE TABLE table_name_58 (location VARCHAR, power__kw_ VARCHAR, branding VARCHAR) | What's the location of Mom's Radio 95.9 Naga having a power of 10kw? |
SELECT callsign FROM table_name_22 WHERE location = "tacloban" | CREATE TABLE table_name_22 (callsign VARCHAR, location VARCHAR) | What's the callsign in Tacloban? |
SELECT power__kw_ FROM table_name_7 WHERE branding = "mom's radio 101.5 tacloban" | CREATE TABLE table_name_7 (power__kw_ VARCHAR, branding VARCHAR) | What's the power of Mom's Radio 101.5 Tacloban? |
SELECT 1947 AS _nos FROM table_name_55 WHERE br_nos = "48730-9" | CREATE TABLE table_name_55 (br_nos VARCHAR) | Which 1947 Nos has a BR Nos of 48730-9? |
SELECT SUM(losses) FROM table_name_23 WHERE win__percentage = "71.43%" AND no_result > 0 | CREATE TABLE table_name_23 (losses INTEGER, win__percentage VARCHAR, no_result VARCHAR) | What is the number of losses for the game with a win % of 71.43%, and No Result is more than 0? |
SELECT COUNT(wins) FROM table_name_99 WHERE year = "2010" AND matches > 14 | CREATE TABLE table_name_99 (wins VARCHAR, year VARCHAR, matches VARCHAR) | What is the total number of wins in 2010, when there were more than 14 matches? |
SELECT AVG(wins) FROM table_name_94 WHERE matches = 14 AND no_result < 0 | CREATE TABLE table_name_94 (wins INTEGER, matches VARCHAR, no_result VARCHAR) | What is the number of wins when there are 14 matches, and the No Result was less than 0? |
SELECT SUM(losses) FROM table_name_37 WHERE matches = 14 AND no_result > 0 | CREATE TABLE table_name_37 (losses INTEGER, matches VARCHAR, no_result VARCHAR) | What is the number of losses when there were 14 matches, and the No Result was larger than 0? |
SELECT SUM(matches) FROM table_name_56 WHERE wins < 8 AND losses = 7 AND year = "2011" | CREATE TABLE table_name_56 (matches INTEGER, year VARCHAR, wins VARCHAR, losses VARCHAR) | What is the number of matches when the wins are less than 8, and losses of 7, in 2011? |
SELECT year FROM table_name_6 WHERE win__percentage = "50.00%" AND matches > 14 AND wins > 8 | CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR) | What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8? |
SELECT area__km²_ FROM table_name_95 WHERE pop__km² < 0.97 AND _english_ = "east" | CREATE TABLE table_name_95 (area__km²_ VARCHAR, pop__km² VARCHAR, _english_ VARCHAR) | What area has less than 0.97 mil in population and is on the east? |
SELECT area__km²_ FROM table_name_8 WHERE pop__km² = 0.58 | CREATE TABLE table_name_8 (area__km²_ VARCHAR, pop__km² VARCHAR) | What is the area for a population of 0.58 km? |
SELECT method FROM table_name_30 WHERE result = "loss" AND date = "january 19, 2008" | CREATE TABLE table_name_30 (method VARCHAR, result VARCHAR, date VARCHAR) | what is the method when the result is loss on january 19, 2008? |
SELECT date FROM table_name_94 WHERE opponent = "lyoto machida" | CREATE TABLE table_name_94 (date VARCHAR, opponent VARCHAR) | when is the opponent lyoto machida? |
SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 1" | CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR) | who is the opponent when the method is tko (punches) at 4:26 of round 1? |
SELECT tuf_competitor FROM table_name_37 WHERE method = "decision (unanimous)" | CREATE TABLE table_name_37 (tuf_competitor VARCHAR, method VARCHAR) | who is the tuf competitor when the method id decision (unanimous)? |
SELECT opponent FROM table_name_83 WHERE method = "submission (rear naked choke) at 4:02 of round 2" | CREATE TABLE table_name_83 (opponent VARCHAR, method VARCHAR) | who is the opponent when the method is submission (rear naked choke) at 4:02 of round 2? |
SELECT venue FROM table_name_26 WHERE home_team = "melbourne tigers" | CREATE TABLE table_name_26 (venue VARCHAR, home_team VARCHAR) | What is the venue where the melbourne tigers play their home games? |
SELECT home_team FROM table_name_11 WHERE venue = "gold coast convention centre" | CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR) | What team has theoir home games in the venue of gold coast convention centre? |
SELECT Box AS score FROM table_name_79 WHERE score = "103-101" | CREATE TABLE table_name_79 (Box VARCHAR, score VARCHAR) | What is the box score type for the game that has a score of 103-101? |
SELECT Box AS score FROM table_name_40 WHERE away_team = "sydney spirit" | CREATE TABLE table_name_40 (Box VARCHAR, away_team VARCHAR) | What was the box score for the game where the away team was the sydney spirit? |
SELECT res FROM table_name_65 WHERE record = "15-7" | CREATE TABLE table_name_65 (res VARCHAR, record VARCHAR) | What was the resolution of the fight when tim hague had a record of 15-7? |
SELECT event FROM table_name_88 WHERE time = "5:00" AND record = "10-4" | CREATE TABLE table_name_88 (event VARCHAR, time VARCHAR, record VARCHAR) | What event did Tim hague have a fight that had a time of 5:00 and a record of 10-4? |
SELECT method FROM table_name_41 WHERE event = "hardcore championship fighting: destiny" | CREATE TABLE table_name_41 (method VARCHAR, event VARCHAR) | What method of resolution was the fight that took place at hardcore championship fighting: destiny? |
SELECT event FROM table_name_54 WHERE record = "3-0" | CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR) | What event did tim Hague have a record of 3-0? |
SELECT dates_administered FROM table_name_87 WHERE lead_margin < 5.5 AND poll_source = "survey usa" | CREATE TABLE table_name_87 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) | What was the date of the poll from Survey USA that showed a lead margin smaller than 5.5? |
SELECT poll_source FROM table_name_88 WHERE lead_margin = 5.5 | CREATE TABLE table_name_88 (poll_source VARCHAR, lead_margin VARCHAR) | Which organization administered the poll that showed a lead margin of 5.5? |
SELECT SUM(round) FROM table_name_2 WHERE position = "forward" AND school_club_team = "western kentucky" | CREATE TABLE table_name_2 (round INTEGER, position VARCHAR, school_club_team VARCHAR) | What is the sum of Round, when Position is Forward, and when School/Club Team is Western Kentucky? |
SELECT position FROM table_name_80 WHERE pick = "7" | CREATE TABLE table_name_80 (position VARCHAR, pick VARCHAR) | What is Position, when Pick is 7? |
SELECT pick FROM table_name_95 WHERE round > 1 AND school_club_team = "south carolina" | CREATE TABLE table_name_95 (pick VARCHAR, round VARCHAR, school_club_team VARCHAR) | What is Pick, when Round is greater than 1, and when School/Club Team is South Carolina? |
SELECT date FROM table_name_83 WHERE outcome = "runner-up" AND score = "5–7, 3–6, 6–3, 2–6" | CREATE TABLE table_name_83 (date VARCHAR, outcome VARCHAR, score VARCHAR) | What is the Date of the game with an Outcome of runner-up and Score of 5–7, 3–6, 6–3, 2–6? |
SELECT date FROM table_name_36 WHERE score = "4–6, 4–6" | CREATE TABLE table_name_36 (date VARCHAR, score VARCHAR) | What is the Date of the game with a Score of 4–6, 4–6? |
SELECT date FROM table_name_5 WHERE opponent = "christo van rensburg" | CREATE TABLE table_name_5 (date VARCHAR, opponent VARCHAR) | What is the Date of the game against Christo Van Rensburg? |
SELECT home_team FROM table_name_36 WHERE tie_no = "3" | CREATE TABLE table_name_36 (home_team VARCHAR, tie_no VARCHAR) | Who was the home team for the game that has a Tie value of 3? |
SELECT SUM(attendance) FROM table_name_23 WHERE away_team = "chelsea" | CREATE TABLE table_name_23 (attendance INTEGER, away_team VARCHAR) | How many in total were in attendance at games where Chelsea was the away team? |
SELECT population__2004_est_ FROM table_name_87 WHERE hanzi = "昌黎县" | CREATE TABLE table_name_87 (population__2004_est_ VARCHAR, hanzi VARCHAR) | What is the 2004 population for 昌黎县? |
SELECT population__2004_est_ FROM table_name_46 WHERE hanzi = "山海关区" | CREATE TABLE table_name_46 (population__2004_est_ VARCHAR, hanzi VARCHAR) | What is the 2004 population for 山海关区? |
SELECT hanzi FROM table_name_95 WHERE population__2004_est_ = "suburban" | CREATE TABLE table_name_95 (hanzi VARCHAR, population__2004_est_ VARCHAR) | Which Hanzi has a suburban population in 2004? |
SELECT density___km²_ FROM table_name_34 WHERE hanzi = "昌黎县" | CREATE TABLE table_name_34 (density___km²_ VARCHAR, hanzi VARCHAR) | What is the density of 昌黎县? |
SELECT hanyu_pinyin FROM table_name_68 WHERE name = "rural" | CREATE TABLE table_name_68 (hanyu_pinyin VARCHAR, name VARCHAR) | Which Hanyu Pinyin is labeled rural? |
SELECT pressure_in_hpa__mbar_ FROM table_name_69 WHERE vacuum_range = "medium vacuum" | CREATE TABLE table_name_69 (pressure_in_hpa__mbar_ VARCHAR, vacuum_range VARCHAR) | What is the Pressure in hPa (mbar), when Vacuum Range is "medium vacuum"? |
SELECT mean_free_path FROM table_name_28 WHERE vacuum_range = "medium vacuum" | CREATE TABLE table_name_28 (mean_free_path VARCHAR, vacuum_range VARCHAR) | What is Mean Free Path, when Vacuum Range is "medium vacuum"? |
SELECT mean_free_path FROM table_name_25 WHERE vacuum_range = "medium vacuum" | CREATE TABLE table_name_25 (mean_free_path VARCHAR, vacuum_range VARCHAR) | What is Mean Free Path, when Vacuum Range is "medium vacuum"? |
SELECT outcome FROM table_name_40 WHERE date = "10 october 1994" | CREATE TABLE table_name_40 (outcome VARCHAR, date VARCHAR) | what is the outcome when the date is 10 october 1994? |
SELECT score FROM table_name_10 WHERE date = "22 february 1993" | CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR) | what is the score on 22 february 1993? |
SELECT outcome FROM table_name_45 WHERE surface = "grass" AND date = "23 june 1997" | CREATE TABLE table_name_45 (outcome VARCHAR, surface VARCHAR, date VARCHAR) | what is the outcome when the surface is grass on 23 june 1997? |
SELECT score FROM table_name_43 WHERE surface = "carpet (i)" AND outcome = "winner" AND championship = "rotterdam, netherlands" | CREATE TABLE table_name_43 (score VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR) | what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands? |
SELECT title FROM table_name_11 WHERE rank < 17 AND worldwide_gross = "$299,288,605" | CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR) | what is the title when the rank is less than 17 and the worldwide gross is $299,288,605? |
SELECT MAX(rank) FROM table_name_47 WHERE director = "john woo" | CREATE TABLE table_name_47 (rank INTEGER, director VARCHAR) | what is the highest rank for director john woo? |
SELECT title FROM table_name_15 WHERE director = "p.j. hogan" | CREATE TABLE table_name_15 (title VARCHAR, director VARCHAR) | what is the title for director p.j. hogan? |
SELECT date FROM table_name_69 WHERE location = "the pyramid" | CREATE TABLE table_name_69 (date VARCHAR, location VARCHAR) | What date was the pyramid location? |
SELECT date FROM table_name_67 WHERE opponent = "portland trail blazers" | CREATE TABLE table_name_67 (date VARCHAR, opponent VARCHAR) | What date was the opponent the Portland Trail Blazers? |
SELECT record FROM table_name_26 WHERE opponent = "cleveland cavaliers" | CREATE TABLE table_name_26 (record VARCHAR, opponent VARCHAR) | What is the record for the opponent the Cleveland Cavaliers? |
SELECT qual_2 FROM table_name_39 WHERE team = "dale coyne racing" AND best = "1:03.757" | CREATE TABLE table_name_39 (qual_2 VARCHAR, team VARCHAR, best VARCHAR) | What was the second qualification time for Dale Coyne Racing with a best of 1:03.757? |
SELECT qual_2 FROM table_name_29 WHERE qual_1 = "1:02.813" | CREATE TABLE table_name_29 (qual_2 VARCHAR, qual_1 VARCHAR) | What was the second qualification time with a first qualification time of 1:02.813? |
SELECT team FROM table_name_40 WHERE qual_2 = "1:01.936" | CREATE TABLE table_name_40 (team VARCHAR, qual_2 VARCHAR) | Which team has a second qualification time of 1:01.936? |
SELECT name FROM table_name_24 WHERE best = "1:00.870" | CREATE TABLE table_name_24 (name VARCHAR, best VARCHAR) | Who had a best time of 1:00.870? |
SELECT name FROM table_name_9 WHERE qual_2 = "1:01.777" | CREATE TABLE table_name_9 (name VARCHAR, qual_2 VARCHAR) | Who had a second qualification time of 1:01.777? |
SELECT genre FROM table_name_87 WHERE type = "3d" AND release_date = "2008-2011" | CREATE TABLE table_name_87 (genre VARCHAR, type VARCHAR, release_date VARCHAR) | What type of 3D game was released between 2008-2011? |
SELECT release_date FROM table_name_2 WHERE type = "3d" AND genre = "moba" AND developer_s_ = "riot games" | CREATE TABLE table_name_2 (release_date VARCHAR, developer_s_ VARCHAR, type VARCHAR, genre VARCHAR) | When did Riot Games release their 3D MOBA game? |
SELECT release_date FROM table_name_98 WHERE developer_s_ = "masthead studios" | CREATE TABLE table_name_98 (release_date VARCHAR, developer_s_ VARCHAR) | When did Masthead Studios release their game? |
SELECT required_os FROM table_name_91 WHERE type = "2d" | CREATE TABLE table_name_91 (required_os VARCHAR, type VARCHAR) | What operating system was needed for 2D games? |
SELECT genre FROM table_name_4 WHERE type = "3d" AND developer_s_ = "valve corporation" | CREATE TABLE table_name_4 (genre VARCHAR, type VARCHAR, developer_s_ VARCHAR) | What type of 3D game did Valve Corporation release? |
SELECT required_os FROM table_name_91 WHERE developer_s_ = "stunlock studios" | CREATE TABLE table_name_91 (required_os VARCHAR, developer_s_ VARCHAR) | What was the minimum operating system required by Stunlock Studios' game? |
SELECT COUNT(round) FROM table_name_61 WHERE player = "travis hamonic" | CREATE TABLE table_name_61 (round VARCHAR, player VARCHAR) | What was the total rounds Travis Hamonic played? |
SELECT name FROM table_name_44 WHERE fate = "sunk by u-48 *" AND cargo = "pit props" | CREATE TABLE table_name_44 (name VARCHAR, fate VARCHAR, cargo VARCHAR) | What is the name of the ship with pit props as Cargo sunk by u-48 *? |
SELECT date_of_attack FROM table_name_39 WHERE fate = "sunk by u-101 *" AND cargo = "iron ore" | CREATE TABLE table_name_39 (date_of_attack VARCHAR, fate VARCHAR, cargo VARCHAR) | What is the Date of attack of the ship with iron ore sunk by u-101 *? |
SELECT MIN(points) FROM table_name_22 WHERE losses < 12 AND goals_against < 50 AND goal_difference > 11 AND played < 30 | CREATE TABLE table_name_22 (points INTEGER, played VARCHAR, goal_difference VARCHAR, losses VARCHAR, goals_against VARCHAR) | What is the fewest points for positions with under 12 losses, goals against under 50, goal difference over 11, and under 30 played? |
SELECT MAX(wins) FROM table_name_46 WHERE goal_difference = 11 AND played > 30 | CREATE TABLE table_name_46 (wins INTEGER, goal_difference VARCHAR, played VARCHAR) | What is the most wins for a position with more than 30 played and a goal difference of 11? |
SELECT COUNT(played) FROM table_name_68 WHERE goal_difference = 11 AND goals_against > 44 | CREATE TABLE table_name_68 (played VARCHAR, goal_difference VARCHAR, goals_against VARCHAR) | What is the total number of played for the goals against over 44 and a goal difference of 11? |
SELECT time FROM table_name_22 WHERE round < 2 AND opponent = "valentijn overeem" | CREATE TABLE table_name_22 (time VARCHAR, round VARCHAR, opponent VARCHAR) | What is Time, when Round is less than 2, and when Opponent is "Valentijn Overeem"? |
SELECT location FROM table_name_76 WHERE round = 1 AND opponent = "joe slick" | CREATE TABLE table_name_76 (location VARCHAR, round VARCHAR, opponent VARCHAR) | What is Location, when Round is "1", and when Opponent is "Joe Slick"? |
SELECT event FROM table_name_41 WHERE opponent = "joe pardo" | CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR) | What is Event, when Opponent is "Joe Pardo"? |
SELECT event FROM table_name_9 WHERE round = 1 AND location = "new town, north dakota , united states" AND time = "4:12" | CREATE TABLE table_name_9 (event VARCHAR, time VARCHAR, round VARCHAR, location VARCHAR) | What is Event, when Round is "1", when Location is "New Town, North Dakota , United States" and when Time is "4:12"? |
SELECT date FROM table_name_47 WHERE opponent = "tennessee titans" | CREATE TABLE table_name_47 (date VARCHAR, opponent VARCHAR) | On what Date was the Opponent the Tennessee Titans? |
SELECT result FROM table_name_25 WHERE attendance = "64,104" | CREATE TABLE table_name_25 (result VARCHAR, attendance VARCHAR) | What is the Result of the game with an Attendance of 64,104? |
SELECT AVG(week) FROM table_name_85 WHERE result = "w 30-28" | CREATE TABLE table_name_85 (week INTEGER, result VARCHAR) | What is the Week number with a Result of W 30-28? |
SELECT date FROM table_name_61 WHERE opponent = "philadelphia eagles" | CREATE TABLE table_name_61 (date VARCHAR, opponent VARCHAR) | What is the date of the game against Philadelphia Eagles? |
SELECT attendance FROM table_name_36 WHERE date = "september 21, 2003" | CREATE TABLE table_name_36 (attendance VARCHAR, date VARCHAR) | What is the Attendance of the game September 21, 2003? |
SELECT position FROM table_name_2 WHERE pick < 20 | CREATE TABLE table_name_2 (position VARCHAR, pick INTEGER) | What position has a pick less than 20? |
SELECT MIN(overall) FROM table_name_44 WHERE college = "baylor" | CREATE TABLE table_name_44 (overall INTEGER, college VARCHAR) | What is the number that is the lowest overall for the College of Baylor? |
SELECT MIN(overall) FROM table_name_85 WHERE round = 6 | CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR) | What is the number that is the lowest overall for Round 6? |
SELECT location FROM table_name_44 WHERE res = "win" AND opponent = "mike large" | CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, opponent VARCHAR) | Where was the result a win against Mike Large? |
SELECT round FROM table_name_39 WHERE opponent = "joe lauzon" | CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR) | In what round did opponent Joe Lauzon play? |
SELECT opponent FROM table_name_54 WHERE week > 8 AND date = "december 4, 1960" | CREATE TABLE table_name_54 (opponent VARCHAR, week VARCHAR, date VARCHAR) | Who was the opponent in a week over 8 on December 4, 1960? |
SELECT opponent FROM table_name_24 WHERE week < 8 AND date = "october 9, 1960" | CREATE TABLE table_name_24 (opponent VARCHAR, week VARCHAR, date VARCHAR) | Who was the opponent in a week less than 8 on October 9, 1960? |
SELECT result FROM table_name_70 WHERE attendance = "58,516" | CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR) | What was the result when 58,516 were in attendance? |
SELECT opponent FROM table_name_28 WHERE week < 3 AND date = "september 23, 1960" | CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR, date VARCHAR) | Who was the opponent in a week below 3 on September 23, 1960? |
SELECT MAX(females) FROM table_name_46 WHERE males = 28.2 AND rank > 5 | CREATE TABLE table_name_46 (females INTEGER, males VARCHAR, rank VARCHAR) | What is the biggest number of females where the males are at 28.2 with a rank greater than 5? |
SELECT player FROM table_name_9 WHERE year = 1976 | CREATE TABLE table_name_9 (player VARCHAR, year VARCHAR) | Who was the player in 1976? |
SELECT pick FROM table_name_17 WHERE nationality = "united states" AND player = "elaine powell (g)" | CREATE TABLE table_name_17 (pick VARCHAR, nationality VARCHAR, player VARCHAR) | When was Elaine Powell (g) of the United states picked? |
Subsets and Splits