question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
How many field goals did Donald Green score?
CREATE TABLE table_25730209_2 (field_goals VARCHAR, player VARCHAR)
SELECT COUNT(field_goals) FROM table_25730209_2 WHERE player = "Donald Green"
When was the Kymberly Paige the Centerfold?
CREATE TABLE table_1566848_8 (date VARCHAR, centerfold_model VARCHAR)
SELECT date FROM table_1566848_8 WHERE centerfold_model = "Kymberly Paige"
When was the film directed by Pen-Ek Ratanaruang released?
CREATE TABLE table_name_13 (date VARCHAR, director VARCHAR)
SELECT date FROM table_name_13 WHERE director = "pen-ek ratanaruang"
Name the points for switzerland
CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR)
SELECT points FROM table_24489942_10 WHERE nationality = "Switzerland"
What city has riverside ground as the venue, with a year prior to 1998?
CREATE TABLE table_name_16 (city VARCHAR, venue VARCHAR, year VARCHAR)
SELECT city FROM table_name_16 WHERE venue = "riverside ground" AND year < 1998
Tell me the branding for frequency of 680 khz
CREATE TABLE table_name_88 (branding VARCHAR, frequency VARCHAR)
SELECT branding FROM table_name_88 WHERE frequency = "680 khz"
What is Score, when Opponent is Natalia Rizhonkova?
CREATE TABLE table_name_62 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_62 WHERE opponent = "natalia rizhonkova"
Name the 1st stage for parameter being diameter
CREATE TABLE table_16537783_2 (parameter VARCHAR)
SELECT 1 AS st_stage FROM table_16537783_2 WHERE parameter = "Diameter"
what is the highest rank when the nation is united states (usa) and bronze is more than 1?
CREATE TABLE table_name_23 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_23 WHERE nation = "united states (usa)" AND bronze > 1
What is the 2FM for SW Ireland?
CREATE TABLE table_name_91 (service_area VARCHAR)
SELECT 2 AS fm__mhz_ FROM table_name_91 WHERE service_area = "sw ireland"
How many employees are living in Canada?
CREATE TABLE employees (country VARCHAR)
SELECT COUNT(*) FROM employees WHERE country = "Canada"
Was diary for my loves nominated?
CREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR)
SELECT result FROM table_14975415_1 WHERE english_title = "Diary for My Loves"
What is the number of finish of the Qual of 159.384?
CREATE TABLE table_name_11 (finish VARCHAR, qual VARCHAR)
SELECT finish FROM table_name_11 WHERE qual = "159.384"
how many party with dbeingtrict being alabama 6
CREATE TABLE table_1342270_3 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_1342270_3 WHERE district = "Alabama 6"
At maximum, what are our goals?
CREATE TABLE table_1474099_6 (goals INTEGER)
SELECT MAX(goals) FROM table_1474099_6
Who is the constructor for driver Niki Lauda and a chassis of mp4/1c?
CREATE TABLE table_name_91 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_91 WHERE chassis = "mp4/1c" AND driver = "niki lauda"
What party is listed for the Representative under the 85th congress?
CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR)
SELECT party FROM table_2841865_2 WHERE congress = "85th"
What is the total Crowd number for the Away team of Hawthorn?
CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "hawthorn"
What was the Money ($) amount for Cary Middlecoff?
CREATE TABLE table_name_20 (money___$__ VARCHAR, player VARCHAR)
SELECT money___$__ FROM table_name_20 WHERE player = "cary middlecoff"
Who was appointed with the title of envoy extraordinary and minister plenipotentiary, and a termination of mission of march 16, 1905?
CREATE TABLE table_name_15 (appointed_by VARCHAR, title VARCHAR, termination_of_mission VARCHAR)
SELECT appointed_by FROM table_name_15 WHERE title = "envoy extraordinary and minister plenipotentiary" AND termination_of_mission = "march 16, 1905"
On what date was essendon the away team?
CREATE TABLE table_name_57 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_57 WHERE away_team = "essendon"
What's the to par for the t1 place with a score of 70-72-73-72=287?
CREATE TABLE table_name_58 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_58 WHERE place = "t1" AND score = 70 - 72 - 73 - 72 = 287
On the final date of April 5, 1995, what was the score?
CREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_96 WHERE date = "april 5, 1995"
What is the Mens Nickname for the member location of Jacksonville, florida?
CREATE TABLE table_10577579_2 (mens_nickname VARCHAR, location VARCHAR)
SELECT mens_nickname FROM table_10577579_2 WHERE location = "Jacksonville, Florida"
What is the namesake of the feature found at 189.5w longitude?
CREATE TABLE table_16768245_2 (namesake VARCHAR, longitude VARCHAR)
SELECT namesake FROM table_16768245_2 WHERE longitude = "189.5W"
Which Olympic Games had a silver medal for the Men's Singles?
CREATE TABLE table_name_33 (games VARCHAR, event VARCHAR, medal VARCHAR)
SELECT games FROM table_name_33 WHERE event = "men's singles" AND medal = "silver"
From the round name of third round; what would the new entries this round that would be found?
CREATE TABLE table_1281200_1 (new_entries_this_round VARCHAR, round VARCHAR)
SELECT new_entries_this_round FROM table_1281200_1 WHERE round = "Third round"
What school took 3rd place in 2007?
CREATE TABLE table_11577996_1 (year VARCHAR)
SELECT 3 AS rd_place FROM table_11577996_1 WHERE year = 2007
Name the team with laps more than 333 and year less than 2004
CREATE TABLE table_name_84 (team VARCHAR, laps VARCHAR, year VARCHAR)
SELECT team FROM table_name_84 WHERE laps > 333 AND year < 2004
What is every current club for the player Artūrs Štālbergs?
CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)
SELECT current_club FROM table_23670057_7 WHERE player = "Artūrs Štālbergs"
Was the Grand Prix Watkins GLen that Miles Collier raced in before 1952 a championship?
CREATE TABLE table_name_77 (championship VARCHAR, drivers VARCHAR, year VARCHAR, race_title VARCHAR)
SELECT championship FROM table_name_77 WHERE year < 1952 AND race_title = "grand prix watkins glen" AND drivers = "miles collier"
Which Interview has a Swimsuit larger than 7.6, and a Province of la vega, and an Average smaller than 8.38?
CREATE TABLE table_name_11 (interview INTEGER, average VARCHAR, swimsuit VARCHAR, province VARCHAR)
SELECT SUM(interview) FROM table_name_11 WHERE swimsuit > 7.6 AND province = "la vega" AND average < 8.38
What is the name of the team that has 13 points?
CREATE TABLE table_name_47 (team VARCHAR, points VARCHAR)
SELECT team FROM table_name_47 WHERE points = 13
What is the best finish where the scoring rank is 97?
CREATE TABLE table_15431122_2 (best_finish VARCHAR, scoring_rank VARCHAR)
SELECT best_finish FROM table_15431122_2 WHERE scoring_rank = "97"
What is the Home Town with a Year of freshman, and a Height with 6–6?
CREATE TABLE table_name_81 (home_town VARCHAR, year VARCHAR, height VARCHAR)
SELECT home_town FROM table_name_81 WHERE year = "freshman" AND height = "6–6"
What was the score of the Browns week 4 game?
CREATE TABLE table_name_48 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_48 WHERE week = 4
Who is the lites 2 race two winning team when #11 Performance Tech is the lites 1 race two winning team?
CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_two_winning_team VARCHAR)
SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "#11 Performance Tech"
What grade is Kyle in?
CREATE TABLE Highschooler (grade VARCHAR, name VARCHAR)
SELECT grade FROM Highschooler WHERE name = "Kyle"
What date did the home team from Carlton play on?
CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_11 WHERE home_team = "carlton"
Who had a time of 7:14.64?
CREATE TABLE table_name_39 (athlete VARCHAR, time VARCHAR)
SELECT athlete FROM table_name_39 WHERE time = "7:14.64"
What is the average number of runner-up that National University, which has more than 2 total championships, has?
CREATE TABLE table_name_62 (runner_up INTEGER, university VARCHAR, total_championships VARCHAR)
SELECT AVG(runner_up) FROM table_name_62 WHERE university = "national university" AND total_championships > 2
What was the highest crowd at Windy Hill?
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
SELECT MAX(crowd) FROM table_name_56 WHERE venue = "windy hill"
What was the maximum capacity of larry gomes stadium?
CREATE TABLE table_25794138_1 (capacity INTEGER, stadium VARCHAR)
SELECT MAX(capacity) FROM table_25794138_1 WHERE stadium = "Larry Gomes stadium"
What location was the game on October 6?
CREATE TABLE table_21761882_4 (location VARCHAR, date VARCHAR)
SELECT location FROM table_21761882_4 WHERE date = "October 6"
What Golden point(s) has the Venue Allianz Stadium?
CREATE TABLE table_name_31 (golden_point_s__scorer VARCHAR, venue VARCHAR)
SELECT golden_point_s__scorer FROM table_name_31 WHERE venue = "allianz stadium"
What year had a record of 4-21?
CREATE TABLE table_name_32 (year VARCHAR, record VARCHAR)
SELECT year FROM table_name_32 WHERE record = "4-21"
In what country is Hokkaidō and New Chitose airport located?
CREATE TABLE table_name_55 (country VARCHAR, province_region VARCHAR, airport VARCHAR)
SELECT country FROM table_name_55 WHERE province_region = "hokkaidō" AND airport = "new chitose airport"
What is home team Maine Road's score?
CREATE TABLE table_name_46 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_46 WHERE home_team = "maine road"
What is Bishop Luers IHSAA class in football?
CREATE TABLE table_name_63 (ihsaa_class__football_ VARCHAR, school VARCHAR)
SELECT ihsaa_class__football_ FROM table_name_63 WHERE school = "bishop luers"
Find the student ID and middle name for all the students with at most two enrollments.
CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (middle_name VARCHAR, student_id VARCHAR)
SELECT T1.student_id, T2.middle_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) <= 2
WHAT IS THE RESULT WHEN THE OPPONENT WAS CHICAGO BEARS?
CREATE TABLE table_name_18 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_18 WHERE opponent = "chicago bears"
What is the away team's score at western oval?
CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_73 WHERE venue = "western oval"
How many laps were timed at +1:02.315?
CREATE TABLE table_name_75 (laps VARCHAR, time_retired VARCHAR)
SELECT COUNT(laps) FROM table_name_75 WHERE time_retired = "+1:02.315"
The 147.481 Qual, happened in what year?
CREATE TABLE table_name_15 (year VARCHAR, qual VARCHAR)
SELECT year FROM table_name_15 WHERE qual = "147.481"
What is the share of votes in the 2000 (2nd) election?
CREATE TABLE table_name_20 (share_of_votes VARCHAR, election VARCHAR)
SELECT share_of_votes FROM table_name_20 WHERE election = "2000 (2nd)"
What is the Status with an Author that is woodruff?
CREATE TABLE table_name_31 (status VARCHAR, authors VARCHAR)
SELECT status FROM table_name_31 WHERE authors = "woodruff"
What is the State with the trans-am Major Series in Grand Rapids?
CREATE TABLE table_name_38 (state VARCHAR, major_series VARCHAR, city VARCHAR)
SELECT state FROM table_name_38 WHERE major_series = "trans-am" AND city = "grand rapids"
What is the skip that has a third of Anna Sloan in season 2012-13?
CREATE TABLE table_name_55 (skip VARCHAR, third VARCHAR, season VARCHAR)
SELECT skip FROM table_name_55 WHERE third = "anna sloan" AND season = "2012-13"
Which Result has an Attendance of 60,705?
CREATE TABLE table_name_72 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_72 WHERE attendance = "60,705"
who is the athlete when the time is less than 11.13 and the country is belgium?
CREATE TABLE table_name_51 (athlete VARCHAR, time VARCHAR, country VARCHAR)
SELECT athlete FROM table_name_51 WHERE time < 11.13 AND country = "belgium"
What venue featured a crowd of over 30,000?
CREATE TABLE table_name_98 (venue VARCHAR, crowd INTEGER)
SELECT venue FROM table_name_98 WHERE crowd > 30 OFFSET 000
What is the total number of Game, when High Assists is "Rajon Rondo (6)"?
CREATE TABLE table_name_83 (game VARCHAR, high_assists VARCHAR)
SELECT COUNT(game) FROM table_name_83 WHERE high_assists = "rajon rondo (6)"
What is the average number of laps for a grid of 6?
CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR)
SELECT AVG(laps) FROM table_name_31 WHERE grid = 6
Who was the winner when the finalist was fsv frankfurt?
CREATE TABLE table_name_31 (winner VARCHAR, finalist VARCHAR)
SELECT winner FROM table_name_31 WHERE finalist = "fsv frankfurt"
What is the average last yr with an l plyf less than 0?
CREATE TABLE table_name_98 (last_yr INTEGER, l_plyf INTEGER)
SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 0
Who is the manufacturer when 150.088 is the average speed (mph)?
CREATE TABLE table_2226343_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR)
SELECT manufacturer FROM table_2226343_1 WHERE average_speed__mph_ = "150.088"
Who was the loser when the New York Giants were the winners on November 14?
CREATE TABLE table_name_71 (loser VARCHAR, winner VARCHAR, date VARCHAR)
SELECT loser FROM table_name_71 WHERE winner = "new york giants" AND date = "november 14"
Which Position has an Against of 5, and a Drawn larger than 0?
CREATE TABLE table_name_35 (position INTEGER, against VARCHAR, drawn VARCHAR)
SELECT SUM(position) FROM table_name_35 WHERE against = 5 AND drawn > 0
When 446004 is the production code who are the writers?
CREATE TABLE table_2409041_2 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_2409041_2 WHERE production_code = 446004
On what day is geelong the home team?
CREATE TABLE table_name_37 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_37 WHERE home_team = "geelong"
What is the Country of the Player with a To par of –1?
CREATE TABLE table_name_35 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_35 WHERE to_par = "–1"
Which highest overall figure had Robert Alford as a name and a round of more than 2?
CREATE TABLE table_name_89 (overall INTEGER, name VARCHAR, round VARCHAR)
SELECT MAX(overall) FROM table_name_89 WHERE name = "robert alford" AND round > 2
Show the names of high schoolers who have at least 3 friends.
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 3
If the district is Virginia 17, who are the candidates?
CREATE TABLE table_2668416_18 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_2668416_18 WHERE district = "Virginia 17"
When was the show originally aired that had a TV broadcast of S07E04?
CREATE TABLE table_16090262_1 (originalairdate VARCHAR, tv_broadcast VARCHAR)
SELECT originalairdate FROM table_16090262_1 WHERE tv_broadcast = "S07E04"
Who was the opponent of the game that 31,293 people attended that had a final score of 9 - 6.
CREATE TABLE table_name_4 (opponent VARCHAR, score VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_4 WHERE score = "9 - 6" AND attendance > 31 OFFSET 293
What is the production code for episode 3 in the season?
CREATE TABLE table_2453243_3 (production_code INTEGER, no_in_season VARCHAR)
SELECT MAX(production_code) FROM table_2453243_3 WHERE no_in_season = 3
In which division were the IceGators when coached by Todd Gordon?
CREATE TABLE table_name_24 (division VARCHAR, coach VARCHAR)
SELECT division FROM table_name_24 WHERE coach = "todd gordon"
At what percent was Pat Robertson when George H.W. Bush had 76%?
CREATE TABLE table_name_64 (pat_robertson VARCHAR, george_hw_bush VARCHAR)
SELECT pat_robertson FROM table_name_64 WHERE george_hw_bush = "76%"
Which characters after 2003 won?
CREATE TABLE table_name_1 (character VARCHAR, result VARCHAR, year VARCHAR)
SELECT character FROM table_name_1 WHERE result = "won" AND year > 2003
Show the name, location, open year for all tracks with a seating higher than the average.
CREATE TABLE track (name VARCHAR, LOCATION VARCHAR, year_opened VARCHAR, seating INTEGER)
SELECT name, LOCATION, year_opened FROM track WHERE seating > (SELECT AVG(seating) FROM track)
Name the Round which has a Player of zack walz?
CREATE TABLE table_name_68 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_68 WHERE player = "zack walz"
what is the assisted when the solo is 6 and sack is less than 5?
CREATE TABLE table_name_79 (assisted VARCHAR, solo VARCHAR, sack VARCHAR)
SELECT assisted FROM table_name_79 WHERE solo = 6 AND sack < 5
What date was the game held at UMBC Field?
CREATE TABLE table_name_47 (date VARCHAR, site VARCHAR)
SELECT date FROM table_name_47 WHERE site = "umbc field"
What is the most popular first name of the actors?
CREATE TABLE actor (first_name VARCHAR)
SELECT first_name FROM actor GROUP BY first_name ORDER BY COUNT(*) DESC LIMIT 1
What is the institution whose current conference is gcac (naia)?
CREATE TABLE table_262481_2 (institution VARCHAR, current_conference VARCHAR)
SELECT institution FROM table_262481_2 WHERE current_conference = "GCAC (NAIA)"
What is the companion for the author Dave Stone?
CREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR)
SELECT companion_s_ FROM table_name_7 WHERE author = "dave stone"
What final was ranked 4?
CREATE TABLE table_name_96 (final VARCHAR, rank VARCHAR)
SELECT final FROM table_name_96 WHERE rank = "4"
How many points were there before 1955?
CREATE TABLE table_name_95 (points VARCHAR, year INTEGER)
SELECT COUNT(points) FROM table_name_95 WHERE year < 1955
What is the Socket when the Part Number(s) is rk80530pz001256?
CREATE TABLE table_name_5 (socket VARCHAR, part_number_s_ VARCHAR)
SELECT socket FROM table_name_5 WHERE part_number_s_ = "rk80530pz001256"
What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?
CREATE TABLE table_name_52 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(gold) FROM table_name_52 WHERE silver = 1 AND rank > 3 AND total < 2 AND bronze < 0
What did Geelong score as the away team?
CREATE TABLE table_name_91 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_91 WHERE away_team = "geelong"
Which Away has a Date of 14 september 2008, and an Attendance larger than 1881?
CREATE TABLE table_name_89 (away VARCHAR, date VARCHAR, attendance VARCHAR)
SELECT away FROM table_name_89 WHERE date = "14 september 2008" AND attendance > 1881
What is the year with a kurtis kraft 500a chassis?
CREATE TABLE table_name_86 (year INTEGER, chassis VARCHAR)
SELECT SUM(year) FROM table_name_86 WHERE chassis = "kurtis kraft 500a"
What is the rank of Rmax Rpeak ( Pflops ) of 17.173 20.133?
CREATE TABLE table_name_7 (rank INTEGER, rmax_rpeak___pflops__ VARCHAR)
SELECT AVG(rank) FROM table_name_7 WHERE rmax_rpeak___pflops__ = "17.173 20.133"
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 total_finals FROM table_14286908_1 WHERE year_of_last_win = "2012-13"
Which position earned 50 points?
CREATE TABLE table_17256857_1 (fin_pos INTEGER, points VARCHAR)
SELECT MAX(fin_pos) FROM table_17256857_1 WHERE points = "50"
Which Points have a Score of 3–3, and a Date of november 11?
CREATE TABLE table_name_4 (points VARCHAR, score VARCHAR, date VARCHAR)
SELECT points FROM table_name_4 WHERE score = "3–3" AND date = "november 11"
What is the average Position with less than 57 against and the team is Juventus?
CREATE TABLE table_name_19 (position INTEGER, against VARCHAR, team VARCHAR)
SELECT AVG(position) FROM table_name_19 WHERE against < 57 AND team = "juventus"
What is the highest points total scored by Dan Clarke in a grid higher than 10?
CREATE TABLE table_name_61 (points INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MAX(points) FROM table_name_61 WHERE driver = "dan clarke" AND grid > 10