question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the to par of player jerry pate, who has a 70-69=139 score?
CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_66 WHERE score = 70 - 69 = 139 AND player = "jerry pate"
What is the model of the enginge d5252 t?
CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR)
SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5252 T"
Can you tell me the lowest Losses that has the Gains smaller than 0?
CREATE TABLE table_name_24 (losses INTEGER, gains INTEGER)
SELECT MIN(losses) FROM table_name_24 WHERE gains < 0
Which Max 1-min wind mph (km/h) that has Dates active on september22– september28?
CREATE TABLE table_name_26 (max_1_min_wind_mph__km_h_ VARCHAR, dates_active VARCHAR)
SELECT max_1_min_wind_mph__km_h_ FROM table_name_26 WHERE dates_active = "september22– september28"
Name the candidates for l. mendel rivers
CREATE TABLE table_1341930_40 (candidates VARCHAR, incumbent VARCHAR)
SELECT COUNT(candidates) FROM table_1341930_40 WHERE incumbent = "L. Mendel Rivers"
How many sales took place with a peak of 1 for Boris?
CREATE TABLE table_name_81 (sales VARCHAR, peak VARCHAR, artist VARCHAR)
SELECT COUNT(sales) FROM table_name_81 WHERE peak = 1 AND artist = "boris"
what is а а [a] when гь гь [ɡʲ] is л л [l]?
CREATE TABLE table_202365_2 (а_а_ VARCHAR, a VARCHAR, гь_гь_ VARCHAR, ɡʲ VARCHAR)
SELECT а_а_[a] FROM table_202365_2 WHERE гь_гь_[ɡʲ] = "Л л [l]"
What class was the 2nd - portillo?
CREATE TABLE table_20626467_1 (class VARCHAR, winner_2nd VARCHAR)
SELECT class FROM table_20626467_1 WHERE winner_2nd = "2nd - Portillo"
How many vacators were in the Pennsylvania 33rd district?
CREATE TABLE table_224794_3 (vacator VARCHAR, district VARCHAR)
SELECT COUNT(vacator) FROM table_224794_3 WHERE district = "Pennsylvania 33rd"
What is the difference of the team with 12 points?
CREATE TABLE table_name_57 (difference VARCHAR, points VARCHAR)
SELECT difference FROM table_name_57 WHERE points = 12
Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?
CREATE TABLE table_name_71 (years VARCHAR, country VARCHAR, rank VARCHAR, wins VARCHAR)
SELECT years FROM table_name_71 WHERE rank > 2 AND wins = 2 AND country = "france"
Name the net profit for eps beign 1.19
CREATE TABLE table_20614109_1 (net_profit__€m_ VARCHAR, earnings_per_share__€_ VARCHAR)
SELECT net_profit__€m_ FROM table_20614109_1 WHERE earnings_per_share__€_ = "1.19"
What is the title of season 2?
CREATE TABLE table_2409041_6 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_2409041_6 WHERE no_in_season = 2
what are all the result for New York 16 district
CREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1341395_33 WHERE district = "New York 16"
what's the domestic freight with change being +8.0%
CREATE TABLE table_141541_5 (domestic_freight VARCHAR, change VARCHAR)
SELECT domestic_freight FROM table_141541_5 WHERE change = "+8.0%"
What is the short name of channel 5.5, KSTC-TV?
CREATE TABLE table_name_95 (psip_short_name VARCHAR, station VARCHAR, channel VARCHAR)
SELECT psip_short_name FROM table_name_95 WHERE station = "kstc-tv" AND channel = 5.5
What was the winning score with a margin victory of 2 strokes?
CREATE TABLE table_name_81 (winning_score VARCHAR, margin_of_victory VARCHAR)
SELECT winning_score FROM table_name_81 WHERE margin_of_victory = "2 strokes"
what is the vehicle code where the bore is 79.4?
CREATE TABLE table_23722304_2 (vehicle_code VARCHAR, bore__mm_ VARCHAR)
SELECT vehicle_code FROM table_23722304_2 WHERE bore__mm_ = "79.4"
What date did the episode originally air on with salvatore giunta as a guest?
CREATE TABLE table_25691838_11 (original_airdate VARCHAR, guest VARCHAR)
SELECT original_airdate FROM table_25691838_11 WHERE guest = "Salvatore Giunta"
What are the visit date and details of the visitor whose detail is 'Vincent'?
CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Visit_Details VARCHAR, Tourist_ID VARCHAR)
SELECT T2.Visit_Date, T2.Visit_Details FROM VISITORS AS T1 JOIN VISITS AS T2 ON T1.Tourist_ID = T2.Tourist_ID WHERE T1.Tourist_Details = "Vincent"
How many Laps have Rider of olivier jacque, and a Grid larger than 7?
CREATE TABLE table_name_75 (laps INTEGER, rider VARCHAR, grid VARCHAR)
SELECT SUM(laps) FROM table_name_75 WHERE rider = "olivier jacque" AND grid > 7
What is the record of the game that had a home team of Colorado, and a visiting team of Winnipeg?
CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_59 WHERE home = "colorado" AND visitor = "winnipeg"
What is the 2 vs 3 when total is bigger than 38?
CREATE TABLE table_name_52 (total INTEGER)
SELECT AVG(2 AS _vs_3) FROM table_name_52 WHERE total > 38
Find the total revenue for each manufacturer.
CREATE TABLE manufacturers (name VARCHAR, revenue INTEGER)
SELECT SUM(revenue), name FROM manufacturers GROUP BY name
Which manufacturer does Loris Capirossi ride for?
CREATE TABLE table_name_13 (manufacturer VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_13 WHERE rider = "loris capirossi"
What is School, when Event is "100 Backstroke"?
CREATE TABLE table_name_17 (school VARCHAR, event VARCHAR)
SELECT school FROM table_name_17 WHERE event = "100 backstroke"
What's the Issue Price (BU) [Clarification Needed] with a Year larger than 2002 and Mintage (Proof) of 50,000?
CREATE TABLE table_name_35 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, year VARCHAR, mintage__proof_ VARCHAR)
SELECT issue_price__bu_[_clarification_needed_] FROM table_name_35 WHERE year > 2002 AND mintage__proof_ = "50,000"
What were the scores on September 11, 2006?
CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_95 WHERE date = "september 11, 2006"
What is the top price of $1 with a launch date on February 12, 2008?
CREATE TABLE table_name_3 (top_prize VARCHAR, price VARCHAR, launch_date VARCHAR)
SELECT top_prize FROM table_name_3 WHERE price = "$1" AND launch_date = "february 12, 2008"
What is the nation when the place is 2?
CREATE TABLE table_26677836_1 (nation VARCHAR, place VARCHAR)
SELECT nation FROM table_26677836_1 WHERE place = 2
What were the new entries for the Semi-Finals round with fewer than 8 fixtures?
CREATE TABLE table_name_97 (new_entries_this_round VARCHAR, number_of_fixtures VARCHAR, round VARCHAR)
SELECT new_entries_this_round FROM table_name_97 WHERE number_of_fixtures < 8 AND round = "semi-finals"
What was the score for the away team that played at Glenferrie Oval?
CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_27 WHERE venue = "glenferrie oval"
What grid did the team racing professionals race on?
CREATE TABLE table_name_84 (grid VARCHAR, team VARCHAR)
SELECT grid FROM table_name_84 WHERE team = "racing professionals"
How many different PPI does the model with ppcm of 87 have?
CREATE TABLE table_27653752_1 (ppi__pixels_per_inch__ VARCHAR, ppcm__pixels_per_cm__ VARCHAR)
SELECT COUNT(ppi__pixels_per_inch__) FROM table_27653752_1 WHERE ppcm__pixels_per_cm__ = 87
What was USC's record before the 1967 season?
CREATE TABLE table_name_34 (record VARCHAR, team VARCHAR, season VARCHAR)
SELECT record FROM table_name_34 WHERE team = "usc" AND season < 1967
How many camera lenses are not used in taking any photos?
CREATE TABLE photos (id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE camera_lens (id VARCHAR, camera_lens_id VARCHAR)
SELECT COUNT(*) FROM camera_lens WHERE NOT id IN (SELECT camera_lens_id FROM photos)
Which Rush song was played for Mike Fincke?
CREATE TABLE table_name_4 (song VARCHAR, played_for VARCHAR, artist VARCHAR)
SELECT song FROM table_name_4 WHERE played_for = "mike fincke" AND artist = "rush"
What's the Date of Issue for Design of Katalin Kovats?
CREATE TABLE table_name_46 (date_of_issue VARCHAR, design VARCHAR)
SELECT date_of_issue FROM table_name_46 WHERE design = "katalin kovats"
who were the "candidate" of South Carolina 6?
CREATE TABLE table_2668243_22 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_2668243_22 WHERE district = "South Carolina 6"
Which team drafted Esa Tikkanen?
CREATE TABLE table_2679061_4 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_2679061_4 WHERE player = "Esa Tikkanen"
What is the first name and the last name of the customer who made the earliest rental?
CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR); CREATE TABLE rental (customer_id VARCHAR, rental_date VARCHAR)
SELECT T1.first_name, T1.last_name FROM customer AS T1 JOIN rental AS T2 ON T1.customer_id = T2.customer_id ORDER BY T2.rental_date LIMIT 1
What is the average number of million viewers that watched an episode before episode 11 with a share of 4?
CREATE TABLE table_name_28 (viewers__millions_ INTEGER, episode__number VARCHAR, share VARCHAR)
SELECT AVG(viewers__millions_) FROM table_name_28 WHERE episode__number < 11 AND share = "4"
What is Player, when Total is "154"?
CREATE TABLE table_name_73 (player VARCHAR, total VARCHAR)
SELECT player FROM table_name_73 WHERE total = "154"
what is the highest top-5 when wins is more than 1?
CREATE TABLE table_name_97 (top_5 INTEGER, wins INTEGER)
SELECT MAX(top_5) FROM table_name_97 WHERE wins > 1
In what year was the bridge in Lovell built?
CREATE TABLE table_name_71 (built VARCHAR, location VARCHAR)
SELECT built FROM table_name_71 WHERE location = "lovell"
What city/municipality has area of 176.40?
CREATE TABLE table_255602_1 (city__municipality VARCHAR, area__km²_ VARCHAR)
SELECT city__municipality FROM table_255602_1 WHERE area__km²_ = "176.40"
What was the earliest Year the Linto Team had less than 15 Points with more than 0 Wins?
CREATE TABLE table_name_86 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR)
SELECT MIN(year) FROM table_name_86 WHERE wins > 0 AND team = "linto" AND points < 15
What is the Result of the 2010 (83rd) Ceremony?
CREATE TABLE table_name_11 (result VARCHAR, year__ceremony_ VARCHAR)
SELECT result FROM table_name_11 WHERE year__ceremony_ = "2010 (83rd)"
What is the lowest gold medals of a rank 12 team?
CREATE TABLE table_name_81 (gold INTEGER, rank VARCHAR)
SELECT MIN(gold) FROM table_name_81 WHERE rank = "12"
Name the date for pescara
CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_76 WHERE circuit = "pescara"
Who directed the episode written by Matt Ford?
CREATE TABLE table_18712423_3 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_18712423_3 WHERE written_by = "Matt Ford"
What construction has a CERCLIS ID of ard092916188?
CREATE TABLE table_name_1 (construction_completed VARCHAR, cerclis_id VARCHAR)
SELECT construction_completed FROM table_name_1 WHERE cerclis_id = "ard092916188"
who scored highest points on the game with record 27–5
CREATE TABLE table_17190012_7 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_17190012_7 WHERE record = "27–5"
Which Player has 4 Wins?
CREATE TABLE table_name_49 (player VARCHAR, wins VARCHAR)
SELECT player FROM table_name_49 WHERE wins = 4
What is listed under occupation for someone from Santa Monica, California?
CREATE TABLE table_name_71 (occupation VARCHAR, hometown VARCHAR)
SELECT occupation FROM table_name_71 WHERE hometown = "santa monica, california"
what is the division east when division north was milano
CREATE TABLE table_17881033_1 (division_east VARCHAR, division_north VARCHAR)
SELECT division_east FROM table_17881033_1 WHERE division_north = "Milano"
When event 4 was Whiplash, what was event 2?
CREATE TABLE table_17257687_1 (event_2 VARCHAR, event_4 VARCHAR)
SELECT event_2 FROM table_17257687_1 WHERE event_4 = "Whiplash"
Find the name of the department that has no students minored in?
CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR); CREATE TABLE MINOR_IN (DNO VARCHAR); CREATE TABLE DEPARTMENT (DName VARCHAR)
SELECT DName FROM DEPARTMENT EXCEPT SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MINOR_IN AS T2 ON T1.DNO = T2.DNO
What is the Opponent of the game with a Score of 74-66?
CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_82 WHERE score = "74-66"
Name the syrian christians for thiruvananthapuram
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR)
SELECT syrian_christians FROM table_23214055_2 WHERE district = "Thiruvananthapuram"
How many players are from energa czarni?
CREATE TABLE table_12962773_16 (position VARCHAR, current_club VARCHAR)
SELECT COUNT(position) FROM table_12962773_16 WHERE current_club = "Energa Czarni"
What is the Place of the Song by Artist Rosie Hunter with a Draw of 1 or larger?
CREATE TABLE table_name_10 (place VARCHAR, artist VARCHAR, draw VARCHAR)
SELECT COUNT(place) FROM table_name_10 WHERE artist = "rosie hunter" AND draw > 1
What percentage of browsers were using Internet Explorer in April 2009?
CREATE TABLE table_name_81 (internet_explorer VARCHAR, date VARCHAR)
SELECT internet_explorer FROM table_name_81 WHERE date = "april 2009"
What was the net capacity with a gross capacity of 1,126 mw, and a Unit of tianwan-4?
CREATE TABLE table_name_74 (net_capacity VARCHAR, gross_capacity VARCHAR, unit VARCHAR)
SELECT net_capacity FROM table_name_74 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4"
Name the ICAO for when IATA is zyl
CREATE TABLE table_name_22 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_22 WHERE iata = "zyl"
Tell me the competition for 2nd position with year more than 2005
CREATE TABLE table_name_23 (competition VARCHAR, position VARCHAR, year VARCHAR)
SELECT competition FROM table_name_23 WHERE position = "2nd" AND year > 2005
What was the tie against the away team, Leicester City?
CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_21 WHERE away_team = "leicester city"
Who is the player with a 70-75=145 score?
CREATE TABLE table_name_62 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_62 WHERE score = 70 - 75 = 145
Which team had a second qualifying time of 58.539?
CREATE TABLE table_name_71 (team VARCHAR, qual_2 VARCHAR)
SELECT team FROM table_name_71 WHERE qual_2 = "58.539"
What is the record when the opponent is washington redskins?
CREATE TABLE table_18847692_2 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_18847692_2 WHERE opponent = "Washington Redskins"
What is the date of the match with sheffield wednesday as the away team?
CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_62 WHERE away_team = "sheffield wednesday"
Name the Tally of an Opposition of westmeath?
CREATE TABLE table_name_76 (tally VARCHAR, opposition VARCHAR)
SELECT tally FROM table_name_76 WHERE opposition = "westmeath"
What was the outcome of the Tournament in Buenos Aires?
CREATE TABLE table_name_30 (outcome VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_30 WHERE tournament = "buenos aires"
What is the Theme Song of the Yukan Club?
CREATE TABLE table_name_64 (theme_song_s_ VARCHAR, romaji_title VARCHAR)
SELECT theme_song_s_ FROM table_name_64 WHERE romaji_title = "yukan club"
How many production codes have an original airdate of November 16, 1990?
CREATE TABLE table_2409041_3 (production_code VARCHAR, original_air_date VARCHAR)
SELECT COUNT(production_code) FROM table_2409041_3 WHERE original_air_date = "November 16, 1990"
What is every weekly schedule of TV network Viasat 4?
CREATE TABLE table_18821196_1 (weekly_schedule VARCHAR, tv_network_s_ VARCHAR)
SELECT weekly_schedule FROM table_18821196_1 WHERE tv_network_s_ = "Viasat 4"
What is the time/retired for grid 5?
CREATE TABLE table_name_8 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_8 WHERE grid = 5
What is Minister, when Party is "AN"?
CREATE TABLE table_name_89 (minister VARCHAR, party VARCHAR)
SELECT minister FROM table_name_89 WHERE party = "an"
Name the number for new mexico
CREATE TABLE table_20649850_1 (pick__number INTEGER, college VARCHAR)
SELECT MIN(pick__number) FROM table_20649850_1 WHERE college = "New Mexico"
What is the rank of the player from Ukraine with react less than 0.26?
CREATE TABLE table_name_29 (rank VARCHAR, nationality VARCHAR, react VARCHAR)
SELECT COUNT(rank) FROM table_name_29 WHERE nationality = "ukraine" AND react < 0.26
What pick did Clemson choose?
CREATE TABLE table_name_38 (pick VARCHAR, school VARCHAR)
SELECT pick FROM table_name_38 WHERE school = "clemson"
What was the distance of the course for stage 4?
CREATE TABLE table_name_13 (distance VARCHAR, stage VARCHAR)
SELECT distance FROM table_name_13 WHERE stage = "4"
What's the CSA/CMA Population in IA-IL?
CREATE TABLE table_name_89 (csa_cma_2009_population INTEGER, state__province VARCHAR)
SELECT MAX(csa_cma_2009_population) FROM table_name_89 WHERE state__province = "ia-il"
What is the number that is the lowest overall for Round 6?
CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR)
SELECT MIN(overall) FROM table_name_85 WHERE round = 6
What's the average area for the xinluo district?
CREATE TABLE table_name_20 (area INTEGER, english_name VARCHAR)
SELECT AVG(area) FROM table_name_20 WHERE english_name = "xinluo district"
What is the game with the team indiana?
CREATE TABLE table_27756314_10 (game VARCHAR, team VARCHAR)
SELECT game FROM table_27756314_10 WHERE team = "Indiana"
How many penalties are there when Eric Vigeanel is the rider?
CREATE TABLE table_18666752_3 (total_penalties VARCHAR, rider VARCHAR)
SELECT COUNT(total_penalties) FROM table_18666752_3 WHERE rider = "Eric Vigeanel"
What is Date To, when Name is "Lee Cook"?
CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)
SELECT date_to FROM table_name_47 WHERE name = "lee cook"
Tell me the event for 2012 london games
CREATE TABLE table_name_70 (event VARCHAR, games VARCHAR)
SELECT event FROM table_name_70 WHERE games = "2012 london"
Which Image attachment has a Threaded of yes, and a Calendar of yes?
CREATE TABLE table_name_44 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR)
SELECT image_attachment FROM table_name_44 WHERE threaded = "yes" AND calendar = "yes"
Which Result has a Score of 4-1, and a Competition of world cup qualifying?
CREATE TABLE table_name_89 (result VARCHAR, score VARCHAR, competition VARCHAR)
SELECT result FROM table_name_89 WHERE score = "4-1" AND competition = "world cup qualifying"
How many points are associated with 0 poles?
CREATE TABLE table_name_39 (points VARCHAR, poles INTEGER)
SELECT COUNT(points) FROM table_name_39 WHERE poles < 0
Which edition released on 2007-06-07 has a Java EE compatibility of 5?
CREATE TABLE table_name_4 (edition VARCHAR, java_ee_compatibility VARCHAR, release_date VARCHAR)
SELECT edition FROM table_name_4 WHERE java_ee_compatibility = "5" AND release_date = "2007-06-07"
Which Player has Years for Grizzlies of 2002-2003?
CREATE TABLE table_name_48 (player VARCHAR, years_for_grizzlies VARCHAR)
SELECT player FROM table_name_48 WHERE years_for_grizzlies = "2002-2003"
What is the highest number of laps with a 21 start?
CREATE TABLE table_name_42 (laps INTEGER, start VARCHAR)
SELECT MAX(laps) FROM table_name_42 WHERE start = "21"
The game with a loss of smith (2-4) ended with what score?
CREATE TABLE table_name_6 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_6 WHERE loss = "smith (2-4)"
Name who wrote the production code 322
CREATE TABLE table_27462209_1 (written_by VARCHAR, prod_code VARCHAR)
SELECT written_by FROM table_27462209_1 WHERE prod_code = 322
How many positions are associated with the St. Louis Blues?
CREATE TABLE table_2850912_4 (position VARCHAR, nhl_team VARCHAR)
SELECT COUNT(position) FROM table_2850912_4 WHERE nhl_team = "St. Louis Blues"
How many people enrolled a the school with an IHSAA Class of a, and the trojans as their mascot?
CREATE TABLE table_name_73 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR)
SELECT MIN(enrollment) FROM table_name_73 WHERE ihsaa_class = "a" AND mascot = "trojans"
What is the highest season for the 7th position?
CREATE TABLE table_name_61 (season INTEGER, position VARCHAR)
SELECT MAX(season) FROM table_name_61 WHERE position = "7th"