answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT date FROM table_name_88 WHERE score = "6-3, 4-6, 0-6"
What is Date, when Score is 6-3, 4-6, 0-6?
CREATE TABLE table_name_88 (date VARCHAR, score VARCHAR)
SELECT score FROM table_name_5 WHERE opponents_in_the_final = "james cerretani todd perry"
What is the score for the match where the opponent in the final was james cerretani todd perry?
CREATE TABLE table_name_5 (score VARCHAR, opponents_in_the_final VARCHAR)
SELECT format FROM table_name_14 WHERE frequency = "99.5 fm"
What format is at frequency 99.5 FM?
CREATE TABLE table_name_14 (format VARCHAR, frequency VARCHAR)
SELECT location FROM table_name_29 WHERE date = "october 16"
What was the location on October 16?
CREATE TABLE table_name_29 (location VARCHAR, date VARCHAR)
SELECT playoffs FROM table_name_27 WHERE year = "1924/25"
In 1924/25, who was in the playoffs?
CREATE TABLE table_name_27 (playoffs VARCHAR, year VARCHAR)
SELECT COUNT(date) FROM table_23916462_3 WHERE week = 4
How many dates for the week of 4?
CREATE TABLE table_23916462_3 (date VARCHAR, week VARCHAR)
SELECT sign FROM table_name_21 WHERE latin_motto = "vita"
Which astrological sign has the Latin motto of Vita?
CREATE TABLE table_name_21 (sign VARCHAR, latin_motto VARCHAR)
SELECT result FROM table_2668199_2 WHERE district = "Pennsylvania 6"
What is the result for district pennsylvania 6?
CREATE TABLE table_2668199_2 (result VARCHAR, district VARCHAR)
SELECT score FROM table_name_6 WHERE opponent = "gan teik chai lin woon fui"
What score has an opponent gan teik chai lin woon fui?
CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR)
SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = "american southwest"
What American Southwest Conference school was founded in 1883?
CREATE TABLE table_name_87 (institution VARCHAR, founded VARCHAR, current_conference VARCHAR)
SELECT score FROM table_24765815_1 WHERE rank = "1st"
What was the score for the 1st ranked team?
CREATE TABLE table_24765815_1 (score VARCHAR, rank VARCHAR)
SELECT venue FROM table_name_27 WHERE competition = "european indoor championships" AND year > 1979
After 1979, where was the European Indoor Championships held?
CREATE TABLE table_name_27 (venue VARCHAR, competition VARCHAR, year VARCHAR)
SELECT result_f___a FROM table_name_98 WHERE opponents = "leeds united"
hat is the Result F– A when they played against Leeds United?
CREATE TABLE table_name_98 (result_f___a VARCHAR, opponents VARCHAR)
SELECT date FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND gt3_winner = "Hector Lester Tim Mullen"
what are all the date for gtc winners graeme mundy jamie smyth and gt3 winners hector lester tim mullen
CREATE TABLE table_13079788_3 (date VARCHAR, gtc_winner VARCHAR, gt3_winner VARCHAR)
SELECT composer FROM table_name_98 WHERE title = "el hanone"
Who is the composer of El Hanone?
CREATE TABLE table_name_98 (composer VARCHAR, title VARCHAR)
SELECT city FROM table_name_65 WHERE date = "october 13"
Wjich city had a date of october 13?
CREATE TABLE table_name_65 (city VARCHAR, date VARCHAR)
SELECT score FROM table_name_28 WHERE country = "spain"
What was the score for Spain?
CREATE TABLE table_name_28 (score VARCHAR, country VARCHAR)
SELECT away_team FROM table_name_18 WHERE ground = "football park"
Who was the away team at the Football Park match?
CREATE TABLE table_name_18 (away_team VARCHAR, ground VARCHAR)
SELECT player FROM table_name_23 WHERE round = 5
What is the Player in Round 5?
CREATE TABLE table_name_23 (player VARCHAR, round VARCHAR)
SELECT playoffs FROM table_1999350_1 WHERE open_canada_cup = "N/A" AND regular_season = "2nd, New England"
What is the playoffs result in years where Open Canada Cup was "N/A" and regular season result was "2nd, New England"?
CREATE TABLE table_1999350_1 (playoffs VARCHAR, open_canada_cup VARCHAR, regular_season VARCHAR)
SELECT date FROM table_name_2 WHERE game = "game 3"
On what date was Game 3?
CREATE TABLE table_name_2 (date VARCHAR, game VARCHAR)
SELECT MIN(finish) FROM table_name_45 WHERE year > 1978 AND manufacturer = "buick" AND start < 3
What is the smallest finish time for a race where start was less than 3, buick was the manufacturer, and the race was held after 1978?
CREATE TABLE table_name_45 (finish INTEGER, start VARCHAR, year VARCHAR, manufacturer VARCHAR)
SELECT AVG(rank) FROM table_name_59 WHERE annual_change = "9.3%"
What is the average rank of the airport with a 9.3% annual change?
CREATE TABLE table_name_59 (rank INTEGER, annual_change VARCHAR)
SELECT Name FROM technician WHERE Age = 36 OR Age = 37
Show the name of technicians aged either 36 or 37
CREATE TABLE technician (Name VARCHAR, Age VARCHAR)
SELECT tournament FROM table_name_25 WHERE 2003 = "2r" AND 2004 = "1r"
What is the name of the tournament that has the results of 2003 2r and 2004 1r?
CREATE TABLE table_name_25 (tournament VARCHAR)
SELECT result FROM table_name_81 WHERE score = "70-73"
WHAT IS THE RESULT WITH A SCORE OF 70-73?
CREATE TABLE table_name_81 (result VARCHAR, score VARCHAR)
SELECT COUNT(gold) FROM table_name_14 WHERE total < 4
How many total gold are less than 4?
CREATE TABLE table_name_14 (gold VARCHAR, total INTEGER)
SELECT sixth_place FROM table_name_19 WHERE fifth_place = "hugo salazar"
Who was sixth place when Hugo Salazar was fifth place?
CREATE TABLE table_name_19 (sixth_place VARCHAR, fifth_place VARCHAR)
SELECT opponent FROM table_name_7 WHERE score = "25-0"
What team was the opponent when the score was 25-0?
CREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)
SELECT MAX(season) FROM table_name_45 WHERE rank < 1
What is the highest season that had rank under 1?
CREATE TABLE table_name_45 (season INTEGER, rank INTEGER)
SELECT venue FROM table_name_14 WHERE opposing_team = "hawke's bay"
Venue for Hawke's bay?
CREATE TABLE table_name_14 (venue VARCHAR, opposing_team VARCHAR)
SELECT mon_23_aug FROM table_26986076_3 WHERE rider = "Steve Linsdell 499cc Royal Enfield Seeley"
What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley?
CREATE TABLE table_26986076_3 (mon_23_aug VARCHAR, rider VARCHAR)
SELECT format FROM table_name_21 WHERE catalog = "mobil 1"
What format was used for Mobil 1?
CREATE TABLE table_name_21 (format VARCHAR, catalog VARCHAR)
SELECT AVG(year) FROM table_name_97 WHERE team = "suzuki" AND points = 4
What year did they get 4 points with Suzuki?
CREATE TABLE table_name_97 (year INTEGER, team VARCHAR, points VARCHAR)
SELECT institution FROM table_28243691_2 WHERE location = "Huntsville, Texas"
What school is located in Huntsville, Texas?
CREATE TABLE table_28243691_2 (institution VARCHAR, location VARCHAR)
SELECT year FROM table_name_11 WHERE rank > 35 AND out_of = 167
Tell me the year for rank more than 35 and out of 167
CREATE TABLE table_name_11 (year VARCHAR, rank VARCHAR, out_of VARCHAR)
SELECT le_5_model FROM table_name_2 WHERE le_5A = 130
Which LE-5 Model has an LE-5A of 130?
CREATE TABLE table_name_2 (le_5_model VARCHAR, le_5A VARCHAR)
SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 INTERSECT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010
Find courses that ran in Fall 2009 and in Spring 2010.
CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)
SELECT qaxmuğal FROM table_name_90 WHERE malax = "meşəbaş"
What is the Qaxmuğal village with a Malax village meşəbaş?
CREATE TABLE table_name_90 (qaxmuğal VARCHAR, malax VARCHAR)
SELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = "10.4"
What is the flange thickness (mm) for the weight (kg/m) 10.4?
CREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)
SELECT COUNT(attendance) FROM table_name_12 WHERE away_team = "southend manor" AND tie_no < 93
What is the attendance total when Southend Manor is the away team and there are less than 93 ties?
CREATE TABLE table_name_12 (attendance VARCHAR, away_team VARCHAR, tie_no VARCHAR)
SELECT player FROM table_name_26 WHERE total = 287
WHAT IS THE PLAYER WITH 287?
CREATE TABLE table_name_26 (player VARCHAR, total VARCHAR)
SELECT first_llcr FROM table_28457809_3 WHERE province = "Ontario"
What year was Ontario's first LLCR?
CREATE TABLE table_28457809_3 (first_llcr VARCHAR, province VARCHAR)
SELECT timeslot FROM table_26826304_2 WHERE air_date = "October 22, 2009"
A what time was the title aired in October 22, 2009
CREATE TABLE table_26826304_2 (timeslot VARCHAR, air_date VARCHAR)
SELECT score_points FROM table_name_80 WHERE rank_points = "defending champion"
What Score points has a Rank points of defending champion?
CREATE TABLE table_name_80 (score_points VARCHAR, rank_points VARCHAR)
SELECT deployable_military__2011, _thousands_ FROM table_17971449_2 WHERE country = "Denmark"
Name the deployable military 2011 for denmark
CREATE TABLE table_17971449_2 (deployable_military__2011 VARCHAR, _thousands_ VARCHAR, country VARCHAR)
SELECT home_team FROM table_name_22 WHERE attendance > 202
What is the home team of the match with an attendance greater than 202?
CREATE TABLE table_name_22 (home_team VARCHAR, attendance INTEGER)
SELECT dob FROM table_name_44 WHERE surname = "maat"
When was Maat born?
CREATE TABLE table_name_44 (dob VARCHAR, surname VARCHAR)
SELECT fleet_numbers FROM table_name_19 WHERE type = "4-6-4t"
What are the fleet number for the 4-6-4t locomotive?
CREATE TABLE table_name_19 (fleet_numbers VARCHAR, type VARCHAR)
SELECT judaism FROM table_name_15 WHERE other = "0.13%" AND buddhism = "0.01%"
What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%?
CREATE TABLE table_name_15 (judaism VARCHAR, other VARCHAR, buddhism VARCHAR)
SELECT score FROM table_name_9 WHERE location_attendance = "madison square garden unknown" AND high_rebounds = "sidney green (10)"
What is Score, when Location Attendance is "Madison Square Garden Unknown", and when High Rebounds is "Sidney Green (10)"?
CREATE TABLE table_name_9 (score VARCHAR, location_attendance VARCHAR, high_rebounds VARCHAR)
SELECT city FROM table_name_83 WHERE stadium = "telstra dome"
What is the city where the Telstra Dome is?
CREATE TABLE table_name_83 (city VARCHAR, stadium VARCHAR)
SELECT gold FROM table_name_39 WHERE silver = "south korea" AND year = 1986
Can you tell me the Gold that has the Silver of south korea, and the Year of 1986?
CREATE TABLE table_name_39 (gold VARCHAR, silver VARCHAR, year VARCHAR)
SELECT SUM(pick__number) FROM table_name_82 WHERE rd__number < 11 AND player = "mattias ohlund" AND pl_gp > 52
What numbered pick was mattias ohlund, with over 52 PL GP, and also a round under 11?
CREATE TABLE table_name_82 (pick__number INTEGER, pl_gp VARCHAR, rd__number VARCHAR, player VARCHAR)
SELECT date FROM table_name_44 WHERE tie_no = "5"
what date did tie number 5 occur?
CREATE TABLE table_name_44 (date VARCHAR, tie_no VARCHAR)
SELECT location_attendance FROM table_11959669_4 WHERE high_points = "Pierce (22)"
What was the location attendance when High points was by Pierce (22)?
CREATE TABLE table_11959669_4 (location_attendance VARCHAR, high_points VARCHAR)
SELECT T1.name, T2.Player_id FROM club AS T1 JOIN player AS T2 ON T1.Club_ID = T2.Club_ID
Please show the names and the players of clubs.
CREATE TABLE club (name VARCHAR, Club_ID VARCHAR); CREATE TABLE player (Player_id VARCHAR, Club_ID VARCHAR)
SELECT years FROM table_name_27 WHERE transmission = "analogue cable" AND no_of_channels = "35"
What years are listed for analogue cable with 35 channels?
CREATE TABLE table_name_27 (years VARCHAR, transmission VARCHAR, no_of_channels VARCHAR)
SELECT player FROM table_name_93 WHERE total = 289
What player has 289 as the total?
CREATE TABLE table_name_93 (player VARCHAR, total VARCHAR)
SELECT MAX(geo_id) FROM table_18600760_18 WHERE land___sqmi__ = "32.532"
What is the GEO ID of the township with area of 32.532 square miles?
CREATE TABLE table_18600760_18 (geo_id INTEGER, land___sqmi__ VARCHAR)
SELECT webcast FROM table_name_46 WHERE website = "digital1073.com"
Which Webcast has the digital1073.com website?
CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR)
SELECT record FROM table_name_55 WHERE date = "2/17/1974"
What is the record of the game played on 2/17/1974?
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20
What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?
CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)
SELECT location FROM table_name_50 WHERE built = "early 19th century"
What is the Location of the Mill Built in the Early 19th Century?
CREATE TABLE table_name_50 (location VARCHAR, built VARCHAR)
SELECT game FROM table_23286158_8 WHERE high_rebounds = "Andre Miller , Rudy Fernandez (7)"
Name the game for andre miller , rudy fernandez (7)
CREATE TABLE table_23286158_8 (game VARCHAR, high_rebounds VARCHAR)
SELECT AVG(weeks_on_chart) FROM table_name_40 WHERE position > 3 AND year > 1977
What is the average weeks of a song with a larger than 3 position after 1977?
CREATE TABLE table_name_40 (weeks_on_chart INTEGER, position VARCHAR, year VARCHAR)
SELECT release_date FROM table_name_14 WHERE production_num = "8181"
What was the release date for Production Number 8181?
CREATE TABLE table_name_14 (release_date VARCHAR, production_num VARCHAR)
SELECT pro_year_s_ FROM table_name_79 WHERE team = "cincinnati royals"
What is Pro Year(s), when Team is Cincinnati Royals?
CREATE TABLE table_name_79 (pro_year_s_ VARCHAR, team VARCHAR)
SELECT team FROM table_name_51 WHERE series = "1-1"
What team did they play when the series was 1-1?
CREATE TABLE table_name_51 (team VARCHAR, series VARCHAR)
SELECT long_term_c_pk FROM table_222448_1 WHERE short_term_c_pk = "2.00"
What is long-term C PK when the short-term C PK is 2.00?
CREATE TABLE table_222448_1 (long_term_c_pk VARCHAR, short_term_c_pk VARCHAR)
SELECT COUNT(section) FROM table_29697744_1 WHERE season = "2008"
how many sections are for the season of 2008
CREATE TABLE table_29697744_1 (section VARCHAR, season VARCHAR)
SELECT candidates FROM table_2668367_14 WHERE incumbent = "Nathaniel Macon"
Who were the candidates in the district where the incumbent was Nathaniel Macon?
CREATE TABLE table_2668367_14 (candidates VARCHAR, incumbent VARCHAR)
SELECT winning_score FROM table_name_14 WHERE championship = "pga championship"
What was the winning score in the PGA Championship?
CREATE TABLE table_name_14 (winning_score VARCHAR, championship VARCHAR)
SELECT equatorial_diameter FROM table_name_33 WHERE body = "ceres"
What is the Equatorial diameter of the Body: ceres?
CREATE TABLE table_name_33 (equatorial_diameter VARCHAR, body VARCHAR)
SELECT district FROM table_2668173_4 WHERE incumbent = "Mathias Morris"
What was the district of the incumbent Mathias Morris?
CREATE TABLE table_2668173_4 (district VARCHAR, incumbent VARCHAR)
SELECT opponent FROM table_name_52 WHERE december = 2
Can you tell me the Opponent that has the December of 2?
CREATE TABLE table_name_52 (opponent VARCHAR, december VARCHAR)
SELECT driver FROM table_name_65 WHERE points > 19 AND grid > 2
What driver has over 19 points and a grid of over 2?
CREATE TABLE table_name_65 (driver VARCHAR, points VARCHAR, grid VARCHAR)
SELECT attendance FROM table_name_55 WHERE points = 53 AND date = "march 6"
What was the attendance for the March 6 game, where one of the teams had 53 points.
CREATE TABLE table_name_55 (attendance VARCHAR, points VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_76 WHERE date = "17 september 1998"
What is Opponent, when Date is 17 September 1998?
CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR)
SELECT president FROM table_name_89 WHERE year = "2002-2003, second semester"
Who was president Year of 2002-2003, second semester?
CREATE TABLE table_name_89 (president VARCHAR, year VARCHAR)
SELECT MIN(losses) FROM table_name_32 WHERE goals_against > 59 AND position > 17
How many losses has more than 59 goals against and more than 17 position?
CREATE TABLE table_name_32 (losses INTEGER, goals_against VARCHAR, position VARCHAR)
SELECT date FROM table_name_93 WHERE length_of_game = "75:43"
What was the date of the game that lasted 75:43?
CREATE TABLE table_name_93 (date VARCHAR, length_of_game VARCHAR)
SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem"
For the Cage Combat Fighting Championships: Mayhem, what was the record?
CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR)
SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson"
What is the quarterfinal week for Austin Anderson?
CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)
SELECT SUM(cuts_made) FROM table_name_76 WHERE wins = 0 AND top_25 = 1 AND events > 4
How man cuts were there of players who had 0 wins but had 1 player in the top 25 with more than 4 events?
CREATE TABLE table_name_76 (cuts_made INTEGER, events VARCHAR, wins VARCHAR, top_25 VARCHAR)
SELECT document_name FROM documents WHERE document_name LIKE "%CV%"
List all the document names which contains "CV".
CREATE TABLE documents (document_name VARCHAR)
SELECT date FROM table_name_84 WHERE opponent_in_the_final = "wen-hsin hsu"
What date did Namigata play against Wen-Hsin Hsu in the finals?
CREATE TABLE table_name_84 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT venue FROM table_name_60 WHERE date = "august 15, 2012"
Where was the competition on August 15, 2012?
CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR)
SELECT ball_diameter FROM table_name_87 WHERE location = "el manati" AND period = "1200 bce"
What's the Ball Diameter with the Location oof El Manati, and the Period of 1200 BCE?
CREATE TABLE table_name_87 (ball_diameter VARCHAR, location VARCHAR, period VARCHAR)
SELECT township FROM table_18600760_10 WHERE land___sqmi__ = "28.597"
What township is 28.597 square miles of land?
CREATE TABLE table_18600760_10 (township VARCHAR, land___sqmi__ VARCHAR)
SELECT host_nation_s_ FROM table_22577693_1 WHERE winner = "Hong Kong 207/6 (47.1 overs)"
What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?
CREATE TABLE table_22577693_1 (host_nation_s_ VARCHAR, winner VARCHAR)
SELECT interview_subject FROM table_1566852_6 WHERE cover_model = "Bai Ling"
What were the interview subjects on those occasions where Bai Ling was the cover model?
CREATE TABLE table_1566852_6 (interview_subject VARCHAR, cover_model VARCHAR)
SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000
What was the away team at the match where the crowd was larger than 30,000?
CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER)
SELECT MAX(population) FROM table_name_1 WHERE density = 20.3 AND area__km²_ > 50 OFFSET 350
Which population is the greatest, has a density of 20.3, and an area (km²) larger than 50,350?
CREATE TABLE table_name_1 (population INTEGER, density VARCHAR, area__km²_ VARCHAR)
SELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 73
What is the smallest played amount when there are 2 draws and an against of more than 73?
CREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR)
SELECT COUNT(voice_actor__english_1998___pioneer_) FROM table_1410384_1 WHERE voice_actor__japanese_ = "Shinobu Satouchi"
how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi
CREATE TABLE table_1410384_1 (voice_actor__english_1998___pioneer_ VARCHAR, voice_actor__japanese_ VARCHAR)
SELECT builder FROM table_name_8 WHERE built < 1880
Which builder has a Built smaller than 1880?
CREATE TABLE table_name_8 (builder VARCHAR, built INTEGER)
SELECT MIN(purse__) AS $__ FROM table_11622255_1 WHERE tournament = "Ko Olina Senior Invitational"
what is the minimum purse( $ ) where tournament is ko olina senior invitational
CREATE TABLE table_11622255_1 (purse__ INTEGER, tournament VARCHAR)
SELECT class FROM table_name_9 WHERE year > 1939 AND road_number < 3508
Which class starts after 1939 and has a road number smaller than 3508?
CREATE TABLE table_name_9 (class VARCHAR, year VARCHAR, road_number VARCHAR)
SELECT club_s_ FROM table_28286776_50 WHERE player = "Winston Reid Category:Articles with hCards"
When winston reid category:articles with hcards is the player what is the club?
CREATE TABLE table_28286776_50 (club_s_ VARCHAR, player VARCHAR)