Dataset Viewer
Auto-converted to Parquet
answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT title FROM table_11951237_3 WHERE original_air_date = "February 6, 1997"
What is the title of the episode with the original air date of february 6, 1997?
CREATE TABLE table_11951237_3 (title VARCHAR, original_air_date VARCHAR)
SELECT class__old__to_1868 FROM table_name_47 WHERE quantity > 8
Can you tell me the Class (old) to 1868 that has the Quantity larger than 8?
CREATE TABLE table_name_47 (class__old__to_1868 VARCHAR, quantity INTEGER)
SELECT wrestler FROM table_name_23 WHERE entered = 5 AND pinned = "mvp"
Which Wrestler has an Entered of 5, and a Pinned of mvp?
CREATE TABLE table_name_23 (wrestler VARCHAR, entered VARCHAR, pinned VARCHAR)
SELECT comp FROM table_name_16 WHERE date = "2007-08-06"
What was the Comp on 2007-08-06?
CREATE TABLE table_name_16 (comp VARCHAR, date VARCHAR)
SELECT location FROM table_name_35 WHERE score = "115-105"
What is the location of the game with a 115-105 score?
CREATE TABLE table_name_35 (location VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_11 WHERE opponent_in_the_final = "mark nielsen"
What tournament did Smeets play against Mark nielsen?
CREATE TABLE table_name_11 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT original_us_air_date FROM table_25246990_5 WHERE directed_by = "Julian Petrillo"
What was the original U.S. air date of the episode directed by Julian Petrillo?
CREATE TABLE table_25246990_5 (original_us_air_date VARCHAR, directed_by VARCHAR)
SELECT australian_national_kennel_council_toy_dogs_group FROM table_name_98 WHERE the_kennel_club__uk__toy_group = "papillon"
What is the Australian National Kennel Council Toy Dogs Group with papillon as the Kennel Club breed?
CREATE TABLE table_name_98 (australian_national_kennel_council_toy_dogs_group VARCHAR, the_kennel_club__uk__toy_group VARCHAR)
SELECT date_of_vacancy FROM table_name_75 WHERE team = "dundee"
What is the vacancy date of Dundee?
CREATE TABLE table_name_75 (date_of_vacancy VARCHAR, team VARCHAR)
SELECT status FROM table_name_86 WHERE date = "24/11/1979"
What is the status for 24/11/1979?
CREATE TABLE table_name_86 (status VARCHAR, date VARCHAR)
SELECT MIN(sipe_sipe_municipality) FROM table_2509113_2 WHERE language = "Quechua"
What is the Sipe Sipe Municipality minimum if the language is Quechua?
CREATE TABLE table_2509113_2 (sipe_sipe_municipality INTEGER, language VARCHAR)
SELECT talent_segment FROM table_name_49 WHERE index = "f9"
For the event with index f9, what's the talent segment?
CREATE TABLE table_name_49 (talent_segment VARCHAR, index VARCHAR)
SELECT song_choice FROM table_27616663_1 WHERE original_artist = "Marisa Monte"
Which song was picked that was originally performed by Marisa Monte?
CREATE TABLE table_27616663_1 (song_choice VARCHAR, original_artist VARCHAR)
SELECT MIN(winter_olympics) FROM table_name_39 WHERE fis_nordic_world_ski_championships = "1976"
what is the earliest winter olympics when the fis nordic world ski championships is 1976?
CREATE TABLE table_name_39 (winter_olympics INTEGER, fis_nordic_world_ski_championships VARCHAR)
SELECT team FROM table_2522473_1 WHERE home_ground = "Stemmemyren"
Which teams homeeground is Stemmemyren?
CREATE TABLE table_2522473_1 (team VARCHAR, home_ground VARCHAR)
SELECT score FROM table_name_1 WHERE team = "@ portland"
What is the Score with a Team that is @ portland?
CREATE TABLE table_name_1 (score VARCHAR, team VARCHAR)
SELECT height FROM table_name_19 WHERE name = "james stanton"
How tall is player James Stanton?
CREATE TABLE table_name_19 (height VARCHAR, name VARCHAR)
SELECT average FROM table_2472711_31 WHERE total = 243017
What is the average of the team where the total is 243017?
CREATE TABLE table_2472711_31 (average VARCHAR, total VARCHAR)
SELECT COUNT(pick__number) FROM table_10960039_6 WHERE player = "Brett Ralph"
How many times were players named brett ralph were selected?
CREATE TABLE table_10960039_6 (pick__number VARCHAR, player VARCHAR)
SELECT air_date FROM table_17257687_1 WHERE event_2 = "Hang Tough"
On what date was the episode aired where event 2 was Hang Tough?
CREATE TABLE table_17257687_1 (air_date VARCHAR, event_2 VARCHAR)
SELECT film FROM table_name_80 WHERE director_s_ = "sandro aguilar"
What film was directed by Sandro Aguilar?
CREATE TABLE table_name_80 (film VARCHAR, director_s_ VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_34 WHERE round = 6
What College/Junior/Club Team (League) has 6 as the Round?
CREATE TABLE table_name_34 (college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT MIN(no_in_series) FROM table_10088101_1 WHERE production_code = "8ABX15"
What is the episode number that has production code 8abx15?
CREATE TABLE table_10088101_1 (no_in_series INTEGER, production_code VARCHAR)
SELECT round FROM table_10360823_1 WHERE overall = 240
Overall pick 240 was a pick in which round?
CREATE TABLE table_10360823_1 (round VARCHAR, overall VARCHAR)
SELECT winner FROM table_name_53 WHERE year < 1935 AND result = "56-0"
Who was the winner when the result was 56-0 before 1935?
CREATE TABLE table_name_53 (winner VARCHAR, year VARCHAR, result VARCHAR)
SELECT COUNT(match_no) FROM table_19072602_2 WHERE team_europe = "Osku Palermaa"
How many match numbers have team europe listed as osku palermaa?
CREATE TABLE table_19072602_2 (match_no VARCHAR, team_europe VARCHAR)
SELECT second FROM table_name_71 WHERE lead = "shane mckinlay"
Who was second when Shane McKinlay was the lead?
CREATE TABLE table_name_71 (second VARCHAR, lead VARCHAR)
SELECT AVG(crowd) FROM table_name_63 WHERE away_team = "south melbourne"
What was the average crowd size when the away team was South Melbourne?
CREATE TABLE table_name_63 (crowd INTEGER, away_team VARCHAR)
SELECT date FROM table_17322817_6 WHERE score = "L 92–103 (OT)"
Name the date for l 92–103 (ot)
CREATE TABLE table_17322817_6 (date VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_63 WHERE place = "t3"
What is the To par of the T3 Player?
CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR)
SELECT votes___percentage_ FROM table_name_14 WHERE episode = "1x03"
What is Votes (%), when Episode is "1x03"?
CREATE TABLE table_name_14 (votes___percentage_ VARCHAR, episode VARCHAR)
SELECT verb_meaning FROM table_name_5 WHERE part_2 = "blēot"
What is the verb meaning when the part 2 is blēot?
CREATE TABLE table_name_5 (verb_meaning VARCHAR, part_2 VARCHAR)
SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback"
How many rounds have an Overall larger than 17, and a Position of quarterback?
CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR)
SELECT date FROM table_name_75 WHERE opponent = "liberia" AND score = "1-0"
When was the event that had Liberia as an opponent and resulted in a 1-0 score?
CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, score VARCHAR)
SELECT jushin_liger FROM table_name_20 WHERE masaaki_mochizuki = "kashin (10:00)"
Which Jushin Liger has a Masaaki Mochizuki of kashin (10:00)?
CREATE TABLE table_name_20 (jushin_liger VARCHAR, masaaki_mochizuki VARCHAR)
SELECT record FROM table_name_8 WHERE method = "submission (armbar)" AND round < 3
what is the record when the method is submission (armbar) and the round is less than 3?
CREATE TABLE table_name_8 (record VARCHAR, method VARCHAR, round VARCHAR)
SELECT opponent FROM table_name_25 WHERE date = "december 3, 1979"
What is the Opponent on December 3, 1979?
CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR)
SELECT track FROM table_name_82 WHERE bobsleigh_skeleton_curves = "14" AND country = "austria"
Which track in Austria has Bobsleigh-skeleton curves with a grade of 14%?
CREATE TABLE table_name_82 (track VARCHAR, bobsleigh_skeleton_curves VARCHAR, country VARCHAR)
SELECT description FROM table_256286_43 WHERE _percentage_yes = "51.82%"
What is every entry for description when the value of %yes is 51.82%?
CREATE TABLE table_256286_43 (description VARCHAR, _percentage_yes VARCHAR)
SELECT to_par FROM table_name_60 WHERE place = "t5" AND player = "vijay singh"
What is T5 Place Vijay Singh's To par?
CREATE TABLE table_name_60 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT AVG(round) FROM table_name_72 WHERE pick = "16"
What is the average round of the number 16 pick?
CREATE TABLE table_name_72 (round INTEGER, pick VARCHAR)
SELECT SUM(against) FROM table_name_39 WHERE date = "15/10/1999"
What is the total against on 15/10/1999?
CREATE TABLE table_name_39 (against INTEGER, date VARCHAR)
SELECT jurisdiction FROM table_120778_2 WHERE voted_no = 322971
what's the jurisdiction where voted no is 322971
CREATE TABLE table_120778_2 (jurisdiction VARCHAR, voted_no VARCHAR)
SELECT T3.dept_name FROM course AS T1 JOIN CLASS AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1
Find the name of the department that offers the largest number of credits of all classes.
CREATE TABLE CLASS (crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR, crs_credit INTEGER)
SELECT city FROM table_name_96 WHERE country = "netherlands"
what is the city for the country of netherlands?
CREATE TABLE table_name_96 (city VARCHAR, country VARCHAR)
SELECT COUNT(laps) FROM table_2267465_1 WHERE race_time = "3:34:26"
How many laps have a 3:34:26 race time?
CREATE TABLE table_2267465_1 (laps VARCHAR, race_time VARCHAR)
SELECT SUM(water__sqmi_) FROM table_name_68 WHERE land___sqmi__ = 35.918 AND longitude < -97.115459
What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459?
CREATE TABLE table_name_68 (water__sqmi_ INTEGER, land___sqmi__ VARCHAR, longitude VARCHAR)
SELECT score FROM table_name_42 WHERE date = "march 5"
What was the score on March 5 at Vancouver?
CREATE TABLE table_name_42 (score VARCHAR, date VARCHAR)
SELECT points_for FROM table_name_50 WHERE points_against = "400"
With a club that has 400 Points against, what are the points?
CREATE TABLE table_name_50 (points_for VARCHAR, points_against VARCHAR)
SELECT high_points FROM table_17355408_9 WHERE date = "April 8"
Who had the high points on April 8?
CREATE TABLE table_17355408_9 (high_points VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_17 WHERE venue = "brunswick street oval"
Who is the home team at brunswick street oval?
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
SELECT final_score FROM table_name_41 WHERE sport = "baseball" AND year < 2005
What was the final score of a baseball game that happened before 2005?
CREATE TABLE table_name_41 (final_score VARCHAR, sport VARCHAR, year VARCHAR)
SELECT score FROM table_name_10 WHERE home = "ny islanders"
What is the score of the game where the NY Islanders are the home team?
CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR)
SELECT MAX(competition_finish) FROM table_name_4 WHERE average > 32.9 AND number_of_dances > 16
Name the greatest competition finish with average more than 32.9 and number of dances more than 16
CREATE TABLE table_name_4 (competition_finish INTEGER, average VARCHAR, number_of_dances VARCHAR)
SELECT MAX(season_3) FROM table_26240046_1 WHERE played_by = "Morgan the Dog"
How many season 3 appearances by Morgan the Dog?
CREATE TABLE table_26240046_1 (season_3 INTEGER, played_by VARCHAR)
SELECT SUM(year) FROM table_name_93 WHERE wins = 1 AND losses < 1
What is the total number of Year with Wins of 1, and Losses smaller than 1?
CREATE TABLE table_name_93 (year INTEGER, wins VARCHAR, losses VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_84 WHERE position = "d" AND round < 11 AND player = "dennis vial"
What league has a D position, a round smaller than 11 and is with Dennis Vial?
CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR)
SELECT name FROM table_name_41 WHERE decile = "1" AND authority = "state" AND area = "otahuhu"
What is the name of the school with a decile of 1, a state authority, and located in Otahuhu?
CREATE TABLE table_name_41 (name VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR)
SELECT county FROM table_name_99 WHERE median_family_income = "$50,227"
Which county has a median family income of $50,227?
CREATE TABLE table_name_99 (county VARCHAR, median_family_income VARCHAR)
SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = "Wang Yihan"
who won mixed doubles when wang yihan won womens singles
CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT AVG(points) FROM table_name_2 WHERE chassis = "lola lc88"
What is the average points for the chassis LOLA LC88?
CREATE TABLE table_name_2 (points INTEGER, chassis VARCHAR)
SELECT assembled FROM table_1827690_4 WHERE elected = "1472"
When 1472 was the elected when was the assembled?
CREATE TABLE table_1827690_4 (assembled VARCHAR, elected VARCHAR)
SELECT date FROM table_name_17 WHERE visitor = "st. louis"
What was the date of the game when St. Louis was the visiting team?
CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR)
SELECT driver FROM table_name_91 WHERE time_retired = "engine" AND grid < 9
Who drive the car that retired due to engine failure and a grid of less than 9?
CREATE TABLE table_name_91 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_80 WHERE points < 36 AND team = "bob holden motors" AND race_1 = "7"
Which driver for Bob Holden Motors has fewer than 36 points and placed 7 in race 1?
CREATE TABLE table_name_80 (driver VARCHAR, race_1 VARCHAR, points VARCHAR, team VARCHAR)
SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = PRESIDENT_Vote EXCEPT SELECT DISTINCT LName FROM STUDENT WHERE Advisor = "2192"
Find the distinct last names of all the students who have president votes and whose advisor is not 2192.
CREATE TABLE STUDENT (LName VARCHAR, PRESIDENT_Vote VARCHAR, Advisor VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Id VARCHAR)
SELECT score FROM table_name_29 WHERE record = "39-62"
What was the score when the record was 39-62?
CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR)
SELECT MIN(took_office) FROM table_name_50 WHERE senator = "eddie bernice johnson" AND district > 23
What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23?
CREATE TABLE table_name_50 (took_office INTEGER, senator VARCHAR, district VARCHAR)
SELECT rider FROM table_name_64 WHERE laps < 20 AND bike = "ducati 1098 rs 08" AND time = "accident" AND grid < 14
What rider has laps less than 20, a ducati 1098 rs 08 as the bike, with accident as the time, and a grid less than 14?
CREATE TABLE table_name_64 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, bike VARCHAR)
SELECT date FROM table_name_29 WHERE venue = "kuwait city"
On what date was Kuwait City a venue?
CREATE TABLE table_name_29 (date VARCHAR, venue VARCHAR)
SELECT record FROM table_11964047_10 WHERE home = "Los Angeles Lakers"
What is the record for the game at home Los Angeles Lakers?
CREATE TABLE table_11964047_10 (record VARCHAR, home VARCHAR)
SELECT surface FROM table_name_83 WHERE opponent_in_final = "paola suárez"
On what surface did Katarina Srebotnik play Paola Suárez?
CREATE TABLE table_name_83 (surface VARCHAR, opponent_in_final VARCHAR)
SELECT song FROM table_name_8 WHERE date = "march 8, 2008"
What song came out on March 8, 2008?
CREATE TABLE table_name_8 (song VARCHAR, date VARCHAR)
SELECT incumbent FROM table_1341472_12 WHERE district = "Georgia 2"
Who was the incumbent of district Georgia 2?
CREATE TABLE table_1341472_12 (incumbent VARCHAR, district VARCHAR)
SELECT MAX(rank) FROM table_name_12 WHERE nation = "iceland" AND silver < 19
Where does Iceland rank with under 19 silvers?
CREATE TABLE table_name_12 (rank INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(pick) FROM table_name_70 WHERE school_club_team = "florida state"
What is the average pick for Florida State?
CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR)
SELECT overall FROM table_10361625_1 WHERE college = "Rice"
What is Rice's collage score?
CREATE TABLE table_10361625_1 (overall VARCHAR, college VARCHAR)
SELECT COUNT(laps) FROM table_name_39 WHERE grid = 10
When the grid number is 10, what is the total number of laps?
CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR)
SELECT virtue FROM table_name_13 WHERE (latin) = acedia
Which virtue is acedia(Latin)?
CREATE TABLE table_name_13 (virtue VARCHAR, acedia VARCHAR, latin VARCHAR)
SELECT launch_date__utc_ FROM table_2150068_1 WHERE nssdc_id = "1960-009A"
What is the launch date for the sattelite with a nssdc id of 1960-009a?
CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, nssdc_id VARCHAR)
SELECT location_attendance FROM table_23248940_10 WHERE team = "Washington"
What was the location and it's attendance when the Bobcats played against Washington?
CREATE TABLE table_23248940_10 (location_attendance VARCHAR, team VARCHAR)
SELECT year FROM table_name_31 WHERE winner__female_ = "kim gevaert" AND talent__male_ = "xavier de baerdemaeker"
What year had Kim Gevaert as the female winner and Xavier de Baerdemaeker as the male talent?
CREATE TABLE table_name_31 (year VARCHAR, winner__female_ VARCHAR, talent__male_ VARCHAR)
SELECT high_assists FROM table_17323042_11 WHERE high_rebounds = "Andre Iguodala (8)"
Who was the High Assist when the High Rebounds was andre iguodala (8)?
CREATE TABLE table_17323042_11 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT branding FROM table_28794440_1 WHERE callsign = "DXGH"
Which branding has the callsign of DXGH?
CREATE TABLE table_28794440_1 (branding VARCHAR, callsign VARCHAR)
SELECT rr4_pts FROM table_21489362_2 WHERE total_pts = 70
When 70 is the total points what is the rr4 points?
CREATE TABLE table_21489362_2 (rr4_pts VARCHAR, total_pts VARCHAR)
SELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE population__2011_ = 24112
Name the largest ethnic group for 24112
CREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, population__2011_ VARCHAR)
SELECT event FROM table_name_56 WHERE res = "loss" AND record = "12–2"
Which Event has a Resolution of loss, and a Record of 12–2?
CREATE TABLE table_name_56 (event VARCHAR, res VARCHAR, record VARCHAR)
SELECT year FROM table_name_43 WHERE theme = "year of the pig"
What year was the year of the pig theme?
CREATE TABLE table_name_43 (year VARCHAR, theme VARCHAR)
SELECT player FROM table_name_42 WHERE pens = "0" AND start = "12"
Which Player has 0 Pens and 12 Starts?
CREATE TABLE table_name_42 (player VARCHAR, pens VARCHAR, start VARCHAR)
SELECT AVG(grid) FROM table_name_79 WHERE time_retired = "+17.276" AND laps > 22
What is the average grid for competitors who had more than 22 laps and time/retired of +17.276?
CREATE TABLE table_name_79 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT COUNT(attendance) FROM table_name_15 WHERE opponent = "cincinnati bengals"
How many people attended the game against the cincinnati bengals?
CREATE TABLE table_name_15 (attendance VARCHAR, opponent VARCHAR)
SELECT visitor FROM table_name_41 WHERE record = "5-2-0"
Which team was the visitor with a record of 5-2-0?
CREATE TABLE table_name_41 (visitor VARCHAR, record VARCHAR)
SELECT institution FROM table_27816698_2 WHERE founded = 1932
Which institution was founded in 1932?
CREATE TABLE table_27816698_2 (institution VARCHAR, founded VARCHAR)
SELECT candidates FROM table_1341453_22 WHERE district = "Maryland 3"
Who run for office in district Maryland 3?
CREATE TABLE table_1341453_22 (candidates VARCHAR, district VARCHAR)
SELECT position FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
Which position did the player hold that played for the Philadelphia Flyers in NHL?
CREATE TABLE table_1473672_3 (position VARCHAR, nhl_team VARCHAR)
SELECT political_party FROM table_name_72 WHERE name = "ibrahim bej biçakçiu"
Which Political Party has a Name of ibrahim bej biçakçiu?
CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR)
SELECT round FROM table_name_48 WHERE draft < 1983 AND pick < 132 AND player = "brad winton"
What is the round of player brad winton with a draft before 1983 and a pick less than 132?
CREATE TABLE table_name_48 (round VARCHAR, player VARCHAR, draft VARCHAR, pick VARCHAR)
SELECT winning_score FROM table_name_66 WHERE tournament = "burdine's invitational"
What was the winning score at Burdine's Invitational?
CREATE TABLE table_name_66 (winning_score VARCHAR, tournament VARCHAR)
SELECT location FROM table_10568553_1 WHERE milepost = "12.8"
Where is milepost 12.8?
CREATE TABLE table_10568553_1 (location VARCHAR, milepost VARCHAR)
SELECT MIN(round) FROM table_name_79 WHERE player = "joe patterson"
What is the lowest Round of joe patterson?
CREATE TABLE table_name_79 (round INTEGER, player VARCHAR)
End of preview. Expand in Data Studio

Overview

This dataset is filtered from b-mc2/sql-create-context.

Dataset Details

Dataset Description

I used sqlglot to make sure that each answer and context from the original dataset was parseable.

Dataset Sources

Original unfiltered dataset: b-mc2/sql-create-context, which in turn is built on WikiSQL and Spider.

Downloads last month
280