context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_2331549_1 (year VARCHAR, third_place VARCHAR) | Which years did Michigan state university come in third place? | SELECT year FROM table_2331549_1 WHERE third_place = "Michigan State University" |
CREATE TABLE table_2331549_1 (champion VARCHAR, third_place VARCHAR) | Who were the champions in years where michigan technological university was in third place? | SELECT champion FROM table_2331549_1 WHERE third_place = "Michigan Technological University" |
CREATE TABLE table_2331549_1 (host_city VARCHAR, host_school VARCHAR) | What was the host city in years where the host school was école de technologie supérieure? | SELECT host_city FROM table_2331549_1 WHERE host_school = "École de technologie supérieure" |
CREATE TABLE table_2331549_1 (second_place VARCHAR, champion VARCHAR) | Who came in second place when the champion was south dakota school of mines & technology? | SELECT second_place FROM table_2331549_1 WHERE champion = "South Dakota School of Mines & Technology" |
CREATE TABLE table_23316034_16 (innings VARCHAR, average VARCHAR) | If the average is 45.65, what is the total number of innings? | SELECT COUNT(innings) FROM table_23316034_16 WHERE average = "45.65" |
CREATE TABLE table_23316034_16 (player VARCHAR, innings VARCHAR) | What is the name of the player if the innings is 82? | SELECT player FROM table_23316034_16 WHERE innings = 82 |
CREATE TABLE table_23316034_16 (average VARCHAR, innings VARCHAR) | If the innings is 68, what is the average? | SELECT average FROM table_23316034_16 WHERE innings = 68 |
CREATE TABLE table_23316034_16 (matches INTEGER, runs VARCHAR) | If the runs is 5028, what is the matches maximum? | SELECT MAX(matches) FROM table_23316034_16 WHERE runs = 5028 |
CREATE TABLE table_23316034_23 (dismissals INTEGER, player VARCHAR) | Name the least dismissals for sammy carter | SELECT MIN(dismissals) FROM table_23316034_23 WHERE player = "Sammy Carter" |
CREATE TABLE table_23316034_23 (dismissals VARCHAR, player VARCHAR) | Name the number of dismissals for adam gilchrist | SELECT COUNT(dismissals) FROM table_23316034_23 WHERE player = "Adam Gilchrist" |
CREATE TABLE table_23316034_23 (dismissals INTEGER, rank VARCHAR) | Name the least dismissals for 4 rank | SELECT MAX(dismissals) FROM table_23316034_23 WHERE rank = 4 |
CREATE TABLE table_2333416_2 (top_10 VARCHAR, winnings VARCHAR) | How many top 10 finishes did Ken Bouchard get in the year he won $17,695? | SELECT top_10 FROM table_2333416_2 WHERE winnings = "$17,695" |
CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR) | What year did Ken Bouchard finish in 78th place? | SELECT year FROM table_2333416_2 WHERE position = "78th" |
CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR) | How many seasons did Ken Bouchard finish in 38th place? | SELECT COUNT(year) FROM table_2333416_2 WHERE position = "38th" |
CREATE TABLE table_2333416_2 (wins INTEGER) | What is the greatest number of wins Ken Bouchard had in a season? | SELECT MIN(wins) FROM table_2333416_2 |
CREATE TABLE table_23338693_1 (races VARCHAR, season VARCHAR, podiums VARCHAR) | How many races in 2012 season have 0 podiums? | SELECT COUNT(races) FROM table_23338693_1 WHERE season = 2012 AND podiums = 0 |
CREATE TABLE table_23338693_1 (season VARCHAR, team VARCHAR) | How many seasons have motopark team? | SELECT COUNT(season) FROM table_23338693_1 WHERE team = "Motopark" |
CREATE TABLE table_23338693_1 (team VARCHAR, position VARCHAR, season VARCHAR) | Which team has nc position for 2010 season? | SELECT team FROM table_23338693_1 WHERE position = "NC" AND season = 2010 |
CREATE TABLE table_23338693_1 (points VARCHAR, series VARCHAR, f_laps VARCHAR) | How many points have a series of british formula renault 2.0 winter cup and f/laps of 0? | SELECT points FROM table_23338693_1 WHERE series = "British Formula Renault 2.0 Winter Cup" AND f_laps = 0 |
CREATE TABLE table_23346303_5 (minutes INTEGER, rebounds VARCHAR) | If the amount of rebounds is 0, what is the maximum minutes? | SELECT MAX(minutes) FROM table_23346303_5 WHERE rebounds = 0 |
CREATE TABLE table_23346303_5 (points VARCHAR, assists VARCHAR) | What is the points total number if the assists is 7? | SELECT COUNT(points) FROM table_23346303_5 WHERE assists = 7 |
CREATE TABLE table_23346303_5 (player VARCHAR, field_goals VARCHAR) | If the field goals is 26, what are the players names? | SELECT player FROM table_23346303_5 WHERE field_goals = 26 |
CREATE TABLE table_23346303_5 (steals INTEGER, player VARCHAR) | If the player is Jasmine Wynne, what is the minimum number of steals? | SELECT MIN(steals) FROM table_23346303_5 WHERE player = "Jasmine Wynne" |
CREATE TABLE table_23346303_5 (blocks VARCHAR, points VARCHAR) | What is the blocks total number if the points is 4? | SELECT COUNT(blocks) FROM table_23346303_5 WHERE points = 4 |
CREATE TABLE table_23346303_4 (steals VARCHAR, player VARCHAR) | How many steals did jasmine wynne have? | SELECT steals FROM table_23346303_4 WHERE player = "Jasmine Wynne" |
CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR) | How many games did janae stokes play? | SELECT MAX(games_played) FROM table_23346303_4 WHERE player = "Janae Stokes" |
CREATE TABLE table_23346303_4 (rebounds VARCHAR, player VARCHAR) | How many rebounds did crystal ayers have? | SELECT COUNT(rebounds) FROM table_23346303_4 WHERE player = "Crystal Ayers" |
CREATE TABLE table_23346983_1 (record VARCHAR, game VARCHAR) | What was the Orangemen record during game 3? | SELECT record FROM table_23346983_1 WHERE game = 3 |
CREATE TABLE table_23346983_1 (record VARCHAR, opponent VARCHAR) | What was the record for the Orangemen when they played against Army? | SELECT record FROM table_23346983_1 WHERE opponent = "Army" |
CREATE TABLE table_23346983_1 (orangemen_points INTEGER, game VARCHAR) | How many points did the Orangemen score in game 1? | SELECT MAX(orangemen_points) FROM table_23346983_1 WHERE game = 1 |
CREATE TABLE table_23346983_1 (opponent VARCHAR, record VARCHAR) | Who did the Orangemen play against when their record was 5-1? | SELECT opponent FROM table_23346983_1 WHERE record = "5-1" |
CREATE TABLE table_23379776_6 (location VARCHAR, year VARCHAR) | Name the location for 2007 | SELECT location FROM table_23379776_6 WHERE year = 2007 |
CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, mohsen_rezaee VARCHAR) | Display the lowest score for candidate Mir-Hossein Mousavi when candidate Mohsen Rezaee scored 44809 votes | SELECT MIN(mir_hossein_mousavi) FROM table_23390604_1 WHERE mohsen_rezaee = 44809 |
CREATE TABLE table_23390604_1 (mohsen_rezaee INTEGER, mir_hossein_mousavi VARCHAR) | What is the highest score for candidate Mohsen Rezaee when candidate mir-hossein mousavi scored 837858 votes? | SELECT MAX(mohsen_rezaee) FROM table_23390604_1 WHERE mir_hossein_mousavi = 837858 |
CREATE TABLE table_23390604_1 (total_votes VARCHAR, spoiled_ballots VARCHAR) | List all the total scores for the election which had 3072 invalid votes | SELECT total_votes FROM table_23390604_1 WHERE spoiled_ballots = 3072 |
CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, province VARCHAR) | What was the highest score of candidate mir-hossein mousavi in the location known as azarbaijan, west? | SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE province = "Azarbaijan, West" |
CREATE TABLE table_23390604_1 (mahmoud_ahmadinejad VARCHAR, mir_hossein_mousavi VARCHAR) | List all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obtained 218481 votes. | SELECT mahmoud_ahmadinejad FROM table_23390604_1 WHERE mir_hossein_mousavi = 218481 |
CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR) | What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683 | SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683 |
CREATE TABLE table_23385853_1 (surface VARCHAR, round VARCHAR) | Name surface for 8 round | SELECT surface FROM table_23385853_1 WHERE round = 8 |
CREATE TABLE table_23385853_1 (rally_base VARCHAR, round VARCHAR) | Name the rally base for 5 round | SELECT rally_base FROM table_23385853_1 WHERE round = 5 |
CREATE TABLE table_23385853_1 (rally_base VARCHAR, rally_name VARCHAR) | Name the rally base for rallye de france alsace | SELECT rally_base FROM table_23385853_1 WHERE rally_name = "Rallye de France Alsace" |
CREATE TABLE table_23385853_19 (pos INTEGER, points VARCHAR) | What is the lowest position for a driver with 2 points? | SELECT MAX(pos) FROM table_23385853_19 WHERE points = 2 |
CREATE TABLE table_23385853_19 (driver VARCHAR, stage_wins VARCHAR) | What driver(s) had over 65 stag wins? | SELECT driver FROM table_23385853_19 WHERE stage_wins = 65 |
CREATE TABLE table_23385853_20 (power_stage_wins VARCHAR, wins VARCHAR) | What is the power stage wins total number if the wins is 10? | SELECT COUNT(power_stage_wins) FROM table_23385853_20 WHERE wins = 10 |
CREATE TABLE table_23385853_20 (pos INTEGER, finishes VARCHAR) | If finishes is 10, what is the POS minimum? | SELECT MIN(pos) FROM table_23385853_20 WHERE finishes = 10 |
CREATE TABLE table_23385853_20 (finishes INTEGER) | What is the finishes maximum number? | SELECT MAX(finishes) FROM table_23385853_20 |
CREATE TABLE table_23394920_1 (branding VARCHAR, power_kw VARCHAR, station_type VARCHAR) | When relay is the station type and 5kw is the power kw what is the branding? | SELECT branding FROM table_23394920_1 WHERE power_kw = "5kW" AND station_type = "Relay" |
CREATE TABLE table_23394920_1 (power_kw VARCHAR, callsign VARCHAR) | When dxrt-tv is the callsign what is the power kw? | SELECT power_kw FROM table_23394920_1 WHERE callsign = "DXRT-TV" |
CREATE TABLE table_23394920_1 (power_kw VARCHAR, callsign VARCHAR) | When dxzb-tv is the call sign what is the power kw? | SELECT power_kw FROM table_23394920_1 WHERE callsign = "DXZB-TV" |
CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR) | When dxcc-tv is the call sign how many station types are there? | SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DXCC-TV" |
CREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR) | When dwhr-tv is the call sign how many station types are there? | SELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = "DWHR-TV" |
CREATE TABLE table_23392257_4 (original_airdate VARCHAR, _number VARCHAR) | What date did Episode 22 originally air? | SELECT COUNT(original_airdate) FROM table_23392257_4 WHERE _number = 22 |
CREATE TABLE table_23392257_4 (original_airdate VARCHAR, viewers__millions_ VARCHAR) | What episode premier received 0.680 million viewers? | SELECT original_airdate FROM table_23392257_4 WHERE viewers__millions_ = "0.680" |
CREATE TABLE table_23392257_4 (timeslot VARCHAR, viewers__millions_ VARCHAR) | What timeslot received 0.673 viewers? | SELECT timeslot FROM table_23392257_4 WHERE viewers__millions_ = "0.673" |
CREATE TABLE table_23399481_2 (original_air_date VARCHAR, directed_by VARCHAR) | What is the original air date of the episode that was directed by David Paymer? | SELECT original_air_date FROM table_23399481_2 WHERE directed_by = "David Paymer" |
CREATE TABLE table_23399481_2 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR) | If the amount of U.S. viewers is 2.14 million, who was the episode directed by? | SELECT directed_by FROM table_23399481_2 WHERE us_viewers__in_millions_ = "2.14" |
CREATE TABLE table_23399481_2 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR) | If the amount of U.S. viewers is 2.05 milliom, who was the episode directed by? | SELECT directed_by FROM table_23399481_2 WHERE us_viewers__in_millions_ = "2.05" |
CREATE TABLE table_23399481_2 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR) | What is the director name is the U.S. viewers is 2.22 million? | SELECT directed_by FROM table_23399481_2 WHERE us_viewers__in_millions_ = "2.22" |
CREATE TABLE table_23397386_2 (viewers__millions_ VARCHAR, rating VARCHAR) | How many million viewers watched the episode that had a 2.6/7 rating/share (18-49) | SELECT viewers__millions_ FROM table_23397386_2 WHERE rating / SHARE(18 AS –49) = 2.6 / 7 |
CREATE TABLE table_23397386_2 (viewers__millions_ VARCHAR, airdate VARCHAR) | How many million viewers watched the episode that aired on March 28, 2010? | SELECT viewers__millions_ FROM table_23397386_2 WHERE airdate = "March 28, 2010" |
CREATE TABLE table_23397386_2 (rank__timeslot_ VARCHAR, airdate VARCHAR) | How many rankings (timeslot) were there for the episode that aired on May 2, 2010? | SELECT COUNT(rank__timeslot_) FROM table_23397386_2 WHERE airdate = "May 2, 2010" |
CREATE TABLE table_23399481_3 (series__number VARCHAR, us_viewers__in_millions_ VARCHAR) | What episode had 1.42 million viewers? | SELECT series__number FROM table_23399481_3 WHERE us_viewers__in_millions_ = "1.42" |
CREATE TABLE table_23399481_3 (original_air_date VARCHAR, season__number VARCHAR) | What is the original air date for episode 4? | SELECT original_air_date FROM table_23399481_3 WHERE season__number = 4 |
CREATE TABLE table_23391714_1 (team VARCHAR, chassis_engine VARCHAR) | Which team uses lola t92/00/ buick for their chassis/engine? | SELECT team FROM table_23391714_1 WHERE chassis_engine = "Lola T92/00/ Buick" |
CREATE TABLE table_23391714_1 (points INTEGER, pos VARCHAR) | When the pos equals 18 what is the max amount of points? | SELECT MAX(points) FROM table_23391714_1 WHERE pos = 18 |
CREATE TABLE table_23391714_1 (no VARCHAR, chassis_engine VARCHAR) | How many drivers used lola t92/00/ buick for their chassis/engine? | SELECT COUNT(no) FROM table_23391714_1 WHERE chassis_engine = "Lola T92/00/ Buick" |
CREATE TABLE table_23403578_3 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR) | What's the series number of the episode with a season number 5, written by Bernie Ancheta? | SELECT MIN(no_in_series) FROM table_23403578_3 WHERE written_by = "Bernie Ancheta" AND no_in_season = 5 |
CREATE TABLE table_23403578_3 (original_air_date VARCHAR, prod_code VARCHAR) | When did the episode with production code 213 air for the first time? | SELECT original_air_date FROM table_23403578_3 WHERE prod_code = "213" |
CREATE TABLE table_23403578_3 (directed_by VARCHAR, prod_code VARCHAR) | Who directed the episode with production code 208? | SELECT directed_by FROM table_23403578_3 WHERE prod_code = "208" |
CREATE TABLE table_23406517_2 (bearing___degrees VARCHAR) | How many values for 24 mountains when the bearing or degrees is 67.6 - 82.5 82.6 - 97.5 97.6 - 112.5? | SELECT COUNT(24 AS _mountains) FROM table_23406517_2 WHERE bearing___degrees = "67.6 - 82.5 82.6 - 97.5 97.6 - 112.5" |
CREATE TABLE table_23406517_2 (trigram VARCHAR, direction VARCHAR) | What is every trigram when direction is Northwest? | SELECT trigram FROM table_23406517_2 WHERE direction = "Northwest" |
CREATE TABLE table_23406517_2 (direction VARCHAR) | What are all values for 24 mountains when direction is Northeast? | SELECT 24 AS _mountains FROM table_23406517_2 WHERE direction = "Northeast" |
CREATE TABLE table_23408094_14 (total_career_titles VARCHAR, player VARCHAR) | How many career titles does roy emerson have? | SELECT total_career_titles FROM table_23408094_14 WHERE player = "Roy Emerson" |
CREATE TABLE table_23408094_14 (total_career_titles VARCHAR, span_of_years_led VARCHAR) | What were the total career titles of the player who led for 5 years? | SELECT COUNT(total_career_titles) FROM table_23408094_14 WHERE span_of_years_led = 5 |
CREATE TABLE table_23408094_14 (span_of_years_led INTEGER, tournament_at_which_lead_began VARCHAR) | Of the players whose lead began at the australian championships, what was the shortest span of years led? | SELECT MIN(span_of_years_led) FROM table_23408094_14 WHERE tournament_at_which_lead_began = "Australian Championships" |
CREATE TABLE table_23408094_14 (tournament_at_which_lead_began VARCHAR, player VARCHAR, titles_won_at_point_of_lead VARCHAR) | At which tournament did william renshaw begin his lead when he had won 7 titles? | SELECT tournament_at_which_lead_began FROM table_23408094_14 WHERE player = "William Renshaw" AND titles_won_at_point_of_lead = 7 |
CREATE TABLE table_23408094_14 (tournament_at_which_lead_began VARCHAR, player VARCHAR) | At what tournament did pete sampras begin his lead? | SELECT tournament_at_which_lead_began FROM table_23408094_14 WHERE player = "Pete Sampras" |
CREATE TABLE table_2342078_2 (directed_by VARCHAR, written_by VARCHAR) | Who are all directors when Sherwood Schwartz is the writer? | SELECT directed_by FROM table_2342078_2 WHERE written_by = "Sherwood Schwartz" |
CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR) | What is the highest episode# with the writer Paul West? | SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West" |
CREATE TABLE table_2342078_2 (production_code__order_they_were_made___number VARCHAR, episode__number VARCHAR) | What is every production code for episode # 13? | SELECT production_code__order_they_were_made___number FROM table_2342078_2 WHERE episode__number = 13 |
CREATE TABLE table_2342078_4 (episode__number INTEGER, written_by VARCHAR) | What is the highest episode number written by Harry Winkler? | SELECT MAX(episode__number) FROM table_2342078_4 WHERE written_by = "Harry Winkler" |
CREATE TABLE table_2342078_4 (directed_by VARCHAR, written_by VARCHAR) | List all directors when Brad Radnitz was the writer? | SELECT directed_by FROM table_2342078_4 WHERE written_by = "Brad Radnitz" |
CREATE TABLE table_2342078_6 (original_airdate VARCHAR, written_by VARCHAR) | Name the airdate for the episode written by howard ostroff | SELECT original_airdate FROM table_2342078_6 WHERE written_by = "Howard Ostroff" |
CREATE TABLE table_2342078_6 (production_code__number VARCHAR, episode__number VARCHAR) | Name the production code # for episode 109 | SELECT COUNT(production_code__number) FROM table_2342078_6 WHERE episode__number = 109 |
CREATE TABLE table_2342078_6 (directed_by VARCHAR, written_by VARCHAR) | Name who drected the episode written by george tibbles | SELECT directed_by FROM table_2342078_6 WHERE written_by = "George Tibbles" |
CREATE TABLE table_2342078_5 (title VARCHAR, written_by VARCHAR) | What's the title of the episode written by Harry Winkler? | SELECT title FROM table_2342078_5 WHERE written_by = "Harry Winkler" |
CREATE TABLE table_23429629_4 (act VARCHAR, place_came VARCHAR) | During the 1st Place (Won the Series), who was the act? | SELECT act FROM table_23429629_4 WHERE place_came = "1st Place (Won the Series)" |
CREATE TABLE table_23429629_4 (semi_final VARCHAR, act VARCHAR) | During the act, Playing on Glasses, what was the semi-final? | SELECT semi_final FROM table_23429629_4 WHERE act = "Playing on Glasses" |
CREATE TABLE table_23429629_4 (place_came VARCHAR, artist VARCHAR) | What was the final place came for the performance of Erlend Bratland? | SELECT place_came FROM table_23429629_4 WHERE artist = "Erlend Bratland" |
CREATE TABLE table_23423_2 (deaths_per_year VARCHAR, life_expectancy_females VARCHAR) | How many deaths per year have 66.3 as the life expectancy females? | SELECT deaths_per_year FROM table_23423_2 WHERE life_expectancy_females = "66.3" |
CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, winners_from_previous_round VARCHAR) | Which leagues entered in rounds where there were 16 winners from the previous round? | SELECT leagues_entering_at_this_round FROM table_23449363_1 WHERE winners_from_previous_round = "16" |
CREATE TABLE table_23449363_1 (round VARCHAR, clubs_involved VARCHAR) | Which rounds had 32 clubs involved? | SELECT round FROM table_23449363_1 WHERE clubs_involved = 32 |
CREATE TABLE table_23449363_1 (round VARCHAR, new_entries_this_round VARCHAR) | Which round had 24 new entries? | SELECT round FROM table_23449363_1 WHERE new_entries_this_round = "24" |
CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, round VARCHAR) | Which leagues entered an extra preliminary round? | SELECT leagues_entering_at_this_round FROM table_23449363_1 WHERE round = "Extra Preliminary round" |
CREATE TABLE table_23453931_5 (location VARCHAR, opponent VARCHAR) | Name the location of buffalo sabres | SELECT location FROM table_23453931_5 WHERE opponent = "Buffalo Sabres" |
CREATE TABLE table_23453931_5 (game VARCHAR, record VARCHAR) | Name the game for 13–17–9 | SELECT game FROM table_23453931_5 WHERE record = "13–17–9" |
CREATE TABLE table_23453931_5 (score VARCHAR, date VARCHAR) | Name the score for december 19 | SELECT score FROM table_23453931_5 WHERE date = "December 19" |
CREATE TABLE table_23453931_5 (date VARCHAR, opponent VARCHAR) | Name the date for new york islanders | SELECT date FROM table_23453931_5 WHERE opponent = "New York Islanders" |
CREATE TABLE table_23453931_5 (opponent VARCHAR, date VARCHAR) | Name the opponents for december 3 | SELECT COUNT(opponent) FROM table_23453931_5 WHERE date = "December 3" |
CREATE TABLE table_23453931_8 (game VARCHAR, opponent VARCHAR) | How many games did they play the carolina hurricanes? | SELECT COUNT(game) FROM table_23453931_8 WHERE opponent = "Carolina Hurricanes" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.