question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton | CREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR) | SELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "Donald S. Dutton" |
which election had seat no 1 filled by jacques lachapelle but seat no 5 was filled by g. sanscartier | CREATE TABLE table_2231241_1 (election VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR) | SELECT election FROM table_2231241_1 WHERE seat_no_1 = "Jacques Lachapelle" AND seat_no_5 = "G. Sanscartier" |
How many season did the team lost in round 1 with a GP of 64? | CREATE TABLE table_2233872_1 (COUNt VARCHAR, gp VARCHAR, result VARCHAR) | SELECT COUNt AS season FROM table_2233872_1 WHERE gp = 64 AND result = "lost in round 1" |
What was the season where the team reached a GP of 244? | CREATE TABLE table_2233872_1 (season VARCHAR, gf VARCHAR) | SELECT season FROM table_2233872_1 WHERE gf = 244 |
What was the maximum OTL if L is 28? | CREATE TABLE table_2233872_1 (Otl INTEGER, l VARCHAR) | SELECT MAX(Otl) FROM table_2233872_1 WHERE l = 28 |
What was the minimum L if the GA is 272? | CREATE TABLE table_2233872_1 (l INTEGER, ga VARCHAR) | SELECT MIN(l) FROM table_2233872_1 WHERE ga = 272 |
What is the least amount of total medals won? | CREATE TABLE table_22355_23 (total_min_2_medals_ INTEGER) | SELECT MIN(total_min_2_medals_) FROM table_22355_23 |
Who was the driver for the winning team Lawson Team Impul? | CREATE TABLE table_22379931_2 (winning_driver VARCHAR, winning_team VARCHAR) | SELECT winning_driver FROM table_22379931_2 WHERE winning_team = "Lawson Team Impul" |
Who has the fastest lap where Benoît Tréluyer got the pole position? | CREATE TABLE table_22379931_2 (fastest_lap VARCHAR, pole_position VARCHAR) | SELECT fastest_lap FROM table_22379931_2 WHERE pole_position = "Benoît Tréluyer" |
What was the earlier round where Takashi Kogure got the fastest lap? | CREATE TABLE table_22379931_2 (round INTEGER, fastest_lap VARCHAR) | SELECT MIN(round) FROM table_22379931_2 WHERE fastest_lap = "Takashi Kogure" |
How many drivers drove on Suzuka Circuit where Loïc Duval took pole position? | CREATE TABLE table_22379931_2 (winning_driver VARCHAR, circuit VARCHAR, pole_position VARCHAR) | SELECT COUNT(winning_driver) FROM table_22379931_2 WHERE circuit = "Suzuka circuit" AND pole_position = "Loïc Duval" |
What date did the West Indies win the match? | CREATE TABLE table_22384475_1 (match_date VARCHAR, winner VARCHAR) | SELECT match_date FROM table_22384475_1 WHERE winner = "West Indies" |
How many games were won by a margin of 131 runs? | CREATE TABLE table_22384475_1 (team__a_ VARCHAR, margin VARCHAR) | SELECT COUNT(team__a_) FROM table_22384475_1 WHERE margin = "131 runs" |
Who won the match when the margin was 131 runs? | CREATE TABLE table_22384475_1 (winner VARCHAR, margin VARCHAR) | SELECT winner FROM table_22384475_1 WHERE margin = "131 runs" |
What was the margin of the match on 19 Jan 2002? | CREATE TABLE table_22384475_1 (margin VARCHAR, match_date VARCHAR) | SELECT margin FROM table_22384475_1 WHERE match_date = "19 Jan 2002" |
Where is the Bellerive Country Club venue located? | CREATE TABLE table_224616_1 (location_of_venue VARCHAR, venue VARCHAR) | SELECT location_of_venue FROM table_224616_1 WHERE venue = "Bellerive country Club" |
List all winning scores from 1982. | CREATE TABLE table_224616_1 (winners_score VARCHAR, year VARCHAR) | SELECT winners_score FROM table_224616_1 WHERE year = 1982 |
How many vacators were in the Pennsylvania 33rd district? | CREATE TABLE table_224794_3 (vacator VARCHAR, district VARCHAR) | SELECT COUNT(vacator) FROM table_224794_3 WHERE district = "Pennsylvania 33rd" |
Who was the successor for the Kentucky 2nd district? | CREATE TABLE table_224794_3 (successor VARCHAR, district VARCHAR) | SELECT successor FROM table_224794_3 WHERE district = "Kentucky 2nd" |
Name the date successor seated for contested election; served until february 14, 1794 | CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR) | SELECT date_successor_seated FROM table_224837_4 WHERE reason_for_change = "Contested election; served until February 14, 1794" |
Name the date successor seated for delegate seat established | CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR) | SELECT date_successor_seated FROM table_224837_4 WHERE reason_for_change = "Delegate seat established" |
Name the date successor seated is south carolina 3rd | CREATE TABLE table_224837_4 (date_successor_seated VARCHAR, district VARCHAR) | SELECT date_successor_seated FROM table_224837_4 WHERE district = "South Carolina 3rd" |
What is the number of vacators when the successor was William H. Wells ( F )? | CREATE TABLE table_224839_3 (vacator VARCHAR, successor VARCHAR) | SELECT COUNT(vacator) FROM table_224839_3 WHERE successor = "William H. Wells ( F )" |
What is the total number of dates of successor formal installation when the vacator was Joshua Clayton ( F )? | CREATE TABLE table_224839_3 (date_of_successors_formal_installation VARCHAR, vacator VARCHAR) | SELECT COUNT(date_of_successors_formal_installation) FROM table_224839_3 WHERE vacator = "Joshua Clayton ( F )" |
What is the total number of successors when the vacator was William North ( F ) | CREATE TABLE table_224839_3 (successor VARCHAR, vacator VARCHAR) | SELECT COUNT(successor) FROM table_224839_3 WHERE vacator = "William North ( F )" |
What are all the states (class) when the successor was Joseph Anderson ( DR )? | CREATE TABLE table_224839_3 (state__class_ VARCHAR, successor VARCHAR) | SELECT state__class_ FROM table_224839_3 WHERE successor = "Joseph Anderson ( DR )" |
What are all the states (class) when the reason for change was resigned November 26, 1798 and the vacator was John Hunter ( DR )? | CREATE TABLE table_224839_3 (state__class_ VARCHAR, reason_for_change VARCHAR, vacator VARCHAR) | SELECT state__class_ FROM table_224839_3 WHERE reason_for_change = "Resigned November 26, 1798" AND vacator = "John Hunter ( DR )" |
How many vacators have October 22, 1808 as date successor seated? | CREATE TABLE table_225093_4 (vacator VARCHAR, date_successor_seated VARCHAR) | SELECT COUNT(vacator) FROM table_225093_4 WHERE date_successor_seated = "October 22, 1808" |
What is the date successor seated where Massachusetts 2nd is the district? | CREATE TABLE table_225093_4 (date_successor_seated VARCHAR, district VARCHAR) | SELECT date_successor_seated FROM table_225093_4 WHERE district = "Massachusetts 2nd" |
Who is the successor when the reason for change is seat declared vacant January 2, 1808 | CREATE TABLE table_225093_4 (successor VARCHAR, reason_for_change VARCHAR) | SELECT successor FROM table_225093_4 WHERE reason_for_change = "Seat declared vacant January 2, 1808" |
Which district has John Culpepper (f) as the vacator? | CREATE TABLE table_225093_4 (district VARCHAR, vacator VARCHAR) | SELECT district FROM table_225093_4 WHERE vacator = "John Culpepper (F)" |
What is the reason for change when maryland 6th is the district? | CREATE TABLE table_225100_4 (reason_for_change VARCHAR, district VARCHAR) | SELECT reason_for_change FROM table_225100_4 WHERE district = "Maryland 6th" |
Who is the vacator when south carolina 4th is the district? | CREATE TABLE table_225100_4 (vacator VARCHAR, district VARCHAR) | SELECT vacator FROM table_225100_4 WHERE district = "South Carolina 4th" |
Who is the successor when florida territory at-large is the district? | CREATE TABLE table_225100_4 (successor VARCHAR, district VARCHAR) | SELECT successor FROM table_225100_4 WHERE district = "Florida Territory At-large" |
Name the vacator for reason for change died january 12, 1826 | CREATE TABLE table_225102_4 (vacator VARCHAR, reason_for_change VARCHAR) | SELECT vacator FROM table_225102_4 WHERE reason_for_change = "Died January 12, 1826" |
Name the reason for change pennsylvania 13th | CREATE TABLE table_225102_4 (reason_for_change VARCHAR, district VARCHAR) | SELECT reason_for_change FROM table_225102_4 WHERE district = "Pennsylvania 13th" |
Name the vacator for died august 13, 1826 | CREATE TABLE table_225102_4 (vacator VARCHAR, reason_for_change VARCHAR) | SELECT vacator FROM table_225102_4 WHERE reason_for_change = "Died August 13, 1826" |
Name the successor for elected january 26, 1837 | CREATE TABLE table_225200_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT COUNT(successor) FROM table_225200_3 WHERE date_of_successors_formal_installation = "Elected January 26, 1837" |
Name the successor for north carolina 13th | CREATE TABLE table_225204_4 (successor VARCHAR, district VARCHAR) | SELECT successor FROM table_225204_4 WHERE district = "North Carolina 13th" |
Name the date successor seated for pennsylvania 17th | CREATE TABLE table_225204_4 (date_successor_seated VARCHAR, district VARCHAR) | SELECT date_successor_seated FROM table_225204_4 WHERE district = "Pennsylvania 17th" |
who are the writer of the series episode number 170? | CREATE TABLE table_22580855_1 (written_by VARCHAR, series_no VARCHAR) | SELECT written_by FROM table_22580855_1 WHERE series_no = 170 |
which is the maximun serie episode number when the millions of North American spectators is 3.14? | CREATE TABLE table_22580855_1 (series_no INTEGER, us_viewers__millions_ VARCHAR) | SELECT MAX(series_no) FROM table_22580855_1 WHERE us_viewers__millions_ = "3.14" |
How many writers write the episode whose director is Jonathan Herron? | CREATE TABLE table_22580855_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT COUNT(written_by) FROM table_22580855_1 WHERE directed_by = "Jonathan Herron" |
which is the biggest production code? | CREATE TABLE table_22580855_1 (production_code INTEGER) | SELECT MAX(production_code) FROM table_22580855_1 |
who are the writers when the production code is 8011? | CREATE TABLE table_22580855_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_22580855_1 WHERE production_code = 8011 |
what is the name of the episode whose writer is Timothy J. Lea and the director is Norberto Barba? | CREATE TABLE table_22580855_1 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR) | SELECT title FROM table_22580855_1 WHERE written_by = "Timothy J. Lea" AND directed_by = "Norberto Barba" |
What is the least year when men's singles is Raju Rai? | CREATE TABLE table_22587192_1 (year INTEGER, mens_singles VARCHAR) | SELECT MIN(year) FROM table_22587192_1 WHERE mens_singles = "Raju Rai" |
How many outcomes are listed when the final opponent was Johan Kriek? | CREATE TABLE table_22597626_5 (outcome VARCHAR, opponent_in_the_final VARCHAR) | SELECT COUNT(outcome) FROM table_22597626_5 WHERE opponent_in_the_final = "Johan Kriek" |
How many miles were driven in the race where the winner finished in 2:47:11? | CREATE TABLE table_22648285_1 (miles__km_ VARCHAR, race_time VARCHAR) | SELECT miles__km_ FROM table_22648285_1 WHERE race_time = "2:47:11" |
What date was the race in 1968 run on? | CREATE TABLE table_22648285_1 (date VARCHAR, year VARCHAR) | SELECT date FROM table_22648285_1 WHERE year = 1968 |
What year had a race with 301* laps? | CREATE TABLE table_22648285_1 (year VARCHAR, laps VARCHAR) | SELECT year FROM table_22648285_1 WHERE laps = "301*" |
How many races did Cale Yarborough win at an average speed of 88.924 mph? | CREATE TABLE table_22648285_1 (race_time VARCHAR, driver VARCHAR, average_speed__mph_ VARCHAR) | SELECT COUNT(race_time) FROM table_22648285_1 WHERE driver = "Cale Yarborough" AND average_speed__mph_ = "88.924" |
Name the most pos for west bromwich albion club | CREATE TABLE table_226619_12 (pos INTEGER, club VARCHAR) | SELECT MAX(pos) FROM table_226619_12 WHERE club = "West Bromwich Albion" |
Name the points for 212 respect toward opponents | CREATE TABLE table_226619_12 (points VARCHAR, respect_toward_opponents VARCHAR) | SELECT points FROM table_226619_12 WHERE respect_toward_opponents = 212 |
Name the pos for west ham united | CREATE TABLE table_226619_12 (pos INTEGER, club VARCHAR) | SELECT MIN(pos) FROM table_226619_12 WHERE club = "West Ham United" |
Name the date of birth for 27/07/86 | CREATE TABLE table_22705586_1 (name VARCHAR, date_of_birth VARCHAR) | SELECT name FROM table_22705586_1 WHERE date_of_birth = "27/07/86" |
Name the least number | CREATE TABLE table_22705586_1 (number INTEGER) | SELECT MIN(number) FROM table_22705586_1 |
Name the nationality for francesco guglielmi | CREATE TABLE table_22705586_1 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_22705586_1 WHERE name = "Francesco Guglielmi" |
Name the height for date of birth being 17/08/75 | CREATE TABLE table_22705586_1 (height__m_ INTEGER, date_of_birth VARCHAR) | SELECT MIN(height__m_) FROM table_22705586_1 WHERE date_of_birth = "17/08/75" |
How many points did player 7 score in the challenge cup? | CREATE TABLE table_22683369_8 (challenge_cup VARCHAR, p VARCHAR) | SELECT COUNT(challenge_cup) FROM table_22683369_8 WHERE p = 7 |
What is Kris doolan's league number? | CREATE TABLE table_22683369_8 (league VARCHAR, player VARCHAR) | SELECT COUNT(league) FROM table_22683369_8 WHERE player = "Kris Doolan" |
What is bryan hodge's player number | CREATE TABLE table_22683369_8 (p VARCHAR, player VARCHAR) | SELECT COUNT(p) FROM table_22683369_8 WHERE player = "Bryan Hodge" |
What was the lowest number of points scored in the league cup? | CREATE TABLE table_22683369_8 (league INTEGER) | SELECT MIN(league) AS Cup FROM table_22683369_8 |
When did the Cowboys score 13 points in 1966? | CREATE TABLE table_22801165_1 (date VARCHAR, cowboys_points VARCHAR) | SELECT date FROM table_22801165_1 WHERE cowboys_points = 13 |
What was the Cowboys' record for Nov. 5, 1966? | CREATE TABLE table_22801165_1 (record VARCHAR, date VARCHAR) | SELECT record FROM table_22801165_1 WHERE date = "Nov. 5" |
Who won the regular season when Maryland won the tournament? | CREATE TABLE table_22779004_1 (regular_season_winner VARCHAR, tournament_winner VARCHAR) | SELECT regular_season_winner FROM table_22779004_1 WHERE tournament_winner = "Maryland" |
Who won the tournament when Idaho State won the regular season? | CREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR) | SELECT conference AS Tournament FROM table_22779004_1 WHERE regular_season_winner = "Idaho State" |
Who won the regular season when Missouri Valley Conference took place? | CREATE TABLE table_22779004_1 (regular_season_winner VARCHAR, conference VARCHAR) | SELECT regular_season_winner FROM table_22779004_1 WHERE conference = "Missouri Valley conference" |
What was the conference when Arizona State won the regular season? | CREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR) | SELECT conference FROM table_22779004_1 WHERE regular_season_winner = "Arizona State" |
Who is the tournament winner in the Atlantic Coast Conference? | CREATE TABLE table_22779004_1 (tournament_winner VARCHAR, conference VARCHAR) | SELECT tournament_winner FROM table_22779004_1 WHERE conference = "Atlantic Coast conference" |
Which county had a 3.6% unemployment rate? | CREATE TABLE table_22815568_2 (county VARCHAR, unemployment_rate VARCHAR) | SELECT county FROM table_22815568_2 WHERE unemployment_rate = "3.6%" |
What is the status of the county that has a 17.3% poverty rate? | CREATE TABLE table_22815568_2 (status VARCHAR, poverty_rate VARCHAR) | SELECT status FROM table_22815568_2 WHERE poverty_rate = "17.3%" |
What is the market income per capita of the county with the 9.4% poverty rate? | CREATE TABLE table_22815568_2 (market_income_per_capita VARCHAR, poverty_rate VARCHAR) | SELECT market_income_per_capita FROM table_22815568_2 WHERE poverty_rate = "9.4%" |
How many status' are there with a population of 90565? | CREATE TABLE table_22815568_2 (status VARCHAR, population VARCHAR) | SELECT COUNT(status) FROM table_22815568_2 WHERE population = 90565 |
What is the status of the county with per capita market income of $24,326? | CREATE TABLE table_22815568_2 (status VARCHAR, market_income_per_capita VARCHAR) | SELECT status FROM table_22815568_2 WHERE market_income_per_capita = "$24,326" |
What is the unemployment rate for the county with a market income per capita of $20,958? | CREATE TABLE table_22815568_2 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) | SELECT COUNT(unemployment_rate) FROM table_22815568_2 WHERE market_income_per_capita = "$20,958" |
List all who wrote for production code 1ark07. | CREATE TABLE table_22835602_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_22835602_1 WHERE production_code = "1ARK07" |
How many directors were there for the production code 1ark08? | CREATE TABLE table_22835602_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT COUNT(directed_by) FROM table_22835602_1 WHERE production_code = "1ARK08" |
List all directors from episodes with viewership of 1.945 million. | CREATE TABLE table_22835602_1 (directed_by VARCHAR, viewers__in_millions_ VARCHAR) | SELECT directed_by FROM table_22835602_1 WHERE viewers__in_millions_ = "1.945" |
What is the original air date for production code 1ark79? | CREATE TABLE table_22835602_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_22835602_1 WHERE production_code = "1ARK79" |
How many rounds were there in the 2006 davis cup europe/africa group I? | CREATE TABLE table_22853654_10 (round VARCHAR, edition VARCHAR) | SELECT COUNT(round) FROM table_22853654_10 WHERE edition = "2006 Davis Cup Europe/Africa Group I" |
Where does the team play May 3? | CREATE TABLE table_22879262_13 (team VARCHAR, date VARCHAR) | SELECT team FROM table_22879262_13 WHERE date = "May 3" |
What team was the game on February 27 played against? | CREATE TABLE table_22879323_8 (team VARCHAR, date VARCHAR) | SELECT team FROM table_22879323_8 WHERE date = "February 27" |
What was the score of the game in which Brook Lopez (8) did the high rebounds? | CREATE TABLE table_22879323_8 (score VARCHAR, high_rebounds VARCHAR) | SELECT score FROM table_22879323_8 WHERE high_rebounds = "Brook Lopez (8)" |
Who did the high assists in the game played on February 9? | CREATE TABLE table_22879323_8 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_22879323_8 WHERE date = "February 9" |
What was the record in the game against Memphis? | CREATE TABLE table_22879323_8 (record VARCHAR, team VARCHAR) | SELECT record FROM table_22879323_8 WHERE team = "Memphis" |
What's the highest game number for a game in which Kris Humphries (8) did the high rebounds? | CREATE TABLE table_22879323_8 (game INTEGER, high_rebounds VARCHAR) | SELECT MAX(game) FROM table_22879323_8 WHERE high_rebounds = "Kris Humphries (8)" |
When 0-1 is the series who has the highest amount of assists? | CREATE TABLE table_22883210_11 (high_assists VARCHAR, series VARCHAR) | SELECT high_assists FROM table_22883210_11 WHERE series = "0-1" |
When 5 is the game who has the highest amount of points? | CREATE TABLE table_22883210_11 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_22883210_11 WHERE game = 5 |
When 1-1 is the series who is the team? | CREATE TABLE table_22883210_11 (team VARCHAR, series VARCHAR) | SELECT team FROM table_22883210_11 WHERE series = "1-1" |
When george hill (29) has the highest amount of points what is the date? | CREATE TABLE table_22883210_11 (date VARCHAR, high_points VARCHAR) | SELECT date FROM table_22883210_11 WHERE high_points = "George Hill (29)" |
Name the audition city for hyatt regency chicago | CREATE TABLE table_22897967_1 (audition_city VARCHAR, callback_venue VARCHAR) | SELECT audition_city FROM table_22897967_1 WHERE callback_venue = "Hyatt Regency Chicago" |
Name the callback date for amway arena | CREATE TABLE table_22897967_1 (callback_date VARCHAR, audition_venue VARCHAR) | SELECT callback_date FROM table_22897967_1 WHERE audition_venue = "Amway Arena" |
Name the guest judge for first audition date being july 9, 2009 | CREATE TABLE table_22897967_1 (guest_judge VARCHAR, first_audition_date VARCHAR) | SELECT COUNT(guest_judge) FROM table_22897967_1 WHERE first_audition_date = "July 9, 2009" |
Name the total number of golden tickets being rosen shingle creek resort | CREATE TABLE table_22897967_1 (golden_tickets VARCHAR, callback_venue VARCHAR) | SELECT COUNT(golden_tickets) FROM table_22897967_1 WHERE callback_venue = "Rosen Shingle Creek Resort" |
Name the golden ticket for invesco field | CREATE TABLE table_22897967_1 (golden_tickets VARCHAR, audition_venue VARCHAR) | SELECT golden_tickets FROM table_22897967_1 WHERE audition_venue = "Invesco Field" |
Name the k. r. narayanan values for pondicherry | CREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR) | SELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = "Pondicherry" |
Name the kr narayanan votes for values being 936 for kr | CREATE TABLE table_22897453_1 (kr_narayanan__votes_ VARCHAR, kr_narayanan__values_ VARCHAR) | SELECT kr_narayanan__votes_ FROM table_22897453_1 WHERE kr_narayanan__values_ = 936 |
Name the most kr votes for value of each vote for 208 | CREATE TABLE table_22897453_1 (kr_narayanan__votes_ INTEGER, value_of_each_vote VARCHAR) | SELECT MAX(kr_narayanan__votes_) FROM table_22897453_1 WHERE value_of_each_vote = 208 |
Name the number of tn seshan values for kr values is 478608 | CREATE TABLE table_22897453_1 (tn_seshan__values_ VARCHAR, kr_narayanan__values_ VARCHAR) | SELECT COUNT(tn_seshan__values_) FROM table_22897453_1 WHERE kr_narayanan__values_ = 478608 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.