question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What United States player holds the place of t8?` | CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_57 WHERE place = "t8" AND country = "united states" |
What Datacenter is listed against the network access connections: rras Feature? | CREATE TABLE table_name_85 (datacenter VARCHAR, features VARCHAR) | SELECT datacenter FROM table_name_85 WHERE features = "network access connections: rras" |
The episode with the original air date January 6, 1999, has what production code? | CREATE TABLE table_2618152_1 (production_code VARCHAR, original_air_date VARCHAR) | SELECT production_code FROM table_2618152_1 WHERE original_air_date = "January 6, 1999" |
What entrant had less than 3 points before 1963? | CREATE TABLE table_name_28 (entrant VARCHAR, year VARCHAR, points VARCHAR) | SELECT entrant FROM table_name_28 WHERE year < 1963 AND points < 3 |
What language is the film Karnal in? | CREATE TABLE table_name_22 (language VARCHAR, original_title VARCHAR) | SELECT language FROM table_name_22 WHERE original_title = "karnal" |
What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte? | CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR) | SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported < (SELECT MIN(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = "Lysanne" AND T4.staff_last_name = "Turcotte") |
Tell me the sum of top 5 with events less than 12 and top 25 less than 0 | CREATE TABLE table_name_98 (top_5 INTEGER, events VARCHAR, top_25 VARCHAR) | SELECT SUM(top_5) FROM table_name_98 WHERE events < 12 AND top_25 < 0 |
How many silver medals were won in 1938? | CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR) | SELECT silver FROM table_name_42 WHERE year = "1938" |
what is the average losses when the club is warrnambool and wins is less than 12? | CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR) | SELECT AVG(losses) FROM table_name_58 WHERE club = "warrnambool" AND wins < 12 |
Which Tournament has a Semi finalists of mary pierce elena dementieva? | CREATE TABLE table_name_15 (tournament VARCHAR, semi_finalists VARCHAR) | SELECT tournament FROM table_name_15 WHERE semi_finalists = "mary pierce elena dementieva" |
Which station has a frequency of 873khz? | CREATE TABLE table_name_18 (station VARCHAR, frequency VARCHAR) | SELECT station FROM table_name_18 WHERE frequency = "873khz" |
how many arabic in colobians is finnish | CREATE TABLE table_24807774_1 (arabic VARCHAR, colombian VARCHAR) | SELECT arabic FROM table_24807774_1 WHERE colombian = "Finnish" |
I want the player for NHL team for mighty ducks of anaheim | CREATE TABLE table_name_89 (player VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_name_89 WHERE nhl_team = "mighty ducks of anaheim" |
Find the titles of items that received any rating below 5. | CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) | SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5 |
What is the average number of Tries for Nathan McAvoy? | CREATE TABLE table_name_60 (tries INTEGER, player VARCHAR) | SELECT AVG(tries) FROM table_name_60 WHERE player = "nathan mcavoy" |
Which English has Plautdietsch of aupel? | CREATE TABLE table_name_64 (english VARCHAR, plautdietsch VARCHAR) | SELECT english FROM table_name_64 WHERE plautdietsch = "aupel" |
How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR? | CREATE TABLE table_name_96 (laps INTEGER, bike VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_96 WHERE bike = "honda cbr600rr" AND grid = 7 |
What is the number of party in the arkansas 1 district | CREATE TABLE table_1341930_5 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_1341930_5 WHERE district = "Arkansas 1" |
Name the high points for l 109–112 (ot) | CREATE TABLE table_23274514_5 (high_points VARCHAR, score VARCHAR) | SELECT high_points FROM table_23274514_5 WHERE score = "L 109–112 (OT)" |
Which method had a time of 0:46? | CREATE TABLE table_name_85 (method VARCHAR, time VARCHAR) | SELECT method FROM table_name_85 WHERE time = "0:46" |
What is the Series of the Filmography by Directory Friz Freleng? | CREATE TABLE table_name_93 (series VARCHAR, director VARCHAR) | SELECT series FROM table_name_93 WHERE director = "friz freleng" |
What is the date of the Paul Revere 250 race in the Daytona International Speedway circuit? | CREATE TABLE table_name_66 (date VARCHAR, circuit VARCHAR, race VARCHAR) | SELECT date FROM table_name_66 WHERE circuit = "daytona international speedway" AND race = "paul revere 250" |
What is the lowest game when the score is 102-104? | CREATE TABLE table_name_53 (game INTEGER, score VARCHAR) | SELECT MIN(game) FROM table_name_53 WHERE score = "102-104" |
What is the College of the Player from San Miguel Beermen PBA Team? | CREATE TABLE table_name_31 (college VARCHAR, pba_team VARCHAR) | SELECT college FROM table_name_31 WHERE pba_team = "san miguel beermen" |
What purses had a winners share equal to $428650? | CREATE TABLE table_1520559_1 (purse___$__ VARCHAR, winners_share__$_ VARCHAR) | SELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650 |
If you are a pilot officer in the commonwealth then what will you called as in the US air force? | CREATE TABLE table_1015521_2 (us_air_force_equivalent VARCHAR, commonwealth_equivalent VARCHAR) | SELECT us_air_force_equivalent FROM table_1015521_2 WHERE commonwealth_equivalent = "Pilot Officer" |
What day is the team 17–24–5? | CREATE TABLE table_name_59 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_59 WHERE record = "17–24–5" |
Name the director for maya vision international ltd | CREATE TABLE table_name_81 (director_s_ VARCHAR, recipient VARCHAR) | SELECT director_s_ FROM table_name_81 WHERE recipient = "maya vision international ltd" |
What is arizona state overall lowest? | CREATE TABLE table_name_58 (overall INTEGER, school_club_team VARCHAR) | SELECT MIN(overall) FROM table_name_58 WHERE school_club_team = "arizona state" |
What was the injured entry for the row with a killed entry of 29? | CREATE TABLE table_name_98 (injured VARCHAR, killed VARCHAR) | SELECT injured FROM table_name_98 WHERE killed = "29" |
What is the sum of rank when silver is 1, and gold is less than 7, and bronze is 2? | CREATE TABLE table_name_28 (rank INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT SUM(rank) FROM table_name_28 WHERE silver = 1 AND gold < 7 AND bronze = 2 |
When the under-11 was Aly Abou El Einen, who was the under-13? | CREATE TABLE table_26368963_1 (under_13 VARCHAR, under_11 VARCHAR) | SELECT under_13 FROM table_26368963_1 WHERE under_11 = "Aly Abou El Einen" |
What country has 370 supermarkets? | CREATE TABLE table_name_47 (country VARCHAR, supermarkets VARCHAR) | SELECT country FROM table_name_47 WHERE supermarkets = "370" |
What team is sponsored by hydroxycut? | CREATE TABLE table_2503102_1 (team VARCHAR, car_sponsor_s_ VARCHAR) | SELECT team FROM table_2503102_1 WHERE car_sponsor_s_ = "HydroxyCut" |
What place did Paul McGinley finish in? | CREATE TABLE table_name_46 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_46 WHERE player = "paul mcginley" |
What is the total number of Gold medals for the Nation with more than 3 Bronze? | CREATE TABLE table_name_15 (gold VARCHAR, bronze INTEGER) | SELECT COUNT(gold) FROM table_name_15 WHERE bronze > 3 |
When the opponent was Brechin City and the attendance was 656, what was the Result? | CREATE TABLE table_name_47 (result VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_47 WHERE opponent = "brechin city" AND attendance = 656 |
What driver shows grid as 18? | CREATE TABLE table_name_95 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_95 WHERE grid = 18 |
What is Runner-up, when Event is Mancora Peru Classic? | CREATE TABLE table_name_87 (runner_up VARCHAR, event VARCHAR) | SELECT runner_up FROM table_name_87 WHERE event = "mancora peru classic" |
What is the total number of rounds of the player with a pick of 20? | CREATE TABLE table_name_87 (round VARCHAR, pick VARCHAR) | SELECT COUNT(round) FROM table_name_87 WHERE pick = 20 |
Which team has driven 134 laps? | CREATE TABLE table_name_22 (team VARCHAR, laps VARCHAR) | SELECT team FROM table_name_22 WHERE laps = 134 |
What Canadian Grand Prix race winner had Didier Pironi in Pole Position? | CREATE TABLE table_name_11 (race VARCHAR, pole_position VARCHAR) | SELECT race AS Winner FROM table_name_11 WHERE pole_position = "didier pironi" AND race = "canadian grand prix" |
Name the least extra points | CREATE TABLE table_25730460_2 (extra_points INTEGER) | SELECT MIN(extra_points) FROM table_25730460_2 |
When the # is 9 what is the U.S original airdate? | CREATE TABLE table_29475589_5 (us_original_airdate VARCHAR, _number VARCHAR) | SELECT us_original_airdate FROM table_29475589_5 WHERE _number = 9 |
What is the latest episode written by John Shiban & Thomas Schnauz? | CREATE TABLE table_26736342_1 (no_in_series INTEGER, written_by VARCHAR) | SELECT MAX(no_in_series) FROM table_26736342_1 WHERE written_by = "John Shiban & Thomas Schnauz" |
what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph? | CREATE TABLE table_26986076_2 (wed_25_aug VARCHAR, mon_23_aug VARCHAR) | SELECT wed_25_aug FROM table_26986076_2 WHERE mon_23_aug = "26' 57.82 89.957mph" |
What's the latest year the miss internet www pageant had a result of second runner-up? | CREATE TABLE table_name_80 (year INTEGER, pageant VARCHAR, result VARCHAR) | SELECT MAX(year) FROM table_name_80 WHERE pageant = "miss internet www" AND result = "second runner-up" |
What Report is on June 3, 2000? | CREATE TABLE table_name_85 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_85 WHERE date = "june 3, 2000" |
Who wrote season 10 | CREATE TABLE table_17355743_1 (written_by VARCHAR, season__number VARCHAR) | SELECT written_by FROM table_17355743_1 WHERE season__number = 10 |
Name the most that attendend when the venue was td banknorth garden and the series of montreal leads 3-1 | CREATE TABLE table_name_99 (attendance INTEGER, venue VARCHAR, series VARCHAR) | SELECT MAX(attendance) FROM table_name_99 WHERE venue = "td banknorth garden" AND series = "montreal leads 3-1" |
What is the tournament with a clay surface and sofia shapatava as the opponent? | CREATE TABLE table_name_54 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_54 WHERE surface = "clay" AND opponent = "sofia shapatava" |
What is the sum of the points when Carlos drove for repsol honda in 8th place? | CREATE TABLE table_name_93 (points INTEGER, team VARCHAR, rank VARCHAR) | SELECT SUM(points) FROM table_name_93 WHERE team = "repsol honda" AND rank = "8th" |
How many people voted for Obama in the county where McCain got 72.75% of the votes? | CREATE TABLE table_20799587_1 (obama_number INTEGER, mccain_percentage VARCHAR) | SELECT MIN(obama_number) FROM table_20799587_1 WHERE mccain_percentage = "72.75%" |
What is the total number for the pick of the player Wayne Fowler and a round after 7? | CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR, round VARCHAR) | SELECT COUNT(pick) FROM table_name_91 WHERE player = "wayne fowler" AND round > 7 |
What's the average number of played games from Rayo Vallecano with less than 12 wins? | CREATE TABLE table_name_81 (played INTEGER, club VARCHAR, wins VARCHAR) | SELECT AVG(played) FROM table_name_81 WHERE club = "rayo vallecano" AND wins < 12 |
What is the Set 3 with a Set 2 with 15–6? | CREATE TABLE table_name_58 (set_3 VARCHAR, set_2 VARCHAR) | SELECT set_3 FROM table_name_58 WHERE set_2 = "15–6" |
Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit? | CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) | SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "Team Impul" AND circuit = "Twin Ring Motegi" |
What are the songs in album "A Kiss Before You Go: Live in Hamburg"? | CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR, title VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR) | SELECT T3.title FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE T1.title = "A Kiss Before You Go: Live in Hamburg" |
Which leagues entered in rounds where there were 16 winners from the previous round? | CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, winners_from_previous_round VARCHAR) | SELECT leagues_entering_at_this_round FROM table_23449363_1 WHERE winners_from_previous_round = "16" |
What was the aggregate score for the match won by Viadana? | CREATE TABLE table_28068063_2 (aggregate_score VARCHAR, winners VARCHAR) | SELECT aggregate_score FROM table_28068063_2 WHERE winners = "Viadana" |
Which Visitor has a Home of calgary, and a Date of april 17? | CREATE TABLE table_name_72 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_72 WHERE home = "calgary" AND date = "april 17" |
What is the highest score for Black Milk? | CREATE TABLE table_name_29 (average_score INTEGER, artist VARCHAR) | SELECT MAX(average_score) FROM table_name_29 WHERE artist = "black milk" |
What was the lowest ranking rower from Great Britain? | CREATE TABLE table_name_86 (rank INTEGER, country VARCHAR) | SELECT MIN(rank) FROM table_name_86 WHERE country = "great britain" |
Which institution has an endowment of $25.9m? | CREATE TABLE table_27599216_6 (institution VARCHAR, endowment VARCHAR) | SELECT institution FROM table_27599216_6 WHERE endowment = "$25.9M" |
What type of move was Elding from ENG? | CREATE TABLE table_name_28 (type VARCHAR, country VARCHAR, name VARCHAR) | SELECT type FROM table_name_28 WHERE country = "eng" AND name = "elding" |
Name the highest chapter with chinese of 釋言 | CREATE TABLE table_name_24 (chapter INTEGER, chinese VARCHAR) | SELECT MAX(chapter) FROM table_name_24 WHERE chinese = "釋言" |
What is the total number of Dates during which the Catalog nebbc003 was given? | CREATE TABLE table_name_71 (date INTEGER, catalog VARCHAR) | SELECT SUM(date) FROM table_name_71 WHERE catalog = "nebbc003" |
How many poles did David Price Racing win? | CREATE TABLE table_17289224_1 (poles INTEGER, team_name VARCHAR) | SELECT MAX(poles) FROM table_17289224_1 WHERE team_name = "David Price Racing" |
what is the s.r. number when lb&sc number is 34? | CREATE TABLE table_name_91 (sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR) | SELECT sr_number FROM table_name_91 WHERE lb & sc_number = 34 |
what's the builder where withdrawn is 1954–1958 | CREATE TABLE table_1181375_1 (builder VARCHAR, withdrawn VARCHAR) | SELECT builder FROM table_1181375_1 WHERE withdrawn = "1954–1958" |
Which Artist has a Record label of vertigo? | CREATE TABLE table_name_86 (artist VARCHAR, record_label VARCHAR) | SELECT artist FROM table_name_86 WHERE record_label = "vertigo" |
Who were the Opponents when Liga Dekmeijere had Alicja Rosolska as a Partner? | CREATE TABLE table_name_59 (opponents VARCHAR, partner VARCHAR) | SELECT opponents FROM table_name_59 WHERE partner = "alicja rosolska" |
What is the Date of the castle with a Historic Scotland Ownership? | CREATE TABLE table_name_38 (date VARCHAR, ownership VARCHAR) | SELECT date FROM table_name_38 WHERE ownership = "historic scotland" |
How many items in inventory does store 1 have? | CREATE TABLE inventory (store_id VARCHAR) | SELECT COUNT(*) FROM inventory WHERE store_id = 1 |
Which Transfer window has a Name of tofas? | CREATE TABLE table_name_27 (transfer_window VARCHAR, name VARCHAR) | SELECT transfer_window FROM table_name_27 WHERE name = "tofas" |
What is the location of the game with attendance of 63,336? | CREATE TABLE table_name_93 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_93 WHERE attendance = "63,336" |
When did the Mavericks have a record of 32-19? | CREATE TABLE table_23284271_8 (date VARCHAR, record VARCHAR) | SELECT date FROM table_23284271_8 WHERE record = "32-19" |
Name the surface for philadelphia | CREATE TABLE table_23235767_4 (surface VARCHAR, championship VARCHAR) | SELECT surface FROM table_23235767_4 WHERE championship = "Philadelphia" |
What channel has an operator of ivptc? | CREATE TABLE table_name_1 (programming VARCHAR, operator VARCHAR) | SELECT programming FROM table_name_1 WHERE operator = "ivptc" |
What is Fred Couples to par? | CREATE TABLE table_name_24 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_24 WHERE player = "fred couples" |
What are the population densities of all communes with an are of 28.3 sq.km.? | CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR) | SELECT pop_density__km_2__ FROM table_1828368_1 WHERE area__km_2__ = "28.3" |
Whas is the released date of the memory type ddr2-667? | CREATE TABLE table_name_42 (released VARCHAR, memory_type VARCHAR) | SELECT released FROM table_name_42 WHERE memory_type = "ddr2-667" |
What is the largest total for a team with fewer than 12 bronze, 1 silver and 0 gold medals? | CREATE TABLE table_name_99 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT MAX(total) FROM table_name_99 WHERE bronze < 12 AND gold = 0 AND silver = 1 |
What's bob tway's score? | CREATE TABLE table_name_51 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_51 WHERE player = "bob tway" |
Name the series number for m. scott veach & rebecca kirsch | CREATE TABLE table_20704243_5 (series__number VARCHAR, written_by VARCHAR) | SELECT series__number FROM table_20704243_5 WHERE written_by = "M. Scott Veach & Rebecca Kirsch" |
What RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak of 21? | CREATE TABLE table_name_1 (riaa_sales_certification VARCHAR, billboard_200_peak VARCHAR) | SELECT riaa_sales_certification FROM table_name_1 WHERE billboard_200_peak = 21 |
Find the total number of matches. | CREATE TABLE matches (Id VARCHAR) | SELECT COUNT(*) FROM matches |
What is the power of the Baguio station? | CREATE TABLE table_17822401_1 (power__kw_ VARCHAR, location VARCHAR) | SELECT power__kw_ FROM table_17822401_1 WHERE location = "Baguio" |
Can you tell me the Class (old) to 1868 that has the Quantity larger than 8? | CREATE TABLE table_name_47 (class__old__to_1868 VARCHAR, quantity INTEGER) | SELECT class__old__to_1868 FROM table_name_47 WHERE quantity > 8 |
What is the last name of the staff who has handled the first ever complaint? | CREATE TABLE staff (last_name VARCHAR, staff_id VARCHAR); CREATE TABLE complaints (staff_id VARCHAR, date_complaint_raised VARCHAR) | SELECT t1.last_name FROM staff AS t1 JOIN complaints AS t2 ON t1.staff_id = t2.staff_id ORDER BY t2.date_complaint_raised LIMIT 1 |
What is the 3 most common cloud cover rates in the region of zip code 94107? | CREATE TABLE weather (cloud_cover VARCHAR, zip_code VARCHAR) | SELECT cloud_cover FROM weather WHERE zip_code = 94107 GROUP BY cloud_cover ORDER BY COUNT(*) DESC LIMIT 3 |
Which event had the time 45.74? | CREATE TABLE table_name_42 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_42 WHERE time = "45.74" |
How many were the US viewers (in millions) of the episode that was written by Gordon C. Lonsdale? | CREATE TABLE table_26826304_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) | SELECT us_viewers__millions_ FROM table_26826304_1 WHERE directed_by = "Gordon C. Lonsdale" |
What is the score of the game that holds a record of 80-61? | CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_69 WHERE record = "80-61" |
What is the segment A for the episode with Children's Ride-on Cars for segment D? | CREATE TABLE table_name_10 (segment_a VARCHAR, segment_d VARCHAR) | SELECT segment_a FROM table_name_10 WHERE segment_d = "children's ride-on cars" |
What is Date, when Tie no is "37"? | CREATE TABLE table_name_97 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_97 WHERE tie_no = "37" |
Name the year when the publisher was argonaut games sierra entertainment | CREATE TABLE table_name_50 (year VARCHAR, publisher VARCHAR) | SELECT year FROM table_name_50 WHERE publisher = "argonaut games sierra entertainment" |
When aaron brooks (6) had the highest amount of assists what is the date? | CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR) | SELECT date FROM table_17288825_6 WHERE high_assists = "Aaron Brooks (6)" |
What were the results after 2004? | CREATE TABLE table_name_33 (result VARCHAR, year INTEGER) | SELECT result FROM table_name_33 WHERE year > 2004 |
How many innings for the player with an average of 30.03? | CREATE TABLE table_27922491_8 (innings INTEGER, average VARCHAR) | SELECT MIN(innings) FROM table_27922491_8 WHERE average = "30.03" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.