answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT latest_version FROM table_name_24 WHERE release_date = "1987-12-09" | CREATE TABLE table_name_24 (latest_version VARCHAR, release_date VARCHAR) | Which of the Latest version was released on Release date 1987-12-09? |
SELECT source_model FROM table_name_27 WHERE architecture = "16-bit*" | CREATE TABLE table_name_27 (source_model VARCHAR, architecture VARCHAR) | Which Source model has a 16-bit* Architecture? |
SELECT latest_version FROM table_name_29 WHERE architecture = "16-bit" AND release_date = "1985-11-20" | CREATE TABLE table_name_29 (latest_version VARCHAR, architecture VARCHAR, release_date VARCHAR) | Which of the Latest version had a 16-bit Architecture and was released on Release date 1985-11-20? |
SELECT architecture FROM table_name_69 WHERE release_date = "1988-05-27" | CREATE TABLE table_name_69 (architecture VARCHAR, release_date VARCHAR) | Which Architecture was released on Release date 1988-05-27? |
SELECT source_model FROM table_name_97 WHERE release_date = "1992-04-06" | CREATE TABLE table_name_97 (source_model VARCHAR, release_date VARCHAR) | Which Source model has a Release date of 1992-04-06? |
SELECT away_team FROM table_name_34 WHERE home_team = "collingwood" | CREATE TABLE table_name_34 (away_team VARCHAR, home_team VARCHAR) | Who is the away side when collingwood is at home? |
SELECT home_team FROM table_name_63 WHERE venue = "arden street oval" | CREATE TABLE table_name_63 (home_team VARCHAR, venue VARCHAR) | Who is the home team at arden street oval? |
SELECT SUM(freq) FROM table_name_55 WHERE owner = "wpw" AND day_power___w__ > 250 | CREATE TABLE table_name_55 (freq INTEGER, owner VARCHAR, day_power___w__ VARCHAR) | What is the WPW freq with a day power of 250? |
SELECT stereo FROM table_name_37 WHERE call = "wpeo" | CREATE TABLE table_name_37 (stereo VARCHAR, call VARCHAR) | Is WPEO in stereo? |
SELECT time FROM table_name_3 WHERE name = "park tae-hwan" | CREATE TABLE table_name_3 (time VARCHAR, name VARCHAR) | What is Park Tae-Hwan's final time? |
SELECT MAX(crowd) FROM table_name_54 WHERE away_team = "carlton" | CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR) | What was the largest crowd for an away Carlton game? |
SELECT home_team FROM table_name_20 WHERE venue = "corio oval" | CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR) | Who was the home team for the game played at Corio Oval? |
SELECT college FROM table_name_62 WHERE position = "safety" | CREATE TABLE table_name_62 (college VARCHAR, position VARCHAR) | The safety position is represented in the draft by which colleges? |
SELECT COUNT(round) FROM table_name_94 WHERE college = "georgia" | CREATE TABLE table_name_94 (round VARCHAR, college VARCHAR) | In how many rounds of the draft was there a college from Georgia involved? |
SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)" | CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR) | What is the Time of Driver Jan Heylen (r)? |
SELECT grid FROM table_name_10 WHERE driver = "cristiano da matta" | CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR) | What Grid has Driver Cristiano da Matta? |
SELECT driver FROM table_name_68 WHERE laps < 84 AND points > 9 AND team = "rocketsports racing" | CREATE TABLE table_name_68 (driver VARCHAR, team VARCHAR, laps VARCHAR, points VARCHAR) | Which Driver has less than 84 laps, more than 9 points and is on Rocketsports Racing Team? |
SELECT team FROM table_name_56 WHERE laps < 73 AND time_retired = "gearbox" | CREATE TABLE table_name_56 (team VARCHAR, laps VARCHAR, time_retired VARCHAR) | Which team has less than 73 laps and a gearbox time? |
SELECT MIN(extinct) FROM table_name_21 WHERE nbr_class = 32 | CREATE TABLE table_name_21 (extinct INTEGER, nbr_class VARCHAR) | What is the car with the lowest extinct year that has a NBR class of 32? |
SELECT home_team FROM table_name_54 WHERE venue = "corio oval" | CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR) | What is the home team that played at Corio Oval? |
SELECT date FROM table_name_2 WHERE home_team = "st kilda" | CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR) | On which date was St Kilda the home team? |
SELECT at_austin FROM table_name_21 WHERE texas_vs = "kansas state" | CREATE TABLE table_name_21 (at_austin VARCHAR, texas_vs VARCHAR) | What is the Austin record of Kansas State? |
SELECT last_5_meetings FROM table_name_85 WHERE current_streak = "l 1" | CREATE TABLE table_name_85 (last_5_meetings VARCHAR, current_streak VARCHAR) | What was the result of the last 5 meetings for a team with an L 1 streak? |
SELECT partner FROM table_name_33 WHERE date > 1971 AND outcome = "runner-up" AND score_in_the_final = "3–6, 3–6" | CREATE TABLE table_name_33 (partner VARCHAR, score_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) | Who is the partner on a date later than 1971 who is the runner-up with a score of 3–6, 3–6? |
SELECT MIN(year) FROM table_name_21 WHERE country = "canada" AND position = "center" AND player = "mario lemieux" | CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR) | What is the first year that Mario Lemieux from Canada won playing center? |
SELECT country FROM table_name_17 WHERE player = "mario lemieux" AND year = 1994 | CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, year VARCHAR) | What country did mario lemieux play for in 1994? |
SELECT player FROM table_name_9 WHERE position = "center" AND year = 2010 | CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, year VARCHAR) | What player played center in 2010? |
SELECT player FROM table_name_63 WHERE venue = "esher" | CREATE TABLE table_name_63 (player VARCHAR, venue VARCHAR) | Who is the player associated with the Esher venue? |
SELECT venue FROM table_name_70 WHERE pens = "0" AND tries = "1" | CREATE TABLE table_name_70 (venue VARCHAR, pens VARCHAR, tries VARCHAR) | In which venue did 0 pens and 1 try occur? |
SELECT result FROM table_name_82 WHERE opponent = "st. louis cardinals" | CREATE TABLE table_name_82 (result VARCHAR, opponent VARCHAR) | What was the score of the game against the St. Louis Cardinals? |
SELECT model FROM table_name_52 WHERE cpu_speed = "133mhz" | CREATE TABLE table_name_52 (model VARCHAR, cpu_speed VARCHAR) | Which model has a CPU speed of 133mhz? |
SELECT MAX(model) FROM table_name_92 WHERE maximum_memory = "512 mb" | CREATE TABLE table_name_92 (model INTEGER, maximum_memory VARCHAR) | Which model has a maximum memory of 512 mb? |
SELECT maximum_memory FROM table_name_10 WHERE standard_memory = "16 mb" | CREATE TABLE table_name_10 (maximum_memory VARCHAR, standard_memory VARCHAR) | What is the maximum memory of the model that has a standard memory of 16 mb? |
SELECT MAX(crowd) FROM table_name_35 WHERE away_team = "melbourne" | CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR) | What is the largest crowd for a Melbourne away team? |
SELECT home_team AS score FROM table_name_80 WHERE home_team = "essendon" | CREATE TABLE table_name_80 (home_team VARCHAR) | What is the home team score when the home team is Essendon? |
SELECT opponent FROM table_name_63 WHERE date = "december 20, 1998" | CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR) | Which opponent was playing on December 20, 1998? |
SELECT date FROM table_name_85 WHERE venue = "princes park" | CREATE TABLE table_name_85 (date VARCHAR, venue VARCHAR) | When was the game that was held at the Princes Park? |
SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "footscray" | CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR) | What was the smallest crowd size at a home game for Footscray? |
SELECT home_team AS score FROM table_name_91 WHERE home_team = "melbourne" | CREATE TABLE table_name_91 (home_team VARCHAR) | What was Melbourne's score as the home team? |
SELECT away_team FROM table_name_96 WHERE home_team = "fitzroy" | CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) | What was the away team that played Fitzroy? |
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "western oval" | CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR) | What was the sum of the crowds at Western Oval? |
SELECT country FROM table_name_55 WHERE year = 1907 | CREATE TABLE table_name_55 (country VARCHAR, year VARCHAR) | What country had a winner in 1907? |
SELECT velodrome FROM table_name_6 WHERE year < 1950 AND country = "france" AND pacing = "tandem paced" AND distance = "951.750 km" | CREATE TABLE table_name_6 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR) | What velodrome took place earlier than 1950 with a winner from France in tandem paced over a distance of 951.750 km? |
SELECT game_site FROM table_name_48 WHERE kickoff = "12:00 p.m." AND record = "8-5" | CREATE TABLE table_name_48 (game_site VARCHAR, kickoff VARCHAR, record VARCHAR) | Where was the game played when they kickoff was 12:00 p.m., and a Record of 8-5? |
SELECT date FROM table_name_77 WHERE game_site = "bye" | CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR) | What date has a Game site of bye? |
SELECT record FROM table_name_75 WHERE "kickoff" = "kickoff" | CREATE TABLE table_name_75 (record VARCHAR) | What is the record which shows Kickoff as kickoff? |
SELECT record FROM table_name_46 WHERE game_site = "raymond james stadium" | CREATE TABLE table_name_46 (record VARCHAR, game_site VARCHAR) | What is the record when the game was played at raymond james stadium? |
SELECT kickoff FROM table_name_30 WHERE date = "october 22, 2000" | CREATE TABLE table_name_30 (kickoff VARCHAR, date VARCHAR) | What is the kickoff for the game on october 22, 2000? |
SELECT network FROM table_name_93 WHERE service = "dish" AND language = "hindi" AND origin_of_programming = "india" AND genre = "general" | CREATE TABLE table_name_93 (network VARCHAR, genre VARCHAR, origin_of_programming VARCHAR, service VARCHAR, language VARCHAR) | Which Hindi network is based in India and uses dish service and shows general programming? |
SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket" | CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR) | Which language is used by the optimum TV service that shows cricket and is based in the United States? |
SELECT origin_of_programming FROM table_name_11 WHERE service = "dish" AND language = "malayalam" AND genre = "general" AND network = "asianet plus" | CREATE TABLE table_name_11 (origin_of_programming VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR, language VARCHAR) | What is the origin of the Malayalam Dish Service that shows general programming on the Asianet Plus network? |
SELECT AVG(grid) FROM table_name_10 WHERE constructor = "ferrari" AND time_retired = "1:32:35.101" | CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR) | What is the average grid number with a ferrari and a time or retired time of 1:32:35.101? |
SELECT week FROM table_name_74 WHERE date = "november 24, 1957" | CREATE TABLE table_name_74 (week VARCHAR, date VARCHAR) | What week of the season was November 24, 1957? |
SELECT score FROM table_name_41 WHERE opponent = "san diego chargers" | CREATE TABLE table_name_41 (score VARCHAR, opponent VARCHAR) | What was the score of the game against the San Diego Chargers? |
SELECT MAX(week) FROM table_name_40 WHERE date = "november 5, 1995" | CREATE TABLE table_name_40 (week INTEGER, date VARCHAR) | What is the latest week with the date of november 5, 1995? |
SELECT outcome FROM table_name_30 WHERE tournament = "buenos aires" | CREATE TABLE table_name_30 (outcome VARCHAR, tournament VARCHAR) | What was the outcome of the Tournament in Buenos Aires? |
SELECT opponent FROM table_name_45 WHERE outcome = "winner" AND partner = "andres molteni" | CREATE TABLE table_name_45 (opponent VARCHAR, outcome VARCHAR, partner VARCHAR) | In the match played with partner Andres Molteni, with the outcome of winner, who was the opponent? |
SELECT player FROM table_name_8 WHERE span = "1998-2009" | CREATE TABLE table_name_8 (player VARCHAR, span VARCHAR) | What is the player with a Span of 1998-2009? |
SELECT draw FROM table_name_85 WHERE span = "1987-1999" | CREATE TABLE table_name_85 (draw VARCHAR, span VARCHAR) | What draw has a Span of 1987-1999? |
SELECT player FROM table_name_54 WHERE span = "1997-2009" | CREATE TABLE table_name_54 (player VARCHAR, span VARCHAR) | What player has a span of 1997-2009? |
SELECT SUM(round) FROM table_name_14 WHERE opponent = "yoko hattori" | CREATE TABLE table_name_14 (round INTEGER, opponent VARCHAR) | What round did Takayo Hashi face Yoko Hattori? |
SELECT away_team FROM table_name_51 WHERE venue = "princes park" | CREATE TABLE table_name_51 (away_team VARCHAR, venue VARCHAR) | What was the away team that played at Princes Park? |
SELECT date FROM table_name_5 WHERE away_team = "footscray" | CREATE TABLE table_name_5 (date VARCHAR, away_team VARCHAR) | What was the date when Footscray was the away team? |
SELECT home_team AS score FROM table_name_6 WHERE venue = "victoria park" | CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) | What was the home team's score in the match at Victoria Park? |
SELECT date FROM table_name_61 WHERE away_team = "south melbourne" | CREATE TABLE table_name_61 (date VARCHAR, away_team VARCHAR) | On what date was South Melbourne the away team? |
SELECT away_team FROM table_name_77 WHERE home_team = "carlton" | CREATE TABLE table_name_77 (away_team VARCHAR, home_team VARCHAR) | What away team did Carlton play? |
SELECT SUM(bronze) FROM table_name_45 WHERE silver > 3 | CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER) | What is the sum of bronze when silver is greater than 3? |
SELECT AVG(total) FROM table_name_54 WHERE gold = 0 AND bronze = 0 AND silver < 1 | CREATE TABLE table_name_54 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) | What is the average total when gold is 0, bronze is 0, and silver is smaller than 1? |
SELECT COUNT(attendance) FROM table_name_96 WHERE week = 8 | CREATE TABLE table_name_96 (attendance VARCHAR, week VARCHAR) | What was the total attendance in week 8? |
SELECT winner FROM table_name_49 WHERE date = 2007 | CREATE TABLE table_name_49 (winner VARCHAR, date VARCHAR) | Who was the winner in 2007? |
SELECT sport FROM table_name_93 WHERE date < 2006 AND loser = "france b" | CREATE TABLE table_name_93 (sport VARCHAR, date VARCHAR, loser VARCHAR) | What sport was played before 2006 with a loser of france b? |
SELECT winner FROM table_name_66 WHERE loser = "russia-2" | CREATE TABLE table_name_66 (winner VARCHAR, loser VARCHAR) | Who was the winner with the loser being russia-2? |
SELECT loser FROM table_name_55 WHERE sport = "football" AND winner = "england b" AND date > 1992 | CREATE TABLE table_name_55 (loser VARCHAR, date VARCHAR, sport VARCHAR, winner VARCHAR) | Who was the loser playing football with england b as a winner after 1992? |
SELECT race_name FROM table_name_36 WHERE sanctioning = "cart" AND city_location = "brooklyn, michigan" | CREATE TABLE table_name_36 (race_name VARCHAR, sanctioning VARCHAR, city_location VARCHAR) | What was the name of the race that occurred in Brooklyn, Michigan with a sanctioning of cart? |
SELECT city_location FROM table_name_38 WHERE race_name = "gould rex mays classic 150" | CREATE TABLE table_name_38 (city_location VARCHAR, race_name VARCHAR) | Where did the Gould Rex Mays Classic 150 occur? |
SELECT date FROM table_name_10 WHERE circuit = "milwaukee mile" AND sanctioning = "cart" | CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, sanctioning VARCHAR) | What is the date for the race that has a circuit of Milwaukee Mile and the sanctioning of cart? |
SELECT year FROM table_name_25 WHERE uk_albums = "15" | CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR) | 15 albums were released in the UK during which year? |
SELECT venue FROM table_name_60 WHERE home_team = "collingwood" | CREATE TABLE table_name_60 (venue VARCHAR, home_team VARCHAR) | What is the venue where Collingwood played as the home team? |
SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "footscray" | CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR) | What is the size of the crowd for the game with Footscray as the home team? |
SELECT MAX(crowd) FROM table_name_9 WHERE home_team = "footscray" | CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR) | What is the largest crowd for any game where Footscray is the home team? |
SELECT MAX(drawn) FROM table_name_86 WHERE diff < 186 AND points < 12 AND played < 6 | CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR) | What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games played fewer than 6? |
SELECT AVG(diff) FROM table_name_84 WHERE played > 6 | CREATE TABLE table_name_84 (diff INTEGER, played INTEGER) | What is the average diff when games played are more than 6? |
SELECT MAX(drawn) FROM table_name_92 WHERE against = 54 AND played > 6 | CREATE TABLE table_name_92 (drawn INTEGER, against VARCHAR, played VARCHAR) | What is the highest draws when more than 6 are played and the points against are 54? |
SELECT MAX(against) FROM table_name_18 WHERE lost > 0 AND played < 6 | CREATE TABLE table_name_18 (against INTEGER, lost VARCHAR, played VARCHAR) | What is the maximum number of points against when the team has more than 0 losses and plays fewer than 6 games? |
SELECT AVG(played) FROM table_name_59 WHERE points = 12 AND against < 52 | CREATE TABLE table_name_59 (played INTEGER, points VARCHAR, against VARCHAR) | What is the number of games played for the team with 12 points and an against smaller than 52? |
SELECT MIN(average_parish_size) FROM table_name_25 WHERE _percentage_of_adherents = "47.2%" AND regular_attendees > 4 OFFSET 936 | CREATE TABLE table_name_25 (average_parish_size INTEGER, _percentage_of_adherents VARCHAR, regular_attendees VARCHAR) | What is the lowest average parish size with 47.2% of adherents and 4,936 regular attendees? |
SELECT AVG(regular_attendees) FROM table_name_36 WHERE parishes = 79 | CREATE TABLE table_name_36 (regular_attendees INTEGER, parishes VARCHAR) | What is the average regular number of attendees that has 79 parishes? |
SELECT name FROM table_name_20 WHERE circuit = "lille" | CREATE TABLE table_name_20 (name VARCHAR, circuit VARCHAR) | Which Grand Prix has the Circuit of Lille? |
SELECT winning_driver FROM table_name_53 WHERE winning_constructor = "alfa romeo" AND name = "roussillon grand prix" | CREATE TABLE table_name_53 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR) | Which winning driver of the Roussillon Grand Prix had an Alfa Romeo? |
SELECT winning_constructor FROM table_name_95 WHERE name = "roussillon grand prix" | CREATE TABLE table_name_95 (winning_constructor VARCHAR, name VARCHAR) | Which Constructor won the Roussillon Grand Prix? |
SELECT winning_driver FROM table_name_13 WHERE circuit = "rio de janeiro" | CREATE TABLE table_name_13 (winning_driver VARCHAR, circuit VARCHAR) | Which Driver won the Circuit of Rio de Janeiro? |
SELECT date FROM table_name_90 WHERE venue = "mcg" | CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR) | What day did the VFL pay MCG? |
SELECT attendance FROM table_name_64 WHERE date = "november 4, 1973" | CREATE TABLE table_name_64 (attendance VARCHAR, date VARCHAR) | What was November 4, 1973 attendance? |
SELECT laps FROM table_name_73 WHERE constructor = "renault" AND driver = "jacques villeneuve" | CREATE TABLE table_name_73 (laps VARCHAR, constructor VARCHAR, driver VARCHAR) | What is the number of laps with a Constructor of renault, and a driver of jacques villeneuve? |
SELECT time_retired FROM table_name_19 WHERE grid = 3 | CREATE TABLE table_name_19 (time_retired VARCHAR, grid VARCHAR) | What is the time/retired for grid 3? |
SELECT time_retired FROM table_name_95 WHERE grid = 8 | CREATE TABLE table_name_95 (time_retired VARCHAR, grid VARCHAR) | What is the time/retired for grid 8? |
SELECT time_retired FROM table_name_32 WHERE grid > 11 AND laps > 41 AND driver = "nick heidfeld" | CREATE TABLE table_name_32 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) | What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld? |
SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = "spin" | CREATE TABLE table_name_3 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin? |
SELECT driver FROM table_name_97 WHERE winnings = "$98,860" | CREATE TABLE table_name_97 (driver VARCHAR, winnings VARCHAR) | Who has won $98,860? |
SELECT away_team FROM table_name_17 WHERE home_team = "hawthorn" | CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR) | What team is travelling to play Hawthorn? |
Subsets and Splits