context
stringlengths 27
484
| question
stringlengths 12
244
| answer
stringlengths 32
484
|
---|---|---|
CREATE TABLE table_name_54 (opponent VARCHAR, loss VARCHAR) | Which opponent lost with pitcher Kinney (0-1)? | SELECT opponent FROM table_name_54 WHERE loss = "kinney (0-1)" |
CREATE TABLE table_16751596_2 (republican VARCHAR, dates_administered VARCHAR) | Name the republican steve sauerberg where dates administered september 15-september 18, 2008 | SELECT republican AS :_steve_sauerberg FROM table_16751596_2 WHERE dates_administered = "September 15-September 18, 2008" |
CREATE TABLE table_2439728_1 (founded INTEGER, school VARCHAR) | when was lawrence academy at groton established? | SELECT MIN(founded) FROM table_2439728_1 WHERE school = "Lawrence Academy at Groton" |
CREATE TABLE table_22871239_8 (team VARCHAR, score VARCHAR) | Name the team for w 125-115 score | SELECT team FROM table_22871239_8 WHERE score = "W 125-115" |
CREATE TABLE table_17004367_3 (weekly_rank VARCHAR, total VARCHAR) | what is the number of weekly rank where the total is 1980000? | SELECT COUNT(weekly_rank) FROM table_17004367_3 WHERE total = 1980000 |
CREATE TABLE table_name_68 (result VARCHAR, goal VARCHAR) | What is the Result where Goal is 9? | SELECT result FROM table_name_68 WHERE goal = 9 |
CREATE TABLE table_name_22 (writer VARCHAR, film_title VARCHAR) | Who wrote Toy Story? | SELECT writer FROM table_name_22 WHERE film_title = "toy story" |
CREATE TABLE table_name_24 (rank INTEGER, points INTEGER) | What is the highest rank of the player with less than 32 points? | SELECT MAX(rank) FROM table_name_24 WHERE points < 32 |
CREATE TABLE table_16388439_2 (away_team VARCHAR, crowd VARCHAR) | When the crowd was 8642 what was the away team's score? | SELECT away_team AS score FROM table_16388439_2 WHERE crowd = 8642 |
CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR) | Who did the Chiefs play at the game attended by 34,063? | SELECT opponent FROM table_name_82 WHERE attendance = "34,063" |
CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR) | In what place did the golfer that scored 66-74=140 finish? | SELECT place FROM table_name_19 WHERE score = 66 - 74 = 140 |
CREATE TABLE table_name_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR) | Who is the second member with first member Sir Rowland Hill, BT, and a conservative second party? | SELECT second_member FROM table_name_3 WHERE first_member = "sir rowland hill, bt" AND second_party = "conservative" |
CREATE TABLE table_name_44 (team_1 VARCHAR) | What is the first round when team 1 was toulouse fc (d1)? | SELECT 1 AS st_round FROM table_name_44 WHERE team_1 = "toulouse fc (d1)" |
CREATE TABLE table_1342013_34 (party VARCHAR, candidates VARCHAR) | how many party with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% | SELECT COUNT(party) FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%" |
CREATE TABLE table_name_39 (in_production VARCHAR, toxic_materials VARCHAR, technology VARCHAR) | What's the production if the technology is sodium-sulfur batteries and yes to toxic materials? | SELECT in_production FROM table_name_39 WHERE toxic_materials = "yes" AND technology = "sodium-sulfur batteries" |
CREATE TABLE table_name_65 (away_team VARCHAR, ground VARCHAR) | Which Away team has a Ground of gabba? | SELECT away_team FROM table_name_65 WHERE ground = "gabba" |
CREATE TABLE table_name_1 (capital VARCHAR, voivodeship_separate_city VARCHAR) | what is the capital with the Voivodeship Separate city of białostockie? | SELECT capital FROM table_name_1 WHERE voivodeship_separate_city = "białostockie" |
CREATE TABLE table_14853156_2 (earnings___ VARCHAR, best_finish VARCHAR, scoring_average VARCHAR) | How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average? | SELECT COUNT(earnings___) AS $__ FROM table_14853156_2 WHERE best_finish = "T2" AND scoring_average = "71.25" |
CREATE TABLE table_name_90 (title VARCHAR, notes VARCHAR) | Which title had Notes of 8 episodes? | SELECT title FROM table_name_90 WHERE notes = "8 episodes" |
CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR) | When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix? | SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE dirty_electric_grid_rocky_mountains__denver_ = "380 g/mi (236 g/km)" |
CREATE TABLE table_26801821_1 (production_code VARCHAR, no_in_series VARCHAR) | What is the production code for the number 5 series ? | SELECT production_code FROM table_26801821_1 WHERE no_in_series = 5 |
CREATE TABLE table_name_74 (country VARCHAR, total VARCHAR) | Which Country has a Total of 148? | SELECT country FROM table_name_74 WHERE total = 148 |
CREATE TABLE table_name_12 (declination___j2000__ VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) | Tell me the declination with apparent magnitude more than 10.4 and NGC number of 5112 | SELECT declination___j2000__ FROM table_name_12 WHERE apparent_magnitude > 10.4 AND ngc_number = 5112 |
CREATE TABLE table_name_1 (week INTEGER, attendance VARCHAR) | What is the least recent week number when the attendance is 16,562? | SELECT MIN(week) FROM table_name_1 WHERE attendance = 16 OFFSET 562 |
CREATE TABLE table_name_57 (outcome VARCHAR, date VARCHAR) | What is the outcome on June 9, 1997? | SELECT outcome FROM table_name_57 WHERE date = "june 9, 1997" |
CREATE TABLE table_name_95 (wins VARCHAR, events VARCHAR, top_10 VARCHAR) | How many wins are related to events of 7 and more than 2 top-10s? | SELECT COUNT(wins) FROM table_name_95 WHERE events = 7 AND top_10 > 2 |
CREATE TABLE table_17103566_1 (match_number VARCHAR, result VARCHAR) | What is the match number where the result is ICL World by 8 wickets? | SELECT match_number FROM table_17103566_1 WHERE result = "ICL World by 8 wickets" |
CREATE TABLE table_1912713_2 (意義_meaning VARCHAR, 性情_personality VARCHAR) | What is the meaning of a gentle personality? | SELECT 意義_meaning FROM table_1912713_2 WHERE 性情_personality = "Gentle" |
CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, silver VARCHAR) | What is the lowest Total for Italy with less than 0 silver? | SELECT MIN(total) FROM table_name_32 WHERE nation = "italy" AND silver < 0 |
CREATE TABLE table_name_74 (skip VARCHAR, alternate VARCHAR) | Who is the skip of the nation with Laurens van der Windt as the alternate? | SELECT skip FROM table_name_74 WHERE alternate = "laurens van der windt" |
CREATE TABLE table_name_13 (nation VARCHAR, total VARCHAR) | What is the nation for 6 total? | SELECT nation FROM table_name_13 WHERE total = 6 |
CREATE TABLE table_name_97 (caps VARCHAR, name VARCHAR, goals_per_match VARCHAR) | How many caps does Jon Dahl Tomasson, who has less than 0.46 goals per match, have? | SELECT COUNT(caps) FROM table_name_97 WHERE name = "jon dahl tomasson" AND goals_per_match < 0.46 |
CREATE TABLE table_24430894_20 (mutya_ng_pilipinas_asia_pacific VARCHAR) | Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong? | SELECT 2 AS nd_runner_up FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Rochelle Romero Ong" |
CREATE TABLE table_name_47 (tournament VARCHAR) | What tournament has a 2003 of a? | SELECT tournament FROM table_name_47 WHERE 2003 = "a" |
CREATE TABLE table_name_30 (nfl_team VARCHAR, draft_year VARCHAR) | In 1978 what is the NFL team? | SELECT nfl_team FROM table_name_30 WHERE draft_year = 1978 |
CREATE TABLE table_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR) | What is the country where there are 8 children per donor and no data for donor payments? | SELECT country FROM table_16175217_1 WHERE children_per_donor = "8 children" AND donor_payment = "no data" |
CREATE TABLE table_28677723_10 (tor_fløysvik INTEGER, karianne_gulliksen VARCHAR) | What is listed in tor floysvik when karianne gulliksen is 6? | SELECT MIN(tor_fløysvik) FROM table_28677723_10 WHERE karianne_gulliksen = 6 |
CREATE TABLE table_name_9 (year INTEGER, location VARCHAR) | In what Year is the Location of the Festival Koror, Palau? | SELECT SUM(year) FROM table_name_9 WHERE location = "koror, palau" |
CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR) | In what place did Darren Clarke finish? | SELECT place FROM table_name_23 WHERE player = "darren clarke" |
CREATE TABLE table_name_43 (goals INTEGER, latest_cap VARCHAR, caps VARCHAR) | How many goals are associated with over 97 caps and a Latest cap of april 24, 2013? | SELECT AVG(goals) FROM table_name_43 WHERE latest_cap = "april 24, 2013" AND caps > 97 |
CREATE TABLE table_name_68 (surface VARCHAR, date VARCHAR) | On what surface was the 26 August 2001 tournament played? | SELECT surface FROM table_name_68 WHERE date = "26 august 2001" |
CREATE TABLE table_24540893_6 (position VARCHAR, school VARCHAR) | How many players attended SE missouri state? | SELECT COUNT(position) FROM table_24540893_6 WHERE school = "SE Missouri State" |
CREATE TABLE table_1688640_4 (year_started INTEGER, car__number VARCHAR) | Name the year started where car number is 55 | SELECT MAX(year_started) FROM table_1688640_4 WHERE car__number = "55" |
CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR) | Which level has marvin gaye as artist 1 and david bowie as artist 2? | SELECT level FROM table_23649244_1 WHERE artist_1 = "Marvin Gaye" AND artist_2 = "David Bowie" |
CREATE TABLE table_name_83 (the_tradition VARCHAR, senior_british_open VARCHAR, us_senior_open VARCHAR) | Who was the tradition when Roberto Devicenzo won the U.S. Senior Open and the Senior British Open was founded in 1987? | SELECT the_tradition FROM table_name_83 WHERE senior_british_open = "founded in 1987" AND us_senior_open = "roberto devicenzo" |
CREATE TABLE table_name_51 (league VARCHAR, playoffs VARCHAR) | Which league's playoffs was national semi-finals? | SELECT league FROM table_name_51 WHERE playoffs = "national semi-finals" |
CREATE TABLE table_name_64 (round VARCHAR, player VARCHAR) | What round does Bryan Berard do? | SELECT round FROM table_name_64 WHERE player = "bryan berard" |
CREATE TABLE table_15187735_12 (netflix VARCHAR, segment_d VARCHAR) | What is the Netflix where Segment D is pressure gauges ? | SELECT netflix FROM table_15187735_12 WHERE segment_d = "Pressure Gauges" |
CREATE TABLE table_name_78 (lost VARCHAR, points_for VARCHAR) | What lost has 528 as the points? | SELECT lost FROM table_name_78 WHERE points_for = "528" |
CREATE TABLE table_name_39 (sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | Which Sydney has Gold Coast no, Adelaide no< and Auckland no? | SELECT sydney FROM table_name_39 WHERE gold_coast = "no" AND adelaide = "no" AND auckland = "no" |
CREATE TABLE table_name_80 (runner VARCHAR, total VARCHAR) | How many 5K wins did Emily Chebet, who had more than 2 total, have? | SELECT COUNT(5 AS k_wins) FROM table_name_80 WHERE runner = "emily chebet" AND total > 2 |
CREATE TABLE table_name_36 (home_team VARCHAR) | What is the average home team score for Footscray? | SELECT home_team AS score FROM table_name_36 WHERE home_team = "footscray" |
CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR, producer VARCHAR, director VARCHAR) | How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema? | SELECT COUNT(year) FROM table_name_94 WHERE producer = "star cinema" AND director = "rory quintos" AND title = "kay tagal kang hinintay" |
CREATE TABLE table_name_56 (record VARCHAR, score VARCHAR) | What record has a score of 111-96? | SELECT record FROM table_name_56 WHERE score = "111-96" |
CREATE TABLE table_name_96 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) | WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY? | SELECT score FROM table_name_96 WHERE money___$__ = 85 AND player = "clarence hackney" |
CREATE TABLE table_name_13 (rating___percentage_ INTEGER, channel VARCHAR, share___percentage_ VARCHAR) | Name the average rating % for shandong satellite tv and share % less than 1.74 | SELECT AVG(rating___percentage_) FROM table_name_13 WHERE channel = "shandong satellite tv" AND share___percentage_ < 1.74 |
CREATE TABLE table_name_91 (celebrity VARCHAR, finished VARCHAR) | Who was the celebrity who finished in 7th place? | SELECT celebrity FROM table_name_91 WHERE finished = "7th" |
CREATE TABLE table_name_80 (rank INTEGER, time VARCHAR) | What is the least rank for athletes with a time of 6:36.65? | SELECT MIN(rank) FROM table_name_80 WHERE time = "6:36.65" |
CREATE TABLE table_14319023_2 (mixed_doubles VARCHAR, girls_doubles VARCHAR) | When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles? | SELECT mixed_doubles FROM table_14319023_2 WHERE girls_doubles = "Anneke Feinya Agustin Wenny Setiawati" |
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR) | For home of River Plate, what is the first leg listed? | SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "River Plate" |
CREATE TABLE table_name_96 (result VARCHAR, venue VARCHAR) | What is the result at Dreisamstadion, Freiburg? | SELECT result FROM table_name_96 WHERE venue = "dreisamstadion, freiburg" |
CREATE TABLE table_22858557_1 (championship VARCHAR, opponent_in_final VARCHAR) | How many championships have there been with Steffi Graf? | SELECT championship FROM table_22858557_1 WHERE opponent_in_final = "Steffi Graf" |
CREATE TABLE table_name_71 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | Who was the rider for laps less than 23 with grid greater than 21 that had a time of +1 lap? | SELECT rider FROM table_name_71 WHERE laps < 23 AND grid > 21 AND time_retired = "+1 lap" |
CREATE TABLE table_name_86 (position VARCHAR, home_town VARCHAR) | What is the Position of the Player from Temple Hills, MD? | SELECT position FROM table_name_86 WHERE home_town = "temple hills, md" |
CREATE TABLE table_name_60 (lost VARCHAR, position VARCHAR, played VARCHAR, team VARCHAR) | How many losses have a played greater than 8, ypiranga-sp as the team, with a position greater than 5? | SELECT COUNT(lost) FROM table_name_60 WHERE played > 8 AND team = "ypiranga-sp" AND position > 5 |
CREATE TABLE table_name_50 (week INTEGER, opponent VARCHAR) | What was the score of the game against the San Diego Chargers? | SELECT SUM(week) FROM table_name_50 WHERE opponent = "san diego chargers" |
CREATE TABLE table_name_93 (best_actor VARCHAR, best_film VARCHAR) | Which Best Actor has a Best Film of mystery? | SELECT best_actor FROM table_name_93 WHERE best_film = "mystery" |
CREATE TABLE table_1740431_3 (tamil_months VARCHAR, season_in_english VARCHAR) | What are all Tamil months when the season in English is monsoon? | SELECT tamil_months FROM table_1740431_3 WHERE season_in_english = "Monsoon" |
CREATE TABLE table_21091162_1 (game INTEGER, record VARCHAR) | How many games have a record of 3-4-0? | SELECT MAX(game) FROM table_21091162_1 WHERE record = "3-4-0" |
CREATE TABLE table_name_36 (rank INTEGER, team VARCHAR, speed VARCHAR) | What is the Rank of the Rider with a Speed of 111.072mph in Team 250CC Honda? | SELECT AVG(rank) FROM table_name_36 WHERE team = "250cc honda" AND speed = "111.072mph" |
CREATE TABLE table_name_24 (game INTEGER, set_4 VARCHAR, set_3 VARCHAR) | What is the sum of the Game with a Set 4 of 25-21 and a Set 3 of 25-23? | SELECT SUM(game) FROM table_name_24 WHERE set_4 = "25-21" AND set_3 = "25-23" |
CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR) | What is the Year of Kodansha Novels' Tokyo Nightmare? | SELECT year FROM table_name_80 WHERE first_publisher = "kodansha novels" AND english_title = "tokyo nightmare" |
CREATE TABLE table_name_64 (rounds VARCHAR, driver VARCHAR) | How many rounds did Ken Wharton go? | SELECT rounds FROM table_name_64 WHERE driver = "ken wharton" |
CREATE TABLE table_name_18 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR) | Which owner has a description of Mark 1 pos and is dated 1956? | SELECT owner_s_ FROM table_name_18 WHERE date = 1956 AND description = "mark 1 pos" |
CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR) | What is the date of the game with 40,005 in attendance? | SELECT date FROM table_name_61 WHERE attendance = "40,005" |
CREATE TABLE table_name_35 (year VARCHAR, team VARCHAR, pos VARCHAR) | In what year did the team of aston martin racing have a position of 6th? | SELECT COUNT(year) FROM table_name_35 WHERE team = "aston martin racing" AND pos = "6th" |
CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR) | What was the smallest crowd size at a home game for Footscray? | SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "footscray" |
CREATE TABLE table_name_1 (content VARCHAR, television_service VARCHAR) | What content is provided by the television service ewtn? | SELECT content FROM table_name_1 WHERE television_service = "ewtn" |
CREATE TABLE table_name_43 (time VARCHAR, notes VARCHAR, country VARCHAR) | What is the time with FB notes for Canada? | SELECT time FROM table_name_43 WHERE notes = "fb" AND country = "canada" |
CREATE TABLE table_name_78 (part_1 VARCHAR, class VARCHAR) | what is part 1 when the class is 7d? | SELECT part_1 FROM table_name_78 WHERE class = "7d" |
CREATE TABLE table_name_42 (gold VARCHAR, total INTEGER) | How many gold medals correspond with a total over 4? | SELECT gold FROM table_name_42 WHERE total > 4 |
CREATE TABLE table_14724369_1 (original_air_date VARCHAR, directed_by VARCHAR) | When did the show directed by Michael Dimartino first air? | SELECT original_air_date FROM table_14724369_1 WHERE directed_by = "Michael DiMartino" |
CREATE TABLE table_name_75 (total VARCHAR, set_1 VARCHAR) | What is the total when the score for set 1 is 14–25? | SELECT total FROM table_name_75 WHERE set_1 = "14–25" |
CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR, rank VARCHAR) | what is the total of floors when the name is kölntriangle and rank is less thank 63? | SELECT SUM(floors) FROM table_name_10 WHERE name = "kölntriangle" AND rank < 63 |
CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, province VARCHAR) | What was the South Asian population in Nova Scotia in 2001? | SELECT south_asians_2001 FROM table_1717824_1 WHERE province = "Nova Scotia" |
CREATE TABLE table_name_93 (money___ INTEGER, player VARCHAR) | What is the Money ($) player Loren Roberts has made? | SELECT MAX(money___) AS $__ FROM table_name_93 WHERE player = "loren roberts" |
CREATE TABLE table_name_59 (Id VARCHAR) | What is the 2003 value with 2r in 2008 and 1r in 2011? | SELECT 2003 FROM table_name_59 WHERE 2008 = "2r" AND 2011 = "1r" |
CREATE TABLE table_name_23 (semifinalists VARCHAR, finalist VARCHAR) | Which Semifinalists has a Finalist of andre agassi? | SELECT semifinalists FROM table_name_23 WHERE finalist = "andre agassi" |
CREATE TABLE table_name_21 (away_team VARCHAR, home_team VARCHAR) | What is the score of the away team who played home team Hawthorn? | SELECT away_team AS score FROM table_name_21 WHERE home_team = "hawthorn" |
CREATE TABLE table_name_48 (state VARCHAR, member VARCHAR, term_in_office VARCHAR, party VARCHAR) | Which state has a Term in office of 1984–1996, a Party of labor, and a Member of robert tickner? | SELECT state FROM table_name_48 WHERE term_in_office = "1984–1996" AND party = "labor" AND member = "robert tickner" |
CREATE TABLE table_name_17 (episode VARCHAR, share VARCHAR) | What Episode has a Share of tba? | SELECT episode FROM table_name_17 WHERE share = "tba" |
CREATE TABLE table_name_45 (years VARCHAR, authority VARCHAR, decile VARCHAR) | What are the years when the authority was state integrated and a decile of 9? | SELECT years FROM table_name_45 WHERE authority = "state integrated" AND decile = "9" |
CREATE TABLE table_name_7 (away_team VARCHAR, venue VARCHAR) | What was the away teams score when they played at kardinia park? | SELECT away_team AS score FROM table_name_7 WHERE venue = "kardinia park" |
CREATE TABLE table_name_12 (new_returning_same_network VARCHAR, previous_network VARCHAR, show VARCHAR) | Which New/Returning/Same Network has a Previous Network of nbc, and a Show of blockbusters? | SELECT new_returning_same_network FROM table_name_12 WHERE previous_network = "nbc" AND show = "blockbusters" |
CREATE TABLE table_name_16 (result VARCHAR, time VARCHAR) | What was the final score for the game played at 7:00 pm? | SELECT result FROM table_name_16 WHERE time = "7:00 pm" |
CREATE TABLE table_name_49 (last_issue VARCHAR, title VARCHAR) | What is the last issue entry for Aron's Absurd Armada? | SELECT last_issue FROM table_name_49 WHERE title = "aron's absurd armada" |
CREATE TABLE table_name_94 (draw INTEGER, lost VARCHAR, points VARCHAR) | What is the highest number of draws with 6 losses and less than 15 points? | SELECT MAX(draw) FROM table_name_94 WHERE lost = 6 AND points < 15 |
CREATE TABLE table_name_14 (rank VARCHAR, director VARCHAR) | What is the rank of the film directed by Kevin Costner? | SELECT COUNT(rank) FROM table_name_14 WHERE director = "kevin costner" |
CREATE TABLE table_name_57 (school_club_team VARCHAR, player VARCHAR) | what is the school that hosts jim goodman | SELECT school_club_team FROM table_name_57 WHERE player = "jim goodman" |
CREATE TABLE table_name_58 (attendance INTEGER, date VARCHAR, week VARCHAR) | How many people attended the Cleveland Browns game on November 11, 1979? | SELECT MAX(attendance) FROM table_name_58 WHERE date = "november 11, 1979" AND week > 11 |