answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT date FROM table_23284271_10 WHERE team = "@ LA Clippers"
Which date is the team @ la clippers?
CREATE TABLE table_23284271_10 (date VARCHAR, team VARCHAR)
SELECT T3.Player_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T2.Rank = 1
Show the names of players coached by the rank 1 coach.
CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (Coach_ID VARCHAR, Rank VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR)
SELECT alvin_greene__d_ FROM table_name_29 WHERE other = "9%"
What was the vote for Alvin Green when other was 9%?
CREATE TABLE table_name_29 (alvin_greene__d_ VARCHAR, other VARCHAR)
SELECT cfl_team FROM table_16575609_5 WHERE player = "Brady Browne"
What teak was Brady Browne drafted onto?
CREATE TABLE table_16575609_5 (cfl_team VARCHAR, player VARCHAR)
SELECT SUM(morse_taper_number) FROM table_name_1 WHERE d__max_ = 20 AND b__max_ > 94
What's the total of the Morse Taper number when the D (max) is 20 and the B (max) greater than 94?
CREATE TABLE table_name_1 (morse_taper_number INTEGER, d__max_ VARCHAR, b__max_ VARCHAR)
SELECT 2003 FROM table_name_50 WHERE 1998 = "1r" AND 1994 = "1r" AND career = "7-12"
What is the 2003 value with a 1r in 1998, a 14 in 1994, and a 7-12 career?
CREATE TABLE table_name_50 (career VARCHAR)
SELECT MIN(round) FROM table_name_12 WHERE time = "1:09"
What is the lowest round number for the fight that had a time of 1:09?
CREATE TABLE table_name_12 (round INTEGER, time VARCHAR)
SELECT MAX(year) FROM table_name_96 WHERE entrant = "team motul brm" AND chassis = "brm p201" AND points < 0
Name the most year for team motul brm and chassis of brm p201 and points less than 0
CREATE TABLE table_name_96 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)
SELECT kicker FROM table_name_5 WHERE yards > 52 AND opponent = "san francisco 49ers"
Yards larger than 52, and a Opponent of san francisco 49ers is what kicker?
CREATE TABLE table_name_5 (kicker VARCHAR, yards VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_63 WHERE venue = "lake oval"
On what date did the match at Lake Oval take place?
CREATE TABLE table_name_63 (date VARCHAR, venue VARCHAR)
SELECT opponent FROM table_name_57 WHERE week < 3 AND result = "w 28-6"
Who was the opponent before week 3 and a result of w 28-6?
CREATE TABLE table_name_57 (opponent VARCHAR, week VARCHAR, result VARCHAR)
SELECT SUM(pick__number) FROM table_name_27 WHERE name = "anthony maddox"
What is the sum of the Pick # Anthony Maddox?
CREATE TABLE table_name_27 (pick__number INTEGER, name VARCHAR)
SELECT chinese_title FROM table_name_60 WHERE hk_viewers = "2.07 million" AND premiere = 32
What is the Chinese Title Premiering 32 with 2.07 million HK viewers?
CREATE TABLE table_name_60 (chinese_title VARCHAR, hk_viewers VARCHAR, premiere VARCHAR)
SELECT COUNT(feature) FROM table_name_88 WHERE wins = 6 AND driver = "adam carroll" AND starts > 32
How many features did Adam Carroll win 6 times when the start was larger than 32?
CREATE TABLE table_name_88 (feature VARCHAR, starts VARCHAR, wins VARCHAR, driver VARCHAR)
SELECT date FROM table_name_85 WHERE round > 9
Which date has a round more than 9?
CREATE TABLE table_name_85 (date VARCHAR, round INTEGER)
SELECT score FROM table_18183850_12 WHERE opponent_team = "Belgium"
What was the score when the opposing team was from Belgium?
CREATE TABLE table_18183850_12 (score VARCHAR, opponent_team VARCHAR)
SELECT result FROM table_2668264_17 WHERE party = "Adams-Clay Federalist" AND incumbent = "Stephen Van Rensselaer"
What was the result of the election where stephen van rensselaer was the incumbent and the party represented was the adams-clay federalist party?
CREATE TABLE table_2668264_17 (result VARCHAR, party VARCHAR, incumbent VARCHAR)
SELECT Season AS episode__number FROM table_2623498_4 WHERE written_by = "Mark Drop"
Which episodes in season 3 were written by Mark Drop?
CREATE TABLE table_2623498_4 (Season VARCHAR, written_by VARCHAR)
SELECT COUNT(district) FROM table_1342198_6 WHERE first_elected = 1944
How many districts have an incumbent first elected in 1944?
CREATE TABLE table_1342198_6 (district VARCHAR, first_elected VARCHAR)
SELECT catalog_entry_name FROM catalog_contents WHERE LENGTH < 3 OR width > 5
Find the names of the products with length smaller than 3 or height greater than 5.
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, LENGTH VARCHAR, width VARCHAR)
SELECT usca FROM table_name_67 WHERE total < 14 AND joint_music_award = "1" AND mrhma = "2" AND rthk = "3"
What is the USCA that's Total is smaller than 14, with 1 Joint Music Award, MRHMA of 2, and RTHK of 3?
CREATE TABLE table_name_67 (usca VARCHAR, rthk VARCHAR, mrhma VARCHAR, total VARCHAR, joint_music_award VARCHAR)
SELECT founded FROM table_2076490_1 WHERE enrollment__2005_ = "963"
What year is the founding year, for the school that had an enrollment in 2005 of 963?
CREATE TABLE table_2076490_1 (founded VARCHAR, enrollment__2005_ VARCHAR)
SELECT MAX(against) FROM table_name_62 WHERE difference = "58" AND played > 22
What was the highest number of against when the difference was 58 and the total played was more than 22?
CREATE TABLE table_name_62 (against INTEGER, difference VARCHAR, played VARCHAR)
SELECT character FROM table_2160215_1 WHERE original_japanese = "Makio Inoue"
Makio Inoue dubbed on which character?
CREATE TABLE table_2160215_1 (character VARCHAR, original_japanese VARCHAR)
SELECT score FROM table_name_11 WHERE game = 6
What is the score for game 6?
CREATE TABLE table_name_11 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_81 WHERE date = "april 10"
what team scored on april 10
CREATE TABLE table_name_81 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_11 WHERE date = "april 9"
Date of april 9 had what score?
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)
SELECT position FROM table_name_57 WHERE school = "north carolina"
What is the position of a player from North Carolina?
CREATE TABLE table_name_57 (position VARCHAR, school VARCHAR)
SELECT crowd FROM table_name_4 WHERE away_team = "richmond"
How big was the crowd when the away team was Richmond?
CREATE TABLE table_name_4 (crowd VARCHAR, away_team VARCHAR)
SELECT march_27_29 FROM table_25355392_2 WHERE november_3 = "133"
what is march 27-29 when november 3 is 133?
CREATE TABLE table_25355392_2 (march_27_29 VARCHAR, november_3 VARCHAR)
SELECT games FROM table_name_94 WHERE event = "long jump"
Which games saw a record set in the long jump event?
CREATE TABLE table_name_94 (games VARCHAR, event VARCHAR)
SELECT position FROM table_name_11 WHERE college_junior_club_team__league_ = "estevan bruins (wchl)" AND round = 3
Which Position has a College/Junior/Club Team (League) of estevan bruins (wchl), and a Round of 3?
CREATE TABLE table_name_11 (position VARCHAR, college_junior_club_team__league_ VARCHAR, round VARCHAR)
SELECT numbers FROM table_name_13 WHERE completed < 1904
What are the numbers for the item completed earlier than 1904?
CREATE TABLE table_name_13 (numbers VARCHAR, completed INTEGER)
SELECT MAX(match) FROM table_name_99 WHERE venue = "h" AND date = "22 september 1888" AND attendance < 4 OFFSET 000
WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4,000?
CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR)
SELECT COUNT(points) FROM table_25647137_2 WHERE player = "Art Renner"
How many points did art renner have?
CREATE TABLE table_25647137_2 (points VARCHAR, player VARCHAR)
SELECT country FROM table_name_3 WHERE to_par = "+2" AND player = "bernhard langer"
Which country has a to par of +2 for Bernhard Langer?
CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT station_id, LOCATION, manager_name FROM gas_station ORDER BY open_year
Show gas station id, location, and manager_name for all gas stations ordered by open year.
CREATE TABLE gas_station (station_id VARCHAR, LOCATION VARCHAR, manager_name VARCHAR, open_year VARCHAR)
SELECT time FROM table_name_78 WHERE method = "ko (punch)" AND opponent = "scott smith"
How long is the ko (punch) fight against scott smith?
CREATE TABLE table_name_78 (time VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT SUM(population__region_total_) FROM table_name_1 WHERE year > 1976 AND population__mareeba_ > 18 OFFSET 212
What was the sum total of the region after 1976 when Mareeba had population was more than 18,212?
CREATE TABLE table_name_1 (population__region_total_ INTEGER, year VARCHAR, population__mareeba_ VARCHAR)
SELECT set_5 FROM table_name_93 WHERE date = "jun 29"
What is the Set 5 with a Date that is jun 29?
CREATE TABLE table_name_93 (set_5 VARCHAR, date VARCHAR)
SELECT COUNT(player) FROM table_15621965_10 WHERE school_club_team = "Arizona"
Name the number of players from arizona
CREATE TABLE table_15621965_10 (player VARCHAR, school_club_team VARCHAR)
SELECT length FROM table_name_52 WHERE country = "soviet union" AND year > 1975
Which Length has a Country of soviet union, and a Year larger than 1975?
CREATE TABLE table_name_52 (length VARCHAR, country VARCHAR, year VARCHAR)
SELECT nationality FROM table_name_14 WHERE team = "montreal impact" AND player = "justin mapp category:articles with hcards"
What's the nationality of Montreal Impact with Justin Mapp Category:articles with hcards as the player?
CREATE TABLE table_name_14 (nationality VARCHAR, team VARCHAR, player VARCHAR)
SELECT top_goalscorer FROM table_2429942_2 WHERE season = "1998-99"
Who is the top goalscorer for season 1998-99?
CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR)
SELECT week__number FROM table_21501565_1 WHERE original_artist = "Tina Turner"
With original artist of Tina Turner, what is the week number?
CREATE TABLE table_21501565_1 (week__number VARCHAR, original_artist VARCHAR)
SELECT year FROM table_name_29 WHERE report = "not held"
When was a report not held?
CREATE TABLE table_name_29 (year VARCHAR, report VARCHAR)
SELECT MAX(wickets) FROM table_name_55 WHERE maidens > 630 AND best = "7/72"
What is the largest number of wickets when there are more than 630 maidens and a best of 7/72?
CREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR)
SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = "6AKY07"
How many millions of U.S. viewers watched the episode with the production code of 6AKY07?
CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
SELECT runner_up FROM table_name_82 WHERE year = 2004
Who was the runner-up in 2004?
CREATE TABLE table_name_82 (runner_up VARCHAR, year VARCHAR)
SELECT distance__miles_ FROM table_name_68 WHERE winner = "no race" AND year > 1909
When the winner was No Race in a year after 1909, what was the distance?
CREATE TABLE table_name_68 (distance__miles_ VARCHAR, winner VARCHAR, year VARCHAR)
SELECT MIN(overall) FROM table_name_78 WHERE school_club_team = "wisconsin"
Which was the lowest overall that Wisconsin's team managed?
CREATE TABLE table_name_78 (overall INTEGER, school_club_team VARCHAR)
SELECT run_2 FROM table_name_29 WHERE run_1 = "1:30.03"
Which Run 2 has a Run 1 of 1:30.03?
CREATE TABLE table_name_29 (run_2 VARCHAR, run_1 VARCHAR)
SELECT result FROM table_name_41 WHERE tournament = "european indoor championships" AND year > 1974
What is the result of the european indoor championships after 1974?
CREATE TABLE table_name_41 (result VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT country FROM table_name_22 WHERE publication = "drowned in sound"
What country had the publication, Drowned in Sound?
CREATE TABLE table_name_22 (country VARCHAR, publication VARCHAR)
SELECT height_ft__m_ FROM table_name_90 WHERE name = "regions bank building"
What is the height in ft and m of the regions bank building?
CREATE TABLE table_name_90 (height_ft__m_ VARCHAR, name VARCHAR)
SELECT sales__x1000_ FROM table_name_49 WHERE no_of_stores = 282
How much money did the country with 282 stores make in sales?
CREATE TABLE table_name_49 (sales__x1000_ VARCHAR, no_of_stores VARCHAR)
SELECT SUM(laps) FROM table_name_88 WHERE manufacturer = "kawasaki" AND grid < 7
Can you tell me the sum of Laps that has the Manufacturer of kawasaki, and the Grid smaller than 7?
CREATE TABLE table_name_88 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
SELECT region FROM table_name_95 WHERE mountain_peak = "dillingham high point"
Name the Region with a Mountain Peak of dillingham high point?
CREATE TABLE table_name_95 (region VARCHAR, mountain_peak VARCHAR)
SELECT howard_baker FROM table_name_46 WHERE ronald_reagan = "72%"
Name the howard baker for ronald reagan of 72%
CREATE TABLE table_name_46 (howard_baker VARCHAR, ronald_reagan VARCHAR)
SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 1
What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken?
CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR)
SELECT nation FROM table_22355_20 WHERE olympics = "1924–1928" AND bronze = 1
What is the nation who won 1 bronze in the Olympics during 1924–1928?
CREATE TABLE table_22355_20 (nation VARCHAR, olympics VARCHAR, bronze VARCHAR)
SELECT pba_team FROM table_name_61 WHERE college = "nu"
Which PBA team has a College of nu?
CREATE TABLE table_name_61 (pba_team VARCHAR, college VARCHAR)
SELECT r FROM table WHERE total = 1 AND position = "FW"
What is the R when the total is 1 and the position is fw?
CREATE TABLE table (r VARCHAR, total VARCHAR, position VARCHAR)
SELECT COUNT(bronze) FROM table_name_9 WHERE gold < 1 AND rank > 15 AND total > 1
How man values for bronze occur when gold is less than 1, rank is greater than 15, and total is greater than 1?
CREATE TABLE table_name_9 (bronze VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT title FROM table_18646432_4 WHERE original_air_date = "September 29, 1999"
What is the name of the episode originally aired on September 29, 1999?
CREATE TABLE table_18646432_4 (title VARCHAR, original_air_date VARCHAR)
SELECT MIN(lost) FROM table_name_39 WHERE goals_for < 21
What was the lowest lost entry for a team with fewer than 21 goals for?
CREATE TABLE table_name_39 (lost INTEGER, goals_for INTEGER)
SELECT away_team AS score FROM table_name_43 WHERE home_team = "st kilda"
Who faced off against St Kilda at their home?
CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR)
SELECT winning_driver FROM table_25773116_2 WHERE date = "April 11"
Who won the April 11 race?
CREATE TABLE table_25773116_2 (winning_driver VARCHAR, date VARCHAR)
SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara")
display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)
SELECT COUNT(conference) AS Tournament FROM table_28365816_2 WHERE regular_season_winner = "Texas Western"
How many entries for conference tournament are listed when Texas Western is the regular season winner?
CREATE TABLE table_28365816_2 (conference VARCHAR, regular_season_winner VARCHAR)
SELECT MAX(standard_order) FROM table_name_93 WHERE transcription__based_on_pinyin_ = "she jiang"
What is the highest standard order for the Transcription based on Pinyin, She Jiang?
CREATE TABLE table_name_93 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)
SELECT payment_method_code FROM parties GROUP BY payment_method_code HAVING COUNT(*) > 3
Find the payment method code used by more than 3 parties.
CREATE TABLE parties (payment_method_code VARCHAR)
SELECT report FROM table_name_59 WHERE home_team = "townsville crocodiles"
What is the report corresponding to the game that had the Townsville Crocodiles as home team?
CREATE TABLE table_name_59 (report VARCHAR, home_team VARCHAR)
SELECT stake FROM table_name_98 WHERE occupation = "realtor for american equity realty"
What stake has realtor for American equity realty as their occupation?
CREATE TABLE table_name_98 (stake VARCHAR, occupation VARCHAR)
SELECT MAX(round) FROM table_name_69 WHERE school = "bowling green" AND pick < 210
What was the highest round for Bowling Green with a pick smaller than 210?
CREATE TABLE table_name_69 (round INTEGER, school VARCHAR, pick VARCHAR)
SELECT date FROM table_name_57 WHERE winning_constructor = "mercedes" AND circuit = "elgin"
Name the Date of mercedes, and a Circuit of elgin?
CREATE TABLE table_name_57 (date VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)
SELECT MAX(days) FROM table_name_16 WHERE launch_date = "23 january 2010"
What is Highest Days, when Launch Date is 23 January 2010?
CREATE TABLE table_name_16 (days INTEGER, launch_date VARCHAR)
SELECT record FROM table_17323042_5 WHERE team = "Orlando"
What was the team's record when they faced orlando?
CREATE TABLE table_17323042_5 (record VARCHAR, team VARCHAR)
SELECT competition FROM table_name_36 WHERE result = "3-2" AND score = "2-1"
What is the competition type of the event with a result of 3-2 and a score of 2-1?
CREATE TABLE table_name_36 (competition VARCHAR, result VARCHAR, score VARCHAR)
SELECT high_assists FROM table_name_76 WHERE high_points = "t. j. ford (29)"
What is High Assists, when High Points is "T. J. Ford (29)"?
CREATE TABLE table_name_76 (high_assists VARCHAR, high_points VARCHAR)
SELECT theme FROM table_11900773_6 WHERE design = "Isabelle Toussaint"
List all the themes designed by Isabelle Toussaint.
CREATE TABLE table_11900773_6 (theme VARCHAR, design VARCHAR)
SELECT elimination FROM table_name_2 WHERE eliminated_by = "sonjay dutt"
What Elimination number is listed againt Eliminated by Sonjay Dutt?
CREATE TABLE table_name_2 (elimination VARCHAR, eliminated_by VARCHAR)
SELECT format FROM table_name_56 WHERE notes = "french" AND call_sign = "ckrl-fm"
What is the Format of the French Frequency with a Call sign of CKRL-FM?
CREATE TABLE table_name_56 (format VARCHAR, notes VARCHAR, call_sign VARCHAR)
SELECT partial_thromboplastin_time FROM table_1226250_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Unaffected"
How long does thromboplastin last when prothrombin is unaffected?
CREATE TABLE table_1226250_1 (partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)
SELECT record FROM table_name_61 WHERE loss = "cook (14–7)"
What was the record at the game with a loss of Cook (14–7)?
CREATE TABLE table_name_61 (record VARCHAR, loss VARCHAR)
SELECT game_site FROM table_name_87 WHERE week = "14"
What was the game site for week 14?
CREATE TABLE table_name_87 (game_site VARCHAR, week VARCHAR)
SELECT date FROM table_name_96 WHERE competition = "2014 fifa world cup qualification"
When was the 2014 fifa world cup qualification?
CREATE TABLE table_name_96 (date VARCHAR, competition VARCHAR)
SELECT nickname FROM table_262495_1 WHERE undergraduate_enrollment = 9386
When 9386 is the undergraduate enrollment what is the nickname?
CREATE TABLE table_262495_1 (nickname VARCHAR, undergraduate_enrollment VARCHAR)
SELECT opponent_in_the_final FROM table_name_8 WHERE year < 1883
who is the opponent in the final when the year is before 1883?
CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, year INTEGER)
SELECT COUNT(director) FROM table_25800134_11 WHERE series__number = 431
How many directors were there for series # 431?
CREATE TABLE table_25800134_11 (director VARCHAR, series__number VARCHAR)
SELECT rank FROM table_name_87 WHERE nation = "denmark"
What is Denmark's rank?
CREATE TABLE table_name_87 (rank VARCHAR, nation VARCHAR)
SELECT MAX(first_elected) FROM table_1342270_42
What is the latest year any of the incumbents were first elected?
CREATE TABLE table_1342270_42 (first_elected INTEGER)
SELECT guest_first_name, guest_last_name FROM Guests
Return the first names and last names of all guests
CREATE TABLE Guests (guest_first_name VARCHAR, guest_last_name VARCHAR)
SELECT torque FROM table_name_38 WHERE power = "220kw (299hp) @ 4000"
Power of 220kw (299hp) @ 4000 has what torque?
CREATE TABLE table_name_38 (torque VARCHAR, power VARCHAR)
SELECT MIN(year) FROM table_name_90 WHERE game = "the legend of zelda: twilight princess"
What is the earliest year that had the Legend of Zelda: Twilight Princess game?
CREATE TABLE table_name_90 (year INTEGER, game VARCHAR)
SELECT college FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Tight end"
What college did the tight end draft pick for New England Patriots come from?
CREATE TABLE table_2508633_9 (college VARCHAR, nfl_team VARCHAR, position VARCHAR)
SELECT time FROM table_name_34 WHERE rider = "phil mcgurk"
What time has phil mcgurk as the rider?
CREATE TABLE table_name_34 (time VARCHAR, rider VARCHAR)
SELECT pick FROM table_2886617_3 WHERE player = "Marko Makinen"
Which pick has marko makinen as the player?
CREATE TABLE table_2886617_3 (pick VARCHAR, player VARCHAR)
SELECT pole_position FROM table_name_75 WHERE grand_prix = "belgian grand prix"
Name the pole position for belgian grand prix
CREATE TABLE table_name_75 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT start_date__1st_night_ FROM table_159359_2 WHERE season = "1966"
When are start dates (1st night) for the season of 1966?
CREATE TABLE table_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR)