answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT event FROM table_26335424_86 WHERE round_of_32 = "Sawatvilay Phimmasone ( LAO ) W PTS 9-7" | If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event? | CREATE TABLE table_26335424_86 (event VARCHAR, round_of_32 VARCHAR) |
SELECT npl_net FROM table_name_30 WHERE bank = "citibank" | Which NPL net's bank was citibank? | CREATE TABLE table_name_30 (npl_net VARCHAR, bank VARCHAR) |
SELECT race AS Winner FROM table_1140074_2 WHERE location = "Jacarepaguá" | what's the race winner with location being jacarepaguá | CREATE TABLE table_1140074_2 (race VARCHAR, location VARCHAR) |
SELECT MAX(round) FROM table_name_51 WHERE name = "david kimball" AND overall < 229 | Name of David Kimball, and an Overall smaller than 229 is what highest round? | CREATE TABLE table_name_51 (round INTEGER, name VARCHAR, overall VARCHAR) |
SELECT player FROM table_name_12 WHERE to_par = "+1" AND score = 73 - 71 - 73 = 217 | What Player's had a To par of +1 and a Score of 73-71-73=217? | CREATE TABLE table_name_12 (player VARCHAR, to_par VARCHAR, score VARCHAR) |
SELECT Name FROM journalist ORDER BY Years_working | List the names of journalists in ascending order of years working. | CREATE TABLE journalist (Name VARCHAR, Years_working VARCHAR) |
SELECT team FROM table_name_41 WHERE race_2 = "5" | What is Team, when Race 2 is "5"? | CREATE TABLE table_name_41 (team VARCHAR, race_2 VARCHAR) |
SELECT rank FROM table_name_57 WHERE highest_floor > 50 | What is the Rank of the building that has a Highest floor larger than 50? | CREATE TABLE table_name_57 (rank VARCHAR, highest_floor INTEGER) |
SELECT AVG(points) FROM table_name_40 WHERE record = "12–2–4–1" AND november > 22 | Which Points have a Record of 12–2–4–1, and a November larger than 22? | CREATE TABLE table_name_40 (points INTEGER, record VARCHAR, november VARCHAR) |
SELECT away_team AS score FROM table_name_8 WHERE venue = "windy hill" | What is the away team score at the Windy Hill venue? | CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR) |
SELECT directed_by FROM table_234886_3 WHERE no_in_series = 44 | Who directed episode no. 44 in the series? | CREATE TABLE table_234886_3 (directed_by VARCHAR, no_in_series VARCHAR) |
SELECT COUNT(result) FROM table_21311525_1 WHERE date = "19/06/2009" | How many results were there on 19/06/2009? | CREATE TABLE table_21311525_1 (result VARCHAR, date VARCHAR) |
SELECT alt_name FROM table_191323_2 WHERE notes = "Mission failed. Guidance system failed. No orbit." | What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit. | CREATE TABLE table_191323_2 (alt_name VARCHAR, notes VARCHAR) |
SELECT MAX(purse__) AS $__ FROM table_11622392_1 | What is the sum of the largest purse? | CREATE TABLE table_11622392_1 (purse__ INTEGER) |
SELECT marks FROM table_name_89 WHERE season = "2005" | How many marks did he get in 2005? | CREATE TABLE table_name_89 (marks VARCHAR, season VARCHAR) |
SELECT winning_driver FROM table_name_96 WHERE winning_constructor = "o.m." | Which driver won when o.m. was the winning constructor ? | CREATE TABLE table_name_96 (winning_driver VARCHAR, winning_constructor VARCHAR) |
SELECT date FROM table_name_35 WHERE home_team = "west ham united" | On what Date is West Ham United the Home team? | CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) |
SELECT date_of_appointment FROM table_name_94 WHERE replaced_by = "markus babbel" | What is the date of appointment of the manager who was replaced by markus babbel? | CREATE TABLE table_name_94 (date_of_appointment VARCHAR, replaced_by VARCHAR) |
SELECT model_name FROM chip_model ORDER BY launch_year | List all the model names sorted by their launch year. | CREATE TABLE chip_model (model_name VARCHAR, launch_year VARCHAR) |
SELECT away_team FROM table_name_83 WHERE home_team = "norwich city" | Who was the away team when the home team was Norwich City? | CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR) |
SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 16 | if the matches are 16 what is the wc matches | CREATE TABLE table_30085411_1 (WC INTEGER, matches VARCHAR) |
SELECT opponent FROM table_name_93 WHERE loss = "dotson (8-6)" | Which team opponent had a loss with their pitcher Dotson (8-6)? | CREATE TABLE table_name_93 (opponent VARCHAR, loss VARCHAR) |
SELECT gender FROM table_name_17 WHERE years = "1–8" AND authority = "state" AND roll < 184 AND name = "matatoki school" | Which gender has Years of 1–8, an Authority of state, a Roll less than 184, and a Name of matatoki school? | CREATE TABLE table_name_17 (gender VARCHAR, name VARCHAR, roll VARCHAR, years VARCHAR, authority VARCHAR) |
SELECT away_team AS score FROM table_name_51 WHERE home_team = "south melbourne" | What was the away team's score when South Melbourne was the home team? | CREATE TABLE table_name_51 (away_team VARCHAR, home_team VARCHAR) |
SELECT District_name, City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000 | Find the name and population of district with population between 200000 and 2000000 | CREATE TABLE district (District_name VARCHAR, City_Population INTEGER) |
SELECT type_of_record FROM table_21436373_8 WHERE result_games = "Montreal 20 @ Ottawa 10" | What record was set when the result/game was montreal 20 @ ottawa 10? | CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR) |
SELECT set_3 FROM table_name_70 WHERE set_2 = "21–25" AND set_1 = "25–21" | What is the Set 3 when the Set 2 is 21–25, and a Set 1 is 25–21? | CREATE TABLE table_name_70 (set_3 VARCHAR, set_2 VARCHAR, set_1 VARCHAR) |
SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401 | What province in Tumbes has less than 11 districts and a UBIGEO of 2401? | CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR) |
SELECT category FROM table_name_26 WHERE result = "nominated" AND award = "british comedy awards" | Name the category for nominated at the british comedy awards | CREATE TABLE table_name_26 (category VARCHAR, result VARCHAR, award VARCHAR) |
SELECT position FROM table_name_46 WHERE pick < 63 AND college = "oklahoma" | Which position was picked before 63, for Oklahoma College? | CREATE TABLE table_name_46 (position VARCHAR, pick VARCHAR, college VARCHAR) |
SELECT COUNT(goal_difference) FROM table_name_9 WHERE goals_for < 49 AND position < 8 | What is the total of the goal difference entries for entries with fewer than 49 goals and position smaller than 8? | CREATE TABLE table_name_9 (goal_difference VARCHAR, goals_for VARCHAR, position VARCHAR) |
SELECT SUM(gold) FROM table_name_48 WHERE bronze < 7 AND total = 1 AND nation = "cape verde" AND silver < 0 | What is the total Gold with a Bronze smaller than 7, a Total of 1, a Nation of cape verde, and a Silver smaller than 0? | CREATE TABLE table_name_48 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) |
SELECT womens_doubles FROM table_14496232_2 WHERE tour = "Malaysia Super Series" | Name the womens doubles when tour is malaysia super series | CREATE TABLE table_14496232_2 (womens_doubles VARCHAR, tour VARCHAR) |
SELECT points_for FROM table_13399573_4 WHERE losing_bonus = "1" | In the 2008/2009 season one team had 1 losing bonus, How many points did that team score that year? | CREATE TABLE table_13399573_4 (points_for VARCHAR, losing_bonus VARCHAR) |
SELECT SUM(gnis_feature_id) FROM table_name_64 WHERE county = "idaho" | What is the total GNIS Feature ID with a County of idaho? | CREATE TABLE table_name_64 (gnis_feature_id INTEGER, county VARCHAR) |
SELECT COUNT(*), constructorid FROM constructorStandings GROUP BY constructorid | What are the numbers of races for each constructor id? | CREATE TABLE constructorStandings (constructorid VARCHAR) |
SELECT results FROM table_13657749_2 WHERE gto_winning_team = "Peter Gregg Hurley Haywood" | What is Peter Gregg Hurley Haywood's results? | CREATE TABLE table_13657749_2 (results VARCHAR, gto_winning_team VARCHAR) |
SELECT institutional_authority FROM table_name_67 WHERE rocket_launch = "rehnuma-10" | Which Institutional authority has a Rocket launch of rehnuma-10? | CREATE TABLE table_name_67 (institutional_authority VARCHAR, rocket_launch VARCHAR) |
SELECT name FROM table_name_52 WHERE winning_team = "penske racing" | What is Penske Racing's name? | CREATE TABLE table_name_52 (name VARCHAR, winning_team VARCHAR) |
SELECT no FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Juan Manuel Fangio" | Name the number for automóvil club argentino for juan manuel fangio | CREATE TABLE table_21977704_1 (no VARCHAR, entrant VARCHAR, driver VARCHAR) |
SELECT AVG(league_goals) FROM table_name_18 WHERE total_apps = "2 (1)" | What are the average league goals that have 2 (1) as the total apps? | CREATE TABLE table_name_18 (league_goals INTEGER, total_apps VARCHAR) |
SELECT airport FROM table_name_39 WHERE icao = "wmkp" | What is the airport with ICAO code of WMKP? | CREATE TABLE table_name_39 (airport VARCHAR, icao VARCHAR) |
SELECT name FROM table_name_73 WHERE position = "w" AND jersey__number = 11 | What is the Name, when the Position is W, and when the Jersey # is 11? | CREATE TABLE table_name_73 (name VARCHAR, position VARCHAR, jersey__number VARCHAR) |
SELECT AVG(laps) FROM table_name_39 WHERE bike = "suzuki gsx-r1000 k7" AND grid = 6 | What is the average lap for suzuki gsx-r1000 k7 and at grid 6? | CREATE TABLE table_name_39 (laps INTEGER, bike VARCHAR, grid VARCHAR) |
SELECT COUNT(*) FROM submission | How many submissions are there? | CREATE TABLE submission (Id VARCHAR) |
SELECT operator FROM table_name_89 WHERE region = "yorkshire" | What was the operator of the ensemble from Yorkshire? | CREATE TABLE table_name_89 (operator VARCHAR, region VARCHAR) |
SELECT episode_title FROM table_12146637_1 WHERE writer_s_ = "Sheila Lawrence & Henry Alonso Myers" | What is the name of the episode written by Sheila Lawrence & Henry Alonso Myers? | CREATE TABLE table_12146637_1 (episode_title VARCHAR, writer_s_ VARCHAR) |
SELECT fleet_number_s_ FROM table_name_94 WHERE wheel_arrangement = "4-6-0" AND year_made = "1890" | What is the fleet number with a 4-6-0 wheel arrangement made in 1890? | CREATE TABLE table_name_94 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) |
SELECT SUM(Rating_in_percent), OWNER FROM channel GROUP BY OWNER | Find the total rating ratio for each channel owner. | CREATE TABLE channel (OWNER VARCHAR, Rating_in_percent INTEGER) |
SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings" | What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings? | CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR) |
SELECT SUM(gold) FROM table_name_41 WHERE bronze < 1 | How many golds for nations with under 1 bronze? | CREATE TABLE table_name_41 (gold INTEGER, bronze INTEGER) |
SELECT original_artist FROM table_21501565_1 WHERE theme = "N/A" | Who is the original artist with a theme of N/A? | CREATE TABLE table_21501565_1 (original_artist VARCHAR, theme VARCHAR) |
SELECT COUNT(rank) FROM table_name_29 WHERE nationality = "ukraine" AND react < 0.26 | What is the rank of the player from Ukraine with react less than 0.26? | CREATE TABLE table_name_29 (rank VARCHAR, nationality VARCHAR, react VARCHAR) |
SELECT english FROM table_name_92 WHERE latin = "uxor" | What is the English word for the Latin word uxor? | CREATE TABLE table_name_92 (english VARCHAR, latin VARCHAR) |
SELECT home_team FROM table_name_61 WHERE venue = "corio oval" | Which home team has a Venue of corio oval? | CREATE TABLE table_name_61 (home_team VARCHAR, venue VARCHAR) |
SELECT COUNT(original_air_date) FROM table_19266557_1 WHERE _number = 7 | For episode number 7, what was the numbers of original air dates? | CREATE TABLE table_19266557_1 (original_air_date VARCHAR, _number VARCHAR) |
SELECT record FROM table_name_42 WHERE h_a_n = "n" | What is Record, when H/A/N is n? | CREATE TABLE table_name_42 (record VARCHAR, h_a_n VARCHAR) |
SELECT format FROM table_name_3 WHERE label = "alfa records" AND catalog = "alca-9016" | What is the Format when Alfa records is the label, and there is a Catalog of alca-9016? | CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, catalog VARCHAR) |
SELECT AVG(total) FROM table_name_34 WHERE country = "zimbabwe" AND to_par > 5 | What is Zimbabwe's total with a to par higher than 5? | CREATE TABLE table_name_34 (total INTEGER, country VARCHAR, to_par VARCHAR) |
SELECT SUM(wins) FROM table_name_46 WHERE against = 1261 | What are the total wins when there are 1261 against? | CREATE TABLE table_name_46 (wins INTEGER, against VARCHAR) |
SELECT position FROM table_name_1 WHERE player = "drew callander" | What position does Drew Callander play? | CREATE TABLE table_name_1 (position VARCHAR, player VARCHAR) |
SELECT 2 AS nd_leg FROM table_name_65 WHERE team_2 = "marbella" | What is the 2nd Leg, when Team 2 is Marbella? | CREATE TABLE table_name_65 (team_2 VARCHAR) |
SELECT MAX(year_joined) FROM table_name_35 WHERE previous_conference = "mid-indiana" AND location = "converse" | What is the most current year with a previous conference of Mid-Indiana in Converse? | CREATE TABLE table_name_35 (year_joined INTEGER, previous_conference VARCHAR, location VARCHAR) |
SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = "1 stroke" AND tournament = "world seniors invitational" | Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational? | CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) |
SELECT MAX(pick__number) FROM table_2508633_2 WHERE position = "Guard" AND nfl_team = "Kansas City Chiefs" | Name the most pick number for guard and kansas city chiefs | CREATE TABLE table_2508633_2 (pick__number INTEGER, position VARCHAR, nfl_team VARCHAR) |
SELECT score FROM table_name_25 WHERE visitor = "new jersey" AND date = "february 27" | What is the score of the game on February 27 with New Jersey as the visitor team? | CREATE TABLE table_name_25 (score VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT round FROM table_name_40 WHERE name = "jonathan massaquoi" | Which round's name is Jonathan Massaquoi? | CREATE TABLE table_name_40 (round VARCHAR, name VARCHAR) |
SELECT COUNT(result) FROM table_17782308_1 WHERE week = 13 | How many results are listed for week 13? | CREATE TABLE table_17782308_1 (result VARCHAR, week VARCHAR) |
SELECT event FROM table_name_66 WHERE location = "saitama, japan" | what is the event when the location is saitama, japan? | CREATE TABLE table_name_66 (event VARCHAR, location VARCHAR) |
SELECT record FROM table_name_58 WHERE high_points = "hoffman (16)" | Which Record has a High points of hoffman (16)? | CREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR) |
SELECT championships_in_st_louis FROM table_21564794_3 WHERE began_in_st_louis = 1950 | How may championships were won by the team that started in 1950? | CREATE TABLE table_21564794_3 (championships_in_st_louis VARCHAR, began_in_st_louis VARCHAR) |
SELECT name FROM Person WHERE gender = 'male' ORDER BY age | Find the name and age of all males in order of their age. | CREATE TABLE Person (name VARCHAR, gender VARCHAR, age VARCHAR) |
SELECT userpics_free FROM table_name_89 WHERE monthly_cost_for_paid_account = "unknown" AND s_registered_user = "2340" | What is Userpics Free, when Monthly Cost For Paid Account is "unknown", and when S Registered User is 2340? | CREATE TABLE table_name_89 (userpics_free VARCHAR, monthly_cost_for_paid_account VARCHAR, s_registered_user VARCHAR) |
SELECT date_from, date_to FROM Project_Staff WHERE role_code = 'researcher' | When do all the researcher role staff start to work, and when do they stop working? | CREATE TABLE Project_Staff (date_from VARCHAR, date_to VARCHAR, role_code VARCHAR) |
SELECT AVG(gold) FROM table_name_3 WHERE total = 11 AND silver > 2 | What is the average number of Gold when the total is 11 with more than 2 silver? | CREATE TABLE table_name_3 (gold INTEGER, total VARCHAR, silver VARCHAR) |
SELECT sleeves FROM table_name_72 WHERE back = "unknown" | Which Sleeves have a Back of Unknown? | CREATE TABLE table_name_72 (sleeves VARCHAR, back VARCHAR) |
SELECT MAX(year) FROM table_27685921_1 WHERE exhibitors__total_ = 1701 | what is the most time where exhibitions is 1701 | CREATE TABLE table_27685921_1 (year INTEGER, exhibitors__total_ VARCHAR) |
SELECT COUNT(first_elected) FROM table_1341577_43 WHERE district = "Tennessee 6" | In the district called Tennessee 6, how many in total of first elected are there? | CREATE TABLE table_1341577_43 (first_elected VARCHAR, district VARCHAR) |
SELECT copies_per_particle FROM table_name_88 WHERE location = "nonstructural" AND rna_segment__gene_ > 5 AND size___s_base_pair__ < 751 | What is the number of copies per particle having a nonstructural location, an RNA segment over 5 and a base pair size under 751? | CREATE TABLE table_name_88 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR, location VARCHAR, rna_segment__gene_ 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 MIN(wind__m_s_) FROM table_name_16 WHERE nation = "united states" AND athlete = "brenda morehead" | what is the wind speed when brenda morehead was in the united states? | CREATE TABLE table_name_16 (wind__m_s_ INTEGER, nation VARCHAR, athlete VARCHAR) |
SELECT MAX(position) FROM table_20854943_2 WHERE loa__metres_ = "20.12" | What position is the boat with 20.12 LOA (metres)? | CREATE TABLE table_20854943_2 (position INTEGER, loa__metres_ VARCHAR) |
SELECT laid_down FROM table_name_37 WHERE pennant = "r29" | What is the laid down date of the destroyer with a r29 pennant? | CREATE TABLE table_name_37 (laid_down VARCHAR, pennant VARCHAR) |
SELECT country FROM table_name_67 WHERE season > 2006 AND team = "fc atyrau" | Which country does FC Atyrau represent after the 2006 season? | CREATE TABLE table_name_67 (country VARCHAR, season VARCHAR, team VARCHAR) |
SELECT original_air_date FROM table_15781170_3 WHERE poll_winner = "Scientology" | What are the original air dates when scientology isthe poll winner? | CREATE TABLE table_15781170_3 (original_air_date VARCHAR, poll_winner VARCHAR) |
SELECT score FROM table_name_1 WHERE game = 38 | What is the score for game 38? | CREATE TABLE table_name_1 (score VARCHAR, game VARCHAR) |
SELECT venue FROM table_name_84 WHERE gross_revenue__2011_ = "$1,325,153" | What venue had gross revenues of $1,325,153 in 2011? | CREATE TABLE table_name_84 (venue VARCHAR, gross_revenue__2011_ VARCHAR) |
SELECT year FROM table_name_87 WHERE ceremony = "32nd" AND name = "william a. horning" AND film = "north by northwest" | In what Year was the 32nd Ceremony with winner William A. Horning in the Film North by Northwest? | CREATE TABLE table_name_87 (year VARCHAR, film VARCHAR, ceremony VARCHAR, name VARCHAR) |
SELECT inscription FROM table_name_26 WHERE identification = "john vanbrugh" | What is the inscription with John Vanbrugh listed as the identification? | CREATE TABLE table_name_26 (inscription VARCHAR, identification VARCHAR) |
SELECT MAX(no_in_series) FROM table_17901155_3 WHERE directed_by = "Kelly Sandefur" | what is the series # for the episode directed by Kelly Sandefur? | CREATE TABLE table_17901155_3 (no_in_series INTEGER, directed_by VARCHAR) |
SELECT rotterterode FROM table_name_31 WHERE reimboldsh = "80" | What Rotterterrode has a Reimboldsh 80? | CREATE TABLE table_name_31 (rotterterode VARCHAR, reimboldsh VARCHAR) |
SELECT date FROM table_name_22 WHERE result = "w 35-7" | Name the date with resultof w 35-7 | CREATE TABLE table_name_22 (date VARCHAR, result VARCHAR) |
SELECT city FROM table_name_67 WHERE short_name = "pontisola" | What city has the nickname of pontisola? | CREATE TABLE table_name_67 (city VARCHAR, short_name VARCHAR) |
SELECT kerry_number FROM table_1733457_1 WHERE others_number = 44 | Name the kerry # for others# is 44 | CREATE TABLE table_1733457_1 (kerry_number VARCHAR, others_number VARCHAR) |
SELECT predecessor FROM table_27730_9 WHERE ekavian = "vreme" | What's the predecessor of the Ekavian word vreme? | CREATE TABLE table_27730_9 (predecessor VARCHAR, ekavian VARCHAR) |
SELECT MIN(rides) FROM table_name_92 WHERE bonus_pts < 3 AND matches < 7 | How many rides did it take to get less than 3 bonus pts in no more than 7 matches? | CREATE TABLE table_name_92 (rides INTEGER, bonus_pts VARCHAR, matches VARCHAR) |
SELECT team FROM table_name_11 WHERE city = "chungju" | What is the team name for Chungju? | CREATE TABLE table_name_11 (team VARCHAR, city VARCHAR) |
SELECT niederbayern FROM table_23224961_1 WHERE oberbayern_b = "ESV Ingolstadt" | When esv ingolstadt is the oberbayern b what is the niederbayern? | CREATE TABLE table_23224961_1 (niederbayern VARCHAR, oberbayern_b VARCHAR) |
SELECT MAX(area_code), MIN(area_code) FROM area_code_state | What are the maximum and minimum values of area codes? | CREATE TABLE area_code_state (area_code INTEGER) |
SELECT location FROM table_name_44 WHERE date = "1931-02-02" | Which Location has a Date of 1931-02-02? | CREATE TABLE table_name_44 (location VARCHAR, date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.