answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT high_assists FROM table_23286158_10 WHERE high_rebounds = "Marcus Camby (15)"
When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists?
CREATE TABLE table_23286158_10 (high_assists VARCHAR, high_rebounds VARCHAR)
SELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = "Team Dennis Conner"
Name the min total pts for team dennis conner
CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)
SELECT player FROM table_name_78 WHERE place = "t8"
What is the T8 Place Player?
CREATE TABLE table_name_78 (player VARCHAR, place VARCHAR)
SELECT result FROM table_name_68 WHERE date = "september 10, 2000"
What was the result of the game from September 10, 2000?
CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)
SELECT MAX(week) FROM table_name_90 WHERE opponent = "atlanta falcons"
What is the largest week with the Atlanta Falcons as the opponent?
CREATE TABLE table_name_90 (week INTEGER, opponent VARCHAR)
SELECT MIN(no_in_season) FROM table_11820086_1 WHERE us_viewers__millions_ = "3.00"
Which episode number in season 5 was viewed by 3.00 million U.S. viziers?
CREATE TABLE table_11820086_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR)
SELECT SUM(total_seats) FROM table_name_61 WHERE share_of_votes = "21.8%"
When the share of votes equals 21.8%, what's the sum of the total amount of seats?
CREATE TABLE table_name_61 (total_seats INTEGER, share_of_votes VARCHAR)
SELECT split_off___continuation_of FROM table_name_44 WHERE church_name = "independent church"
What was the Independent Church's Split off/ Continuation?
CREATE TABLE table_name_44 (split_off___continuation_of VARCHAR, church_name VARCHAR)
SELECT years_member FROM table_name_47 WHERE school = "cairo high school"
What Years Member has a School of cairo high school?
CREATE TABLE table_name_47 (years_member VARCHAR, school VARCHAR)
SELECT MIN(gold) FROM table_name_21 WHERE silver < 1 AND total < 4 AND bronze > 1
What is the fewest gold medals for a team with fewer than 1 silver, more than 1 bronze and a total less than 4?
CREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane"
Who Eliminated Kane?
CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR)
SELECT driver FROM table_name_89 WHERE laps < 19 AND grid < 10
What driver has under 19 laps and a grid under 10?
CREATE TABLE table_name_89 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT round FROM table_name_19 WHERE position = "cornerback"
Which round has a position that is cornerback?
CREATE TABLE table_name_19 (round VARCHAR, position VARCHAR)
SELECT COUNT(against) FROM table_name_4 WHERE wins > 2 AND losses = 5 AND draws < 0
What is the total number of Against values for clubs with more than 2 wins, 5 losses, and 0 draws?
CREATE TABLE table_name_4 (against VARCHAR, draws VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT away_team AS score FROM table_name_31 WHERE venue = "victoria park"
What was the opposing team's score at the match that was played at Victoria Park?
CREATE TABLE table_name_31 (away_team VARCHAR, venue VARCHAR)
SELECT source_model FROM table_name_97 WHERE release_date = "1992-04-06"
Which Source model has a Release date of 1992-04-06?
CREATE TABLE table_name_97 (source_model VARCHAR, release_date VARCHAR)
SELECT Product_Name, Product_Type_Code FROM Products
What are the names and type codes of products?
CREATE TABLE Products (Product_Name VARCHAR, Product_Type_Code VARCHAR)
SELECT penalties FROM table_name_88 WHERE pim = "34.5"
What penalties has P.I.M. of 34.5?
CREATE TABLE table_name_88 (penalties VARCHAR, pim VARCHAR)
SELECT MAX(total_seats) FROM table_name_28 WHERE pr_seats = 48 AND district_seats > 73
Who had the highest total PR seats of 48 with a District seat larger than than 73?
CREATE TABLE table_name_28 (total_seats INTEGER, pr_seats VARCHAR, district_seats VARCHAR)
SELECT COUNT(joined) FROM table_255205_1 WHERE location = "Franklin, Indiana"
How many inputs joined this institution located in Franklin, Indiana?
CREATE TABLE table_255205_1 (joined VARCHAR, location VARCHAR)
SELECT date FROM table_name_63 WHERE record = "13–17–3"
When was there a record of 13–17–3?
CREATE TABLE table_name_63 (date VARCHAR, record VARCHAR)
SELECT location FROM table_name_36 WHERE event = "jiu-jitsu vs martial arts"
What is the Location for the jiu-jitsu vs martial arts?
CREATE TABLE table_name_36 (location VARCHAR, event VARCHAR)
SELECT COUNT(year) FROM table_name_30 WHERE competition = "anugerah bintang popular berita harian 23"
What was the year that had Anugerah Bintang Popular Berita Harian 23 as competition?
CREATE TABLE table_name_30 (year VARCHAR, competition VARCHAR)
SELECT circuit FROM table_name_26 WHERE series = "astc round 4"
What is Circuit, when Series is ASTC Round 4?
CREATE TABLE table_name_26 (circuit VARCHAR, series VARCHAR)
SELECT DISTINCT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.rating > 9
List the name and country of origin for all singers who have produced songs with rating above 9.
CREATE TABLE song (artist_name VARCHAR, rating INTEGER); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
SELECT venue FROM table_name_79 WHERE competition = "mediterranean games" AND year > 2005
Where were the Mediterranean games after 2005?
CREATE TABLE table_name_79 (venue VARCHAR, competition VARCHAR, year VARCHAR)
SELECT college FROM table_name_67 WHERE round < 7 AND overall = 129
Round smaller than 7, and an Overall of 129 is what college?
CREATE TABLE table_name_67 (college VARCHAR, round VARCHAR, overall VARCHAR)
SELECT away_team AS score FROM table_name_84 WHERE venue = "lake oval"
What team was the away team when they played at lake oval?
CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)
SELECT molecular_target FROM table_name_45 WHERE disease_area = "antiviral"
What is the molecular target of the organism that has a disease area of antiviral?
CREATE TABLE table_name_45 (molecular_target VARCHAR, disease_area VARCHAR)
SELECT runner_up FROM table_name_18 WHERE year = 1963
Name the Runner-up of a Year in 1963?
CREATE TABLE table_name_18 (runner_up VARCHAR, year VARCHAR)
SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Glanzmann's thrombasthenia"
How in prothrombin affected by glanzmann's thrombasthenia.
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR)
SELECT home_team AS score FROM table_name_52 WHERE home_team = "st kilda"
What is the home team score for St Kilda?
CREATE TABLE table_name_52 (home_team VARCHAR)
SELECT mixed_doubles FROM table_20361783_1 WHERE womens_singles = "Zhou Mi"
who won mixed doubles when zhou mi won womens singles
CREATE TABLE table_20361783_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)
SELECT la_cañada_flintridge FROM table_name_58 WHERE tujunga = "7%"
What is the percentage of La Canada Flintridge when Tujunga is 7%?
CREATE TABLE table_name_58 (la_cañada_flintridge VARCHAR, tujunga VARCHAR)
SELECT handicap__st_lb_ FROM table_19624708_1 WHERE horse = "Knowhere"
Which handicap has the horse knowhere?
CREATE TABLE table_19624708_1 (handicap__st_lb_ VARCHAR, horse VARCHAR)
SELECT MIN(field_goals) FROM table_14342367_7
What is the least amount of field goals made by a player?
CREATE TABLE table_14342367_7 (field_goals INTEGER)
SELECT time_retired FROM table_name_96 WHERE grid < 22 AND laps < 33 AND driver = "john surtees"
I want the time/retired with grid less than 22 and Laps less than 33 for john surtees
CREATE TABLE table_name_96 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT callsign FROM table_name_4 WHERE iata = "tr"
Which Callsign has an IATA of tr?
CREATE TABLE table_name_4 (callsign VARCHAR, iata VARCHAR)
SELECT home FROM table_name_4 WHERE attendance > 1189 AND away = "real juventud"
Who was the home team when real juventud was the away team when there were more than 1189 in attendance?
CREATE TABLE table_name_4 (home VARCHAR, attendance VARCHAR, away VARCHAR)
SELECT original_season FROM table_18974269_1 WHERE player = "Evelyn Smith"
What was the season where Evelyn Smith was on?
CREATE TABLE table_18974269_1 (original_season VARCHAR, player VARCHAR)
SELECT partially_deleted FROM table_name_67 WHERE cerclis_id = "az7570028582"
when was the site partially deleted when the cerclis id is az7570028582?
CREATE TABLE table_name_67 (partially_deleted VARCHAR, cerclis_id VARCHAR)
SELECT MAX(rank) FROM table_22355_68
Name the most rank
CREATE TABLE table_22355_68 (rank INTEGER)
SELECT date FROM table_name_62 WHERE record = "3-14-6"
When was the record 3-14-6?
CREATE TABLE table_name_62 (date VARCHAR, record VARCHAR)
SELECT leftfielder FROM table_name_25 WHERE shortstop = "bill russell" AND second_baseman = "steve sax" AND year = 1983
What is the name of the Leftfielder when the Shortstop was bill russell, and the Second Baseman was steve sax in 1983?
CREATE TABLE table_name_25 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR)
SELECT country FROM table_name_44 WHERE place = "t3" AND player = "jim thorpe"
What is Country, when Place is "T3", and when Player is "Jim Thorpe"?
CREATE TABLE table_name_44 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT COUNT(losses) FROM table_name_13 WHERE millewa = "nangiloc"
How many Losses have a Millewa of nangiloc?
CREATE TABLE table_name_13 (losses VARCHAR, millewa VARCHAR)
SELECT wins FROM table_name_72 WHERE draws = "8"
How many wins happened with 8 draws?
CREATE TABLE table_name_72 (wins VARCHAR, draws VARCHAR)
SELECT opponent FROM table_name_19 WHERE record = "37-27"
What opponent had a record of 37-27?
CREATE TABLE table_name_19 (opponent VARCHAR, record VARCHAR)
SELECT film FROM table_name_76 WHERE year = 1996
What film was released in 1996?
CREATE TABLE table_name_76 (film VARCHAR, year VARCHAR)
SELECT first_name, last_name FROM employees ORDER BY birth_date DESC LIMIT 1
Who is the youngest employee in the company? List employee's first and last name.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR)
SELECT venue FROM table_name_6 WHERE date = "december 7, 1998"
what is the venue when the date is december 7, 1998?
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
SELECT result FROM table_19810459_1 WHERE background = "Small business owner"
What was the result for the contestant who was a small business owner?
CREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Louisville"
Where was the tourney when Louisville won the regular season?
CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
SELECT pick FROM table_name_75 WHERE player = "benito cheng"
What is Benito Cheng's Pick number?
CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR)
SELECT rank FROM table_name_13 WHERE finish = "14"
What is the rank with a 14 finish?
CREATE TABLE table_name_13 (rank VARCHAR, finish VARCHAR)
SELECT date FROM table_name_2 WHERE partner = "alexander krasnorutskiy" AND score = "6–3, 4–6, 6–2"
What date had Alexander Krasnorutskiy as a partner with a score of 6–3, 4–6, 6–2?
CREATE TABLE table_name_2 (date VARCHAR, partner VARCHAR, score VARCHAR)
SELECT area__km²_ FROM table_26519486_1 WHERE languages = "German"
Name the area for german
CREATE TABLE table_26519486_1 (area__km²_ VARCHAR, languages VARCHAR)
SELECT to_club FROM table_name_52 WHERE transfer_fee = "free" AND pos = "df"
What club received a DF player for free?
CREATE TABLE table_name_52 (to_club VARCHAR, transfer_fee VARCHAR, pos VARCHAR)
SELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = "18"
What nation has 0 as the silver, 1 as the bronze, with 18 as the rank?
CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT format FROM table_name_40 WHERE label = "mca"
What is the format for the MCA label?
CREATE TABLE table_name_40 (format VARCHAR, label VARCHAR)
SELECT name__year_commissioned_ FROM table_name_7 WHERE licence_number = "pl 22"
What is the name where the license number is PL 22?
CREATE TABLE table_name_7 (name__year_commissioned_ VARCHAR, licence_number VARCHAR)
SELECT MAX(total) FROM table_name_7 WHERE bronze > 10 AND silver > 28 AND gold = 58
What is the highest total Bronze larger than 10, Silver larger than 28, and a Gold of 58?
CREATE TABLE table_name_7 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT COUNT(week) FROM table_name_30 WHERE attendance > 84 OFFSET 816
How many weeks had an attendance larger than 84,816?
CREATE TABLE table_name_30 (week VARCHAR, attendance INTEGER)
SELECT nationality FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)"
What is the nationality of the player from the University of Michigan (NCAA)?
CREATE TABLE table_1965650_11 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT engine FROM table_name_51 WHERE rank = "7th" AND chassis = "reynard 95i"
Which engine finished 7th with the reynard 95i chassis?
CREATE TABLE table_name_51 (engine VARCHAR, rank VARCHAR, chassis VARCHAR)
SELECT codename FROM table_199666_1 WHERE centrino = "Chief River"
What's the code name of the wireless LAN with Chief River Centrino?
CREATE TABLE table_199666_1 (codename VARCHAR, centrino VARCHAR)
SELECT high_rebounds FROM table_17140608_7 WHERE date = "January 6"
Who had the high rebound total on january 6?
CREATE TABLE table_17140608_7 (high_rebounds VARCHAR, date VARCHAR)
SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson"
When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?
CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)
SELECT MAX(rank) FROM table_name_44 WHERE lane = 4
What is the highest rank from Lane 4?
CREATE TABLE table_name_44 (rank INTEGER, lane VARCHAR)
SELECT result FROM table_name_33 WHERE week > 9 AND attendance = "65,858"
What is the Result when the week is later than 9, and there are 65,858 people in attendance?
CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT MAX(overall) FROM table_name_40 WHERE round > 8 AND player = "pavol demitra"
What is the highest overall for a round larger than 8 for pavol demitra?
CREATE TABLE table_name_40 (overall INTEGER, round VARCHAR, player VARCHAR)
SELECT opponent FROM table_name_27 WHERE attendance > 54 OFFSET 766
who was the opponent when the attendance was larger than 54,766?
CREATE TABLE table_name_27 (opponent VARCHAR, attendance INTEGER)
SELECT tries_against FROM table_name_7 WHERE points_for = "564"
Which Tries against has Points for of 564?
CREATE TABLE table_name_7 (tries_against VARCHAR, points_for VARCHAR)
SELECT home FROM table_name_11 WHERE date = "december 5, 2007"
Who was Home on December 5, 2007?
CREATE TABLE table_name_11 (home VARCHAR, date VARCHAR)
SELECT name FROM table_name_95 WHERE position = "guard"
What is the players name in the guard position?
CREATE TABLE table_name_95 (name VARCHAR, position VARCHAR)
SELECT MAX(gold) FROM table_name_63 WHERE silver = 1 AND bronze < 0
what is the highest gold when silver is 1 and bronze is less than 0?
CREATE TABLE table_name_63 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT date FROM table_name_20 WHERE record = "74-84"
Name the date for record of 74-84
CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR)
SELECT race_4 FROM table_name_51 WHERE race_1 = "28"
What is Race 4, when Race 1 is 28?
CREATE TABLE table_name_51 (race_4 VARCHAR, race_1 VARCHAR)
SELECT MAX(pl_gp) FROM table_name_27 WHERE rd__number > 9
What is the highest PL GP for a round greater than 9?
CREATE TABLE table_name_27 (pl_gp INTEGER, rd__number INTEGER)
SELECT player FROM table_name_84 WHERE jersey_number_s_ = "31"
Who has a Jersey number of 31?
CREATE TABLE table_name_84 (player VARCHAR, jersey_number_s_ VARCHAR)
SELECT nickname_s_ FROM table_name_65 WHERE location = "elkville, illinois"
What Nickname(s) has a Location of elkville, illinois?
CREATE TABLE table_name_65 (nickname_s_ VARCHAR, location VARCHAR)
SELECT date FROM table_name_17 WHERE goal = 5
Tell me the date for goal of 5
CREATE TABLE table_name_17 (date VARCHAR, goal VARCHAR)
SELECT high_assists FROM table_17102076_9 WHERE date = "March 15"
Who had high assists on March 15?
CREATE TABLE table_17102076_9 (high_assists VARCHAR, date VARCHAR)
SELECT flag FROM ship GROUP BY flag ORDER BY COUNT(*) DESC LIMIT 1
Which flag is most widely used among all ships?
CREATE TABLE ship (flag VARCHAR)
SELECT date FROM table_name_31 WHERE loss = "schilling (5–2)"
Name the date for Loss of schilling (5–2)
CREATE TABLE table_name_31 (date VARCHAR, loss VARCHAR)
SELECT english_name FROM table_name_23 WHERE abbr = "พ.ย."
What is the English word that is abbreviated พ.ย.?
CREATE TABLE table_name_23 (english_name VARCHAR, abbr VARCHAR)
SELECT poles FROM table_name_90 WHERE season = 2009 AND points = "test driver"
Which pole has a Season of 2009 and points of test driver?
CREATE TABLE table_name_90 (poles VARCHAR, season VARCHAR, points VARCHAR)
SELECT nominated_work FROM table_name_55 WHERE type = "rockferendum 2007" AND position = "1st place" AND award = "best album"
What work was nominated at Rockferendum 2007 and got 1st place and got the award for best album?
CREATE TABLE table_name_55 (nominated_work VARCHAR, award VARCHAR, type VARCHAR, position VARCHAR)
SELECT first_leg FROM table_name_58 WHERE opposition = "twente"
What was the first leg score in the match against Twente?
CREATE TABLE table_name_58 (first_leg VARCHAR, opposition VARCHAR)
SELECT vote FROM table_1272844_2 WHERE finish = "10th voted Out 3rd Jury Member Day 30"
What was the vote on the episode where the finish was "10th voted out 3rd jury member day 30"?
CREATE TABLE table_1272844_2 (vote VARCHAR, finish VARCHAR)
SELECT record FROM table_name_67 WHERE game < 24 AND location = "miami arena"
What was the record when they played in the Miami Arena, before game 24?
CREATE TABLE table_name_67 (record VARCHAR, game VARCHAR, location VARCHAR)
SELECT printer_ports FROM table_1300080_1 WHERE model_number = "EX Plus3"
What's the type of printer ports in the model number EX Plus3?
CREATE TABLE table_1300080_1 (printer_ports VARCHAR, model_number VARCHAR)
SELECT lost FROM table_name_52 WHERE match_points = "84"
Which lost has 84 as the match points?
CREATE TABLE table_name_52 (lost VARCHAR, match_points VARCHAR)
SELECT director FROM table_name_76 WHERE production_number = "11-14"
Who is the Director of the Filmography with Production Number of 11-14?
CREATE TABLE table_name_76 (director VARCHAR, production_number VARCHAR)
SELECT DISTINCT CountryCode FROM countrylanguage WHERE LANGUAGE <> "English"
What are the country codes of countries where people use languages other than English?
CREATE TABLE countrylanguage (CountryCode VARCHAR, LANGUAGE VARCHAR)
SELECT 2008 FROM table_name_18 WHERE 2006 = "grand slam tournaments"
What is 2008, when 2006 is "Grand Slam Tournaments"?
CREATE TABLE table_name_18 (Id VARCHAR)
SELECT pick FROM table_name_68 WHERE college = "far eastern / psba"
Which Pick has the College named Far Eastern / PSBA?
CREATE TABLE table_name_68 (pick VARCHAR, college VARCHAR)
SELECT SUM(long) FROM table_name_24 WHERE avg < 6 AND rec < 2
Name the sum of long for avg less than 6 and rec less than 2
CREATE TABLE table_name_24 (long INTEGER, avg VARCHAR, rec VARCHAR)
SELECT 2001 FROM table_name_12 WHERE 1999 = "2r" AND 1992 = "3r"
What is 2001, when 1999 is "2R", and when 1992 is "3R"?
CREATE TABLE table_name_12 (Id VARCHAR)
SELECT location FROM table_name_23 WHERE name = "telmatosaurus"
What is the Location when the name is telmatosaurus?
CREATE TABLE table_name_23 (location VARCHAR, name VARCHAR)