answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MAX(no_in_series) FROM table_24319661_5 WHERE us_viewers__million_ = "2.77" | What episode number in the series had 2.77 million U.S. viewers? | CREATE TABLE table_24319661_5 (no_in_series INTEGER, us_viewers__million_ VARCHAR) |
SELECT written_by FROM table_25740548_3 WHERE us_viewers__million_ = "3.92" | Who wrote the episode with 3.92 million US viewers? | CREATE TABLE table_25740548_3 (written_by VARCHAR, us_viewers__million_ VARCHAR) |
SELECT team_name FROM table_17289224_1 WHERE season = "2010" | Which team started 2010? | CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR) |
SELECT MAX(pa) FROM table_15597975_2 WHERE stolen_ends = 5 | When the stolen ends equal 5 whats the amount of pa? | CREATE TABLE table_15597975_2 (pa INTEGER, stolen_ends VARCHAR) |
SELECT service FROM table_23477312_1 WHERE train_name = "Pune Duronto" AND departure = "21:35" | What's the service number of the Pune Duronto train that departures at 21:35? | CREATE TABLE table_23477312_1 (service VARCHAR, train_name VARCHAR, departure VARCHAR) |
SELECT utah FROM table_name_80 WHERE texas = "humphrey" | What's the value for utah when texas is humphrey? | CREATE TABLE table_name_80 (utah VARCHAR, texas VARCHAR) |
SELECT MAX(bronze) FROM table_name_11 WHERE silver < 1 AND gold > 0 | what is the highest bronze when silver is less than 1 and gold is more than 0? | CREATE TABLE table_name_11 (bronze INTEGER, silver VARCHAR, gold VARCHAR) |
SELECT AVG(game) FROM table_name_32 WHERE record = "1-3" AND opponents > 103 | In which game did the opponent score more than 103 and the record was 1-3? | CREATE TABLE table_name_32 (game INTEGER, record VARCHAR, opponents VARCHAR) |
SELECT station_code FROM table_name_37 WHERE departure = "destination station" | What is the Station Code of the Destination Station Departure? | CREATE TABLE table_name_37 (station_code VARCHAR, departure VARCHAR) |
SELECT SUM(attendance) FROM table_name_34 WHERE date = "february 3, 2008" | How many people attended the game on February 3, 2008? | CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR) |
SELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < "4" AND rank = "4" | What Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4? | CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR) |
SELECT pos FROM table_name_86 WHERE name = "alyona klimenko" | What is Alyona Klimenko's Pos.? | CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR) |
SELECT english_title FROM table_name_30 WHERE director = "ang lee" | What is the English title with a Director named ang lee? | CREATE TABLE table_name_30 (english_title VARCHAR, director VARCHAR) |
SELECT MIN(attempts) FROM table_19418696_3 WHERE name = "Bobby Layne" | How many attempts for Bobby Layne? | CREATE TABLE table_19418696_3 (attempts INTEGER, name VARCHAR) |
SELECT card_type_code, COUNT(*) FROM Customers_cards GROUP BY card_type_code | Show all card type codes and the number of cards in each type. | CREATE TABLE Customers_cards (card_type_code VARCHAR) |
SELECT year FROM table_name_14 WHERE artist = "david whitfield" | what year did david whitfield win | CREATE TABLE table_name_14 (year VARCHAR, artist VARCHAR) |
SELECT power__kw_ FROM table_name_75 WHERE location = "metro manila" | Which Power has Location in metro manila | CREATE TABLE table_name_75 (power__kw_ VARCHAR, location VARCHAR) |
SELECT COUNT(lost) FROM table_name_36 WHERE drawn < 1 | How many losses have draw values under 1? | CREATE TABLE table_name_36 (lost VARCHAR, drawn INTEGER) |
SELECT MAX(stories) FROM table_name_7 WHERE height = "42 m." | What is the highest number of stories in homes with a height of 42 m.? | CREATE TABLE table_name_7 (stories INTEGER, height VARCHAR) |
SELECT winner AS Men FROM table_name_92 WHERE season = "1992/93" | Who had the men's win in the 1992/93 season? | CREATE TABLE table_name_92 (winner VARCHAR, season VARCHAR) |
SELECT MIN(position) FROM table_name_63 WHERE goals_against < 78 AND points = "42-2" AND wins > 15 | Which lowest position has goals against smaller than 78, Points of 42-2, and Wins larger than 15? | CREATE TABLE table_name_63 (position INTEGER, wins VARCHAR, goals_against VARCHAR, points VARCHAR) |
SELECT points FROM table_name_44 WHERE performer = "nigel connell" | How many points did Nigel Connell have? | CREATE TABLE table_name_44 (points VARCHAR, performer VARCHAR) |
SELECT results FROM table_1805191_48 WHERE first_elected = 2000 | What was the result in the election where the date of first elected was 2000? | CREATE TABLE table_1805191_48 (results VARCHAR, first_elected VARCHAR) |
SELECT name FROM browser ORDER BY market_share DESC | List the name of browsers in descending order by market share. | CREATE TABLE browser (name VARCHAR, market_share VARCHAR) |
SELECT away_team FROM table_name_78 WHERE home_team = "citizen team a" | Who was the away team for the match with a home team of Citizen Team A? | CREATE TABLE table_name_78 (away_team VARCHAR, home_team VARCHAR) |
SELECT party FROM table_name_34 WHERE incumbent = "ken cuccinelli" | Which party has Ken Cuccinelli as an incumbent? | CREATE TABLE table_name_34 (party VARCHAR, incumbent VARCHAR) |
SELECT date FROM table_25572068_1 WHERE series = "F4 7" | When was the F4 7 series? | CREATE TABLE table_25572068_1 (date VARCHAR, series VARCHAR) |
SELECT manufacturer FROM table_2266976_1 WHERE year = "1990" | Who was the manufacturer in 1990? | CREATE TABLE table_2266976_1 (manufacturer VARCHAR, year VARCHAR) |
SELECT date FROM table_name_29 WHERE venue = "luxembourg" | Which date is associated with a venue of Luxembourg? | CREATE TABLE table_name_29 (date VARCHAR, venue VARCHAR) |
SELECT COUNT(district) FROM table_1805191_33 WHERE incumbent = "Charles Rangel" | How many districts have the incumbent, Charles Rangel? | CREATE TABLE table_1805191_33 (district VARCHAR, incumbent VARCHAR) |
SELECT MIN(attendance) FROM table_name_3 WHERE week = 2 | What's the lowest Attendance for a Week of 2? | CREATE TABLE table_name_3 (attendance INTEGER, week VARCHAR) |
SELECT shooter FROM table_name_75 WHERE total = "olympic bronze medalist" | Which shooter was the olympic bronze medalist? | CREATE TABLE table_name_75 (shooter VARCHAR, total VARCHAR) |
SELECT team FROM table_name_8 WHERE position = "offensive guard" AND pick < 154 | Who is the team that has a pick less than 154 and an offensive guard position? | CREATE TABLE table_name_8 (team VARCHAR, position VARCHAR, pick VARCHAR) |
SELECT max_memory FROM table_10818465_1 WHERE model = "T5120" | What is the max memory of the t5120 model? | CREATE TABLE table_10818465_1 (max_memory VARCHAR, model VARCHAR) |
SELECT money_requested__£_ FROM table_name_10 WHERE company_or_product_name = "basstoneslap" | How much Money is requested by BassToneSlap? | CREATE TABLE table_name_10 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR) |
SELECT jobbik FROM table_name_41 WHERE fidesz = "61%" AND others = "2%" | What is the Jobbik percentage with a Fidesz of 61% and others of 2%? | CREATE TABLE table_name_41 (jobbik VARCHAR, fidesz VARCHAR, others VARCHAR) |
SELECT MAX(game) FROM table_name_79 WHERE record = "3-2" | What is the highest game with a 3-2 record? | CREATE TABLE table_name_79 (game INTEGER, record VARCHAR) |
SELECT pick__number FROM table_name_20 WHERE player = "jason french" | Which pick number was there for Jason French? | CREATE TABLE table_name_20 (pick__number VARCHAR, player VARCHAR) |
SELECT state_assembly FROM table_18052353_4 WHERE year = "2008" | What was the composition of the state assembly in 2008? | CREATE TABLE table_18052353_4 (state_assembly VARCHAR, year VARCHAR) |
SELECT tonnage FROM table_name_66 WHERE date = "25 july 1942" | Which Tonnage is on 25 july 1942? | CREATE TABLE table_name_66 (tonnage VARCHAR, date VARCHAR) |
SELECT COUNT(losses) FROM table_name_43 WHERE byes > 0 | What is the total number of losses for teams with more than 0 byes? | CREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER) |
SELECT chassis FROM table_name_83 WHERE year < 1956 AND engine = "gordini straight-4" AND points = 3 | Before 1956, what Chassis has Gordini Straight-4 engine with 3 points? | CREATE TABLE table_name_83 (chassis VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR) |
SELECT SUM(total) FROM table_name_40 WHERE gymnast = "robert stanescu ( rou )" AND b_score > 8.75 | What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75? | CREATE TABLE table_name_40 (total INTEGER, gymnast VARCHAR, b_score VARCHAR) |
SELECT incumbent FROM table_name_84 WHERE first_elected = 1987 | Which incumbent was first elected in 1987? | CREATE TABLE table_name_84 (incumbent VARCHAR, first_elected VARCHAR) |
SELECT AVG(cuts_made) FROM table_name_17 WHERE top_5 = 3 AND top_10 < 5 | What's the listed average of Cuts made that has a Top-5 of 3, and a Top-10 that's smaller than 5? | CREATE TABLE table_name_17 (cuts_made INTEGER, top_5 VARCHAR, top_10 VARCHAR) |
SELECT MAX(round) FROM table_name_21 WHERE position = "guard" AND overall > 71 | What is the highest round with a guard position and an overall greater than 71? | CREATE TABLE table_name_21 (round INTEGER, position VARCHAR, overall VARCHAR) |
SELECT COUNT(score) FROM table_27755603_8 WHERE date = "January 12" | Name the number of score for january 12 | CREATE TABLE table_27755603_8 (score VARCHAR, date VARCHAR) |
SELECT place FROM table_name_73 WHERE country = "spain" | What place is Spain in? | CREATE TABLE table_name_73 (place VARCHAR, country VARCHAR) |
SELECT champion FROM table_name_53 WHERE runner_up = "elon" | Who won when Elon was the runner-up? | CREATE TABLE table_name_53 (champion VARCHAR, runner_up VARCHAR) |
SELECT COUNT(*) FROM game WHERE season > 2007 | How many games are held after season 2007? | CREATE TABLE game (season INTEGER) |
SELECT ship_types_delivered FROM table_name_32 WHERE yard_name = "froemming brothers" | What types of ships were made at the Froemming Brothers ship yard? | CREATE TABLE table_name_32 (ship_types_delivered VARCHAR, yard_name VARCHAR) |
SELECT longitude FROM table_name_27 WHERE latitude = "77°28′n" | If the latitude is 77°28′n, what is the longitude? | CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR) |
SELECT surface FROM table_name_45 WHERE partner = "galina voskoboeva" | Which Surface has a Partner of galina voskoboeva? | CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR) |
SELECT population FROM table_name_95 WHERE rank = 11 | What is the population for Rank 11? | CREATE TABLE table_name_95 (population VARCHAR, rank VARCHAR) |
SELECT MAX(pop__2010_) FROM table_18600760_13 WHERE latitude = "48.676125" | What is the population associated with latitude 48.676125? | CREATE TABLE table_18600760_13 (pop__2010_ INTEGER, latitude VARCHAR) |
SELECT DISTINCT city FROM branch WHERE membership_amount >= 100 | Show all distinct city where branches with at least 100 memberships are located. | CREATE TABLE branch (city VARCHAR, membership_amount VARCHAR) |
SELECT player FROM table_name_20 WHERE hometown = "bay city, tx" | Who's from Bay City, TX? | CREATE TABLE table_name_20 (player VARCHAR, hometown VARCHAR) |
SELECT right_ascension___j2000__ FROM table_name_59 WHERE object_type = "open cluster" AND ngc_number > 2547 | Tell me the right ascension for open cluster and NGC number more than 2547 | CREATE TABLE table_name_59 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR) |
SELECT time FROM table_name_7 WHERE ground = "humber college north" | What is the Time with a Ground that is humber college north? | CREATE TABLE table_name_7 (time VARCHAR, ground VARCHAR) |
SELECT COUNT(south_asians_2011) FROM table_name_19 WHERE province = "quebec" AND south_asians_2001 < 59 OFFSET 510 | How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001? | CREATE TABLE table_name_19 (south_asians_2011 VARCHAR, province VARCHAR, south_asians_2001 VARCHAR) |
SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons" | How many players were drafted from the Boston Cannons in the round? | CREATE TABLE table_name_74 (round INTEGER, team VARCHAR) |
SELECT MAX(of_which_currently_forests), _km² FROM table_19242_5 WHERE land_formation = "Middle Prut Valley" | When middle prut valley is the land formation what is the highest of which currently forests, km² ? | CREATE TABLE table_19242_5 (_km² VARCHAR, of_which_currently_forests INTEGER, land_formation VARCHAR) |
SELECT MIN(total) FROM table_name_43 WHERE nationality = "italy" AND latest_win = 1950 | What was the lowest total for Italy when the latest win is 1950? | CREATE TABLE table_name_43 (total INTEGER, nationality VARCHAR, latest_win VARCHAR) |
SELECT COUNT(high_rebounds) FROM table_28220778_21 WHERE game = 14 | How many people had high rebounds in game 14? | CREATE TABLE table_28220778_21 (high_rebounds VARCHAR, game VARCHAR) |
SELECT attendance FROM table_name_16 WHERE date = "october 26" | What is the attendance of the match on October 26? | CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR) |
SELECT writer FROM table_name_89 WHERE producer = "phil collinson" AND director = "alice troughton" | Who was the writer that the director was Alice Troughton and the producer was Phil Collinson? | CREATE TABLE table_name_89 (writer VARCHAR, producer VARCHAR, director VARCHAR) |
SELECT country FROM table_name_84 WHERE icao = "tjig" | Tell me the country for ICAO of tjig | CREATE TABLE table_name_84 (country VARCHAR, icao VARCHAR) |
SELECT t1.form_name FROM forms AS t1 JOIN party_forms AS t2 ON t1.form_id = t2.form_id GROUP BY t2.form_id ORDER BY COUNT(*) DESC LIMIT 1 | Find the name of the most popular party form. | CREATE TABLE party_forms (form_id VARCHAR); CREATE TABLE forms (form_name VARCHAR, form_id VARCHAR) |
SELECT MAX(10 AS _3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = "1.7%" | Name the most 10 3 bbl/d (2008) for present share being 1.7% | CREATE TABLE table_23195_5 (present_share VARCHAR) |
SELECT pos FROM table_name_52 WHERE team = "audi sport north america" AND year > 2008 | What position did the driver from Audi Sport North America finish in the race after 2008? | CREATE TABLE table_name_52 (pos VARCHAR, team VARCHAR, year VARCHAR) |
SELECT score FROM table_name_29 WHERE date = "29 november" AND venue = "state sports centre" | What is the score of the game that was played on 29 November at State Sports Centre? | CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, venue VARCHAR) |
SELECT opponent FROM table_name_59 WHERE time = "2:57" AND score = "7–5" | What team was the opponent when the time was 2:57, and a Score of 7–5? | CREATE TABLE table_name_59 (opponent VARCHAR, time VARCHAR, score VARCHAR) |
SELECT weapon FROM table_name_55 WHERE mecha = "motorcycle" | What is the weapon for the mecha of motorcycle? | CREATE TABLE table_name_55 (weapon VARCHAR, mecha VARCHAR) |
SELECT COUNT(no_in_series) FROM table_26168687_3 WHERE vessel_operator = "Canadian Coast Guard" | How many times is the vessel operator canadian coast guard? | CREATE TABLE table_26168687_3 (no_in_series VARCHAR, vessel_operator VARCHAR) |
SELECT arabic FROM table_24807774_1 WHERE colombian = "Finnish" | how many arabic in colobians is finnish | CREATE TABLE table_24807774_1 (arabic VARCHAR, colombian VARCHAR) |
SELECT SUM(december) FROM table_name_59 WHERE opponent = "vancouver canucks" AND game < 33 | What is the sum for December against the vancouver canucks earlier than game 33? | CREATE TABLE table_name_59 (december INTEGER, opponent VARCHAR, game VARCHAR) |
SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 15, 1865" | What was the reason for change in staff in formal installations on March 15, 1865? | CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) |
SELECT date_s__conducted FROM table_name_69 WHERE plaid_cymru = "19%" | Tell me the dates conducted for plaid cymru of 19% | CREATE TABLE table_name_69 (date_s__conducted VARCHAR, plaid_cymru VARCHAR) |
SELECT COUNT(high_points) FROM table_17288825_10 WHERE location_attendance = "US Airways Center 18,422" | How many different items appear in the high points column when the location attendance was US Airways Center 18,422? | CREATE TABLE table_17288825_10 (high_points VARCHAR, location_attendance VARCHAR) |
SELECT MAX(2009) FROM table_name_61 WHERE 2012 > 9 OFFSET 265 | Which 2009 has a 2012 larger than 9,265? | CREATE TABLE table_name_61 (Id VARCHAR) |
SELECT MAX(rank) FROM table_name_38 WHERE nationality = "belgium" AND react > 0.162 | What is the highest rank of an athlete from Belgium with react greater than 0.162? | CREATE TABLE table_name_38 (rank INTEGER, nationality VARCHAR, react VARCHAR) |
SELECT MIN(year) FROM table_name_11 WHERE date = "14 february" | Which Year has a Date of 14 February? | CREATE TABLE table_name_11 (year INTEGER, date VARCHAR) |
SELECT name FROM table_name_80 WHERE death = "november 10, 1842" | what is the name when death is november 10, 1842? | CREATE TABLE table_name_80 (name VARCHAR, death VARCHAR) |
SELECT score FROM table_name_91 WHERE record = "7-5" | What was the score of the game that led to a 7-5 record? | CREATE TABLE table_name_91 (score VARCHAR, record VARCHAR) |
SELECT year FROM table_name_65 WHERE outcome = "runner-up" AND score = "4–6, 6–4, [8–10]" | In what year was Xavier Malisse the runner-up with scores of 4–6, 6–4, [8–10]? | CREATE TABLE table_name_65 (year VARCHAR, outcome VARCHAR, score VARCHAR) |
SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy" | What is the height of the player from Benetton Treviso, Italy? | CREATE TABLE table_name_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR) |
SELECT score FROM table_name_86 WHERE record = "55-39" | What was the score of the game when the Blue Jays were 55-39? | CREATE TABLE table_name_86 (score VARCHAR, record VARCHAR) |
SELECT episode AS Summary FROM table_2140071_12 WHERE coach = "Torae Carr" | Name the episode summary for torae carr | CREATE TABLE table_2140071_12 (episode VARCHAR, coach VARCHAR) |
SELECT podiums FROM table_21795650_1 WHERE series = "Italian Formula Renault 2.0 Winter series" | How many podiums were there in the Italian Formula Renault 2.0 Winter Series? | CREATE TABLE table_21795650_1 (podiums VARCHAR, series VARCHAR) |
SELECT record FROM table_name_41 WHERE date = "december 5, 1948" | What was the record for December 5, 1948? | CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR) |
SELECT T2.bname FROM loan AS T1 JOIN bank AS T2 ON T1.branch_id = T2.branch_id JOIN customer AS T3 ON T1.cust_id = T3.cust_id WHERE T3.credit_score < 100 | Find the names of bank branches that have provided a loan to any customer whose credit score is below 100. | CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR); CREATE TABLE customer (cust_id VARCHAR, credit_score INTEGER); CREATE TABLE loan (branch_id VARCHAR, cust_id VARCHAR) |
SELECT MIN(round) FROM table_name_6 WHERE player = "grant long" | In what Round was Grant Long Drafted? | CREATE TABLE table_name_6 (round INTEGER, player VARCHAR) |
SELECT SUM(erp_w) FROM table_name_5 WHERE call_sign = "k222al" | What is the sum of the erp w of the k222al call sign? | CREATE TABLE table_name_5 (erp_w INTEGER, call_sign VARCHAR) |
SELECT party FROM table_name_17 WHERE left_office = "23 april 2005" AND portfolio = "minister of reforms and devolutions" | What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms and Devolutions"? | CREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR) |
SELECT country FROM table_name_43 WHERE player = "frank nobilo" | Frank Nobilo plays for what country? | CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR) |
SELECT county FROM table_name_82 WHERE _percentage__2040_ > 1.8 AND _percentage__2000_ < 4.1 AND _percentage__1960_ < 3.2 AND rank = "13" | Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13? | CREATE TABLE table_name_82 (county VARCHAR, rank VARCHAR, _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) |
SELECT season FROM table_name_33 WHERE away = "2-0" | What season has an away 2-0? | CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR) |
SELECT COUNT(frequency__mhz_) FROM table_name_52 WHERE type = "primary" AND call_letters = "ktbb-fm" | Frequency (MHz) that has a Type of primary, and a Call letters of ktbb-fm has what total number? | CREATE TABLE table_name_52 (frequency__mhz_ VARCHAR, type VARCHAR, call_letters VARCHAR) |
SELECT away_team FROM table_name_71 WHERE venue = "western oval" | For the Venue of western oval, what's the Away team playing? | CREATE TABLE table_name_71 (away_team VARCHAR, venue VARCHAR) |
SELECT name FROM table_name_29 WHERE round = "e" | Tell me the name for round of e | CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.