context
stringlengths 27
484
| question
stringlengths 12
244
| answer
stringlengths 32
484
|
---|---|---|
CREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR) | What was the attendance when the Arden Street Oval? | SELECT crowd FROM table_name_54 WHERE venue = "arden street oval" |
CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER) | what is the college/junior/club team (league) when the round is less than 7? | SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round < 7 |
CREATE TABLE table_name_53 (first_leg VARCHAR, round VARCHAR) | Who has the first leg that has a round in the semi-final? | SELECT first_leg FROM table_name_53 WHERE round = "semi-final" |
CREATE TABLE table_name_75 (laps INTEGER, rider VARCHAR, grid VARCHAR) | How many Laps have Rider of olivier jacque, and a Grid larger than 7? | SELECT SUM(laps) FROM table_name_75 WHERE rider = "olivier jacque" AND grid > 7 |
CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR) | Which away team has a Tie no of 14? | SELECT away_team FROM table_name_67 WHERE tie_no = "14" |
CREATE TABLE table_name_49 (location VARCHAR, date VARCHAR) | Where was the disaster located that took place on 1916? | SELECT location FROM table_name_49 WHERE date = "1916" |
CREATE TABLE table_name_82 (game INTEGER, date VARCHAR) | What is the mean game played on January 9? | SELECT AVG(game) FROM table_name_82 WHERE date = "january 9" |
CREATE TABLE table_1410384_1 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__japanese_ VARCHAR) | how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi | SELECT COUNT(voice_actor__english_1998___pioneer_) FROM table_1410384_1 WHERE voice_actor__japanese_ = "Shinobu Satouchi" |
CREATE TABLE table_name_52 (position VARCHAR, height VARCHAR, name VARCHAR) | What is 6-2 Martina Wood's Position? | SELECT position FROM table_name_52 WHERE height = "6-2" AND name = "martina wood" |
CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR) | Who directed the episode with a UK viewership of exactly 5.77 million? | SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "5.77" |
CREATE TABLE table_name_75 (constructor VARCHAR, date VARCHAR) | Name the constructor for 10 august | SELECT constructor FROM table_name_75 WHERE date = "10 august" |
CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | Who is the director when there is 11.21 million viewers? | SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21" |
CREATE TABLE table_19294812_2 (tie_no INTEGER, team_2 VARCHAR) | What is the tie when team 2 is koper? | SELECT MIN(tie_no) FROM table_19294812_2 WHERE team_2 = "Koper" |
CREATE TABLE table_16799784_2 (name VARCHAR, latitude VARCHAR) | Name the name of 36.0n | SELECT name FROM table_16799784_2 WHERE latitude = "36.0N" |
CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR) | What is the maximum speed for total power of ps (kw; bhp)? | SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)" |
CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR) | What tyres are associated with a year after 1974 and 5 points? | SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5" |
CREATE TABLE table_name_59 (score VARCHAR, player VARCHAR) | What was Eduardo Romero's score? | SELECT score FROM table_name_59 WHERE player = "eduardo romero" |
CREATE TABLE table_25355501_2 (march_27_29 VARCHAR, june_10_11 VARCHAR) | march 27-29 where june 10-11 is 127? | SELECT march_27_29 FROM table_25355501_2 WHERE june_10_11 = "127" |
CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR) | What is Collingwood's home venue? | SELECT venue FROM table_name_45 WHERE home_team = "collingwood" |
CREATE TABLE table_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR) | what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb | SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb" |
CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) | What is the stadium of melbourne? | SELECT venue FROM table_name_40 WHERE home_team = "melbourne" |
CREATE TABLE table_name_11 (Id VARCHAR) | what is 2013 when 2001 is qf and 2011 is 4r? | SELECT 2013 FROM table_name_11 WHERE 2001 = "qf" AND 2011 = "4r" |
CREATE TABLE table_name_29 (loss VARCHAR, record VARCHAR) | What was the loss of the game with a record of 84-71? | SELECT loss FROM table_name_29 WHERE record = "84-71" |
CREATE TABLE table_name_41 (rank VARCHAR, premiere VARCHAR) | What is the rank for the episode that premiered on September 12, 1979? | SELECT rank FROM table_name_41 WHERE premiere = "september 12, 1979" |
CREATE TABLE table_name_19 (score VARCHAR, team VARCHAR) | For the game with team of @ Chicago, what was the final score? | SELECT score FROM table_name_19 WHERE team = "@ chicago" |
CREATE TABLE table_name_63 (league_cup_apps INTEGER, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR) | What is the sum of league cup appearances for the players with FA cup goals larger than 0 and FA cup appearances less than 2? | SELECT SUM(league_cup_apps) FROM table_name_63 WHERE fa_cup_goals > 0 AND fa_cup_apps < 2 |
CREATE TABLE table_name_31 (tournament VARCHAR) | What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004? | SELECT tournament FROM table_name_31 WHERE 2008 = "a" AND 2005 = "q1" AND 2004 = "1r" |
CREATE TABLE table_name_7 (american VARCHAR, initial_syllable_open_semi_open_unstressed_vowels VARCHAR) | What is American, when Initial-Syllable Open/Semi-Open Unstressed Vowels is "y /aɪ, ɨ/"? | SELECT american FROM table_name_7 WHERE initial_syllable_open_semi_open_unstressed_vowels = "y /aɪ, ɨ/" |
CREATE TABLE table_27501030_8 (opponent VARCHAR, game VARCHAR) | How many games were numbered 69? | SELECT COUNT(opponent) FROM table_27501030_8 WHERE game = 69 |
CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR) | What surface did hayley ericksen play on? | SELECT surface FROM table_name_85 WHERE partner = "hayley ericksen" |
CREATE TABLE table_name_34 (week__number VARCHAR, original_artist VARCHAR, order__number VARCHAR) | On which week was the beatles the original artist and the order # smaller than 10? | SELECT week__number FROM table_name_34 WHERE original_artist = "the beatles" AND order__number < 10 |
CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR) | Which chassis has an Alfa Romeo flat-12 engine. | SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12" |
CREATE TABLE table_name_35 (matches VARCHAR, rider VARCHAR, total_points VARCHAR) | How many total matches involving dennis gavros had total points less than 167? | SELECT COUNT(matches) FROM table_name_35 WHERE rider = "dennis gavros" AND total_points < 167 |
CREATE TABLE table_name_90 (player VARCHAR, place VARCHAR, country VARCHAR) | Who has a place of T7 and is from the United States? | SELECT player FROM table_name_90 WHERE place = "t7" AND country = "united states" |
CREATE TABLE table_name_63 (location VARCHAR, runner_up VARCHAR, year VARCHAR) | What is the location where ed c. kingsley was the runner-up in 1939? | SELECT location FROM table_name_63 WHERE runner_up = "ed c. kingsley" AND year = "1939" |
CREATE TABLE table_name_31 (class VARCHAR, frequency VARCHAR) | Which class has a frequency of 91.9 fm? | SELECT class FROM table_name_31 WHERE frequency = "91.9 fm" |
CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR) | The Palazzo's street address is listed as what? | SELECT street_address FROM table_name_73 WHERE name = "the palazzo" |
CREATE TABLE table_name_82 (pick__number INTEGER, pl_gp VARCHAR, rd__number VARCHAR, player VARCHAR) | What numbered pick was mattias ohlund, with over 52 PL GP, and also a round under 11? | SELECT SUM(pick__number) FROM table_name_82 WHERE rd__number < 11 AND player = "mattias ohlund" AND pl_gp > 52 |
CREATE TABLE table_name_39 (nat VARCHAR, ship_type VARCHAR, estimate VARCHAR) | Which nation had a battlecruiser with an estimate of 513? | SELECT nat FROM table_name_39 WHERE ship_type = "battlecruiser" AND estimate = "513" |
CREATE TABLE table_name_7 (score VARCHAR, visitor VARCHAR, points VARCHAR) | What is Score, when Visitor is "Pittsburgh", and when Points is greater than 18? | SELECT score FROM table_name_7 WHERE visitor = "pittsburgh" AND points > 18 |
CREATE TABLE table_name_42 (location VARCHAR, college_name VARCHAR) | Where is the location of the coimbatore medical college? | SELECT location FROM table_name_42 WHERE college_name = "coimbatore medical college" |
CREATE TABLE table_26976615_3 (outgoing_manager VARCHAR, team VARCHAR) | Who was the outgoing manager for the team of târgu mureş? | SELECT outgoing_manager FROM table_26976615_3 WHERE team = "Târgu Mureş" |
CREATE TABLE table_name_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR) | With a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title? | SELECT order_and_title FROM table_name_78 WHERE elevated = "may 1262" AND elector = "guillaume de bray" |
CREATE TABLE table_24481478_1 (team_record VARCHAR, week VARCHAR) | What was the game record during week 7? | SELECT team_record FROM table_24481478_1 WHERE week = 7 |
CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR) | What is Ben Hogan's Place? | SELECT place FROM table_name_25 WHERE player = "ben hogan" |
CREATE TABLE table_name_23 (eastern__number1 VARCHAR, week VARCHAR) | Tell me the eastern #1 for week of 5 | SELECT eastern__number1 FROM table_name_23 WHERE week = 5 |
CREATE TABLE table_20613292_1 (production_code VARCHAR, directed_by VARCHAR) | How many different production codes does the episode directed by Dominic Polcino have? | SELECT COUNT(production_code) FROM table_20613292_1 WHERE directed_by = "Dominic Polcino" |
CREATE TABLE table_name_77 (college VARCHAR, name VARCHAR) | What college is Pat Thomas from? | SELECT college FROM table_name_77 WHERE name = "pat thomas" |
CREATE TABLE table_name_14 (score VARCHAR, tie_no VARCHAR) | What is the score of the game with a tie no of 3? | SELECT score FROM table_name_14 WHERE tie_no = "3" |
CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) | What was the score on April 8? | SELECT score FROM table_name_39 WHERE date = "april 8" |
CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) | When the phillies 1:15 pm played on April 9, what was the attendance? | SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9" |
CREATE TABLE table_name_36 (chinese__traditional_ VARCHAR, english_title VARCHAR) | What is the traditional Chinese name for the record titled Sunrise? | SELECT chinese__traditional_ FROM table_name_36 WHERE english_title = "sunrise" |
CREATE TABLE table_19189856_1 (first_performance VARCHAR, performer VARCHAR) | how many first performances where performer is wilfred engelman category:articles with hcards | SELECT COUNT(first_performance) FROM table_19189856_1 WHERE performer = "Wilfred Engelman category:Articles with hCards" |
CREATE TABLE table_name_12 (fa_cup_goals INTEGER, total_apps VARCHAR) | what is the fa cup goals when total apps is 10 (4)? | SELECT SUM(fa_cup_goals) FROM table_name_12 WHERE total_apps = "10 (4)" |
CREATE TABLE table_name_27 (year INTEGER, playoffs VARCHAR) | Which year had playoffs of champion? | SELECT AVG(year) FROM table_name_27 WHERE playoffs = "champion" |
CREATE TABLE table_name_68 (boardings_and_deboardings VARCHAR, city VARCHAR) | How many people boarded and de-boarded the Amtrak in Linthicum? | SELECT COUNT(boardings_and_deboardings) FROM table_name_68 WHERE city = "linthicum" |
CREATE TABLE table_name_12 (event VARCHAR, opponent VARCHAR) | What is the event where the opponent was Chris Barden? | SELECT event FROM table_name_12 WHERE opponent = "chris barden" |
CREATE TABLE table_name_90 (mother VARCHAR, number VARCHAR) | Who was number 12's mother? | SELECT mother FROM table_name_90 WHERE number = 12 |
CREATE TABLE table_name_56 (yards INTEGER, avg INTEGER) | Which has and average less than 3 and the lowest yards? | SELECT MIN(yards) FROM table_name_56 WHERE avg < 3 |
CREATE TABLE table_name_54 (score VARCHAR, location_attendance VARCHAR) | What was the score of the game at Great Western Forum? | SELECT score FROM table_name_54 WHERE location_attendance = "great western forum" |
CREATE TABLE table_name_33 (lost VARCHAR) | Which Lost has a Club of club? | SELECT lost FROM table_name_33 WHERE "club" = "club" |
CREATE TABLE table_name_36 (runner_up VARCHAR, week VARCHAR) | What is the Runner-up on April 11? | SELECT runner_up FROM table_name_36 WHERE week = "april 11" |
CREATE TABLE table_28744929_1 (acc_football_titles VARCHAR, nickname VARCHAR) | how many acc football titles have been won by the institution nicknamed tar heels? | SELECT acc_football_titles FROM table_28744929_1 WHERE nickname = "Tar Heels" |
CREATE TABLE table_1682026_3 (rank INTEGER, company VARCHAR) | What is the ranking of BNP Paribas? | SELECT MIN(rank) FROM table_1682026_3 WHERE company = "BNP Paribas" |
CREATE TABLE table_name_52 (game INTEGER, opponent VARCHAR) | Opponent of @ phoenix suns had what sum of game? | SELECT SUM(game) FROM table_name_52 WHERE opponent = "@ phoenix suns" |
CREATE TABLE table_name_95 (laps INTEGER, grid VARCHAR) | What are the highest number of laps for grid 8? | SELECT MAX(laps) FROM table_name_95 WHERE grid = 8 |
CREATE TABLE table_name_11 (round INTEGER, position VARCHAR, college_junior_club_team__league_ VARCHAR) | Which Round has a Position of lw, and a College/Junior/Club Team (League) of swift current broncos (wchl)? | SELECT AVG(round) FROM table_name_11 WHERE position = "lw" AND college_junior_club_team__league_ = "swift current broncos (wchl)" |
CREATE TABLE table_name_85 (score VARCHAR, competition VARCHAR) | What is the score of the 2006 Fifa World Cup Qualification? | SELECT score FROM table_name_85 WHERE competition = "2006 fifa world cup qualification" |
CREATE TABLE table_name_2 (location_attendance VARCHAR, score VARCHAR) | What is Location/Attendance, when Score is "4-5 (OT)"? | SELECT location_attendance FROM table_name_2 WHERE score = "4-5 (ot)" |
CREATE TABLE table_1341738_6 (party VARCHAR, incumbent VARCHAR) | What party does incumbent edwin reinecke represent? | SELECT party FROM table_1341738_6 WHERE incumbent = "Edwin Reinecke" |
CREATE TABLE table_23662356_3 (total_points_earned INTEGER, average VARCHAR) | How many total points were earned from the couple that averaged 29.0 points? | SELECT MAX(total_points_earned) FROM table_23662356_3 WHERE average = "29.0" |
CREATE TABLE table_name_92 (english VARCHAR, latin VARCHAR) | What is the English word for the Latin word uxor? | SELECT english FROM table_name_92 WHERE latin = "uxor" |
CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR) | Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy? | SELECT year FROM table_name_37 WHERE genre = "jazz" AND label = "columbia" AND result = "nominated" AND title = "trio jeepy" |
CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR) | How many people attended the game in week 13? | SELECT attendance FROM table_name_60 WHERE week = 13 |
CREATE TABLE table_name_88 (touchdowns VARCHAR, player VARCHAR) | How many touchdowns were scored by William Cole? | SELECT touchdowns FROM table_name_88 WHERE player = "william cole" |
CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR) | What is the final score when July 16 is the date? | SELECT final_score FROM table_23612439_2 WHERE date = "July 16" |
CREATE TABLE table_name_14 (date VARCHAR, score VARCHAR, site_stadium VARCHAR) | On what day was a game played at Reese Smith Field, with a score of 4-3? | SELECT date FROM table_name_14 WHERE score = "4-3" AND site_stadium = "reese smith field" |
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR) | What was the score on october 17, 2007? | SELECT score FROM table_name_33 WHERE date = "october 17, 2007" |
CREATE TABLE table_name_33 (tournament_venue VARCHAR, tournament_champion VARCHAR, record VARCHAR) | WHich Tournament venue has a Tournament Champion of duke and a Record of 15–1? | SELECT tournament_venue FROM table_name_33 WHERE tournament_champion = "duke" AND record = "15–1" |
CREATE TABLE table_name_51 (to_par VARCHAR, player VARCHAR) | What was Billy Casper's to par? | SELECT to_par FROM table_name_51 WHERE player = "billy casper" |
CREATE TABLE table_name_3 (against INTEGER, wins VARCHAR, losses VARCHAR, draws VARCHAR) | Name the lowest against for when wins are greater than 14, draws is 0 and losses are 4 | SELECT MIN(against) FROM table_name_3 WHERE losses = 4 AND draws = 0 AND wins > 14 |
CREATE TABLE table_name_12 (top_division_debut VARCHAR, tournaments VARCHAR, name VARCHAR) | Which Top Division debut for Kitazakura has Tournaments less than 88? | SELECT top_division_debut FROM table_name_12 WHERE tournaments < 88 AND name = "kitazakura" |
CREATE TABLE table_name_46 (score VARCHAR, record VARCHAR) | What is the score of the game that resulted in a 15-9 record? | SELECT score FROM table_name_46 WHERE record = "15-9" |
CREATE TABLE table_name_54 (place INTEGER, artist VARCHAR, draw VARCHAR) | What is the Place of Draw 1 by Artist Monika Kirovska? | SELECT AVG(place) FROM table_name_54 WHERE artist = "monika kirovska" AND draw < 1 |
CREATE TABLE table_name_44 (opponent VARCHAR, record VARCHAR) | Which opponent has a 26-12 record? | SELECT opponent FROM table_name_44 WHERE record = "26-12" |
CREATE TABLE table_name_69 (founded VARCHAR, institution VARCHAR) | What is the date that the Institution of Lynn University was founded on? | SELECT founded FROM table_name_69 WHERE institution = "lynn university" |
CREATE TABLE table_2482547_5 (name VARCHAR, balls_bowled VARCHAR) | Who are all the players who've bowled more than 4969 balls? | SELECT name FROM table_2482547_5 WHERE balls_bowled = 4969 |
CREATE TABLE table_name_75 (wheel_arrangement VARCHAR, year_s__retired VARCHAR) | What is the wheel arrangement for the model that was retired in 1955? | SELECT wheel_arrangement FROM table_name_75 WHERE year_s__retired = "1955" |
CREATE TABLE table_name_64 (version VARCHAR, year VARCHAR, length VARCHAR) | What is the Version before 2001 with a Length of 7:42? | SELECT version FROM table_name_64 WHERE year < 2001 AND length = "7:42" |
CREATE TABLE table_name_80 (pick__number VARCHAR, reg_gp INTEGER) | What is the total of pick numbers with a Reg GP larger than 0? | SELECT COUNT(pick__number) FROM table_name_80 WHERE reg_gp > 0 |
CREATE TABLE table_name_33 (song VARCHAR, label VARCHAR, album VARCHAR) | Which song had Central Station as a label and whose album was Various - Wild Nights 4? | SELECT song FROM table_name_33 WHERE label = "central station" AND album = "various - wild nights 4" |
CREATE TABLE table_name_16 (goals INTEGER, date VARCHAR) | What is the sum of the goals on 2007-06-16? | SELECT SUM(goals) FROM table_name_16 WHERE date = "2007-06-16" |
CREATE TABLE table_name_17 (gold INTEGER, rank VARCHAR, silver VARCHAR) | When rank is 7 and silver is less than 0, what is the total gold? | SELECT SUM(gold) FROM table_name_17 WHERE rank = "7" AND silver < 0 |
CREATE TABLE table_name_89 (penalty VARCHAR, time VARCHAR) | What was a penalty given for at time 29:17? | SELECT penalty FROM table_name_89 WHERE time = "29:17" |
CREATE TABLE table_name_94 (akira VARCHAR, tiger_mask_iv VARCHAR) | What is the Akira when Tiger Mask IV is Akira (10:05)? | SELECT akira FROM table_name_94 WHERE tiger_mask_iv = "akira (10:05)" |
CREATE TABLE table_23576576_2 (contestant VARCHAR, hometown VARCHAR) | If the hometown is Omuthiya, what is the contestant name? | SELECT contestant FROM table_23576576_2 WHERE hometown = "Omuthiya" |
CREATE TABLE table_1965650_9 (player VARCHAR, college_junior_club_team VARCHAR) | When kitchener rangers (oha) is the college, junior, or club team team who is the player? | SELECT player FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)" |
CREATE TABLE table_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR) | What is the Pixie and Dixie skit in episode 7? | SELECT pixie_and_dixie FROM table_19860361_3 WHERE ep = 7 |
CREATE TABLE table_name_67 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR) | For the tournament played Nov 13, 1988, ending with a margin of victory of 5 strokes, who was the runner-up? | SELECT runner_s__up FROM table_name_67 WHERE margin_of_victory = "5 strokes" AND date = "nov 13, 1988" |
CREATE TABLE table_2144389_8 (vocalist VARCHAR, rōmaji VARCHAR) | Name the vocalist for kaze no messēji (pokapoka-version) | SELECT vocalist FROM table_2144389_8 WHERE rōmaji = "Kaze no Messēji (PokaPoka-Version)" |