answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT name FROM table_24565004_7 WHERE appearances¹ = 252
Which player had 252 appearances
CREATE TABLE table_24565004_7 (name VARCHAR, appearances¹ VARCHAR)
SELECT player FROM table_name_87 WHERE round > 8
Which Player has a Round larger than 8?
CREATE TABLE table_name_87 (player VARCHAR, round INTEGER)
SELECT jewel AS Power FROM table_26615633_1 WHERE media_debut = "EP 17"
what is the jewel power when the media debut is ep 17?
CREATE TABLE table_26615633_1 (jewel VARCHAR, media_debut VARCHAR)
SELECT high_rebounds FROM table_27700375_8 WHERE high_points = "Brook Lopez (15)"
Who got the high rebounds if Brook Lopez (15) earned the high points?
CREATE TABLE table_27700375_8 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT MAX(number_of_tropical_storms) FROM table_2930244_4 WHERE deaths = "34"
What is the maximum number of tropical storms in the year that had exactly 34 deaths?
CREATE TABLE table_2930244_4 (number_of_tropical_storms INTEGER, deaths VARCHAR)
SELECT leftfielder FROM table_name_90 WHERE second_baseman = "davey lopes" AND first_baseman = "steve garvey" AND shortstop = "bill russell" AND year > 1977
What is the name of the Leftfielder when Davey Lopes was the Second Baseman and first baseman was steve garvey, Shortstop of bill russell eariler than 1977?
CREATE TABLE table_name_90 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR, first_baseman VARCHAR)
SELECT COUNT(average) FROM table_12094609_1 WHERE evening_gown = "8.988"
what is the total number of average where evening gown is 8.988
CREATE TABLE table_12094609_1 (average VARCHAR, evening_gown VARCHAR)
SELECT runner_up FROM table_name_68 WHERE location = "hossegor"
Who was the Runner-up in Hossegor?
CREATE TABLE table_name_68 (runner_up VARCHAR, location VARCHAR)
SELECT notes FROM table_name_47 WHERE rank = 1
What are the notes from the rank of 1?
CREATE TABLE table_name_47 (notes VARCHAR, rank VARCHAR)
SELECT AVG(year) FROM table_name_24 WHERE loses = 4 AND wins < 18 AND draws > 1
What average Year has Losses 4, and Wins less than 18, and Draws greater than 1?
CREATE TABLE table_name_24 (year INTEGER, draws VARCHAR, loses VARCHAR, wins VARCHAR)
SELECT opponent_in_the_final FROM table_name_29 WHERE score = "6–3, 3–6, 6–8"
Which Opponent in the final has a Score of 6–3, 3–6, 6–8?
CREATE TABLE table_name_29 (opponent_in_the_final VARCHAR, score VARCHAR)
SELECT car_no FROM table_name_13 WHERE points = "24"
What car number had 24 points?
CREATE TABLE table_name_13 (car_no VARCHAR, points VARCHAR)
SELECT AVG(points) FROM table_name_11 WHERE game = 82 AND april > 10
How many Points has a Game of 82 and a April larger than 10?
CREATE TABLE table_name_11 (points INTEGER, game VARCHAR, april VARCHAR)
SELECT MAX(bronze) FROM table_name_71 WHERE gold > 1 AND silver < 0
What is the highest Bronze medal count when the Gold medals are larger than 1 and the silver are smaller than 0?
CREATE TABLE table_name_71 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
SELECT COUNT(record) FROM table_14863869_1 WHERE week = 11
How many scores were there in week 11?
CREATE TABLE table_14863869_1 (record VARCHAR, week VARCHAR)
SELECT website FROM table_name_77 WHERE language = "english" AND frequency = "online newspaper"
Which website is in english and has the frequency of an online newspaper ?
CREATE TABLE table_name_77 (website VARCHAR, language VARCHAR, frequency VARCHAR)
SELECT COUNT(caliber) FROM table_21538523_1 WHERE type = "LB/RN"
How many calibers require the type LB/RN?
CREATE TABLE table_21538523_1 (caliber VARCHAR, type VARCHAR)
SELECT SUM(round) FROM table_name_26 WHERE position = "goalie"
How many rounds have goalie as the position?
CREATE TABLE table_name_26 (round INTEGER, position VARCHAR)
SELECT finish FROM table_name_1 WHERE year_s__won = "1991"
Where did the player who won in 1991 finish?
CREATE TABLE table_name_1 (finish VARCHAR, year_s__won VARCHAR)
SELECT background FROM table_26263322_1 WHERE candidate = "Daniel Phillips"
What is the background of the candidate daniel phillips?
CREATE TABLE table_26263322_1 (background VARCHAR, candidate VARCHAR)
SELECT name FROM instructor WHERE NOT id IN (SELECT id FROM teaches)
Find the name of instructors who didn't teach any courses?
CREATE TABLE teaches (name VARCHAR, id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)
SELECT d_46 FROM table_name_54 WHERE d_45 = "r 5"
I want the D 46 for D 45 of r 5
CREATE TABLE table_name_54 (d_46 VARCHAR, d_45 VARCHAR)
SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197)
What Tournament has a Winning score of −16 (66-64-67=197)?
CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR)
SELECT COUNT(apps) FROM table_name_90 WHERE goals = 2
What is the final number of apps with 2 goals?
CREATE TABLE table_name_90 (apps VARCHAR, goals VARCHAR)
SELECT propulsion FROM table_name_79 WHERE year < 1962 AND name = "rb 04"
What is the propulsion for the RB 04 earlier than 1962?
CREATE TABLE table_name_79 (propulsion VARCHAR, year VARCHAR, name VARCHAR)
SELECT MIN(first_year) FROM table_name_33 WHERE population = 32 OFFSET 645
Which is the smallest First year when the population is 32,645?
CREATE TABLE table_name_33 (first_year INTEGER, population VARCHAR)
SELECT company FROM table_20174050_24 WHERE author = "Day, Martin Martin Day"
which company released audiobooks authored by day, martin martin day
CREATE TABLE table_20174050_24 (company VARCHAR, author VARCHAR)
SELECT date FROM table_name_59 WHERE venue = "western oval"
What day does the team play at western oval?
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
SELECT location_attendance FROM table_27700530_15 WHERE game = 2
What was the location and attendance for game 2?
CREATE TABLE table_27700530_15 (location_attendance VARCHAR, game VARCHAR)
SELECT city FROM table_name_92 WHERE gross_revenue__2011_ = "$739,578"
Which city had a gross revenue in 2011 of $739,578?
CREATE TABLE table_name_92 (city VARCHAR, gross_revenue__2011_ VARCHAR)
SELECT tournament FROM table_name_97 WHERE opponent_team = "hungary's league selection"
At which tournament does Milan play against Hungary's league selection?
CREATE TABLE table_name_97 (tournament VARCHAR, opponent_team VARCHAR)
SELECT section FROM table_name_29 WHERE position = "8th" AND season = "2003"
Tell me the section for position of 8th and season of 2003
CREATE TABLE table_name_29 (section VARCHAR, position VARCHAR, season VARCHAR)
SELECT mass FROM table_name_54 WHERE designation = "prognoz 2"
What is Mass, when Designation is Prognoz 2?
CREATE TABLE table_name_54 (mass VARCHAR, designation VARCHAR)
SELECT region FROM table_2899987_2 WHERE owner = "Estado de Tabasco"
Which regions are owned by estado de tabasco?
CREATE TABLE table_2899987_2 (region VARCHAR, owner VARCHAR)
SELECT season FROM table_19061741_1 WHERE name = "Luz McClinton"
When luz mcclinton is the name what is the season?
CREATE TABLE table_19061741_1 (season VARCHAR, name VARCHAR)
SELECT MIN(week) FROM table_14945881_1 WHERE date = "September 19, 1976"
Name the least week for september 19, 1976
CREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR)
SELECT number FROM table_name_3 WHERE inning = "8th" AND length = "410'"
What number home run was in the 8th inning and went 410'?
CREATE TABLE table_name_3 (number VARCHAR, inning VARCHAR, length VARCHAR)
SELECT branding FROM table_name_70 WHERE frequency = "00 94.5"
What is the Branding of Frequency 00 94.5?
CREATE TABLE table_name_70 (branding VARCHAR, frequency VARCHAR)
SELECT visitor FROM table_name_96 WHERE record = "39-20-6"
Who was the visitor in the game that led to a 39-20-6 record?
CREATE TABLE table_name_96 (visitor VARCHAR, record VARCHAR)
SELECT date FROM table_1940012_2 WHERE runner_s__up = "Song-Hee Kim"
When did the tournament, in which the runner-up was Song-Hee Kim, happen
CREATE TABLE table_1940012_2 (date VARCHAR, runner_s__up VARCHAR)
SELECT entrant FROM table_name_91 WHERE points < 8 AND chassis = "maserati"
Which entrant scored less than 8 points and used a Maserati chassis?
CREATE TABLE table_name_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT manner_of_departure FROM table_name_1 WHERE date_of_appointment = "3 january"
Tell me the manner of departure for 3 january date of appointment
CREATE TABLE table_name_1 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
SELECT domestic_freight FROM table_141541_5 WHERE change = "+8.0%"
what's the domestic freight with change being +8.0%
CREATE TABLE table_141541_5 (domestic_freight VARCHAR, change VARCHAR)
SELECT date_of_vacancy FROM table_18522916_5 WHERE outgoing_manager = "Daniel Uberti"
Name the date of vacancy for daniel uberti
CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
SELECT 3 AS _september_2004 FROM table_23988726_2 WHERE "saif_saaeed_shaheen___qat__" = "saif_saaeed_shaheen___qat__"
When saif saaeed shaheen ( qat ) is the saif saaeed shaheen ( qat ) what is the date on September 3rd, 2004?
CREATE TABLE table_23988726_2 (Id VARCHAR)
SELECT state FROM table_name_33 WHERE peak_population__year_ = "134995 (1950)"
what is the state when the peak population (year) is 134995 (1950)?
CREATE TABLE table_name_33 (state VARCHAR, peak_population__year_ VARCHAR)
SELECT COUNT(points) FROM table_name_72 WHERE drawn = 7 AND team = "corinthians" AND played > 18
How many Points have Drawn of 7, and a Team of corinthians, and a Played larger than 18?
CREATE TABLE table_name_72 (points VARCHAR, played VARCHAR, drawn VARCHAR, team VARCHAR)
SELECT method FROM table_name_63 WHERE record = "3-2"
What is the method when the record was 3-2?
CREATE TABLE table_name_63 (method VARCHAR, record VARCHAR)
SELECT COUNT(fumble_force) FROM table_name_20 WHERE solo < 2 AND player = "jim laney"
How many forced fumbles for jim laney with under 2 solo tackles?
CREATE TABLE table_name_20 (fumble_force VARCHAR, solo VARCHAR, player VARCHAR)
SELECT date FROM table_15869204_4 WHERE location_attendance = "Continental Airlines Arena 13,755"
On what date was the attendance at Continental Airlines Arena 13,755?
CREATE TABLE table_15869204_4 (date VARCHAR, location_attendance VARCHAR)
SELECT train_name FROM table_name_61 WHERE frequency__inbound_outbound_ = "daily" AND destination = "jammutawi"
What is the train name of the rail with a daily frequency and Jammutawi as the destination?
CREATE TABLE table_name_61 (train_name VARCHAR, frequency__inbound_outbound_ VARCHAR, destination VARCHAR)
SELECT COUNT(round) FROM table_name_64 WHERE college = "appalachian state" AND overall < 156
Which Round has a College of appalachian state, and an Overall smaller than 156?
CREATE TABLE table_name_64 (round VARCHAR, college VARCHAR, overall VARCHAR)
SELECT COUNT(won) FROM table_13564702_3 WHERE tries_for = "92"
Name total number of won for tries for 92
CREATE TABLE table_13564702_3 (won VARCHAR, tries_for VARCHAR)
SELECT result FROM table_name_65 WHERE score = "4-1"
What was the result of the game with a score of 4-1?
CREATE TABLE table_name_65 (result VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_86 WHERE round = "semifinal" AND surface = "hard" AND opponent = "pam casale"
Name the tournament for semifinal hard surface for opponent of pam casale
CREATE TABLE table_name_86 (tournament VARCHAR, opponent VARCHAR, round VARCHAR, surface VARCHAR)
SELECT s_b_share FROM table_206419_3 WHERE shareholder = "Handelsbanken funds incl XACT"
What is the s B share for Handelsbanken funds incl XACT?
CREATE TABLE table_206419_3 (s_b_share VARCHAR, shareholder VARCHAR)
SELECT population__2010_ FROM table_255829_1 WHERE no_of_barangays = 31
What is the 2010 population of the municipality with 31 barangays?
CREATE TABLE table_255829_1 (population__2010_ VARCHAR, no_of_barangays VARCHAR)
SELECT bubbles FROM table_name_12 WHERE attribute = "onscroll"
Name the bubbles for onscroll
CREATE TABLE table_name_12 (bubbles VARCHAR, attribute VARCHAR)
SELECT document_type_name, document_type_description FROM Ref_document_types WHERE document_type_code = "RV"
What is the name and description for document type code RV?
CREATE TABLE Ref_document_types (document_type_name VARCHAR, document_type_description VARCHAR, document_type_code VARCHAR)
SELECT teams FROM table_name_41 WHERE season = "2006-07"
Which teams were in the 2006-07 season?
CREATE TABLE table_name_41 (teams VARCHAR, season VARCHAR)
SELECT venue FROM table_name_21 WHERE score = "5–0" AND competition = "2007 caribbean cup qualifier"
What is the name of the venue when the score was 5–0, and a Competition of 2007 caribbean cup qualifier?
CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, competition VARCHAR)
SELECT season FROM table_name_56 WHERE runner_up = "judean rebels"
Name the season for runner up of judean rebels
CREATE TABLE table_name_56 (season VARCHAR, runner_up VARCHAR)
SELECT name FROM table_name_15 WHERE event = "men's time trial"
What is the Name with an Event that is men's time trial?
CREATE TABLE table_name_15 (name VARCHAR, event VARCHAR)
SELECT home__1st_leg_ FROM table_name_70 WHERE aggregate = "3-4"
Which team played their first leg at home with an aggregate score of 3-4?
CREATE TABLE table_name_70 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
SELECT AVG(year) FROM table_name_39 WHERE status = "not free" AND civil_liberties < 7 AND political_rights < 6
What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights?
CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR)
SELECT 1989 FROM table_name_10 WHERE 1997 = "qf" AND 1993 = "a"
What was the value in 1989 with QF in 1997 and A in 1993?
CREATE TABLE table_name_10 (Id VARCHAR)
SELECT series FROM table_name_73 WHERE podiums > 10
What series had more than 10 Podiums?
CREATE TABLE table_name_73 (series VARCHAR, podiums INTEGER)
SELECT COUNT(_percentage_of_total_deportees) FROM table_16048129_5 WHERE average_family_size = "2.8"
What is the total number of regions where the average family size is 2.8?
CREATE TABLE table_16048129_5 (_percentage_of_total_deportees VARCHAR, average_family_size VARCHAR)
SELECT location_attendance FROM table_name_29 WHERE high_rebounds = "lennox (7)"
Which Location/Attendance has High rebounds of lennox (7)?
CREATE TABLE table_name_29 (location_attendance VARCHAR, high_rebounds VARCHAR)
SELECT title FROM table_234886_3 WHERE prod_code = "2-19"
What is the title of the episode with the production code 2-19?
CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)
SELECT away_team AS score FROM table_name_82 WHERE venue = "scg"
Which Away team score has a Venue of scg?
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT COUNT(original_air_date) FROM table_13336122_7 WHERE us_viewers__million_ = "0.67"
How many episodes were seen by 0.67 million US viewers on their original air dates?
CREATE TABLE table_13336122_7 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT MIN(bodyweight) FROM table_name_35 WHERE snatch > 117.5
Which weightlifter with a snatch larger than 117.5 had the lowest bodyweight?
CREATE TABLE table_name_35 (bodyweight INTEGER, snatch INTEGER)
SELECT place FROM table_name_10 WHERE player = "nolan henke"
What place is Nolan Henke in?
CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)
SELECT finalists FROM table_name_22 WHERE club = "győri"
Who Finalists has a Club of győri?
CREATE TABLE table_name_22 (finalists VARCHAR, club VARCHAR)
SELECT player FROM table_17308269_2 WHERE college_country_team = "Mercer"
Name the player for mercer
CREATE TABLE table_17308269_2 (player VARCHAR, college_country_team VARCHAR)
SELECT position FROM table_name_89 WHERE school_club_team = "winston-salem state"
What position does the player from Winston-Salem State play?
CREATE TABLE table_name_89 (position VARCHAR, school_club_team VARCHAR)
SELECT AVG(round) FROM table_name_42 WHERE overall = 62
Overall of 62 is what average round?
CREATE TABLE table_name_42 (round INTEGER, overall VARCHAR)
SELECT dimensions FROM table_name_27 WHERE name = "u50"
What is the dimensions of the u50 appliance?
CREATE TABLE table_name_27 (dimensions VARCHAR, name VARCHAR)
SELECT years FROM table_name_96 WHERE name = "plateau school"
What years does plateau school serve?
CREATE TABLE table_name_96 (years VARCHAR, name VARCHAR)
SELECT COUNT(track_number) FROM table_name_58 WHERE recording_date = "november 16, 1959" AND title = "i couldn't hear nobody pray"
How many track numbers were recorded on November 16, 1959 for the title of I Couldn't Hear Nobody Pray?
CREATE TABLE table_name_58 (track_number VARCHAR, recording_date VARCHAR, title VARCHAR)
SELECT away_team FROM table_name_53 WHERE home_team = "lincoln city"
Who was the away team when the home team was Lincoln City?
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
SELECT drawn FROM table_name_49 WHERE points_for = "416" AND points_against = "533"
What drawn has 416 as the points for and 533 as the points against?
CREATE TABLE table_name_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR)
SELECT COUNT(lost) FROM table_name_82 WHERE goals_scored < 22 AND goals_conceded > 27
Name the total number of lost when goals scored is less than 22 and goals conceded is more than 27
CREATE TABLE table_name_82 (lost VARCHAR, goals_scored VARCHAR, goals_conceded VARCHAR)
SELECT gap_from_thailand_as_of_2012__times_ FROM table_30133_3 WHERE economy = "China"
What was the gap from Thailand as of 2012 for China?
CREATE TABLE table_30133_3 (gap_from_thailand_as_of_2012__times_ VARCHAR, economy VARCHAR)
SELECT french FROM table_15040_8 WHERE german = "filtern"
What is the French word where the German word is filtern?
CREATE TABLE table_15040_8 (french VARCHAR, german VARCHAR)
SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy"
What was the 2006 population count of the local government area where Coober Pedy is located?
CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)
SELECT rank FROM table_name_2 WHERE bronze = 1 AND gold = 0
What is the rank of the team with 1 bronze and 0 gold medals?
CREATE TABLE table_name_2 (rank VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT MIN(top_5) FROM table_name_33 WHERE top_25 < 4 AND cuts_made < 7
What is the lowest Top-5, when Top-25 is less than 4, and when Cuts made is less than 7?
CREATE TABLE table_name_33 (top_5 INTEGER, top_25 VARCHAR, cuts_made VARCHAR)
SELECT attendance FROM table_name_60 WHERE week > 10 AND result = "l 22-21"
I want the attendance for week larger than 10 and result of l 22-21
CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR, result VARCHAR)
SELECT result FROM table_name_3 WHERE latin_commander = "boniface of montferrat"
What is the Result of the battle with Latin Commander Boniface of Montferrat?
CREATE TABLE table_name_3 (result VARCHAR, latin_commander VARCHAR)
SELECT date FROM table_name_89 WHERE catalogue = "bron 535"
What is the date for Bron 535 Catalog?
CREATE TABLE table_name_89 (date VARCHAR, catalogue VARCHAR)
SELECT branding FROM table_name_38 WHERE power = "10 kw" AND location = "iloilo city"
What is the Branding of the Iloilo City Frequency with a Power of 10 Kw?
CREATE TABLE table_name_38 (branding VARCHAR, power VARCHAR, location VARCHAR)
SELECT circuit FROM table_10725629_2 WHERE date = "October 4"
Which circuits had a race on October 4?
CREATE TABLE table_10725629_2 (circuit VARCHAR, date VARCHAR)
SELECT SUM(attendance) FROM table_name_83 WHERE loss = "clement (5–7)"
What is the sum of the people in attendance when there was a Loss of clement (5–7)?
CREATE TABLE table_name_83 (attendance INTEGER, loss VARCHAR)
SELECT 2010 FROM table_name_50 WHERE 2009 = "q1"
What is the 2010 when the 2009 shows Q1?
CREATE TABLE table_name_50 (Id VARCHAR)
SELECT partner FROM table_name_86 WHERE year > 2007 AND score_in_the_final = "2–6, 3–6"
Who was the partner where the score was 2–6, 3–6 and happened after 2007?
CREATE TABLE table_name_86 (partner VARCHAR, year VARCHAR, score_in_the_final VARCHAR)
SELECT COUNT(played) FROM table_12807904_5 WHERE tries_for = "60"
what amount played tried for 60?
CREATE TABLE table_12807904_5 (played VARCHAR, tries_for VARCHAR)
SELECT score FROM table_name_53 WHERE date = "october 22, 1976"
What was the score of the game that took place on october 22, 1976?
CREATE TABLE table_name_53 (score VARCHAR, date VARCHAR)
SELECT AVG(byes) FROM table_name_75 WHERE against = 1247 AND draws < 0
What is the average number of Byes when there were less than 0 losses and were against 1247?
CREATE TABLE table_name_75 (byes INTEGER, against VARCHAR, draws VARCHAR)