answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT engine FROM table_20866024_4 WHERE model_type = "CF350" | Name the Engine for model CF350. | CREATE TABLE table_20866024_4 (engine VARCHAR, model_type VARCHAR) |
SELECT Crime_rate FROM county_public_safety ORDER BY Police_officers | Show the crime rates of counties in ascending order of number of police officers. | CREATE TABLE county_public_safety (Crime_rate VARCHAR, Police_officers VARCHAR) |
SELECT AVG(population) FROM table_name_59 WHERE area_km_2 > 3.09 AND status = "town" | What is the population of the town with an area larger than 3.09? | CREATE TABLE table_name_59 (population INTEGER, area_km_2 VARCHAR, status VARCHAR) |
SELECT date FROM table_name_16 WHERE type = "courtyard castle" | What is the Date of the Courtyard Castle? | CREATE TABLE table_name_16 (date VARCHAR, type VARCHAR) |
SELECT COUNT(touchdowns) FROM table_20938922_2 WHERE yards = 145 | The player who had 145 yards had how many touchdowns? | CREATE TABLE table_20938922_2 (touchdowns VARCHAR, yards VARCHAR) |
SELECT date FROM table_name_28 WHERE home_team = "dallas cowboys 34" | On what date was the home team the Dallas Cowboys 34? | CREATE TABLE table_name_28 (date VARCHAR, home_team VARCHAR) |
SELECT round FROM table_name_91 WHERE opponent = "brandon bledsoe" | In the fight against Brandon Bledsoe, how many rounds did the fight last? | CREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR) |
SELECT first_operational FROM table_13636_1 WHERE programming = "Not programmable—single purpose" | what's the first operational with programming being not programmable—single purpose | CREATE TABLE table_13636_1 (first_operational VARCHAR, programming VARCHAR) |
SELECT venue FROM table_name_29 WHERE loser = "leicester city" | For which venue did Leicester City lose? | CREATE TABLE table_name_29 (venue VARCHAR, loser VARCHAR) |
SELECT home_team AS score FROM table_name_99 WHERE away_team = "essendon" | When the Away team is essendon, what's the Home team score? | CREATE TABLE table_name_99 (home_team VARCHAR, away_team VARCHAR) |
SELECT player FROM table_name_84 WHERE long > 8 AND yards = "73" | Who has greater than 8 Long and a 73 Yards? | CREATE TABLE table_name_84 (player VARCHAR, long VARCHAR, yards VARCHAR) |
SELECT democratic_alternative FROM table_name_31 WHERE polling_institute = "malta today" | What is the value of the Democratic Alternative for the poll released by Malta Today? | CREATE TABLE table_name_31 (democratic_alternative VARCHAR, polling_institute VARCHAR) |
SELECT venue FROM table_name_27 WHERE away_team = "footscray" | Where did Footscray play as the away team? | CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR) |
SELECT tournament FROM table_name_8 WHERE opponent_in_the_final = "silke meier" | In which tournament was Silke Meier the opponent in the final? | CREATE TABLE table_name_8 (tournament VARCHAR, opponent_in_the_final VARCHAR) |
SELECT location_attendance FROM table_name_68 WHERE date = "december 12" | What was the location and attendance for the game on December 12? | CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR) |
SELECT title FROM table_23117208_3 WHERE viewers__millions_ = "5.60" | what is the name of the episode when the number of spectators was 5.60 millions? | CREATE TABLE table_23117208_3 (title VARCHAR, viewers__millions_ VARCHAR) |
SELECT time_retired FROM table_name_6 WHERE driver = "nigel mansell" | What is nigel mansell's time/retired? | CREATE TABLE table_name_6 (time_retired VARCHAR, driver VARCHAR) |
SELECT 1988 FROM table_name_88 WHERE 1987 = "1r" | What is the 1988 value when the 1987 value was 1r? | CREATE TABLE table_name_88 (Id VARCHAR) |
SELECT transmission FROM table_11167610_1 WHERE turbo = "Yes (Mitsubishi TD04-16t )" | what's the transmission where turbo is yes (mitsubishi td04-16t ) | CREATE TABLE table_11167610_1 (transmission VARCHAR, turbo VARCHAR) |
SELECT MAX(total) FROM table_name_55 WHERE gold = 1 AND bronze > 1 | What is the high total for nations with 1 gold and over 1 bronze? | CREATE TABLE table_name_55 (total INTEGER, gold VARCHAR, bronze VARCHAR) |
SELECT actor_required FROM table_name_24 WHERE flatspin = "edna stricken" | Who is the actor required when Edna Stricken is the FlatSpin actor? | CREATE TABLE table_name_24 (actor_required VARCHAR, flatspin VARCHAR) |
SELECT market_value__billion_$_ FROM table_1682026_7 WHERE assets__billion_$_ = "1,380.88" | What is the market value in billions when the assets totaled 1,380.88? | CREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) |
SELECT player FROM table_name_88 WHERE team = "east perth" | Tell me the player for east perth | CREATE TABLE table_name_88 (player VARCHAR, team VARCHAR) |
SELECT location FROM table_1140082_2 WHERE race = "German Grand Prix" | Where is the German Grand Prix? | CREATE TABLE table_1140082_2 (location VARCHAR, race VARCHAR) |
SELECT cfl_team FROM table_20170644_1 WHERE position = "OL" | What team was in position OL? | CREATE TABLE table_20170644_1 (cfl_team VARCHAR, position VARCHAR) |
SELECT COUNT(founded) FROM table_26218124_1 WHERE city = "Belo Horizonte" | How many clubs were founded in belo horizonte? | CREATE TABLE table_26218124_1 (founded VARCHAR, city VARCHAR) |
SELECT money___£__ FROM table_name_49 WHERE to_par = "-6" | Name the money for the to par of -6 | CREATE TABLE table_name_49 (money___£__ VARCHAR, to_par VARCHAR) |
SELECT score FROM table_name_56 WHERE tie_no = "1" | What was the score for the game with a tie no of 1? | CREATE TABLE table_name_56 (score VARCHAR, tie_no VARCHAR) |
SELECT pick__number FROM table_2508633_5 WHERE player = "Bruce Baldwin" | What was bruce baldwin's pick #? | CREATE TABLE table_2508633_5 (pick__number VARCHAR, player VARCHAR) |
SELECT COUNT(played) FROM table_name_84 WHERE _percentage_win = "50.00%" AND losses = 1 AND wins < 1 | How many Played has a % Win of 50.00%, and Losses of 1, and Wins smaller than 1? | CREATE TABLE table_name_84 (played VARCHAR, wins VARCHAR, _percentage_win VARCHAR, losses VARCHAR) |
SELECT points FROM table_23338693_1 WHERE series = "British Formula Renault 2.0 Winter Cup" AND f_laps = 0 | How many points have a series of british formula renault 2.0 winter cup and f/laps of 0? | CREATE TABLE table_23338693_1 (points VARCHAR, series VARCHAR, f_laps VARCHAR) |
SELECT avg_speed FROM table_23018775_3 WHERE lap_four = "22.9049" | What was the average speed where lap four's time was 22.9049? | CREATE TABLE table_23018775_3 (avg_speed VARCHAR, lap_four VARCHAR) |
SELECT away_team FROM table_name_95 WHERE home_team = "carlton" | Who was the opponent of carlton at their home game? | CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) |
SELECT reporters FROM table_22583466_5 WHERE year = 1977 | Who were the reporters for the 1977 Belmont Stakes? | CREATE TABLE table_22583466_5 (reporters VARCHAR, year VARCHAR) |
SELECT title FROM table_name_18 WHERE format = "mono lp" AND label = "pye" | What is the Title of the Pye Label mono LP release? | CREATE TABLE table_name_18 (title VARCHAR, format VARCHAR, label VARCHAR) |
SELECT res FROM table_name_65 WHERE method = "submission (guillotine choke)" AND opponent = "tom bolger" | What was the resolution for the fight against tom bolger by submission (guillotine choke)? | CREATE TABLE table_name_65 (res VARCHAR, method VARCHAR, opponent VARCHAR) |
SELECT venue FROM table_name_35 WHERE result = "3-0" | Which venue ended in a 3-0 result? | CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR) |
SELECT circuit FROM table_name_16 WHERE class = "both" AND date = "june 1" | What circuit was on June 1 with a class of both? | CREATE TABLE table_name_16 (circuit VARCHAR, class VARCHAR, date VARCHAR) |
SELECT record FROM table_name_20 WHERE date = "6 april 2008" | What was the record on 6 April 2008? | CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR) |
SELECT years_in_orlando FROM table_name_41 WHERE position = "center" AND school_club_team = "louisiana state" | Which Years in Orlando has a Position of center, and a School/Club Team of louisiana state? | CREATE TABLE table_name_41 (years_in_orlando VARCHAR, position VARCHAR, school_club_team VARCHAR) |
SELECT COUNT(1961) FROM table_name_15 WHERE number_1971 = 3325 AND 1991 > 3177 | What is the 1961 total of the Macedonian population with a 1971 number of 3325 and a 1991 value greater than 3177? | CREATE TABLE table_name_15 (number_1971 VARCHAR) |
SELECT COUNT(DISTINCT state) FROM college WHERE enr > (SELECT AVG(enr) FROM college) | What is the number of states that has some college whose enrollment is larger than the average enrollment? | CREATE TABLE college (state VARCHAR, enr INTEGER) |
SELECT latin FROM table_name_33 WHERE english = "bone" | What is the Latin word for the English word bone? | CREATE TABLE table_name_33 (latin VARCHAR, english VARCHAR) |
SELECT year FROM table_name_9 WHERE driver = "e. meyer" | What year was E. Meyer the driver? | CREATE TABLE table_name_9 (year VARCHAR, driver VARCHAR) |
SELECT customer_phone FROM available_policies WHERE policy_type_code = "Life Insurance" | What are the customer phone numbers under the policy "Life Insurance"? | CREATE TABLE available_policies (customer_phone VARCHAR, policy_type_code VARCHAR) |
SELECT AVG(lost) FROM table_name_31 WHERE goals_for = 43 AND position > 15 | How many lost when goals for is 43 and the position number is higher than 15? | CREATE TABLE table_name_31 (lost INTEGER, goals_for VARCHAR, position VARCHAR) |
SELECT COUNT(founded) FROM table_name_29 WHERE main_campus_location = "liberal" | What is the total Founded with a Main Campus Location of liberal? | CREATE TABLE table_name_29 (founded VARCHAR, main_campus_location VARCHAR) |
SELECT record FROM table_name_33 WHERE date > 27 AND opponent = "st. louis blues" | What was the record for the date above 27 and an opponent of the St. Louis Blues? | CREATE TABLE table_name_33 (record VARCHAR, date VARCHAR, opponent VARCHAR) |
SELECT series__number FROM table_27833469_1 WHERE season__number = "10" | What is the series number for the episode number 10 of the season? | CREATE TABLE table_27833469_1 (series__number VARCHAR, season__number VARCHAR) |
SELECT 3 AS rd_liga_3rd FROM table_name_36 WHERE game_1 = "0-1" AND date = "2008-09" | What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09? | CREATE TABLE table_name_36 (game_1 VARCHAR, date VARCHAR) |
SELECT MAX(extra_points) FROM table_name_47 WHERE touchdowns < 2 AND points < 1 | What is the highest number of extra points for players with less than 2 touchdowns and less than 1 point? | CREATE TABLE table_name_47 (extra_points INTEGER, touchdowns VARCHAR, points VARCHAR) |
SELECT COUNT(transfer_fee___) AS €_million_ FROM table_name_13 WHERE player = "afonso alves" AND year > 2008 | How many transfer fees did Afonso Alves have after 2008? | CREATE TABLE table_name_13 (transfer_fee___ VARCHAR, player VARCHAR, year VARCHAR) |
SELECT MAX(crowd) FROM table_name_36 WHERE away_team = "st kilda" | What was the largest amount of spectators when St Kilda was the away team? | CREATE TABLE table_name_36 (crowd INTEGER, away_team VARCHAR) |
SELECT most_laps_led FROM table_2454550_1 WHERE track = "Chicagoland Speedway" | Who had most laps led at Chicagoland speedway? | CREATE TABLE table_2454550_1 (most_laps_led VARCHAR, track VARCHAR) |
SELECT T2.name FROM film AS T1 JOIN LANGUAGE AS T2 ON T1.language_id = T2.language_id WHERE T1.title = 'AIRPORT POLLOCK' | Which language does the film AIRPORT POLLOCK use? List the language name. | CREATE TABLE film (language_id VARCHAR, title VARCHAR); CREATE TABLE LANGUAGE (name VARCHAR, language_id VARCHAR) |
SELECT date FROM table_name_8 WHERE ground = "subiaco" | What day was the ground subiaco? | CREATE TABLE table_name_8 (date VARCHAR, ground VARCHAR) |
SELECT population FROM table_26519486_1 WHERE languages = "11" | Name the population for 11 languages | CREATE TABLE table_26519486_1 (population VARCHAR, languages VARCHAR) |
SELECT COUNT(total) FROM table_name_16 WHERE silver > 2 | How many totals had a silver larger than 2? | CREATE TABLE table_name_16 (total VARCHAR, silver INTEGER) |
SELECT MIN(starting_from) FROM table_1852650_1 WHERE name_of_the_prabandham = "Thiruvezhukkurrirukkai" | Name the starting from thiruvezhukkurrirukkai | CREATE TABLE table_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR) |
SELECT tournament FROM table_name_70 WHERE surface = "clay" AND date = "july 17, 2005" | What tournament took place on July 17, 2005, with a clay surface? | CREATE TABLE table_name_70 (tournament VARCHAR, surface VARCHAR, date VARCHAR) |
SELECT AVG(interview) FROM table_name_65 WHERE preliminaries > 8.27 AND evening_gown = 8.85 AND average < 8.842 | What's the average interview with Preliminaries larger than 8.27, an Evening Gown of 8.85, and an Average smaller than 8.842? | CREATE TABLE table_name_65 (interview INTEGER, average VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR) |
SELECT flight FROM table_name_26 WHERE aircraft = "vickers viscount type 794" | Which flight had an aircraft of vickers viscount type 794? | CREATE TABLE table_name_26 (flight VARCHAR, aircraft VARCHAR) |
SELECT player FROM table_name_60 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215 | What is the Player that has a To standard of –1, and a Score of 71-68-76=215? | CREATE TABLE table_name_60 (player VARCHAR, to_par VARCHAR, score VARCHAR) |
SELECT COUNT(rr3_pts) FROM table_21471897_2 WHERE won = 11 | Name the total number of rr2 pts for won being 11 | CREATE TABLE table_21471897_2 (rr3_pts VARCHAR, won VARCHAR) |
SELECT date FROM table_name_22 WHERE country = "united states" AND venue = "mandalay bay resort" | When is Country of united states, and a Venue of mandalay bay resort in? | CREATE TABLE table_name_22 (date VARCHAR, country VARCHAR, venue VARCHAR) |
SELECT COUNT(total) FROM table_name_53 WHERE average < 8 AND matches < 4 | How many totals are there for players with an average under 8 and less than 4 matches? | CREATE TABLE table_name_53 (total VARCHAR, average VARCHAR, matches VARCHAR) |
SELECT AVG(against) FROM table_name_46 WHERE geelong_fl = "leopold" AND wins > 11 | What's the average against of Leopold with more than 11 wins? | CREATE TABLE table_name_46 (against INTEGER, geelong_fl VARCHAR, wins VARCHAR) |
SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 30, 2009" | How many episodes were originally aired Saturday, May 30, 2009? | CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR) |
SELECT event FROM table_name_39 WHERE round > 2 AND method = "ko (kick)" | What is the event of the match with a round larger than 2 and ended with a method of ko (kick)? | CREATE TABLE table_name_39 (event VARCHAR, round VARCHAR, method VARCHAR) |
SELECT origin_of_programming FROM table_name_12 WHERE genre = "general" AND network = "ntv bangla" AND service = "cogeco cable" | Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable? | CREATE TABLE table_name_12 (origin_of_programming VARCHAR, service VARCHAR, genre VARCHAR, network VARCHAR) |
SELECT Name, Arrival FROM train | What are the names and arrival times of trains? | CREATE TABLE train (Name VARCHAR, Arrival VARCHAR) |
SELECT season FROM table_name_46 WHERE nationality = "united states" AND position = "center" | What season did a United States center play in? | CREATE TABLE table_name_46 (season VARCHAR, nationality VARCHAR, position VARCHAR) |
SELECT 2 AS nd_leg FROM table_name_68 WHERE agg = "4-9" | What is the 2nd leg of the 4-9 agg.? | CREATE TABLE table_name_68 (agg VARCHAR) |
SELECT director FROM table_17155250_1 WHERE original_title = "16 Days in Afghanistan" | Who was the director of the film with an original title of "16 Days in Afghanistan"? | CREATE TABLE table_17155250_1 (director VARCHAR, original_title VARCHAR) |
SELECT SUM(agricultural_panel) FROM table_name_46 WHERE industrial_and_commercial_panel < 0 | What is the sum of Agricultural panels that have an Industrial and Commercial Panel smaller than 0? | CREATE TABLE table_name_46 (agricultural_panel INTEGER, industrial_and_commercial_panel INTEGER) |
SELECT category FROM table_name_80 WHERE year = 2011 | What was the category that sheridan smith was nominated for in 2011? | CREATE TABLE table_name_80 (category VARCHAR, year VARCHAR) |
SELECT T2.monthly_rental FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id WHERE T1.state_province_county = "Texas" | What are the monthly rentals of student addresses in Texas state? | CREATE TABLE Addresses (address_id VARCHAR, state_province_county VARCHAR); CREATE TABLE Student_Addresses (monthly_rental VARCHAR, address_id VARCHAR) |
SELECT MAX(electricity_production__kw_h), _billion_ FROM table_name_19 WHERE _percentage_other_renewable = 0.4 AND _percentage_coal = 0 AND _percentage_hydropower > 99 | what is the highest electricity production (kw/h, billion) when the % other renewable is 0.4, % coal is 0 and % hydropower is more than 99? | CREATE TABLE table_name_19 (_billion_ VARCHAR, electricity_production__kw_h INTEGER, _percentage_hydropower VARCHAR, _percentage_other_renewable VARCHAR, _percentage_coal VARCHAR) |
SELECT COUNT(edges_e) FROM table_name_32 WHERE vertices_v > 20 | What is the total number of E edges of the polyhedra with vertices V greater than 20? | CREATE TABLE table_name_32 (edges_e VARCHAR, vertices_v INTEGER) |
SELECT date FROM table_name_64 WHERE record = "4-3" | What was the date of the game that led to a 4-3 record? | CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR) |
SELECT location FROM table_name_13 WHERE year = 2012 | What is the location for 2012? | CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR) |
SELECT opponent FROM table_name_10 WHERE streak = "lost 1" AND date = "april 30" | Which Opponent has a Streak of lost 1, and a Date of april 30? | CREATE TABLE table_name_10 (opponent VARCHAR, streak VARCHAR, date VARCHAR) |
SELECT AVG(year) FROM table_name_44 WHERE entrant = "lola motorsport" AND points > 0 | What year featured lola motorsport as an entrant with over 0 points? | CREATE TABLE table_name_44 (year INTEGER, entrant VARCHAR, points VARCHAR) |
SELECT fate FROM table_name_26 WHERE ship = "bremen" | What is the fate for the Bremen ship? | CREATE TABLE table_name_26 (fate VARCHAR, ship VARCHAR) |
SELECT team_s_ FROM table_2190919_1 WHERE position = "92nd" | What racing team/s had the 92nd position? | CREATE TABLE table_2190919_1 (team_s_ VARCHAR, position VARCHAR) |
SELECT MAX(rank) FROM table_1912276_2 WHERE __750m = "45.505" | If -750 is 45.505, what is the maximum rank? | CREATE TABLE table_1912276_2 (rank INTEGER, __750m VARCHAR) |
SELECT record FROM table_name_72 WHERE arena = "arrowhead pond of anaheim" AND opponent = "sharks" | What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? | CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR) |
SELECT department FROM table_name_25 WHERE qualification = "m.phil (physics)" | What department has an m.phil (physics) qualification? | CREATE TABLE table_name_25 (department VARCHAR, qualification VARCHAR) |
SELECT MIN(no_in_series) FROM table_28027307_1 WHERE us_viewers__millions_ = "10.96" | What number episode in the series was watched by 10.96 million U.S. viewers? | CREATE TABLE table_28027307_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) |
SELECT Song FROM volume WHERE Weeks_on_Top > 1 | What are the songs in volumes with more than 1 week on top? | CREATE TABLE volume (Song VARCHAR, Weeks_on_Top INTEGER) |
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (would not stand up from butt scoot)" | What round was it when the method was TKO (would not stand up from Butt Scoot)? | CREATE TABLE table_name_89 (round INTEGER, method VARCHAR) |
SELECT second_member FROM table_name_3 WHERE first_member = "sir rowland hill, bt" AND second_party = "conservative" | Who is the second member with first member Sir Rowland Hill, BT, and a conservative second party? | CREATE TABLE table_name_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR) |
SELECT name FROM table_name_32 WHERE mark = "8.19" AND lane = 3 | What name has 8.19 as the mark, with 3 as the lane? | CREATE TABLE table_name_32 (name VARCHAR, mark VARCHAR, lane VARCHAR) |
SELECT result FROM table_name_14 WHERE date = "november 29, 1959" | What was the game result on November 29, 1959? | CREATE TABLE table_name_14 (result VARCHAR, date VARCHAR) |
SELECT december FROM table_name_32 WHERE november = "alexus winston" | Who is in December when November has Alexus Winston? | CREATE TABLE table_name_32 (december VARCHAR, november VARCHAR) |
SELECT winner FROM table_name_50 WHERE prize = "£200,000" | Who is the winner of the prize of £200,000 as listed? | CREATE TABLE table_name_50 (winner VARCHAR, prize VARCHAR) |
SELECT date FROM table_name_22 WHERE record = "77-62" | what date has the record of 77-62? | CREATE TABLE table_name_22 (date VARCHAR, record VARCHAR) |
SELECT location FROM table_name_57 WHERE year > 2002 AND gold = "kim hyun-soo" | What is the location of the Asian Games after 2002 when Kim Hyun-soo won the gold? | CREATE TABLE table_name_57 (location VARCHAR, year VARCHAR, gold VARCHAR) |
SELECT height__f_ FROM table_23670057_4 WHERE position = "Center" | For all players playing at the center, list the height in feet. | CREATE TABLE table_23670057_4 (height__f_ VARCHAR, position VARCHAR) |
SELECT SUM(position) FROM table_name_29 WHERE lost = 6 AND team = "caernarfon town" | WHAT IS THE POSITION WITH A LOST OF 6, FOR CAERNARFON TOWN? | CREATE TABLE table_name_29 (position INTEGER, lost VARCHAR, team VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.