answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND winning_driver = "michael schumacher" AND pole_position = "michael schumacher" | Name the lowest round for when pole position and winning driver is michael schumacher | CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) |
SELECT SUM(duration), MAX(duration) FROM trip WHERE bike_id = 636 | What is the total and maximum duration of trips with bike id 636? | CREATE TABLE trip (duration INTEGER, bike_id VARCHAR) |
SELECT MIN(season__number) FROM table_12419515_5 WHERE written_by = "Adam Milch" | Name the number of season that was written by adam milch | CREATE TABLE table_12419515_5 (season__number INTEGER, written_by VARCHAR) |
SELECT _percentage_change FROM table_name_68 WHERE airport = "london heathrow airport" | What is the % Change at London Heathrow airport? | CREATE TABLE table_name_68 (_percentage_change VARCHAR, airport VARCHAR) |
SELECT COUNT(pick) FROM table_name_61 WHERE position = "defensive back" | How many Picks have a Position of defensive back? | CREATE TABLE table_name_61 (pick VARCHAR, position VARCHAR) |
SELECT COUNT(first_elected) FROM table_1342218_24 WHERE incumbent = "W. Arthur Winstead" | How many times was w. arthur winstead first elected? | CREATE TABLE table_1342218_24 (first_elected VARCHAR, incumbent VARCHAR) |
SELECT preliminary_average FROM table_16323766_3 WHERE state = "Maryland" | What was the preliminary average for Miss Maryland? | CREATE TABLE table_16323766_3 (preliminary_average VARCHAR, state VARCHAR) |
SELECT value_world_rank FROM table_21109892_1 WHERE production__mt_ = 446424 | When the production (mt) is 446424, what is the value world rank ? | CREATE TABLE table_21109892_1 (value_world_rank VARCHAR, production__mt_ VARCHAR) |
SELECT placement FROM table_name_96 WHERE candidate = "jean-patrick berthiaume" | What is the Placement when the Candidate is Jean-Patrick Berthiaume? | CREATE TABLE table_name_96 (placement VARCHAR, candidate VARCHAR) |
SELECT high_rebounds FROM table_27721131_10 WHERE high_points = "Jordan Crawford (27)" | Who got high rebounds when Jordan Crawford (27) got high points? | CREATE TABLE table_27721131_10 (high_rebounds VARCHAR, high_points VARCHAR) |
SELECT pinyin FROM table_name_44 WHERE county = "changhua" | Which Pinyin has a County of changhua? | CREATE TABLE table_name_44 (pinyin VARCHAR, county VARCHAR) |
SELECT crowd FROM table_name_64 WHERE home_team = "north melbourne" | What was the size of the crowd when North Melbourne was the home team? | CREATE TABLE table_name_64 (crowd VARCHAR, home_team VARCHAR) |
SELECT winner FROM table_25214321_1 WHERE third_place = "Mateus Rocha" | Who was the winner when Mateus Rocha finished in 3rd place? | CREATE TABLE table_25214321_1 (winner VARCHAR, third_place VARCHAR) |
SELECT result FROM table_name_72 WHERE opponent = "indianapolis colts" | Which result featured the Indianapolis Colts as opponents? | CREATE TABLE table_name_72 (result VARCHAR, opponent VARCHAR) |
SELECT COUNT(rank) FROM table_name_30 WHERE stadium = "mchale park" | What is the Gaelic Football Stadium at McHale Park's ranking in total capacity? | CREATE TABLE table_name_30 (rank VARCHAR, stadium VARCHAR) |
SELECT away_team FROM table_name_39 WHERE venue = "punt road oval" | What was the away team for the match at Punt Road Oval? | CREATE TABLE table_name_39 (away_team VARCHAR, venue VARCHAR) |
SELECT lyricist FROM table_10848177_1 WHERE length = "3:05" | Who is the lyricist for the song with a length of 3:05? | CREATE TABLE table_10848177_1 (lyricist VARCHAR, length VARCHAR) |
SELECT years_of_operation FROM table_name_35 WHERE location = "prospect 33 prospect ave" | During what Years of Operation was the location prospect 33 prospect ave? | CREATE TABLE table_name_35 (years_of_operation VARCHAR, location VARCHAR) |
SELECT gymnast FROM table_name_91 WHERE balance_beam > 8.687 AND total < 38.049 AND floor_exercise < 9.462 AND vault < 9.275 | Which gymnast had a balance beam larger than 8.687, had a total less than 38.049, had a floor exercise less than 9.462, and a vault less than 9.275? | CREATE TABLE table_name_91 (gymnast VARCHAR, vault VARCHAR, floor_exercise VARCHAR, balance_beam VARCHAR, total VARCHAR) |
SELECT COUNT(season) FROM table_11236195_5 WHERE winningteam = "Canterbury Bulldogs (8)" | How many seasons did the canterbury bulldogs (8) win? | CREATE TABLE table_11236195_5 (season VARCHAR, winningteam VARCHAR) |
SELECT normal_temperature FROM table_name_8 WHERE city = "abbotsford, british columbia" | What is the normal temperature of Abbotsford, British Columbia? | CREATE TABLE table_name_8 (normal_temperature VARCHAR, city VARCHAR) |
SELECT COUNT(angle_from_center_) AS ° FROM table_name_97 WHERE taper / ft < 0.6000000000000001 | Which Angle from center/° has a Taper/ft smaller than 0.6000000000000001? | CREATE TABLE table_name_97 (angle_from_center_ VARCHAR, taper VARCHAR, ft VARCHAR) |
SELECT loss FROM table_name_62 WHERE attendance = "14,691" | What was the loss of the game attended by 14,691? | CREATE TABLE table_name_62 (loss VARCHAR, attendance VARCHAR) |
SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro" | What was the date of appointment for paco chaparro's replacement? | CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) |
SELECT date_withdrawn FROM table_11662133_3 WHERE ships_name = "Koningin Beatrix" | what are all the date withdrawn for koningin beatrix | CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, ships_name VARCHAR) |
SELECT COUNT(shot_diameter__cm_) FROM table_name_37 WHERE shot_volume__cm_3__ < 172.76 | How many times is the shot volume (cm3) less than 172.76? | CREATE TABLE table_name_37 (shot_diameter__cm_ VARCHAR, shot_volume__cm_3__ INTEGER) |
SELECT game FROM table_name_30 WHERE points < 96 AND record = "43–16–8" | Points smaller than 96, and a Record of 43–16–8 belongs to what game? | CREATE TABLE table_name_30 (game VARCHAR, points VARCHAR, record VARCHAR) |
SELECT primary_language_s_ FROM table_name_59 WHERE director = "ilgar safat category:articles with hcards" | What is Primary Language(s), when Director is "Ilgar Safat Category:Articles With hCards"? | CREATE TABLE table_name_59 (primary_language_s_ VARCHAR, director VARCHAR) |
SELECT date FROM table_name_82 WHERE catalogue = "540 3622" | What date has a catalogue of 540 3622? | CREATE TABLE table_name_82 (date VARCHAR, catalogue VARCHAR) |
SELECT competition FROM table_name_42 WHERE score = "3-0" | Name the competition for score of 3-0 | CREATE TABLE table_name_42 (competition VARCHAR, score VARCHAR) |
SELECT directed_by FROM table_158088_2 WHERE episode_no = 3 | Who directed episode number 3? | CREATE TABLE table_158088_2 (directed_by VARCHAR, episode_no VARCHAR) |
SELECT date FROM table_name_81 WHERE kickoff_[a_] = "1:00" AND result = "l 27-14" | What date had a kickoff of 1:00 and a result of l 27-14? | CREATE TABLE table_name_81 (date VARCHAR, result VARCHAR, kickoff_ VARCHAR, a_ 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 copa_libertadores_1996 FROM table_name_10 WHERE team = "estudiantes" | Which Copa Libertadores 1996 has a Team of estudiantes? | CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, team VARCHAR) |
SELECT ihsaa_football_class FROM table_name_14 WHERE county = "77 sullivan" AND school = "union dugger" | Which IHSAA Football Class has a County of 77 sullivan, and a School of union dugger? | CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR) |
SELECT name FROM table_name_25 WHERE sport = "canoeing" | What is the names for the medalist in the sport of canoeing? | CREATE TABLE table_name_25 (name VARCHAR, sport VARCHAR) |
SELECT city FROM table_10601843_2 WHERE capacity = 41903 | Which city has a capacity of 41903? | CREATE TABLE table_10601843_2 (city VARCHAR, capacity VARCHAR) |
SELECT upstream FROM table_name_82 WHERE downstream = "100 mbps" | What is the upstream for the 100 mbps downstream? | CREATE TABLE table_name_82 (upstream VARCHAR, downstream VARCHAR) |
SELECT owner FROM table_name_70 WHERE delivered_as = "t415" | What Owner Delivered the T415? | CREATE TABLE table_name_70 (owner VARCHAR, delivered_as VARCHAR) |
SELECT home_team FROM table_name_90 WHERE away_team = "essendon" | What team played Essendon? | CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) |
SELECT tournament FROM table_name_65 WHERE 2011 = "a" AND 2009 = "lq" AND 2012 = "1r" | what is the tournament when 2011 is a, 2009 is lq and 2012 is 1r? | CREATE TABLE table_name_65 (tournament VARCHAR) |
SELECT crew_chief FROM table_24535095_2 WHERE listed_owner_s_ = "Rhonda Thorson" | Name the crew chief for rhonda thorson | CREATE TABLE table_24535095_2 (crew_chief VARCHAR, listed_owner_s_ VARCHAR) |
SELECT tournament FROM table_name_12 WHERE 2011 = "1r" | What tournament has 1r as the 2011? | CREATE TABLE table_name_12 (tournament VARCHAR) |
SELECT AVG(grid) FROM table_name_69 WHERE time_retired = "engine" AND laps < 18 | What is the average grid number for cars that retired due to engine failure before 18 laps? | CREATE TABLE table_name_69 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) |
SELECT COUNT(draw) FROM table_name_43 WHERE televote_points = "8" | Which Draw had 8 Televote Points? | CREATE TABLE table_name_43 (draw VARCHAR, televote_points VARCHAR) |
SELECT record FROM table_name_83 WHERE leading_scorer = "carlos boozer (23)" | What's the record of Carlos Boozer (23) as the leading scorer? | CREATE TABLE table_name_83 (record VARCHAR, leading_scorer VARCHAR) |
SELECT MIN(attendance) FROM table_name_32 WHERE record = "18–15–6" | Record of 18–15–6 belongs to what lowest attendance? | CREATE TABLE table_name_32 (attendance INTEGER, record VARCHAR) |
SELECT MAX(3 AS rd_runner_up) FROM table_20325360_2 | What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?. | CREATE TABLE table_20325360_2 (Id VARCHAR) |
SELECT MAX(lost) FROM table_name_9 WHERE against > 60 AND points < 61 AND drawn > 18 | What is the highest lost that has an against greater than 60, points less than 61 and an 18 drawn? | CREATE TABLE table_name_9 (lost INTEGER, drawn VARCHAR, against VARCHAR, points VARCHAR) |
SELECT iata FROM table_name_62 WHERE city = "alexandria" | What is IATA, when City is "Alexandria"? | CREATE TABLE table_name_62 (iata VARCHAR, city VARCHAR) |
SELECT production_time FROM table_name_59 WHERE number_built > 2.737 AND model = "280s" | What's the production time with more than 2.737 built and a 280s model? | CREATE TABLE table_name_59 (production_time VARCHAR, number_built VARCHAR, model VARCHAR) |
SELECT film_title_used_in_nomination FROM table_name_49 WHERE serbian_title = "бело одело" | What is the Film title used in nomination of the Film with a Serbian title of бело одело? | CREATE TABLE table_name_49 (film_title_used_in_nomination VARCHAR, serbian_title VARCHAR) |
SELECT MAX(enrollment) FROM table_16168849_1 WHERE institution = "St. Andrews University" | Name the maximum enrollment for st. andrews university | CREATE TABLE table_16168849_1 (enrollment INTEGER, institution VARCHAR) |
SELECT AVG(rank) FROM table_name_79 WHERE status = "proposed" AND floors = 80 AND name = "celestia spaces 4" | What rank has a status of proposed, with 80 floors for Celestia Spaces 4? | CREATE TABLE table_name_79 (rank INTEGER, name VARCHAR, status VARCHAR, floors VARCHAR) |
SELECT latin_commander FROM table_name_88 WHERE battle = "siege of constantinople" | Who is the Latin Commander of the Siege of Constantinople? | CREATE TABLE table_name_88 (latin_commander VARCHAR, battle VARCHAR) |
SELECT type FROM table_name_21 WHERE name = "mccormack" | What is the type when McCormack is the name? | CREATE TABLE table_name_21 (type VARCHAR, name VARCHAR) |
SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1" | Tell me the 3rd component for bp azeo of 62.1 | CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR) |
SELECT COUNT(seasons) FROM table_2822193_1 WHERE series = "Formula Holden" | How many seasons are there with Formula Holden? | CREATE TABLE table_2822193_1 (seasons VARCHAR, series VARCHAR) |
SELECT first_win FROM table_12707313_2 WHERE pos = 6 | What was the first win for pos 6? | CREATE TABLE table_12707313_2 (first_win VARCHAR, pos VARCHAR) |
SELECT cospar_id FROM table_18161217_2 WHERE satellite = "Kosmos 2379" | What it the international designation for the kosmos 2379 satellite? | CREATE TABLE table_18161217_2 (cospar_id VARCHAR, satellite VARCHAR) |
SELECT name FROM table_name_56 WHERE games = "1964 tokyo" | What team played in the 1964 Tokyo Games? | CREATE TABLE table_name_56 (name VARCHAR, games VARCHAR) |
SELECT score FROM table_name_44 WHERE home_team = "york city" | The home team york city has what score? | CREATE TABLE table_name_44 (score VARCHAR, home_team VARCHAR) |
SELECT MIN(1994 AS _1995) FROM table_name_2 WHERE points = 145 AND played < 114 | What is the lowest 1994-1995, when Points is 145, and when Played is less than 114? | CREATE TABLE table_name_2 (points VARCHAR, played VARCHAR) |
SELECT candidates FROM table_1341884_23 WHERE district = "Massachusetts 8" | Name the candidates for massachusetts 8 | CREATE TABLE table_1341884_23 (candidates VARCHAR, district VARCHAR) |
SELECT 2009 FROM table_name_77 WHERE tournament = "year-end ranking" | What is 2009, when Tournament is "Year-End Ranking"? | CREATE TABLE table_name_77 (tournament VARCHAR) |
SELECT country FROM table_name_40 WHERE of_1 = "locotenent" | What country has OF-1 Locotenent? | CREATE TABLE table_name_40 (country VARCHAR, of_1 VARCHAR) |
SELECT venue FROM table_name_6 WHERE result = "2–2 (d)" | What is the Venue of the Competition with a Result of 2–2 (d)? | CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR) |
SELECT team FROM table_name_82 WHERE score = "108-107" | Which Team has a Score of 108-107? | CREATE TABLE table_name_82 (team VARCHAR, score VARCHAR) |
SELECT radio_commentator FROM table_2794180_11 WHERE television_commentator = "Jan Gabrielsson" | Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast? | CREATE TABLE table_2794180_11 (radio_commentator VARCHAR, television_commentator VARCHAR) |
SELECT score FROM table_name_46 WHERE away_team = "west ham united" | What score has west ham united as the away team? | CREATE TABLE table_name_46 (score VARCHAR, away_team VARCHAR) |
SELECT SUM(goals_conceded) FROM table_name_81 WHERE draw > 5 AND points > 21 AND played < 18 | How many goals were conceded by the team with more than 21 points more than 5 draws and less than 18 games played? | CREATE TABLE table_name_81 (goals_conceded INTEGER, played VARCHAR, draw VARCHAR, points VARCHAR) |
SELECT name FROM table_name_73 WHERE county = "hillsborough" AND proposed = "09/08/1983" | What name was proposed on 09/08/1983 in hillsborough county? | CREATE TABLE table_name_73 (name VARCHAR, county VARCHAR, proposed VARCHAR) |
SELECT couple FROM table_26375386_17 WHERE vote_percentage = "5.2%" | What couple had a vote percentage of 5.2%? | CREATE TABLE table_26375386_17 (couple VARCHAR, vote_percentage VARCHAR) |
SELECT joined FROM table_name_2 WHERE founded < 1856 AND current_conference = "big south (ncaa division i)" | What joined that was founded prior to year 1856 and whose current conference is the Big South (NCAA Division I)? | CREATE TABLE table_name_2 (joined VARCHAR, founded VARCHAR, current_conference VARCHAR) |
SELECT race FROM table_1140073_2 WHERE pole_position = "Nelson Piquet" AND location = "Nürburgring" | What race had Nelson Piquet on the pole and was in Nürburgring? | CREATE TABLE table_1140073_2 (race VARCHAR, pole_position VARCHAR, location VARCHAR) |
SELECT athlete FROM table_name_94 WHERE notes = "sc/d" AND rank = 6 | Which athlete had a rank of 6 and notes of sc/d? | CREATE TABLE table_name_94 (athlete VARCHAR, notes VARCHAR, rank VARCHAR) |
SELECT name FROM member WHERE address = 'Harford' OR address = 'Waterbury' | Give me the names of members whose address is in Harford or Waterbury. | CREATE TABLE member (name VARCHAR, address VARCHAR) |
SELECT COUNT(rank) FROM table_name_63 WHERE nation = "germany" AND total > 2 | What is the Rank of the Nation of Germany when the Total is more than 2? | CREATE TABLE table_name_63 (rank VARCHAR, nation VARCHAR, total VARCHAR) |
SELECT game_site FROM table_17781394_1 WHERE date = "November 1, 1964" | On November 1, 1964, where was the game site? | CREATE TABLE table_17781394_1 (game_site VARCHAR, date VARCHAR) |
SELECT bible_gothic FROM table_name_7 WHERE english = "hand" | What's the Bible Gothic for the word hand? | CREATE TABLE table_name_7 (bible_gothic VARCHAR, english VARCHAR) |
SELECT date FROM table_name_98 WHERE venue = "moorabbin oval" | When was the game at Moorabbin Oval? | CREATE TABLE table_name_98 (date VARCHAR, venue VARCHAR) |
SELECT state FROM table_name_55 WHERE location = "39.1178°n 106.4454°w" | Which state is the location of 39.1178°n 106.4454°w in? | CREATE TABLE table_name_55 (state VARCHAR, location VARCHAR) |
SELECT team_s_ FROM table_name_51 WHERE time = "3:29" | What teams used a track 3:29 long? | CREATE TABLE table_name_51 (team_s_ VARCHAR, time VARCHAR) |
SELECT SUM(wins) FROM table_name_55 WHERE top_25 = 6 AND top_10 > 2 AND events < 19 | What is the total of wins where the top 25 is 6, top 10 is more than 2, and the event number is less than 19? | CREATE TABLE table_name_55 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR) |
SELECT SUM(year) FROM table_name_77 WHERE type = "informal" AND location = "justus lipsius building, brussels" AND date = "23 may" | What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may? | CREATE TABLE table_name_77 (year INTEGER, date VARCHAR, type VARCHAR, location VARCHAR) |
SELECT region FROM table_name_65 WHERE format = "vinyl record" | What region has vinyl record listed as its format? | CREATE TABLE table_name_65 (region VARCHAR, format VARCHAR) |
SELECT attendance FROM table_name_82 WHERE date = "december 11, 2005" | What was the attendance of the game on December 11, 2005? | CREATE TABLE table_name_82 (attendance VARCHAR, date VARCHAR) |
SELECT COUNT(*) FROM store | How many stores are there? | CREATE TABLE store (Id VARCHAR) |
SELECT team FROM table_27383390_4 WHERE date_of_vacancy = "8 Dec 2010" | What is the team with the date of vacancy 8 dec 2010? | CREATE TABLE table_27383390_4 (team VARCHAR, date_of_vacancy VARCHAR) |
SELECT delegate FROM table_14009909_1 WHERE first_elected = 2003 | Name the delegate first elected in 2003? | CREATE TABLE table_14009909_1 (delegate VARCHAR, first_elected VARCHAR) |
SELECT years FROM table_name_98 WHERE actor = "martin sacks" | Which years did Martin Sacks work on a soap opera? | CREATE TABLE table_name_98 (years VARCHAR, actor VARCHAR) |
SELECT school_club_team FROM table_name_1 WHERE draft = "2008-3 2008" | Which team had a 2008-3 2008 draft? | CREATE TABLE table_name_1 (school_club_team VARCHAR, draft VARCHAR) |
SELECT opponent FROM table_name_27 WHERE location = "winnipeg, manitoba , canada" | What is Opponent, when Location is "Winnipeg, Manitoba , Canada"? | CREATE TABLE table_name_27 (opponent VARCHAR, location VARCHAR) |
SELECT MIN(points) FROM table_name_56 WHERE games > 5 | What is the low point total when there are over 5 games? | CREATE TABLE table_name_56 (points INTEGER, games INTEGER) |
SELECT AVG(gold) FROM table_name_37 WHERE nation = "brazil" AND total > 55 | How many gold medals did Brazil win with a total of more than 55 medals? | CREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR) |
SELECT manufacturer FROM table_2266230_1 WHERE driver = "Cale Yarborough" AND year = "1984" | Name the manufacturer for cale yarborough for 1984 | CREATE TABLE table_2266230_1 (manufacturer VARCHAR, driver VARCHAR, year VARCHAR) |
SELECT judges FROM table_27487310_5 WHERE country = "Netherlands" AND air_dates = "28 November 2011 – 24 December 2011" | Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December 2011? | CREATE TABLE table_27487310_5 (judges VARCHAR, country VARCHAR, air_dates VARCHAR) |
SELECT discovery___publication_of_name FROM table_name_55 WHERE fossil_record = "still living" | Tell me the discovery/publication for still living | CREATE TABLE table_name_55 (discovery___publication_of_name VARCHAR, fossil_record VARCHAR) |
SELECT MIN(goals) FROM table_name_92 WHERE player = "andy williams" | What is the smallest number of goals for andy williams? | CREATE TABLE table_name_92 (goals INTEGER, player VARCHAR) |
SELECT event FROM table_name_62 WHERE round = 10 | What is Event, when Round is "10"? | CREATE TABLE table_name_62 (event VARCHAR, round VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.