question
stringlengths
12
243
context
stringlengths
45
517
answer
stringlengths
32
484
What is the indoor number for the NJ wing/
columns: - name: indoor type: VARCHAR - name: wing type: VARCHAR table: table_19534874_2
SELECT indoor FROM table_19534874_2 WHERE wing = "NJ"
What is District, when Incumbent is "Richard Neal"?
columns: - name: district type: VARCHAR - name: incumbent type: VARCHAR table: table_name_8
SELECT district FROM table_name_8 WHERE incumbent = "richard neal"
What is Opinion Research Centre (OPC), when Party is Conservative?
columns: - name: opinion_research_centre__opc_ type: VARCHAR - name: party type: VARCHAR table: table_name_40
SELECT opinion_research_centre__opc_ FROM table_name_40 WHERE party = "conservative"
What is the highest rank for the react of 0.198, and the time more than 20.42?
columns: - name: rank type: INTEGER - name: react type: VARCHAR - name: time type: VARCHAR table: table_name_4
SELECT MAX(rank) FROM table_name_4 WHERE react = 0.198 AND time > 20.42
How many points did Donald Green score?
columns: - name: points type: VARCHAR - name: player type: VARCHAR table: table_25730209_2
SELECT COUNT(points) FROM table_25730209_2 WHERE player = "Donald Green"
What is Sandy Lyle's To Par?
columns: - name: to_par type: VARCHAR - name: player type: VARCHAR table: table_name_76
SELECT to_par FROM table_name_76 WHERE player = "sandy lyle"
What was the run 3 for the team in rank 12?
columns: - name: run_3 type: VARCHAR - name: rank type: VARCHAR table: table_name_4
SELECT run_3 FROM table_name_4 WHERE rank = "12"
Who left office on November 26, 1800?
columns: - name: vacator type: VARCHAR - name: date_successor_seated type: VARCHAR table: table_224840_4
SELECT vacator FROM table_224840_4 WHERE date_successor_seated = "November 26, 1800"
What is the background of the person fired in week 5?
columns: - name: background type: VARCHAR - name: result type: VARCHAR table: table_24501530_1
SELECT background FROM table_24501530_1 WHERE result = "Fired in week 5"
How many years did Barclay Nordica Arrows BMW enter with Cosworth v8 engine?
columns: - name: year type: INTEGER - name: entrant type: VARCHAR - name: engine type: VARCHAR table: table_name_43
SELECT SUM(year) FROM table_name_43 WHERE entrant = "barclay nordica arrows bmw" AND engine = "cosworth v8"
Which location has 140 stores?
columns: - name: location type: VARCHAR - name: stores type: VARCHAR table: table_name_29
SELECT location FROM table_name_29 WHERE stores = "140"
Name the tigrinya for χams-
columns: - name: tigrinya type: VARCHAR - name: arabic type: VARCHAR table: table_26919_6
SELECT COUNT(tigrinya) FROM table_26919_6 WHERE arabic = "χams-"
Which player played for Western Kentucky?
columns: - name: player type: VARCHAR - name: school_club_team type: VARCHAR table: table_name_61
SELECT player FROM table_name_61 WHERE school_club_team = "western kentucky"
What is the Home team on January 24, 1947?
columns: - name: home type: VARCHAR - name: date type: VARCHAR table: table_name_62
SELECT home FROM table_name_62 WHERE date = "january 24, 1947"
What is the simplified Chinese name for the 9th album?
columns: - name: chinese__simplified_ type: VARCHAR - name: album_number type: VARCHAR table: table_name_21
SELECT chinese__simplified_ FROM table_name_21 WHERE album_number = "9th"
What is the to par for Fred Couples when the score is 68-66=134?
columns: - name: to_par type: VARCHAR - name: player type: VARCHAR - name: score type: VARCHAR table: table_name_74
SELECT to_par FROM table_name_74 WHERE score = 68 - 66 = 134 AND player = "fred couples"
Which Track number has a Album title of 文武双全升级版, and a Title of 老爸你别装酷?
columns: - name: track_number type: VARCHAR - name: album_title type: VARCHAR - name: title type: VARCHAR table: table_name_44
SELECT track_number FROM table_name_44 WHERE album_title = "文武双全升级版" AND title = "老爸你别装酷"
Where is channel 83 broadcasted?
columns: - name: territory type: VARCHAR - name: channel type: VARCHAR table: table_name_86
SELECT territory FROM table_name_86 WHERE channel = 83
I want the date with the venue of mcalpine stadium
columns: - name: date type: VARCHAR - name: venue type: VARCHAR table: table_name_68
SELECT date FROM table_name_68 WHERE venue = "mcalpine stadium"
Which Date has a Record of 4–2–0?
columns: - name: date type: VARCHAR - name: record type: VARCHAR table: table_name_68
SELECT date FROM table_name_68 WHERE record = "4–2–0"
Name the contestant for villa hermosa
columns: - name: contestant type: VARCHAR - name: hometown type: VARCHAR table: table_21346767_3
SELECT contestant FROM table_21346767_3 WHERE hometown = "Villa Hermosa"
What is the Date of the Player from Marshfield High School?
columns: - name: date type: VARCHAR - name: school type: VARCHAR table: table_name_63
SELECT date FROM table_name_63 WHERE school = "marshfield high school"
Where's the louisiana-lafayette as a visiting team?
columns: - name: site type: VARCHAR - name: visiting_team type: VARCHAR table: table_26842217_4
SELECT site FROM table_26842217_4 WHERE visiting_team = "Louisiana-Lafayette"
Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3?
columns: - name: rider type: VARCHAR - name: grid type: VARCHAR - name: time type: VARCHAR - name: laps type: VARCHAR - name: manufacturer type: VARCHAR table: table_name_30
SELECT rider FROM table_name_30 WHERE laps < 30 AND manufacturer = "yamaha" AND time = "accident" AND grid > 3
What is the finish with 200 laps and a start of 3?
columns: - name: finish type: VARCHAR - name: laps type: VARCHAR - name: start type: VARCHAR table: table_name_91
SELECT finish FROM table_name_91 WHERE laps = 200 AND start = "3"
What is the region where Milan is located?
columns: - name: region type: VARCHAR - name: capital type: VARCHAR table: table_14532_1
SELECT region FROM table_14532_1 WHERE capital = "Milan"
Which first edition has 264 pages and the ISBN of 978-0785111832?
columns: - name: first_edition type: VARCHAR - name: pages type: VARCHAR - name: isbn type: VARCHAR table: table_name_60
SELECT first_edition FROM table_name_60 WHERE pages = "264" AND isbn = "978-0785111832"
Which competition has stuart potts as the man of the match?
columns: - name: competition type: VARCHAR - name: man_of_the_match type: VARCHAR table: table_name_98
SELECT competition FROM table_name_98 WHERE man_of_the_match = "stuart potts"
What is every value for Polish when Balarusian is ноч?
columns: - name: polish type: VARCHAR - name: belarusian type: VARCHAR table: table_25008327_8
SELECT polish FROM table_25008327_8 WHERE belarusian = "ноч"
Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17?
columns: - name: ends_lost type: INTEGER - name: locale type: VARCHAR - name: blank_ends type: VARCHAR table: table_name_95
SELECT MIN(ends_lost) FROM table_name_95 WHERE locale = "norway" AND blank_ends > 17
What was the position of Frank Tripp?
columns: - name: position type: VARCHAR - name: character type: VARCHAR table: table_name_28
SELECT position FROM table_name_28 WHERE character = "frank tripp"
What episode number in the series was directed by John Behring?
columns: - name: no_in_series type: INTEGER - name: directed_by type: VARCHAR table: table_21164557_1
SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring"
What was the fastest lap in the Belgian Grand Prix?
columns: - name: fastest_lap type: VARCHAR - name: race type: VARCHAR table: table_name_31
SELECT fastest_lap FROM table_name_31 WHERE race = "belgian grand prix"
Which Notre Dame coach lost 15 games?
columns: - name: coach type: VARCHAR - name: losses type: VARCHAR table: table_name_27
SELECT coach FROM table_name_27 WHERE losses = 15
What Position has no College Hall of Fame?
columns: - name: position type: VARCHAR - name: college_hall_of_fame type: VARCHAR table: table_name_48
SELECT position FROM table_name_48 WHERE college_hall_of_fame = "no"
What was Australia's to par when the place was t9?
columns: - name: to_par type: VARCHAR - name: place type: VARCHAR - name: country type: VARCHAR table: table_name_7
SELECT to_par FROM table_name_7 WHERE place = "t9" AND country = "australia"
What is the total number of the established club of Lehigh Valley Storm?
columns: - name: established type: VARCHAR - name: club type: VARCHAR table: table_name_86
SELECT COUNT(established) FROM table_name_86 WHERE club = "lehigh valley storm"
on how many days did the episode written by harold hayes jr. & craig s. phillips originally air
columns: - name: original_air_date type: VARCHAR - name: written_by type: VARCHAR table: table_29196086_4
SELECT COUNT(original_air_date) FROM table_29196086_4 WHERE written_by = "Harold Hayes Jr. & Craig S. Phillips"
Which Transfer fee has a Moving from of youth system, and a Nat of mar?
columns: - name: transfer_fee type: VARCHAR - name: moving_from type: VARCHAR - name: nat type: VARCHAR table: table_name_10
SELECT transfer_fee FROM table_name_10 WHERE moving_from = "youth system" AND nat = "mar"
What venue has an against over 14, an opposing team of scotland, and a status of five nations?
columns: - name: venue type: VARCHAR - name: status type: VARCHAR - name: against type: VARCHAR - name: opposing_teams type: VARCHAR table: table_name_16
SELECT venue FROM table_name_16 WHERE against > 14 AND opposing_teams = "scotland" AND status = "five nations"
What was the official rating 16-39 of episode 9?
columns: - name: official_rating_16_39 type: VARCHAR - name: episode type: VARCHAR table: table_29773532_21
SELECT official_rating_16_39 FROM table_29773532_21 WHERE episode = 9
What is the Country of the Championship with a Score of 293?
columns: - name: country type: VARCHAR - name: score type: VARCHAR table: table_name_12
SELECT country FROM table_name_12 WHERE score = "293"
What was the Winning Score when Betsy Rawls was the Runner(s)-up?
columns: - name: winning_score type: VARCHAR - name: runner_s__up type: VARCHAR table: table_name_96
SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls"
What was the amount of Births (000s) that had a death rate larger than 7.6, and a Year of 1990-2009?
columns: - name: births__000s_ type: INTEGER - name: deaths type: VARCHAR - name: year type: VARCHAR table: table_name_59
SELECT SUM(births__000s_) FROM table_name_59 WHERE deaths > 7.6 AND year = "1990-2009"
What is the final position with ties of 0, and wins of 5?
columns: - name: final_position type: VARCHAR - name: ties type: VARCHAR - name: wins type: VARCHAR table: table_name_87
SELECT final_position FROM table_name_87 WHERE ties = "0" AND wins = "5"
What is the highest amount of points when the game is less than 2?
columns: - name: high_points type: VARCHAR - name: game type: INTEGER table: table_name_31
SELECT high_points FROM table_name_31 WHERE game < 2
What class is ERP W of 800?
columns: - name: class type: VARCHAR - name: erp_w type: VARCHAR table: table_name_9
SELECT class FROM table_name_9 WHERE erp_w = 800
In 1992, what class has higher wins than 0?
columns: - name: class type: VARCHAR - name: wins type: VARCHAR - name: year type: VARCHAR table: table_name_58
SELECT class FROM table_name_58 WHERE wins > 0 AND year = 1992
What was the date in which the time was 2:16.08?
columns: - name: date type: VARCHAR - name: time type: VARCHAR table: table_name_31
SELECT date FROM table_name_31 WHERE time = "2:16.08"
Name the average valid poll for seats less than 3
columns: - name: valid_poll type: INTEGER - name: seats type: INTEGER table: table_name_45
SELECT AVG(valid_poll) FROM table_name_45 WHERE seats < 3
What is the score of the friendly competition?
columns: - name: score type: VARCHAR - name: competition type: VARCHAR table: table_name_72
SELECT score FROM table_name_72 WHERE competition = "friendly"
How many wins did Ayr United have?
columns: - name: wins type: VARCHAR - name: club type: VARCHAR table: table_name_79
SELECT wins FROM table_name_79 WHERE club = "ayr united"
According to W3Counter, what percentage of browsers used Firefox?
columns: - name: firefox type: VARCHAR - name: source type: VARCHAR table: table_name_60
SELECT firefox FROM table_name_60 WHERE source = "w3counter"
What is the highest overall pick from the College of Southern Mississippi that was selected before round 6?
columns: - name: overall type: INTEGER - name: college type: VARCHAR - name: round type: VARCHAR table: table_name_8
SELECT MAX(overall) FROM table_name_8 WHERE college = "southern mississippi" AND round < 6
Name the total number of rank for 348cc petty manx
columns: - name: rank type: VARCHAR - name: team type: VARCHAR table: table_name_54
SELECT COUNT(rank) FROM table_name_54 WHERE team = "348cc petty manx"
On how many locations is the Saint Joseph's College of Maine located?
columns: - name: location type: VARCHAR - name: institution type: VARCHAR table: table_1973816_1
SELECT COUNT(location) FROM table_1973816_1 WHERE institution = "Saint Joseph's College of Maine"
What is the broadcast date when 8.3 million viewers watched?
columns: - name: broadcast_date type: VARCHAR - name: viewers__in_millions_ type: VARCHAR table: table_1785117_1
SELECT broadcast_date FROM table_1785117_1 WHERE viewers__in_millions_ = "8.3"
How many totals does Chile have when the number of silvers is more than 0?
columns: - name: total type: VARCHAR - name: nation type: VARCHAR - name: silver type: VARCHAR table: table_name_73
SELECT COUNT(total) FROM table_name_73 WHERE nation = "chile" AND silver > 0
Who were the developers for Portal?
columns: - name: developer_s_ type: VARCHAR - name: game type: VARCHAR table: table_name_68
SELECT developer_s_ FROM table_name_68 WHERE game = "portal"
How many entries are shown for an air date when the team guest captain was stephen k amos?
columns: - name: air_date type: VARCHAR - name: team_guest_captain type: VARCHAR table: table_25816476_2
SELECT COUNT(air_date) FROM table_25816476_2 WHERE team_guest_captain = "Stephen K Amos"
What is the memory for ct80618005844ab?
columns: - name: memory type: VARCHAR - name: part_number_s_ type: VARCHAR table: table_name_78
SELECT memory FROM table_name_78 WHERE part_number_s_ = "ct80618005844ab"
What date was part number rk80533pz933256 released?
columns: - name: release_date type: VARCHAR - name: part_number_s_ type: VARCHAR table: table_name_89
SELECT release_date FROM table_name_89 WHERE part_number_s_ = "rk80533pz933256"
What was the result of the Euro '64 qualifying game?
columns: - name: "results\xB9" type: VARCHAR - name: type_of_game type: VARCHAR table: table_name_65
SELECT results¹ FROM table_name_65 WHERE type_of_game = "euro '64 qualifying"
What county has a school with less than 301 students and plays IHSAA class A football?
columns: - name: county type: VARCHAR - name: ihsaa_football_class type: VARCHAR - name: size type: VARCHAR table: table_name_81
SELECT county FROM table_name_81 WHERE ihsaa_football_class = "a" AND size < 301
What opponent has 8-10 as the record?
columns: - name: opponent type: VARCHAR - name: record type: VARCHAR table: table_name_76
SELECT opponent FROM table_name_76 WHERE record = "8-10"
What was the number of passengers going to MCO with a rank larger than 9?
columns: - name: passengers type: VARCHAR - name: airport type: VARCHAR - name: rank type: VARCHAR table: table_name_54
SELECT COUNT(passengers) FROM table_name_54 WHERE airport = "mco" AND rank > 9
Which republican ticket has stanley h. fuld as the Democratic ticket?
columns: - name: republican_ticket type: VARCHAR - name: democratic_ticket type: VARCHAR table: table_name_25
SELECT republican_ticket FROM table_name_25 WHERE democratic_ticket = "stanley h. fuld"
What is the date of the game held at Lahore?
columns: - name: date type: VARCHAR - name: venue type: VARCHAR table: table_name_87
SELECT date FROM table_name_87 WHERE venue = "lahore"
Name the romaji by your side ~hikari's theme~ (popup.version)
columns: - name: "r\u014Dmaji" type: VARCHAR - name: japanese_translation type: VARCHAR table: table_2144389_8
SELECT rōmaji FROM table_2144389_8 WHERE japanese_translation = "By Your Side ~Hikari's Theme~ (PopUp.Version)"
How many losses have more than 45,036 attendance?
columns: - name: loss type: VARCHAR - name: attendance type: INTEGER table: table_name_50
SELECT loss FROM table_name_50 WHERE attendance > 45 OFFSET 036
What is the home record for the Maccabi Tel-Aviv club?
columns: - name: home type: VARCHAR - name: club type: VARCHAR table: table_name_85
SELECT home FROM table_name_85 WHERE club = "maccabi tel-aviv"
How many ansi codes are there for latitude 48.142938?
columns: - name: ansi_code type: VARCHAR - name: latitude type: VARCHAR table: table_18600760_20
SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "48.142938"
What was the result when the opponent was manchester united in venue h?
columns: - name: result type: VARCHAR - name: opponent type: VARCHAR - name: venue type: VARCHAR table: table_name_45
SELECT result FROM table_name_45 WHERE opponent = "manchester united" AND venue = "h"
What city has a building with over 57 floors?
columns: - name: city type: VARCHAR - name: floors type: INTEGER table: table_name_33
SELECT city FROM table_name_33 WHERE floors > 57
What was the outcome when she partnered with mashona washington?
columns: - name: outcome type: VARCHAR - name: partner type: VARCHAR table: table_name_39
SELECT outcome FROM table_name_39 WHERE partner = "mashona washington"
What's the oil rig of the song with a draw number 9?
columns: - name: oil_rig type: INTEGER - name: draw type: VARCHAR table: table_20183474_1
SELECT MIN(oil_rig) FROM table_20183474_1 WHERE draw = 9
What is the to par of Al Mengert of the United States?
columns: - name: to_par type: VARCHAR - name: country type: VARCHAR - name: player type: VARCHAR table: table_name_73
SELECT to_par FROM table_name_73 WHERE country = "united states" AND player = "al mengert"
Which city has a conference of LCC2 and a year earlier than 2009?
columns: - name: city type: VARCHAR - name: year type: VARCHAR - name: conference type: VARCHAR table: table_name_70
SELECT city FROM table_name_70 WHERE year < 2009 AND conference = "lcc2"
How many games is collingwood the home side?
columns: - name: crowd type: VARCHAR - name: home_team type: VARCHAR table: table_name_4
SELECT COUNT(crowd) FROM table_name_4 WHERE home_team = "collingwood"
Name the date that has a friendly competition at rheinpark stadion, vaduz
columns: - name: date type: VARCHAR - name: competition type: VARCHAR - name: venue type: VARCHAR table: table_name_71
SELECT date FROM table_name_71 WHERE competition = "friendly" AND venue = "rheinpark stadion, vaduz"
Name the gene name for accession number bx897700.1
columns: - name: gene_name type: VARCHAR - name: accession_number type: VARCHAR table: table_27155678_2
SELECT gene_name FROM table_27155678_2 WHERE accession_number = "BX897700.1"
How many goals did he have in the bundesliga with under 7 appearances?
columns: - name: goals type: INTEGER - name: competition type: VARCHAR - name: apps type: VARCHAR table: table_name_32
SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 7
What is the average crowd when footscray is at home?
columns: - name: crowd type: INTEGER - name: home_team type: VARCHAR table: table_name_99
SELECT AVG(crowd) FROM table_name_99 WHERE home_team = "footscray"
What was the venue when Collingwood was the home team?
columns: - name: venue type: VARCHAR - name: home_team type: VARCHAR table: table_name_34
SELECT venue FROM table_name_34 WHERE home_team = "collingwood"
What shows for opened for the Nascar Major Series?
columns: - name: opened type: VARCHAR - name: major_series type: VARCHAR table: table_name_84
SELECT opened FROM table_name_84 WHERE major_series = "nascar"
What is the name in the UK, with a release date of December 1966?
columns: - name: name type: VARCHAR - name: location type: VARCHAR - name: release_date type: VARCHAR table: table_name_24
SELECT name FROM table_name_24 WHERE location = "uk" AND release_date = "december 1966"
What is the lowest Year, when Venue is Rio De Janeiro, Brazil?
columns: - name: year type: INTEGER - name: venue type: VARCHAR table: table_name_42
SELECT MIN(year) FROM table_name_42 WHERE venue = "rio de janeiro, brazil"
Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628?
columns: - name: rank type: INTEGER - name: rating type: VARCHAR - name: change type: VARCHAR - name: centre type: VARCHAR table: table_name_2
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628
what is the points when the entrant is brabham racing organisation, the year is 1964 and the chassis is brabham bt7?
columns: - name: points type: VARCHAR - name: chassis type: VARCHAR - name: entrant type: VARCHAR - name: year type: VARCHAR table: table_name_17
SELECT points FROM table_name_17 WHERE entrant = "brabham racing organisation" AND year = 1964 AND chassis = "brabham bt7"
Which incumbent was first elected in 1940?
columns: - name: incumbent type: VARCHAR - name: first_elected type: VARCHAR table: table_1342256_10
SELECT incumbent FROM table_1342256_10 WHERE first_elected = 1940
What is the sum of rank with years 1996–2012 and apps greater than 340?
columns: - name: rank type: INTEGER - name: years type: VARCHAR - name: apps type: VARCHAR table: table_name_15
SELECT SUM(rank) FROM table_name_15 WHERE years = "1996–2012" AND apps > 340
Record of 6–8 had what attendance?
columns: - name: attendance type: VARCHAR - name: record type: VARCHAR table: table_name_33
SELECT attendance FROM table_name_33 WHERE record = "6–8"
How many provinces are named 青海省 qīnghǎi shěng?
columns: - name: iso_ type: VARCHAR - name: chinese_name type: VARCHAR table: table_254234_1
SELECT COUNT(iso_) AS № FROM table_254234_1 WHERE chinese_name = "青海省 Qīnghǎi Shěng"
Which League has a Venue of martin luther king, jr. recreation center?
columns: - name: league type: VARCHAR - name: venue type: VARCHAR table: table_name_95
SELECT league FROM table_name_95 WHERE venue = "martin luther king, jr. recreation center"
How many golds does Germany have with more than 1 silver?
columns: - name: gold type: INTEGER - name: silver type: VARCHAR - name: nation type: VARCHAR table: table_name_74
SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "germany"
Which Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation of norway (host nation), and a Total larger than 16?
columns: - name: rank type: VARCHAR - name: total type: VARCHAR - name: nation type: VARCHAR - name: bronze type: VARCHAR - name: silver type: VARCHAR table: table_name_6
SELECT COUNT(rank) FROM table_name_6 WHERE bronze > 1 AND silver > 0 AND nation = "norway (host nation)" AND total > 16
How many games had the attendance of 60225?
columns: - name: result type: VARCHAR - name: attendance type: VARCHAR table: table_14945608_1
SELECT COUNT(result) FROM table_14945608_1 WHERE attendance = 60225
When did the atv-002 launch?
columns: - name: launch_date type: VARCHAR - name: designation type: VARCHAR table: table_name_22
SELECT launch_date FROM table_name_22 WHERE designation = "atv-002"
what city has the results of 4:2?
columns: - name: city type: VARCHAR - name: "results\xB9" type: VARCHAR table: table_name_41
SELECT city FROM table_name_41 WHERE results¹ = "4:2"
What year was the earliest first elected?
columns: - name: first_elected type: INTEGER table: table_1341663_19
SELECT MIN(first_elected) FROM table_1341663_19