context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_name_98 (couple VARCHAR, dance VARCHAR, score VARCHAR) | Which couple danced a jive and received a score of 21 (6, 7, 8)? | SELECT couple FROM table_name_98 WHERE dance = "jive" AND score = "21 (6, 7, 8)" |
CREATE TABLE table_name_65 (score VARCHAR, dance VARCHAR, result VARCHAR) | What was the score of the team that danced a jive and was safe? | SELECT score FROM table_name_65 WHERE dance = "jive" AND result = "safe" |
CREATE TABLE table_name_21 (engine VARCHAR, team VARCHAR) | What engine did Dick Simon Racing use? | SELECT engine FROM table_name_21 WHERE team = "dick simon racing" |
CREATE TABLE table_name_31 (drivers VARCHAR, team VARCHAR) | Who drove for Arciero Racing? | SELECT drivers FROM table_name_31 WHERE team = "arciero racing" |
CREATE TABLE table_name_94 (chassis VARCHAR, drivers VARCHAR) | What Chassis did Rich Vogler use? | SELECT chassis FROM table_name_94 WHERE drivers = "rich vogler" |
CREATE TABLE table_name_46 (tires VARCHAR, drivers VARCHAR) | What tires did Johnny Parsons use? | SELECT tires FROM table_name_46 WHERE drivers = "johnny parsons" |
CREATE TABLE table_name_72 (name VARCHAR, winning_driver VARCHAR) | What race did Bobby Unser win? | SELECT name FROM table_name_72 WHERE winning_driver = "bobby unser" |
CREATE TABLE table_name_67 (winning_driver VARCHAR, winning_team VARCHAR, name VARCHAR) | Which driver won the Indianapolis 500 the year the Chaparral team also won it? | SELECT winning_driver FROM table_name_67 WHERE winning_team = "chaparral" AND name = "indianapolis 500" |
CREATE TABLE table_name_33 (report VARCHAR, pole_position VARCHAR, winning_driver VARCHAR) | Which report includes Bobby Unser as the Pole Position and Rick Mears as the Winning driver? | SELECT report FROM table_name_33 WHERE pole_position = "bobby unser" AND winning_driver = "rick mears" |
CREATE TABLE table_name_62 (name VARCHAR, winning_team VARCHAR, winning_driver VARCHAR) | Which race has a winning team of Penske Racing, and a winning driver of Bobby Unser? | SELECT name FROM table_name_62 WHERE winning_team = "penske racing" AND winning_driver = "bobby unser" |
CREATE TABLE table_name_37 (date VARCHAR, home_team VARCHAR) | On what day is geelong the home team? | SELECT date FROM table_name_37 WHERE home_team = "geelong" |
CREATE TABLE table_name_11 (venue VARCHAR, away_team VARCHAR) | What venue featured collingwood as the away side? | SELECT venue FROM table_name_11 WHERE away_team = "collingwood" |
CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) | What is the home team score at windy hill? | SELECT home_team AS score FROM table_name_16 WHERE venue = "windy hill" |
CREATE TABLE table_name_35 (season VARCHAR, races VARCHAR, points VARCHAR) | What season has races larger than 18 and 36 points? | SELECT season FROM table_name_35 WHERE races > 18 AND points = 36 |
CREATE TABLE table_name_53 (date VARCHAR, venue VARCHAR) | The venue of Brunswick Street Oval was used on what date? | SELECT date FROM table_name_53 WHERE venue = "brunswick street oval" |
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR) | What is the smallest crowd with the away team of North Melbourne? | SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "north melbourne" |
CREATE TABLE table_name_91 (date VARCHAR, home_team VARCHAR) | On which date was Essendon the home team? | SELECT date FROM table_name_91 WHERE home_team = "essendon" |
CREATE TABLE table_name_10 (airport VARCHAR, iata VARCHAR) | What is the name of the airport with IATA code DAC? | SELECT airport FROM table_name_10 WHERE iata = "dac" |
CREATE TABLE table_name_56 (iata VARCHAR, city VARCHAR) | What is the IATA code for Delhi? | SELECT iata FROM table_name_56 WHERE city = "delhi" |
CREATE TABLE table_name_98 (iata VARCHAR, icao VARCHAR) | What is the IATA code for the city with ICAO code of RCMQ? | SELECT iata FROM table_name_98 WHERE icao = "rcmq" |
CREATE TABLE table_name_39 (airport VARCHAR, icao VARCHAR) | What is the airport with ICAO code of WMKP? | SELECT airport FROM table_name_39 WHERE icao = "wmkp" |
CREATE TABLE table_name_7 (iata VARCHAR, airport VARCHAR) | What is the IATA code for SHahjalal International Airport? | SELECT iata FROM table_name_7 WHERE airport = "shahjalal international airport" |
CREATE TABLE table_name_54 (icao VARCHAR, city VARCHAR) | What is the ICAO for the airport in Ningbo? | SELECT icao FROM table_name_54 WHERE city = "ningbo" |
CREATE TABLE table_name_93 (bb_pop VARCHAR, riaa VARCHAR, cb_cw VARCHAR, year VARCHAR) | What is the BB pop of the song with a CB CW of 1, RIAA of P and was released more recently than 1976? | SELECT bb_pop FROM table_name_93 WHERE cb_cw = "1" AND year > 1976 AND riaa = "p" |
CREATE TABLE table_name_73 (cb_cw VARCHAR, bb_pop VARCHAR) | What is the CB CW of the song which has a BB Pop of 11? | SELECT cb_cw FROM table_name_73 WHERE bb_pop = "11" |
CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR) | What was the crowd numbers when the VFL played Victoria Park? | SELECT SUM(crowd) FROM table_name_50 WHERE venue = "victoria park" |
CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR) | When the VFL played at Junction Oval what was the away score? | SELECT away_team AS score FROM table_name_15 WHERE venue = "junction oval" |
CREATE TABLE table_name_46 (away_team VARCHAR, crowd INTEGER) | Who was the away team for the game played in front of more than 41,402 fans? | SELECT away_team FROM table_name_46 WHERE crowd > 41 OFFSET 402 |
CREATE TABLE table_name_22 (home_team VARCHAR, away_team VARCHAR) | What Home team played Richmond? | SELECT home_team FROM table_name_22 WHERE away_team = "richmond" |
CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR) | What is Melbourne's home venue? | SELECT venue FROM table_name_32 WHERE home_team = "melbourne" |
CREATE TABLE table_name_23 (home___away VARCHAR, record VARCHAR) | Was the game home or away when the record is 6-12? | SELECT home___away FROM table_name_23 WHERE record = "6-12" |
CREATE TABLE table_name_78 (date VARCHAR, home___away VARCHAR, location_attendance VARCHAR) | What is the date of the away game at the Blue Cross Arena? | SELECT date FROM table_name_78 WHERE home___away = "away" AND location_attendance = "blue cross arena" |
CREATE TABLE table_name_26 (week INTEGER, attendance VARCHAR) | What is the week for the stadium that had an attendance of 22,286? | SELECT AVG(week) FROM table_name_26 WHERE attendance = "22,286" |
CREATE TABLE table_name_20 (total_assists VARCHAR, games VARCHAR, rank VARCHAR) | How many assists for player(s) with over 107 games and ranked less than 2? | SELECT COUNT(total_assists) FROM table_name_20 WHERE games > 107 AND rank < 2 |
CREATE TABLE table_name_11 (total_assists INTEGER, ast_avg VARCHAR, games VARCHAR) | What is the total number of assists for players with under 55 games and over 6 assists per game average? | SELECT SUM(total_assists) FROM table_name_11 WHERE ast_avg > 6 AND games < 55 |
CREATE TABLE table_name_35 (rank INTEGER, ast_avg INTEGER) | What is the average rank for players with less than 2.9 Assists per game? | SELECT AVG(rank) FROM table_name_35 WHERE ast_avg < 2.9 |
CREATE TABLE table_name_79 (circuit VARCHAR, winning_car VARCHAR, round VARCHAR) | What circuit had an ensign n180 as the winning car in round 5? | SELECT circuit FROM table_name_79 WHERE winning_car = "ensign n180" AND round = 5 |
CREATE TABLE table_name_79 (round VARCHAR, date VARCHAR) | How many rounds total were there on may 31? | SELECT COUNT(round) FROM table_name_79 WHERE date = "may 31" |
CREATE TABLE table_name_56 (round INTEGER, circuit VARCHAR) | What was the average round for the oulton park circuit? | SELECT AVG(round) FROM table_name_56 WHERE circuit = "oulton park" |
CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR) | Who was the opposing team at the match played at the Arden Street Oval? | SELECT away_team FROM table_name_64 WHERE venue = "arden street oval" |
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR) | What was the opposing team's score at the match that was played at Victoria Park? | SELECT away_team AS score FROM table_name_31 WHERE venue = "victoria park" |
CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR) | Which venue did the match where Collingwood was the home team take place? | SELECT venue FROM table_name_32 WHERE home_team = "collingwood" |
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR) | Who is the away side when north melbourne is the home side? | SELECT away_team FROM table_name_79 WHERE home_team = "north melbourne" |
CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR) | How many games feature hawthorn as the away squad? | SELECT COUNT(crowd) FROM table_name_8 WHERE away_team = "hawthorn" |
CREATE TABLE table_name_58 (nationality VARCHAR, time VARCHAR) | What Nationality has a Time of 9:01.70? | SELECT nationality FROM table_name_58 WHERE time = "9:01.70" |
CREATE TABLE table_name_20 (rank INTEGER, name VARCHAR) | What is sun yang's lowest rank? | SELECT MIN(rank) FROM table_name_20 WHERE name = "sun yang" |
CREATE TABLE table_name_12 (rank VARCHAR, nationality VARCHAR, time VARCHAR) | How many ranks have a ationality of canada, and a Time of dns? | SELECT COUNT(rank) FROM table_name_12 WHERE nationality = "canada" AND time = "dns" |
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR) | Who played Fitzroy at their own home? | SELECT home_team AS score FROM table_name_42 WHERE away_team = "fitzroy" |
CREATE TABLE table_name_2 (home_team VARCHAR, venue VARCHAR) | What team plays at home at Lake Oval? | SELECT home_team FROM table_name_2 WHERE venue = "lake oval" |
CREATE TABLE table_name_17 (away_team VARCHAR) | What was Melbourne's score as the away team? | SELECT away_team AS score FROM table_name_17 WHERE away_team = "melbourne" |
CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR) | On what date was the match played in Victoria Park? | SELECT date FROM table_name_78 WHERE venue = "victoria park" |
CREATE TABLE table_name_73 (away_team VARCHAR) | What is the away team's score when geelong is the away team? | SELECT away_team AS score FROM table_name_73 WHERE away_team = "geelong" |
CREATE TABLE table_name_36 (away_team VARCHAR) | What is the away team's score when south melbourne is the away team? | SELECT away_team AS score FROM table_name_36 WHERE away_team = "south melbourne" |
CREATE TABLE table_name_89 (result VARCHAR, award VARCHAR, category VARCHAR, year VARCHAR) | What was the result of the film made before 2005, winner of the robert award, in the category of best actress? | SELECT result FROM table_name_89 WHERE category = "best actress" AND year < 2005 AND award = "robert award" |
CREATE TABLE table_name_37 (result VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR) | What was the result of the bodil award winning film from before 2005 in the best actress category? | SELECT result FROM table_name_37 WHERE award = "bodil award" AND category = "best actress" AND year = 2005 |
CREATE TABLE table_name_43 (category VARCHAR, nominated_work VARCHAR, award VARCHAR) | What category is the nominated work of cecilie, winner of the robert award? | SELECT category FROM table_name_43 WHERE nominated_work = "cecilie" AND award = "robert award" |
CREATE TABLE table_name_1 (away_team VARCHAR, venue VARCHAR) | Who was the away team at Victoria Park? | SELECT away_team FROM table_name_1 WHERE venue = "victoria park" |
CREATE TABLE table_name_2 (date VARCHAR, away_team VARCHAR) | What is the date of the game where Footscray was the away team? | SELECT date FROM table_name_2 WHERE away_team = "footscray" |
CREATE TABLE table_name_66 (week VARCHAR, opponent VARCHAR) | What week did they have a bye? | SELECT week FROM table_name_66 WHERE opponent = "bye" |
CREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR) | How many people watch at Western Oval venue? | SELECT COUNT(crowd) FROM table_name_4 WHERE venue = "western oval" |
CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR) | How many people are in the crowd in south melbourne? | SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "south melbourne" |
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR) | What was the highest crowd at Windy Hill? | SELECT MAX(crowd) FROM table_name_56 WHERE venue = "windy hill" |
CREATE TABLE table_name_21 (crowd VARCHAR, venue VARCHAR) | How many people at Arden Street Oval? | SELECT COUNT(crowd) FROM table_name_21 WHERE venue = "arden street oval" |
CREATE TABLE table_name_48 (neck VARCHAR, bullet VARCHAR, base VARCHAR) | Which Neck has a Bullet of 10.566 (.416), and a Base of 14.78 (.582)? | SELECT neck FROM table_name_48 WHERE bullet = "10.566 (.416)" AND base = "14.78 (.582)" |
CREATE TABLE table_name_57 (case_length VARCHAR, base VARCHAR) | Which Case Length has a Base of 14.96 (.589)? | SELECT case_length FROM table_name_57 WHERE base = "14.96 (.589)" |
CREATE TABLE table_name_9 (case_length VARCHAR, name VARCHAR) | A .416 barrett has which Case Length? | SELECT case_length FROM table_name_9 WHERE name = ".416 barrett" |
CREATE TABLE table_name_16 (name VARCHAR, case_length VARCHAR) | Which Name has a Case Length of 73.99 (2.913)? | SELECT name FROM table_name_16 WHERE case_length = "73.99 (2.913)" |
CREATE TABLE table_name_2 (base VARCHAR, name VARCHAR) | Which Base has a Name of .44 wcf? | SELECT base FROM table_name_2 WHERE name = ".44 wcf" |
CREATE TABLE table_name_86 (name VARCHAR, bullet VARCHAR, base VARCHAR) | Which Name has a Bullett of 10.57 (.416) and a Base of 14.96 (.589)? | SELECT name FROM table_name_86 WHERE bullet = "10.57 (.416)" AND base = "14.96 (.589)" |
CREATE TABLE table_name_24 (home_team VARCHAR) | When Richmond was the home team, what was the home team score? | SELECT home_team AS score FROM table_name_24 WHERE home_team = "richmond" |
CREATE TABLE table_name_50 (crowd INTEGER, venue VARCHAR) | What was the highest crowd size at Windy Hill? | SELECT MAX(crowd) FROM table_name_50 WHERE venue = "windy hill" |
CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR) | When the away team was Geelong, what was the home team score? | SELECT home_team AS score FROM table_name_97 WHERE away_team = "geelong" |
CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) | When did the home team of Richmond play? | SELECT date FROM table_name_89 WHERE home_team = "richmond" |
CREATE TABLE table_name_7 (gold VARCHAR, total VARCHAR, nation VARCHAR) | How many golds for Canada (12 total)? | SELECT gold FROM table_name_7 WHERE total > 12 AND nation = "canada" |
CREATE TABLE table_name_58 (record VARCHAR, week VARCHAR, attenmdance VARCHAR) | What was the team's record after week 7 with 28,161 attending? | SELECT record FROM table_name_58 WHERE week > 7 AND attenmdance = "28,161" |
CREATE TABLE table_name_8 (attenmdance VARCHAR, stadium VARCHAR) | What was the attendance at war memorial stadium? | SELECT attenmdance FROM table_name_8 WHERE stadium = "war memorial stadium" |
CREATE TABLE table_name_62 (silver INTEGER, gold VARCHAR) | How many silver medals did the country that won 20 gold medals win in the 1955 Pan American Games? | SELECT SUM(silver) FROM table_name_62 WHERE gold = 20 |
CREATE TABLE table_name_75 (team VARCHAR, laps VARCHAR, time_retired VARCHAR) | What team had 159 laps and a Time/Retired of 6:30:02.3733? | SELECT team FROM table_name_75 WHERE laps = 159 AND time_retired = "6:30:02.3733" |
CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR) | What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)? | SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)" |
CREATE TABLE table_name_7 (result VARCHAR, opponent VARCHAR) | What was the score of the Browns game against the San Francisco 49ers? | SELECT result FROM table_name_7 WHERE opponent = "san francisco 49ers" |
CREATE TABLE table_name_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR) | What was the final score for Aguilar when he played Hans Podlipnik on clay and was runner-up? | SELECT score FROM table_name_47 WHERE surface = "clay" AND opponent = "hans podlipnik" AND outcome = "runner-up" |
CREATE TABLE table_name_12 (round INTEGER, position VARCHAR, overall VARCHAR) | What round is highest and has a defensive tackle position and overall lower than 282? | SELECT MAX(round) FROM table_name_12 WHERE position = "defensive tackle" AND overall < 282 |
CREATE TABLE table_name_82 (position VARCHAR, round VARCHAR, overall VARCHAR) | What position is the round higher than 15 and has an overall of 411. | SELECT position FROM table_name_82 WHERE round > 15 AND overall = 411 |
CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR) | What is the name of the away team with glenferrie oval venue? | SELECT away_team FROM table_name_72 WHERE venue = "glenferrie oval" |
CREATE TABLE table_name_11 (stadium VARCHAR, city VARCHAR) | What stadium is in penrith? | SELECT stadium FROM table_name_11 WHERE city = "penrith" |
CREATE TABLE table_name_50 (date VARCHAR, stadium VARCHAR) | What day did they play in central park stadium? | SELECT date FROM table_name_50 WHERE stadium = "central park" |
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR) | What is the lowest attendance when footscray is the away team? | SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray" |
CREATE TABLE table_name_25 (venue VARCHAR, home_team VARCHAR) | What venue featured essendon as home team? | SELECT venue FROM table_name_25 WHERE home_team = "essendon" |
CREATE TABLE table_name_45 (crowd INTEGER, venue VARCHAR) | What is the sum of crowd(s) at princes park? | SELECT SUM(crowd) FROM table_name_45 WHERE venue = "princes park" |
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) | What is the away team that features a home team of south melbourne? | SELECT away_team AS score FROM table_name_53 WHERE home_team = "south melbourne" |
CREATE TABLE table_name_91 (crowd INTEGER, home_team VARCHAR) | What is the smallest crowd when collingwood is home team? | SELECT MIN(crowd) FROM table_name_91 WHERE home_team = "collingwood" |
CREATE TABLE table_name_65 (round INTEGER, overall VARCHAR, position VARCHAR) | During which round was the first defensive end with an overall rank larger than 186 drafted? | SELECT MIN(round) FROM table_name_65 WHERE overall > 186 AND position = "defensive end" |
CREATE TABLE table_name_58 (lost INTEGER, points VARCHAR, played VARCHAR) | What is the highest number of losses with 23 points and 22 plays? | SELECT MAX(lost) FROM table_name_58 WHERE points = 23 AND played > 22 |
CREATE TABLE table_name_6 (goals_for INTEGER, played VARCHAR, drawn VARCHAR, team VARCHAR) | What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays? | SELECT SUM(goals_for) FROM table_name_6 WHERE drawn < 4 AND team = "al wahda" AND played > 22 |
CREATE TABLE table_name_85 (goals_against VARCHAR, drawn VARCHAR, lost VARCHAR, goals_for VARCHAR) | How many goals scored against the opposing team occurred with more than 7 losses, less than 27 goals scored for the team and drawn more than 1? | SELECT COUNT(goals_against) FROM table_name_85 WHERE lost > 7 AND goals_for < 27 AND drawn > 1 |
CREATE TABLE table_name_91 (played INTEGER, points VARCHAR, drawn VARCHAR, goals_for VARCHAR) | What is the highest number of plays when drawn is more than 4, more than 30 points were earned, and 37 goals scored for the team? | SELECT MAX(played) FROM table_name_91 WHERE drawn > 4 AND goals_for = 37 AND points > 30 |
CREATE TABLE table_name_62 (away_team VARCHAR) | What was Geelong's score when they were the away team? | SELECT away_team AS score FROM table_name_62 WHERE away_team = "geelong" |
CREATE TABLE table_name_62 (away_team VARCHAR) | What was the score of Richmond when they were the away team? | SELECT away_team AS score FROM table_name_62 WHERE away_team = "richmond" |
CREATE TABLE table_name_80 (away_team VARCHAR, venue VARCHAR) | What is the away team's score at brunswick street oval? | SELECT away_team AS score FROM table_name_80 WHERE venue = "brunswick street oval" |
CREATE TABLE table_name_10 (crowd INTEGER, venue VARCHAR) | What is the smallest crowd at punt road oval? | SELECT MIN(crowd) FROM table_name_10 WHERE venue = "punt road oval" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.