answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT games FROM table_name_94 WHERE event = "long jump" | Which games saw a record set in the long jump event? | CREATE TABLE table_name_94 (games VARCHAR, event VARCHAR) |
SELECT player FROM table_name_53 WHERE average = 38.22 | Which player has an average of 38.22? | CREATE TABLE table_name_53 (player VARCHAR, average VARCHAR) |
SELECT away_team AS score FROM table_14312471_3 WHERE away_team = "Richmond" | Name the away team score for richmond | CREATE TABLE table_14312471_3 (away_team VARCHAR) |
SELECT race_name FROM table_name_90 WHERE constructor = "matra" | Which race was Matra the constructor? | CREATE TABLE table_name_90 (race_name VARCHAR, constructor VARCHAR) |
SELECT fencing FROM table_12407546_1 WHERE running = "9:40.31 (1080 pts)" | What's the fencing score of the player with 9:40.31 (1080 pts) in running? | CREATE TABLE table_12407546_1 (fencing VARCHAR, running VARCHAR) |
SELECT type FROM table_2562572_19 WHERE settlement = "Lok" | What type is the settlement of Lok? | CREATE TABLE table_2562572_19 (type VARCHAR, settlement VARCHAR) |
SELECT T1.date_of_enrolment, T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.personal_name = "Karson" | List the dates of enrollment and completion of the student with personal name "Karson". | CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, personal_name VARCHAR) |
SELECT MIN(races) FROM table_name_16 WHERE team_name = "piquet gp" AND points > 24 | Can you tell me the lowest Races that has the Team Name of piquet gp, and the Points larger than 24? | CREATE TABLE table_name_16 (races INTEGER, team_name VARCHAR, points VARCHAR) |
SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0" | In which league would you find the player with a comp percentage of 54.0? | CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR) |
SELECT attendance FROM table_name_79 WHERE opponent = "morton" | How many people attended in the game against morton? | CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR) |
SELECT result FROM table_name_20 WHERE year > 2010 AND tournament = "world race walking cup" | What is the result of the World Race Walking Cup tournament played before the year 2010? | CREATE TABLE table_name_20 (result VARCHAR, year VARCHAR, tournament VARCHAR) |
SELECT MIN(year) FROM table_name_71 WHERE venue = "casablanca" AND time = "20.63w" | What's the lowest Year with a Venue of casablanca and has the Time of 20.63w? | CREATE TABLE table_name_71 (year INTEGER, venue VARCHAR, time VARCHAR) |
SELECT away_team FROM table_name_13 WHERE home_team = "south melbourne" | Who was home team South Melbourne's opponent? | CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(pick__number) FROM table_name_51 WHERE nationality = "slovakia" | What is the highest pick number from Slovakia? | CREATE TABLE table_name_51 (pick__number INTEGER, nationality VARCHAR) |
SELECT scores FROM table_29141354_1 WHERE episode = "01x06" | what was the result on 01x06 | CREATE TABLE table_29141354_1 (scores VARCHAR, episode VARCHAR) |
SELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND played > 30 | What is the smallest number of goals when the goals against are more than 58 and played number is more than 30? | CREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR) |
SELECT set_3 FROM table_name_1 WHERE week = 6 | What is set 3 on week 6? | CREATE TABLE table_name_1 (set_3 VARCHAR, week VARCHAR) |
SELECT MAX(area__msr_) FROM table_name_70 WHERE area__sqdeg_ < 291.045 AND family = "per" AND rank > 78 | What is the largest Area (msr) that has an Area less than 291.045, is part of the Per family, and has a rank higher than 78? | CREATE TABLE table_name_70 (area__msr_ INTEGER, rank VARCHAR, area__sqdeg_ VARCHAR, family VARCHAR) |
SELECT airport_name FROM table_18047346_4 WHERE location = "Chicago, Illinois" | If the location is Chicago, Illinois, what is the airport name? | CREATE TABLE table_18047346_4 (airport_name VARCHAR, location VARCHAR) |
SELECT type FROM table_name_14 WHERE name = "edson ratinho" | Which Type has a Name of edson ratinho? | CREATE TABLE table_name_14 (type VARCHAR, name VARCHAR) |
SELECT MIN(year) FROM table_name_92 WHERE venue = "paris, france" | Name the least year for paris, france venue | CREATE TABLE table_name_92 (year INTEGER, venue VARCHAR) |
SELECT AVG(lost) FROM table_name_93 WHERE against < 25 AND played < 1 | What is the Lost with Against smaller than 25, and Played smaller than 1? | CREATE TABLE table_name_93 (lost INTEGER, against VARCHAR, played VARCHAR) |
SELECT status FROM table_name_21 WHERE notes = "primitive confuciusornithid ." | What is the Status of primitive confuciusornithid .? | CREATE TABLE table_name_21 (status VARCHAR, notes VARCHAR) |
SELECT race_time FROM table_1771753_3 WHERE team = "Chip Ganassi Racing" AND laps = "228" | When 228 is the lap and chip ganassi racing is the team what is the race time? | CREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR) |
SELECT MIN(rank) FROM table_name_28 WHERE population > 231 AND name = "qaanaaq" | What is the lowest rank of Qaanaaq, which has a population greater than 231? | CREATE TABLE table_name_28 (rank INTEGER, population VARCHAR, name VARCHAR) |
SELECT result FROM table_21094951_1 WHERE opponent = "Ursinus College" | Name the result for ursinus college | CREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR) |
SELECT original_air_date FROM table_18427769_1 WHERE directed_by = "Di Drew" | If Di Drew is the director, what was the original air date for episode A Whole Lot to Lose? | CREATE TABLE table_18427769_1 (original_air_date VARCHAR, directed_by VARCHAR) |
SELECT traditional FROM table_1300525_1 WHERE area = 2331 | What is the traditional way to write the name of the district who's area is 2331? | CREATE TABLE table_1300525_1 (traditional VARCHAR, area VARCHAR) |
SELECT Name FROM people WHERE NOT People_ID IN (SELECT People_ID FROM employment) | List the names of people that are not employed by any company | CREATE TABLE employment (Name VARCHAR, People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) |
SELECT hand_guards FROM table_name_8 WHERE name = "ar-15a2 government carbine" AND barrel_twist = "1:9" | Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9 | CREATE TABLE table_name_8 (hand_guards VARCHAR, name VARCHAR, barrel_twist VARCHAR) |
SELECT event FROM table_name_1 WHERE name = "cristina iovu" | What event did Cristina Iovu participate in? | CREATE TABLE table_name_1 (event VARCHAR, name VARCHAR) |
SELECT candidates FROM table_2668378_13 WHERE district = "Pennsylvania 5" | who was running in the section pennsylvania 5 | CREATE TABLE table_2668378_13 (candidates VARCHAR, district VARCHAR) |
SELECT MAX(founded) FROM table_255188_1 WHERE nickname = "Avenging Angels" | When were the Avenging Angels founded? | CREATE TABLE table_255188_1 (founded INTEGER, nickname VARCHAR) |
SELECT COUNT(fri_28_aug) FROM table_23465864_3 WHERE mon_24_aug = "22' 37.06 100.090mph" | When 22' 37.06 100.090mph is the time for Monday August 24th how many times are there for Friday August 28th? | CREATE TABLE table_23465864_3 (fri_28_aug VARCHAR, mon_24_aug VARCHAR) |
SELECT place FROM table_name_47 WHERE player = "ed oliver" | Name the place for ed oliver | CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR) |
SELECT losses FROM table_name_40 WHERE matches = "5" | What is the losses for the 5 matches? | CREATE TABLE table_name_40 (losses VARCHAR, matches VARCHAR) |
SELECT title FROM table_name_10 WHERE director = "friz freleng" AND production_number = 1553 | What is the title of the film with production number 1553, directed by Friz Freleng? | CREATE TABLE table_name_10 (title VARCHAR, director VARCHAR, production_number VARCHAR) |
SELECT SUM(total) FROM table_name_91 WHERE position < 1 | What's the total of the position of 1? | CREATE TABLE table_name_91 (total INTEGER, position INTEGER) |
SELECT location FROM table_name_73 WHERE district = "tiruchirappalli district" | What is the location of the tiruchirappalli district? | CREATE TABLE table_name_73 (location VARCHAR, district VARCHAR) |
SELECT COUNT(gold) FROM table_name_11 WHERE silver = 2 AND bronze > 2 | How many Gold medals does the country with 2 Silver and more than 2 Bronze have? | CREATE TABLE table_name_11 (gold VARCHAR, silver VARCHAR, bronze VARCHAR) |
SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london" | Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london? | CREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR) |
SELECT artist FROM table_2161859_1 WHERE strip_numbers = "3932-4031A" | Who is the artist for strip numbers 3932-4031a? | CREATE TABLE table_2161859_1 (artist VARCHAR, strip_numbers VARCHAR) |
SELECT tournament FROM table_name_69 WHERE 1972 = "a" AND 1975 = "2r" | What tournament is listed as A in 1972 and 2R in 1975? | CREATE TABLE table_name_69 (tournament VARCHAR) |
SELECT audio FROM table_name_21 WHERE title = "a storm of swords" | Which audio has a Title of a storm of swords? | CREATE TABLE table_name_21 (audio VARCHAR, title VARCHAR) |
SELECT design FROM table_25468520_1 WHERE quantity = "5,000,000" | What is the design when quantity is 5,000,000? | CREATE TABLE table_25468520_1 (design VARCHAR, quantity VARCHAR) |
SELECT engine_† FROM table_name_98 WHERE rounds = "all" AND tyre = "m" AND driver = "david coulthard" | what is the engine when the rounds ar all, the tyre is m and the driver is david coulthard? | CREATE TABLE table_name_98 (engine_† VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR) |
SELECT role_description FROM ROLES WHERE role_code = "ED" | What is the description of role code ED? | CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR) |
SELECT date FROM table_1506950_4 WHERE rounds = "66-67-70-67" | What days were the rounds of 66-67-70-67 recorded? | CREATE TABLE table_1506950_4 (date VARCHAR, rounds VARCHAR) |
SELECT MIN(byes) FROM table_name_49 WHERE wins = 3 | What is the smallest byes when the wins are 3? | CREATE TABLE table_name_49 (byes INTEGER, wins VARCHAR) |
SELECT month, _year FROM table_name_24 WHERE german_submarines_lost < 5 AND sunk_by_warship_or_raider < 6893 AND sunk_by_aircraft < 133746 AND sunk_by_u_boat > 111263 | What is the month and year less than 5 German submarines were lost, less than 6893 were sunk by warship or raider, less than 133746 were sunk by aircraft, and more than 111263 were sunk by U-boat? | CREATE TABLE table_name_24 (month VARCHAR, _year VARCHAR, sunk_by_u_boat VARCHAR, sunk_by_aircraft VARCHAR, german_submarines_lost VARCHAR, sunk_by_warship_or_raider VARCHAR) |
SELECT 20 AS _questions FROM table_1566852_5 WHERE date = "8-04" | Name the 20 questions for 8-04 | CREATE TABLE table_1566852_5 (date VARCHAR) |
SELECT construction AS date FROM table_22180353_1 WHERE registration = "HB-HOS" | What is every construction date for the registration of HB-HOS? | CREATE TABLE table_22180353_1 (construction VARCHAR, registration VARCHAR) |
SELECT MIN(score) FROM table_name_89 WHERE year < 2008 AND placement = "3rd" | What is the lowest score for a year before 2008 and had 3rd place? | CREATE TABLE table_name_89 (score INTEGER, year VARCHAR, placement VARCHAR) |
SELECT title FROM table_18102421_2 WHERE us_viewers__millions_ = "13.82" | What was the title of the episode that had 13.82 million U.S. viewers? | CREATE TABLE table_18102421_2 (title VARCHAR, us_viewers__millions_ VARCHAR) |
SELECT player FROM table_name_65 WHERE finish = "t57" | What player has a t57 as the finish? | CREATE TABLE table_name_65 (player VARCHAR, finish VARCHAR) |
SELECT MAX(losses) FROM table_name_57 WHERE played < 5 | Please name the Losses that has a Played smaller than 5? | CREATE TABLE table_name_57 (losses INTEGER, played INTEGER) |
SELECT player FROM table_name_57 WHERE place = "t8" AND country = "united states" | What United States player holds the place of t8?` | CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR) |
SELECT MAX(frequency_mhz) FROM table_name_38 WHERE city_of_license = "byron, ga" | Which Frequency MHz is the highest one that has a City of license of byron, ga? | CREATE TABLE table_name_38 (frequency_mhz INTEGER, city_of_license VARCHAR) |
SELECT COUNT(losses) FROM table_name_82 WHERE wins < 9 | What is the total number of losses for years with fewer than 9 wins? | CREATE TABLE table_name_82 (losses VARCHAR, wins INTEGER) |
SELECT home_team FROM table_name_7 WHERE road_team = "seattle" AND date = "june 1" | What is the Home Team of the game against Seattle on June 1? | CREATE TABLE table_name_7 (home_team VARCHAR, road_team VARCHAR, date VARCHAR) |
SELECT us_viewers__million_ FROM table_2866456_1 WHERE _number = 6 | How many u.s. viewers (million) have 6 as the #? | CREATE TABLE table_2866456_1 (us_viewers__million_ VARCHAR, _number VARCHAR) |
SELECT race FROM table_27913160_3 WHERE most_laps_led = "Simon Pagenaud" | What race did Simon Pagenaud have the most laps in? | CREATE TABLE table_27913160_3 (race VARCHAR, most_laps_led VARCHAR) |
SELECT year FROM table_name_70 WHERE label = "latenight weeknight" AND release_title = "neverchanger" | What year was Neverchanger with the label of Latenight weeknight? | CREATE TABLE table_name_70 (year VARCHAR, label VARCHAR, release_title VARCHAR) |
SELECT COUNT(segment_b) FROM table_15187735_16 WHERE segment_a = "Filigree Glass" | How many segment b's when segment a is filigree glass | CREATE TABLE table_15187735_16 (segment_b VARCHAR, segment_a VARCHAR) |
SELECT loss FROM table_name_48 WHERE date = "september 1" | What was the losing score on September 1? | CREATE TABLE table_name_48 (loss VARCHAR, date VARCHAR) |
SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976 | Which charts had debut sales of 101976? | CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR) |
SELECT COUNT(silver) FROM table_name_35 WHERE total < 1 | What is the number of silver when the total is less than 1? | CREATE TABLE table_name_35 (silver VARCHAR, total INTEGER) |
SELECT COUNT(losses) FROM table_name_68 WHERE draws < 7 AND points > 26 AND goals_for = 60 AND position < 4 | What is the total number of losses and draws less than 7, points larger than 26, 60 goals, and a position before 4? | CREATE TABLE table_name_68 (losses VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR) |
SELECT date FROM table_name_24 WHERE record = "28-15" | What is the date of the match with a 28-15 record? | CREATE TABLE table_name_24 (date VARCHAR, record VARCHAR) |
SELECT AVG(caps) FROM table_name_36 WHERE player = "ryota asano" | What is the mean number of caps for Ryota Asano? | CREATE TABLE table_name_36 (caps INTEGER, player VARCHAR) |
SELECT venue FROM table_name_29 WHERE runs = "274" | Where was the venue that had 274 runs? | CREATE TABLE table_name_29 (venue VARCHAR, runs VARCHAR) |
SELECT lead FROM table_name_95 WHERE skip = "ted appelman" | Which Lead has a Skip of ted appelman? | CREATE TABLE table_name_95 (lead VARCHAR, skip VARCHAR) |
SELECT group_position FROM table_name_9 WHERE date = "7 november 2007" | What is the Group position for the date of 7 November 2007? | CREATE TABLE table_name_9 (group_position VARCHAR, date VARCHAR) |
SELECT party FROM table_1341604_22 WHERE district = "Massachusetts 3" | what's the party with dbeingtrict being massachusetts 3 | CREATE TABLE table_1341604_22 (party VARCHAR, district VARCHAR) |
SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.61" | what are all the rating with viewers (m) being 2.61 | CREATE TABLE table_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR) |
SELECT MIN(uncommitted) FROM table_name_16 WHERE total > 16 AND hillary_clinton = 2 | What is the lowest number of uncommitted superdelegates for a state with more than 16 total and 2 for Hillary Clinton? | CREATE TABLE table_name_16 (uncommitted INTEGER, total VARCHAR, hillary_clinton VARCHAR) |
SELECT COUNT(record) FROM table_17778417_1 WHERE opponent = "Dallas Texans" | How many times did the Denver Broncos face the Dallas Texans this season? | CREATE TABLE table_17778417_1 (record VARCHAR, opponent VARCHAR) |
SELECT shooter FROM table_name_51 WHERE score_points = "defending champion" | Who's the shooter with score points of defending champion? | CREATE TABLE table_name_51 (shooter VARCHAR, score_points VARCHAR) |
SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal" | What party did incumbent Stephen L. Neal belong to? | CREATE TABLE table_1341568_34 (party VARCHAR, incumbent VARCHAR) |
SELECT calling_at FROM table_18332845_2 WHERE arrival = "18.42" | What was the calling for the 18.42 arrival time? | CREATE TABLE table_18332845_2 (calling_at VARCHAR, arrival VARCHAR) |
SELECT kickoff_time FROM table_name_28 WHERE date = "november 10, 2002" | What is the kickoff time on November 10, 2002? | CREATE TABLE table_name_28 (kickoff_time VARCHAR, date VARCHAR) |
SELECT candidates FROM table_2668336_24 WHERE incumbent = "John Pegram" | Who are the candidates when the incumbent is john pegram? | CREATE TABLE table_2668336_24 (candidates VARCHAR, incumbent VARCHAR) |
SELECT school FROM table_name_97 WHERE position = "center" | What School is the Center from? | CREATE TABLE table_name_97 (school VARCHAR, position VARCHAR) |
SELECT race FROM table_name_72 WHERE replica = "dnf" | Which race has a replica of DNF? | CREATE TABLE table_name_72 (race VARCHAR, replica VARCHAR) |
SELECT venue FROM table_name_47 WHERE home_team = "collingwood" | What venue features collingwood as the home side? | CREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR) |
SELECT nation FROM table_name_13 WHERE total = 6 | What is the nation for 6 total? | CREATE TABLE table_name_13 (nation VARCHAR, total VARCHAR) |
SELECT manufacturer FROM table_name_54 WHERE laps < 20 AND grid = 21 | What kind of Manufacturer has a Laps smaller than 20 and a Grid of 21 | CREATE TABLE table_name_54 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT kickoff FROM table_name_53 WHERE nflcom_recap = "recap" AND week < 17 AND game_site = "arrowhead stadium" | What is the kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium? | CREATE TABLE table_name_53 (kickoff VARCHAR, game_site VARCHAR, nflcom_recap VARCHAR, week VARCHAR) |
SELECT tournament_winner FROM table_24248450_3 WHERE regular_season_winner = "UNC Wilmington" | Who was the Tournament Winner when UNC Wilmington won the regular season? | CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, regular_season_winner VARCHAR) |
SELECT MAX(chart_no) FROM table_name_17 WHERE title = "yardbirds aka roger the engineer" | What is the highest chart number for the song Yardbirds aka Roger the Engineer? | CREATE TABLE table_name_17 (chart_no INTEGER, title VARCHAR) |
SELECT leading_scorer FROM table_name_82 WHERE date = "1 april 2008" | Name the leading scorer for 1 april 2008 | CREATE TABLE table_name_82 (leading_scorer VARCHAR, date VARCHAR) |
SELECT SUM(number_of_electorates__2009_) FROM table_name_56 WHERE constituency_number = "56" | What's the number of electorates for constituency number 56? | CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR) |
SELECT team FROM table_name_74 WHERE points = "test driver" | Which team has the points category of test driver? | CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR) |
SELECT time FROM table_name_84 WHERE res = "loss" AND round < 3 | What was the time for the match that resulted in a loss in less than 3 rounds? | CREATE TABLE table_name_84 (time VARCHAR, res VARCHAR, round VARCHAR) |
SELECT date, cloud_cover FROM weather ORDER BY cloud_cover DESC LIMIT 5 | What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate. | CREATE TABLE weather (date VARCHAR, cloud_cover VARCHAR) |
SELECT result FROM table_name_67 WHERE year = 2001 | What was the result of the tournament in 2001? | CREATE TABLE table_name_67 (result VARCHAR, year VARCHAR) |
SELECT position FROM table_name_15 WHERE player = "john carlson" | What position does John Carlson play? | CREATE TABLE table_name_15 (position VARCHAR, player VARCHAR) |
SELECT COUNT(*) FROM Customers WHERE NOT customer_id IN (SELECT customer_id FROM Customer_Payments) | List the number of customers that did not have any payment history. | CREATE TABLE Customers (customer_id VARCHAR); CREATE TABLE Customer_Payments (customer_id VARCHAR) |
SELECT total_finals FROM table_14286908_1 WHERE year_of_last_win = "2012-13" | How many total finals where there when the last win was in 2012-13? | CREATE TABLE table_14286908_1 (total_finals VARCHAR, year_of_last_win VARCHAR) |
SELECT score FROM table_27698941_6 WHERE record = "3–12" | What is the score for the game with the record of 3–12? | CREATE TABLE table_27698941_6 (score VARCHAR, record VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.