question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Which season had a margin of 10? | CREATE TABLE table_name_48 (season VARCHAR, margin VARCHAR) | SELECT season FROM table_name_48 WHERE margin = 10 |
Name the heat rank for senegal | CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR) | SELECT heat_rank FROM table_name_22 WHERE country = "senegal" |
Which opponent has a record of 3-0? | CREATE TABLE table_name_83 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_83 WHERE record = "3-0" |
What week was the game that had an attendance of 24,242? | CREATE TABLE table_name_34 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_34 WHERE attendance = "24,242" |
Name the gender for elsthorpe school | CREATE TABLE table_name_63 (gender VARCHAR, name VARCHAR) | SELECT gender FROM table_name_63 WHERE name = "elsthorpe school" |
How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005? | CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2005 VARCHAR) | SELECT COUNT(_percentage_of_all_immigrants_2007) FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2005 = "1.2%" |
What is the Call sign of the Omni television network with a Digitial PSIP of 14.1? | CREATE TABLE table_name_52 (call_sign VARCHAR, network VARCHAR, digital_psip VARCHAR) | SELECT call_sign FROM table_name_52 WHERE network = "omni television" AND digital_psip = 14.1 |
How many different contents are offered by the Qualsiasi Tranne Sky HD package? | CREATE TABLE table_15887683_3 (content VARCHAR, package_option VARCHAR) | SELECT COUNT(content) FROM table_15887683_3 WHERE package_option = "qualsiasi tranne Sky HD" |
Which College/Junior/Club Team (league) does Matthew Bartkowski play for? | CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_31 WHERE player = "matthew bartkowski" |
Return the cities with more than 3 airports in the United States. | CREATE TABLE airports (city VARCHAR, country VARCHAR) | SELECT city FROM airports WHERE country = 'United States' GROUP BY city HAVING COUNT(*) > 3 |
How many security forces? | CREATE TABLE table_21636599_1 (security_forces INTEGER) | SELECT MAX(security_forces) FROM table_21636599_1 |
WHich Home is on 14 december 2002? | CREATE TABLE table_name_18 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_18 WHERE date = "14 december 2002" |
What was the sum of the E scores when the total score was 19.466? | CREATE TABLE table_name_7 (e_score INTEGER, total VARCHAR) | SELECT SUM(e_score) FROM table_name_7 WHERE total = 19.466 |
What frame of time is listed under years during the 72nd congress? | CREATE TABLE table_2841865_2 (years VARCHAR, congress VARCHAR) | SELECT years FROM table_2841865_2 WHERE congress = "72nd" |
What is the lowest week that has November 30, 2003 as the date? | CREATE TABLE table_name_19 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_19 WHERE date = "november 30, 2003" |
What was the score at Tiger Stadium on October 12? | CREATE TABLE table_name_14 (score VARCHAR, location VARCHAR, date VARCHAR) | SELECT score FROM table_name_14 WHERE location = "tiger stadium" AND date = "october 12" |
What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18? | CREATE TABLE table_name_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR) | SELECT badge_serial_number FROM table_name_58 WHERE rank = "policeman" AND cause_of_death = "gunfire" AND date_of_death = "1919-02-18" |
What is Played, when Points Against is "374"? | CREATE TABLE table_name_62 (played VARCHAR, points_against VARCHAR) | SELECT played FROM table_name_62 WHERE points_against = "374" |
List the all the assets make, model, details by the disposed date ascendingly. | CREATE TABLE Assets (asset_make VARCHAR, asset_model VARCHAR, asset_details VARCHAR, asset_disposed_date VARCHAR) | SELECT asset_make, asset_model, asset_details FROM Assets ORDER BY asset_disposed_date |
I want the average year of 敗犬女王 | CREATE TABLE table_name_14 (year INTEGER, chinese_title VARCHAR) | SELECT AVG(year) FROM table_name_14 WHERE chinese_title = "敗犬女王" |
Who is the player with a t6 place and a 72-68-72=212 score? | CREATE TABLE table_name_7 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_7 WHERE place = "t6" AND score = 72 - 68 - 72 = 212 |
What was the original nfl team that the player was in from the midwestern conference? | CREATE TABLE table_name_86 (original_nfl_team VARCHAR, conf VARCHAR) | SELECT original_nfl_team FROM table_name_86 WHERE conf = "midwestern" |
In what season was there a club of South Melbourne? | CREATE TABLE table_name_75 (season VARCHAR, club VARCHAR) | SELECT season FROM table_name_75 WHERE club = "south melbourne" |
Who has a hometown of los angeles, ca? | CREATE TABLE table_name_52 (player VARCHAR, hometown VARCHAR) | SELECT player FROM table_name_52 WHERE hometown = "los angeles, ca" |
What record has a decision of parent, Philadelphia as the home, with december 12 as the date? | CREATE TABLE table_name_81 (record VARCHAR, date VARCHAR, decision VARCHAR, home VARCHAR) | SELECT record FROM table_name_81 WHERE decision = "parent" AND home = "philadelphia" AND date = "december 12" |
What season number corresponds to series number 102? | CREATE TABLE table_15717093_1 (season__number INTEGER, series__number VARCHAR) | SELECT MAX(season__number) FROM table_15717093_1 WHERE series__number = 102 |
What is Country, when To par is "+1", and when Score is "72-71-70-72=285"? | CREATE TABLE table_name_98 (country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT country FROM table_name_98 WHERE to_par = "+1" AND score = 72 - 71 - 70 - 72 = 285 |
When the away team was Bolton Wanderers, what was the score? | CREATE TABLE table_name_83 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_83 WHERE away_team = "bolton wanderers" |
Tell me the method for stanislav nuschik | CREATE TABLE table_name_60 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_60 WHERE opponent = "stanislav nuschik" |
What was the amount of 000s when Germany had 16.6? | CREATE TABLE table_name_35 (total__000s_ VARCHAR, germany VARCHAR) | SELECT total__000s_ FROM table_name_35 WHERE germany = 16.6 |
What is every school with stunts of 48? | CREATE TABLE table_21995420_6 (school VARCHAR, stunts VARCHAR) | SELECT school FROM table_21995420_6 WHERE stunts = "48" |
How many games did janae stokes play? | CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR) | SELECT MAX(games_played) FROM table_23346303_4 WHERE player = "Janae Stokes" |
How many FLT appearances for the player with less than 5 total goals, and 3 FA Cup appearances, 4 league goals, and plays MF? | CREATE TABLE table_name_62 (flt_apps VARCHAR, league_goals VARCHAR, position VARCHAR, total_goals VARCHAR, fa_cup_apps VARCHAR) | SELECT flt_apps FROM table_name_62 WHERE total_goals < 5 AND fa_cup_apps = "3" AND position = "mf" AND league_goals = 4 |
What is the total year with a Position of 12th? | CREATE TABLE table_name_89 (year INTEGER, position VARCHAR) | SELECT SUM(year) FROM table_name_89 WHERE position = "12th" |
What's the smallest fall 05 number when fall 09 is less than 14 and fall 08 is more than 5? | CREATE TABLE table_name_22 (fall_05 INTEGER, fall_09 VARCHAR, fall_08 VARCHAR) | SELECT MIN(fall_05) FROM table_name_22 WHERE fall_09 < 14 AND fall_08 > 5 |
What is every prefix class for the equivalent of NTE101? | CREATE TABLE table_30011_2 (prefix_class VARCHAR, equivalent VARCHAR) | SELECT prefix_class FROM table_30011_2 WHERE equivalent = "NTE101" |
What finish has a total of more than 289 and won in 1979? | CREATE TABLE table_name_54 (finish VARCHAR, total VARCHAR, year_s__won VARCHAR) | SELECT finish FROM table_name_54 WHERE total > 289 AND year_s__won = "1979" |
What is Ben Hogan's Place? | CREATE TABLE table_name_25 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_25 WHERE player = "ben hogan" |
WHAT IS THE ROUND WITH PICK OF 7? | CREATE TABLE table_name_9 (round INTEGER, pick VARCHAR) | SELECT SUM(round) FROM table_name_9 WHERE pick = 7 |
Which Date has a Score of 6–1 7–6 (8–6)? | CREATE TABLE table_name_11 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_11 WHERE score = "6–1 7–6 (8–6)" |
What is the name of the body builder with the greatest body weight? | CREATE TABLE body_builder (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR) | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 |
yes or no for the melbourne with yes for gold coast, yes for adelaide, no for auckland? | CREATE TABLE table_name_92 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | SELECT melbourne FROM table_name_92 WHERE gold_coast = "yes" AND adelaide = "no" AND auckland = "no" |
What is the lowest Grid with fewer than 65 Laps and with Driver Tim Schenken? | CREATE TABLE table_name_32 (grid INTEGER, laps VARCHAR, driver VARCHAR) | SELECT MIN(grid) FROM table_name_32 WHERE laps < 65 AND driver = "tim schenken" |
Name the date for lebron james , mo williams (21) | CREATE TABLE table_22654073_6 (date VARCHAR, high_points VARCHAR) | SELECT date FROM table_22654073_6 WHERE high_points = "LeBron James , Mo Williams (21)" |
What is the last 10 meetings that have 11/26/1988 as the lasr meeting? | CREATE TABLE table_name_32 (last_10_meetings VARCHAR, last_meeting VARCHAR) | SELECT last_10_meetings FROM table_name_32 WHERE last_meeting = "11/26/1988" |
What is the score vs. all when the score vs. Terran is 159? | CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR) | SELECT vs_all FROM table_name_72 WHERE vs_terran = "159" |
What country hosts the tournament the open championship? | CREATE TABLE table_1506950_4 (country VARCHAR, tournament VARCHAR) | SELECT country FROM table_1506950_4 WHERE tournament = "The Open Championship" |
What district is incumbent jack hightower from? | CREATE TABLE table_1341598_44 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341598_44 WHERE incumbent = "Jack Hightower" |
What is the termination of mission date of the representative appointed by Franklin Pierce with a title of chargé d'affaires? | CREATE TABLE table_name_37 (termination_of_mission VARCHAR, appointed_by VARCHAR, title VARCHAR) | SELECT termination_of_mission FROM table_name_37 WHERE appointed_by = "franklin pierce" AND title = "chargé d'affaires" |
What is the 2007 value for the 2010 wta premier 5 tournaments? | CREATE TABLE table_name_12 (Id VARCHAR) | SELECT 2007 FROM table_name_12 WHERE 2010 = "wta premier 5 tournaments" |
How many series numbers do the episodes originally aired on October 28, 1990? | CREATE TABLE table_2226817_6 (no_in_series VARCHAR, original_air_date VARCHAR) | SELECT COUNT(no_in_series) FROM table_2226817_6 WHERE original_air_date = "October 28, 1990" |
What title has a producer of MAQ and Anna as a role? | CREATE TABLE table_name_18 (title VARCHAR, producer VARCHAR, role VARCHAR) | SELECT title FROM table_name_18 WHERE producer = "maq" AND role = "anna" |
What 1978 has a 1976 of 62%? | CREATE TABLE table_name_99 (Id VARCHAR) | SELECT 1978 FROM table_name_99 WHERE 1976 = "62%" |
Name the 1811 for 1801 of 1801 | CREATE TABLE table_name_47 (Id VARCHAR) | SELECT 1811 FROM table_name_47 WHERE "1801" = "1801" |
What was the session at the circuit of autodrom most? | CREATE TABLE table_name_95 (session VARCHAR, circuit VARCHAR) | SELECT session FROM table_name_95 WHERE circuit = "autodrom most" |
What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have? | CREATE TABLE table_name_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR) | SELECT MAX(draws) FROM table_name_56 WHERE wins < 20 AND points < 41 AND goals_for < 27 |
Name the sport for puerto rico and year of 2000 | CREATE TABLE table_name_44 (sport VARCHAR, country VARCHAR, year VARCHAR) | SELECT sport FROM table_name_44 WHERE country = "puerto rico" AND year = 2000 |
What is High Points, when Game is "3"? | CREATE TABLE table_name_81 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_name_81 WHERE game = 3 |
What year was the version with a remixes album? | CREATE TABLE table_name_76 (year VARCHAR, album VARCHAR) | SELECT year FROM table_name_76 WHERE album = "remixes" |
Which Little League World Series took place in Parsippany? | CREATE TABLE table_name_70 (llws VARCHAR, city VARCHAR) | SELECT llws FROM table_name_70 WHERE city = "parsippany" |
Tell me the lowest wins for class of 50cc and team of tomos for year less than 1969 | CREATE TABLE table_name_9 (wins INTEGER, year VARCHAR, class VARCHAR, team VARCHAR) | SELECT MIN(wins) FROM table_name_9 WHERE class = "50cc" AND team = "tomos" AND year < 1969 |
What did winner Gary Player par? | CREATE TABLE table_name_89 (to_par VARCHAR, winner VARCHAR) | SELECT to_par FROM table_name_89 WHERE winner = "gary player" |
Who is the team captain for the team with sparkasse (düsseldorf) as the shirt sponsor? | CREATE TABLE table_name_41 (team VARCHAR, shirt_sponsor VARCHAR) | SELECT team AS captain FROM table_name_41 WHERE shirt_sponsor = "sparkasse (düsseldorf)" |
what's the incumbent with district being north carolina 6 | CREATE TABLE table_1341930_33 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341930_33 WHERE district = "North Carolina 6" |
Show different teams of technicians and the number of technicians in each team. | CREATE TABLE technician (Team VARCHAR) | SELECT Team, COUNT(*) FROM technician GROUP BY Team |
What is the 2008 population in 함흥 (Ham Hyung)? | CREATE TABLE table_name_55 (population__2008_ INTEGER, korean VARCHAR) | SELECT SUM(population__2008_) FROM table_name_55 WHERE korean = "함흥" |
What was the description when the viewers selected Nan? | CREATE TABLE table_15162503_1 (description VARCHAR, viewers_selection VARCHAR) | SELECT description FROM table_15162503_1 WHERE viewers_selection = "Nan" |
Show party names and the number of events for each party. | CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE party_events (party_id VARCHAR) | SELECT T2.party_name, COUNT(*) FROM party_events AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id |
What is the team sites entry that has a public entry of No and a developer entry of Yes? | CREATE TABLE table_name_53 (team_sites VARCHAR, public VARCHAR, developer VARCHAR) | SELECT team_sites FROM table_name_53 WHERE public = "no" AND developer = "yes" |
What players played the position of left tackle? | CREATE TABLE table_14342592_5 (player VARCHAR, position VARCHAR) | SELECT player FROM table_14342592_5 WHERE position = "Left tackle" |
Which Date has a Game of 4? | CREATE TABLE table_name_33 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_33 WHERE game = 4 |
What is Democrat: Carl Levin, when Lead Margin is 22? | CREATE TABLE table_name_88 (democrat VARCHAR, lead_margin VARCHAR) | SELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 22 |
Name the most wins | CREATE TABLE table_24587026_1 (wins INTEGER) | SELECT MIN(wins) FROM table_24587026_1 |
What is the latest year when Phil Anderson won? | CREATE TABLE table_name_28 (year INTEGER, winner VARCHAR) | SELECT MAX(year) FROM table_name_28 WHERE winner = "phil anderson" |
What year was incumbent phil crane first elected? | CREATE TABLE table_1341640_14 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341640_14 WHERE incumbent = "Phil Crane" |
What is 2009, when 2000 is 1R, and when 1998 is 3R? | CREATE TABLE table_name_1 (Id VARCHAR) | SELECT 2009 FROM table_name_1 WHERE 2000 = "1r" AND 1998 = "3r" |
What is the tournament that had a result of A in 1954 and NH in 1942? | CREATE TABLE table_name_30 (tournament VARCHAR) | SELECT tournament FROM table_name_30 WHERE 1954 = "a" AND 1942 = "nh" |
What city of license has A as a class, and cbec-fm as the identifier? | CREATE TABLE table_name_86 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT city_of_license FROM table_name_86 WHERE class = "a" AND identifier = "cbec-fm" |
Which November has a Game smaller than 16, and Points larger than 22? | CREATE TABLE table_name_89 (november INTEGER, game VARCHAR, points VARCHAR) | SELECT SUM(november) FROM table_name_89 WHERE game < 16 AND points > 22 |
What is the fewest number of silvers have 0 golds? | CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER) | SELECT MIN(silver) FROM table_name_42 WHERE gold < 0 |
What is the average pjehun measured by female enrollment? | CREATE TABLE table_name_10 (pujehun INTEGER, measure VARCHAR) | SELECT AVG(pujehun) FROM table_name_10 WHERE measure = "female enrollment" |
In which tournament was Ian Baker-Finch the runner-up? | CREATE TABLE table_name_27 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_27 WHERE runner_s__up = "ian baker-finch" |
What's the IS-2 when the KV-1S is 114? | CREATE TABLE table_name_91 (is_2_m1945 VARCHAR, kv_1s_m1942 VARCHAR) | SELECT is_2_m1945 FROM table_name_91 WHERE kv_1s_m1942 = "114" |
How many totals does gene littler have? | CREATE TABLE table_name_41 (total VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_41 WHERE player = "gene littler" |
What is the total number of ends when the transfer fee was dkk 14m? | CREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR) | SELECT COUNT(ends) FROM table_name_80 WHERE transfer_fee = "dkk 14m" |
Name the won for try bonus of 10 | CREATE TABLE table_13741576_4 (won VARCHAR, try_bonus VARCHAR) | SELECT won FROM table_13741576_4 WHERE try_bonus = "10" |
who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0% | CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR) | SELECT incumbent FROM table_13833770_3 WHERE opponent = "Peter King (R) 56.0% David Mejias (D) 44.0%" |
How many seasons are there for the 3rd position? | CREATE TABLE table_29471472_1 (season VARCHAR, position VARCHAR) | SELECT COUNT(season) FROM table_29471472_1 WHERE position = "3rd" |
What is the total number of grids where there were races that had a time of 34:22.335? | CREATE TABLE table_name_60 (grid VARCHAR, time_retired VARCHAR) | SELECT COUNT(grid) FROM table_name_60 WHERE time_retired = "34:22.335" |
What is the latest year for the Tyrrell 018 Chassis that has less than 3 points? | CREATE TABLE table_name_43 (year INTEGER, chassis VARCHAR, points VARCHAR) | SELECT MAX(year) FROM table_name_43 WHERE chassis = "tyrrell 018" AND points < 3 |
What is the pole position of the grand prix with 1 round? | CREATE TABLE table_name_93 (pole_position VARCHAR, round VARCHAR) | SELECT pole_position FROM table_name_93 WHERE round = 1 |
Which constellation has cosmic call 1 as the message, and an arrival date of october 2067? | CREATE TABLE table_name_27 (constellation VARCHAR, message VARCHAR, arrival_date VARCHAR) | SELECT constellation FROM table_name_27 WHERE message = "cosmic call 1" AND arrival_date = "october 2067" |
Show the average amount of transactions with type code "SALE". | CREATE TABLE TRANSACTIONS (amount_of_transaction INTEGER, transaction_type_code VARCHAR) | SELECT AVG(amount_of_transaction) FROM TRANSACTIONS WHERE transaction_type_code = "SALE" |
What is the union moving name and is from cmr? | CREATE TABLE table_name_92 (name VARCHAR, moving_to VARCHAR, country VARCHAR) | SELECT name FROM table_name_92 WHERE moving_to = "union" AND country = "cmr" |
Which Power has a Name of 9 ad? | CREATE TABLE table_name_25 (power VARCHAR, name VARCHAR) | SELECT power FROM table_name_25 WHERE name = "9 ad" |
How many points did the opponents score at the game in Knoxville? | CREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR) | SELECT MIN(opp_points) FROM table_22903773_2 WHERE location = "Knoxville" |
what lane was new zealand in? | CREATE TABLE table_name_86 (lane VARCHAR, nationality VARCHAR) | SELECT lane FROM table_name_86 WHERE nationality = "new zealand" |
When was the build date for c-c wheel arrangement and freight service? | CREATE TABLE table_name_36 (build_date VARCHAR, service VARCHAR, wheel_arrangement VARCHAR) | SELECT build_date FROM table_name_36 WHERE service = "freight" AND wheel_arrangement = "c-c" |
Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team? | CREATE TABLE table_29361707_2 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) | SELECT winning_driver FROM table_29361707_2 WHERE pole_position = "Roberval Andrade" AND fastest_lap = "Felipe Giaffone" AND winning_team = "RVR Corinthians Motorsport" |
Which highschool has senior (rs) for the year? | CREATE TABLE table_22496344_1 (high_school VARCHAR, year VARCHAR) | SELECT high_school FROM table_22496344_1 WHERE year = "Senior (RS)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.