answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT reason_for_change FROM table_name_54 WHERE state__class_ = "tennessee (2)" | Which Reason has a State (class) of tennessee (2)? | CREATE TABLE table_name_54 (reason_for_change VARCHAR, state__class_ VARCHAR) |
SELECT record FROM table_name_67 WHERE time___et__ = "1:00pm" AND result = "w 34–14" | Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record? | CREATE TABLE table_name_67 (record VARCHAR, time___et__ VARCHAR, result VARCHAR) |
SELECT LOCATION FROM wrestler GROUP BY LOCATION HAVING COUNT(*) > 2 | List the locations that are shared by more than two wrestlers. | CREATE TABLE wrestler (LOCATION VARCHAR) |
SELECT australian_open FROM table_name_71 WHERE year = 2010 | What is the Australian open in 2010? | CREATE TABLE table_name_71 (australian_open VARCHAR, year VARCHAR) |
SELECT college FROM table_name_42 WHERE school = "huntsville high school" | What college did the player with a school of huntsville high school go to? | CREATE TABLE table_name_42 (college VARCHAR, school VARCHAR) |
SELECT segment_a FROM table_15187735_19 WHERE episode = 237 | What is the segment A on episode 237? | CREATE TABLE table_15187735_19 (segment_a VARCHAR, episode VARCHAR) |
SELECT COUNT(2006 AS _07_points) FROM table_23215145_2 WHERE team = "Saracens" | What is the 2006-2007 points total number if the team is Saracens? | CREATE TABLE table_23215145_2 (team VARCHAR) |
SELECT MAX(floors) FROM table_name_11 WHERE height = "70m (233ft)" AND building = "tupper building (educational)" | What is the largest amount of floors in the 70m (233ft) Tupper building (educational)? | CREATE TABLE table_name_11 (floors INTEGER, height VARCHAR, building VARCHAR) |
SELECT type FROM table_name_51 WHERE location = "los angeles, california" | What was the school type for Los Angeles, California? | CREATE TABLE table_name_51 (type VARCHAR, location VARCHAR) |
SELECT COUNT(circuit) FROM table_24037660_2 WHERE lmp_winning_team = "#1 Patrón Highcroft Racing" AND gtc_winning_team = "#81 Alex Job Racing" | How many circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ? | CREATE TABLE table_24037660_2 (circuit VARCHAR, lmp_winning_team VARCHAR, gtc_winning_team VARCHAR) |
SELECT catalog FROM table_name_16 WHERE label = "epic records" AND format = "cd" | What catalog had an Epic Records label in CD format? | CREATE TABLE table_name_16 (catalog VARCHAR, label VARCHAR, format VARCHAR) |
SELECT period FROM table_name_66 WHERE other_mozilla = "0.25%" | What period has 0.25% as the other mozilla? | CREATE TABLE table_name_66 (period VARCHAR, other_mozilla VARCHAR) |
SELECT opponent FROM table_17120964_5 WHERE date = "4th" | Name the opponent for 4th | CREATE TABLE table_17120964_5 (opponent VARCHAR, date VARCHAR) |
SELECT directed_by FROM table_27622417_1 WHERE no_in_season = 17 | who were the director of the episode whose number in the season is 17? | CREATE TABLE table_27622417_1 (directed_by VARCHAR, no_in_season VARCHAR) |
SELECT grand_rapids__grr_ FROM table_name_89 WHERE detroit__dtw_ = "$378.55" | What was the passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55? | CREATE TABLE table_name_89 (grand_rapids__grr_ VARCHAR, detroit__dtw_ VARCHAR) |
SELECT date FROM table_name_60 WHERE winning_score = 71 - 69 - 68 - 70 = 278 | On what Date is the Winning Score 71-69-68-70=278? | CREATE TABLE table_name_60 (date VARCHAR, winning_score VARCHAR) |
SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland" | How many lanes have a Nationality of iceland? | CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR) |
SELECT rookie FROM table_name_59 WHERE week = 6 | Who was the rookie that played week 6? | CREATE TABLE table_name_59 (rookie VARCHAR, week VARCHAR) |
SELECT SUM(student_capacity) FROM dorm | Find the total capacity of all dorms. | CREATE TABLE dorm (student_capacity INTEGER) |
SELECT date FROM table_name_76 WHERE opponent = "wales" | On what Date was Wales the Opponent? | CREATE TABLE table_name_76 (date VARCHAR, opponent VARCHAR) |
SELECT time FROM table_name_27 WHERE opponent = "stephanie palmer" | What is the time when the opponent is stephanie palmer? | CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR) |
SELECT bonus_points FROM table_name_28 WHERE drawn = "4" | What is the number of bonus points when there are 4 drawn? | CREATE TABLE table_name_28 (bonus_points VARCHAR, drawn VARCHAR) |
SELECT nationality FROM table_name_41 WHERE years_for_jazz = "1987-88" | What is the nationality of all Utah Jazz Players, that played 1987-88? | CREATE TABLE table_name_41 (nationality VARCHAR, years_for_jazz VARCHAR) |
SELECT college FROM table_name_32 WHERE school = "wichita heights high school" | What college is getting a player that attends Wichita Heights High School? | CREATE TABLE table_name_32 (college VARCHAR, school VARCHAR) |
SELECT report FROM table_name_31 WHERE venue = "king baudouin stadium brussels, belgium" | What's the report in King Baudouin Stadium Brussels, Belgium? | CREATE TABLE table_name_31 (report VARCHAR, venue VARCHAR) |
SELECT points_against FROM table_27293285_2 WHERE points_for = "353" | How many points against did the club who had 353 points for have? | CREATE TABLE table_27293285_2 (points_against VARCHAR, points_for VARCHAR) |
SELECT opponent FROM table_name_49 WHERE attendance = "48,121" | Who was the opponent when 48,121 people attended? | CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR) |
SELECT points FROM table_226619_12 WHERE respect_toward_opponents = 212 | Name the points for 212 respect toward opponents | CREATE TABLE table_226619_12 (points VARCHAR, respect_toward_opponents VARCHAR) |
SELECT opponent FROM table_name_74 WHERE attendance = "68,264" | Tell me the opponent for attendance of 68,264 | CREATE TABLE table_name_74 (opponent VARCHAR, attendance VARCHAR) |
SELECT MAX(geo_id) FROM table_18600760_18 WHERE land___sqmi__ = "32.532" | What is the GEO ID of the township with area of 32.532 square miles? | CREATE TABLE table_18600760_18 (geo_id INTEGER, land___sqmi__ VARCHAR) |
SELECT AVG(attendance) FROM table_name_54 WHERE opponent = "at boston patriots" AND week > 3 | Opponent of at boston patriots, and a Week larger than 3 had what average attendance? | CREATE TABLE table_name_54 (attendance INTEGER, opponent VARCHAR, week VARCHAR) |
SELECT chassis FROM table_name_41 WHERE points = "25" | What is the chassis when there is 25 points? | CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR) |
SELECT MIN(rank) FROM table_name_95 WHERE silver < 14 AND bronze < 3 AND total = 4 AND nation = "ukraine" | What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bronze medals, and a total of 4 medals? | CREATE TABLE table_name_95 (rank INTEGER, nation VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) |
SELECT notes FROM table_name_31 WHERE country = "united states" | What are the notes of the United States? | CREATE TABLE table_name_31 (notes VARCHAR, country VARCHAR) |
SELECT Name FROM TRACK WHERE Name LIKE '%you%' | Find the names of all the tracks that contain the word "you". | CREATE TABLE TRACK (Name VARCHAR) |
SELECT district FROM table_1805191_10 WHERE first_elected = 2000 | In which district is the first elected 2000? | CREATE TABLE table_1805191_10 (district VARCHAR, first_elected VARCHAR) |
SELECT home FROM table_name_85 WHERE club = "maccabi tel-aviv" | What is the home record for the Maccabi Tel-Aviv club? | CREATE TABLE table_name_85 (home VARCHAR, club VARCHAR) |
SELECT region FROM table_name_41 WHERE format = "digital" AND date = "19 july 2008" | In what region was Degeneration released in digital format on 19 July 2008? | CREATE TABLE table_name_41 (region VARCHAR, format VARCHAR, date VARCHAR) |
SELECT SUM(total) FROM table_name_47 WHERE player = "seve ballesteros" | What is the Total for Seve Ballesteros? | CREATE TABLE table_name_47 (total INTEGER, player VARCHAR) |
SELECT home_team FROM table_name_48 WHERE venue = "victoria park" | What's the Home teams Venue near Victoria Park? | CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR) |
SELECT winning_team FROM table_21373283_3 WHERE pole_position = "Max Chilton" AND circuit = "Oulton Park" | What is the winning team at Oulton Park when Max Chilton held the pole position? | CREATE TABLE table_21373283_3 (winning_team VARCHAR, pole_position VARCHAR, circuit VARCHAR) |
SELECT first_appearance FROM table_26240046_1 WHERE season_4 = 7 | What episode was the first appearance of the character who appears 7 times in season 4? | CREATE TABLE table_26240046_1 (first_appearance VARCHAR, season_4 VARCHAR) |
SELECT writer_s_ FROM table_10953197_3 WHERE production_code = "2394084" | Who are the writer(s) for the production code 2394084 | CREATE TABLE table_10953197_3 (writer_s_ VARCHAR, production_code VARCHAR) |
SELECT record FROM table_name_59 WHERE visitor = "los angeles kings" AND date = "april 22" | On April 22 when the Los Angeles Kings where visitors what was the record? | CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT MIN(game) FROM table_name_81 WHERE score = "99-89" | What is the earliest game with a score of 99-89? | CREATE TABLE table_name_81 (game INTEGER, score VARCHAR) |
SELECT COUNT(races) FROM table_24466191_1 WHERE position = "15th" | Name the total number of races for 15th position | CREATE TABLE table_24466191_1 (races VARCHAR, position VARCHAR) |
SELECT AVG(pos) FROM table_name_91 WHERE car__number < 18 AND driver = "mike skinner" | Which Pos has a Car # smaller than 18, and a Driver of mike skinner? | CREATE TABLE table_name_91 (pos INTEGER, car__number VARCHAR, driver VARCHAR) |
SELECT title FROM table_name_87 WHERE release_date = "24 july 2005" | What is the title released on 24 July 2005? | CREATE TABLE table_name_87 (title VARCHAR, release_date VARCHAR) |
SELECT date FROM table_name_54 WHERE winning_score = –8(70 - 71 - 67 = 208) | On what date is the winning score –8 (70-71-67=208)? | CREATE TABLE table_name_54 (date VARCHAR, winning_score VARCHAR) |
SELECT finish FROM table_name_21 WHERE start = "25" AND laps > 46 | What was the finish with the start of 25 and a lap larger than 46? | CREATE TABLE table_name_21 (finish VARCHAR, start VARCHAR, laps VARCHAR) |
SELECT feathered__fxx_ FROM table_name_37 WHERE duration = "11 min, 34 sec" | When the duration was 11 min, 34 sec, what was the feathered (Fxx)? | CREATE TABLE table_name_37 (feathered__fxx_ VARCHAR, duration VARCHAR) |
SELECT college FROM table_name_47 WHERE school = "episcopal academy" | What college picked someone from The Episcopal Academy? | CREATE TABLE table_name_47 (college VARCHAR, school VARCHAR) |
SELECT film_of_the_year FROM table_name_2 WHERE date = "may 8, 1964" | Which movie was awarded Film of the Year on May 8, 1964? | CREATE TABLE table_name_2 (film_of_the_year VARCHAR, date VARCHAR) |
SELECT MAX(mintage) FROM table_name_46 WHERE artist = "royal canadian mint engravers" AND year > 2008 | When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint Engravers Artist? | CREATE TABLE table_name_46 (mintage INTEGER, artist VARCHAR, year VARCHAR) |
SELECT aggregate FROM table_name_54 WHERE round = "first round" AND club = "k.s.v. waregem" | What is the aggregate for the first round for K.S.V. Waregem? | CREATE TABLE table_name_54 (aggregate VARCHAR, round VARCHAR, club VARCHAR) |
SELECT date FROM table_name_58 WHERE record = "19-11" | On what date was the record 19-11? | CREATE TABLE table_name_58 (date VARCHAR, record VARCHAR) |
SELECT venue FROM table_name_60 WHERE away_team = "melbourne" | What venue did melbourne play at as the away team? | CREATE TABLE table_name_60 (venue VARCHAR, away_team VARCHAR) |
SELECT product_description FROM products WHERE product_name = "Chocolate" | What is the description of the product named "Chocolate"? | CREATE TABLE products (product_description VARCHAR, product_name VARCHAR) |
SELECT COUNT(pa) FROM table_17012578_6 WHERE blank_ends = 1 | When the blank ends at 1, what is the PA? | CREATE TABLE table_17012578_6 (pa VARCHAR, blank_ends VARCHAR) |
SELECT acceleration_0_100km_h__0_62mph_ FROM table_name_69 WHERE transmission = "5-speed manual" | What is the acceleration 0–100km/h (0–62mph) when the transmission is 5-speed manual? | CREATE TABLE table_name_69 (acceleration_0_100km_h__0_62mph_ VARCHAR, transmission VARCHAR) |
SELECT date FROM table_name_63 WHERE distance = "3,000 m" | Which Date has a Distance of 3,000 m? | CREATE TABLE table_name_63 (date VARCHAR, distance VARCHAR) |
SELECT date FROM table_name_50 WHERE stadium = "central park" | What day did they play in central park stadium? | CREATE TABLE table_name_50 (date VARCHAR, stadium VARCHAR) |
SELECT SUM(played) FROM table_name_21 WHERE team = "scottish wanderers" AND points < 5 | How many games were played by the Scottish Wanderers where less than 5 Points were scored? | CREATE TABLE table_name_21 (played INTEGER, team VARCHAR, points VARCHAR) |
SELECT series FROM table_name_7 WHERE wins < 3 AND points = "9" AND podiums = 1 | what is the series when wins is less than 3, points is 9 and podiums is 1? | CREATE TABLE table_name_7 (series VARCHAR, podiums VARCHAR, wins VARCHAR, points VARCHAR) |
SELECT termini FROM table_name_19 WHERE direction = "east west" AND remarks = "replaced by us 59" | What is the terminini of the highway with an east west direction and remarks that it was replaced by us 59? | CREATE TABLE table_name_19 (termini VARCHAR, direction VARCHAR, remarks VARCHAR) |
SELECT Nationality FROM pilot GROUP BY Nationality ORDER BY COUNT(*) DESC LIMIT 1 | Show the most common nationality of pilots. | CREATE TABLE pilot (Nationality VARCHAR) |
SELECT finish FROM table_name_37 WHERE year = "1937" | In 1937, what was the finish? | CREATE TABLE table_name_37 (finish VARCHAR, year VARCHAR) |
SELECT position FROM table_name_74 WHERE player = "jeff brown" | What position is Jeff Brown? | CREATE TABLE table_name_74 (position VARCHAR, player VARCHAR) |
SELECT name FROM table_name_31 WHERE circuit = "miramas" | What was the name for the race in the Miramas circuit? | CREATE TABLE table_name_31 (name VARCHAR, circuit VARCHAR) |
SELECT record FROM table_23186738_6 WHERE team = "Houston" | Name the record for houston | CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR) |
SELECT AVG(viewers__m_) FROM table_name_82 WHERE episode = "school council" | What Viewers (m) has an Episode of school council? | CREATE TABLE table_name_82 (viewers__m_ INTEGER, episode VARCHAR) |
SELECT icao FROM table_name_72 WHERE airport = "seewoosagur ramgoolam airport" | What is the ICAO for Seewoosagur Ramgoolam airport? | CREATE TABLE table_name_72 (icao VARCHAR, airport VARCHAR) |
SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T3.Name = "Ananthapuri Express" INTERSECT SELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train... | What are the names of the stations which serve both "Ananthapuri Express" and "Guruvayur Express" trains? | CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (train_id VARCHAR, Name VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR) |
SELECT MAX(rank) FROM table_name_20 WHERE lane = 5 | What is the highest rank of a swimmer in lane 5? | CREATE TABLE table_name_20 (rank INTEGER, lane VARCHAR) |
SELECT record FROM table_name_59 WHERE visitor = "nashville" AND decision = "ellis" AND game > 32 | Which game later than number 32 had both Ellis for the decision and Nashville as the visiting team? | CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR, visitor VARCHAR, decision VARCHAR) |
SELECT name FROM table_22977424_8 WHERE promoted_to_league = "Plymouth Albion Orrell" | Name the name for plymouth albion orrell | CREATE TABLE table_22977424_8 (name VARCHAR, promoted_to_league VARCHAR) |
SELECT player FROM table_name_30 WHERE school_club_team = "mcgill" | What is the Player from McGill? | CREATE TABLE table_name_30 (player VARCHAR, school_club_team VARCHAR) |
SELECT years_played FROM table_10023387_1 WHERE singles_w_l = "3–2" | what's the years played with singles w-l of 3–2 | CREATE TABLE table_10023387_1 (years_played VARCHAR, singles_w_l VARCHAR) |
SELECT MIN(caps) FROM table_name_56 WHERE position = "fullback" AND date_of_birth__age_ = "13 april 1983" | What is the lowest number of caps of the fullback player born on 13 April 1983? | CREATE TABLE table_name_56 (caps INTEGER, position VARCHAR, date_of_birth__age_ VARCHAR) |
SELECT no_4 FROM table_name_38 WHERE no_9 = "natalie" | Who was number 4 when Natalie was number 9? | CREATE TABLE table_name_38 (no_4 VARCHAR, no_9 VARCHAR) |
SELECT 1 AS st_leg FROM table_name_75 WHERE team__number1 = "hapoel jerusalem" | What is the 1st leg that has hapoel jerusalem? | CREATE TABLE table_name_75 (team__number1 VARCHAR) |
SELECT overall FROM table_name_91 WHERE position = "running back" | What is the overall of the running back player? | CREATE TABLE table_name_91 (overall VARCHAR, position VARCHAR) |
SELECT 2011 FROM table_name_45 WHERE 2009 = "82,003" | What was the value in 2011 when value in 2009 was 82,003? | CREATE TABLE table_name_45 (Id VARCHAR) |
SELECT AVG(week) FROM table_name_9 WHERE date = "november 12, 1978" | What's the mean week number for November 12, 1978? | CREATE TABLE table_name_9 (week INTEGER, date VARCHAR) |
SELECT label FROM table_name_54 WHERE region = "netherlands" | What is the label from the Netherlands? | CREATE TABLE table_name_54 (label VARCHAR, region VARCHAR) |
SELECT to_par FROM table_name_11 WHERE score = 72 - 69 - 68 = 209 | What is the to par for the score 72-69-68=209? | CREATE TABLE table_name_11 (to_par VARCHAR, score VARCHAR) |
SELECT losing_pitcher FROM table_12125069_2 WHERE winning_pitcher = "Roy Oswalt" | Who is the losing pitcher when the winning pitcher is roy oswalt? | CREATE TABLE table_12125069_2 (losing_pitcher VARCHAR, winning_pitcher VARCHAR) |
SELECT date FROM table_name_37 WHERE venue = "western oval" | The Western Oval venue has what date? | CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR) |
SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2009 | What percentage of Asians are there in the year 2009? | CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR) |
SELECT year FROM table_14903491_1 WHERE womens_doubles = "Raina Tzvetkova Emilia Dimitrova" | Name the year for womens doubles being raina tzvetkova emilia dimitrova | CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR) |
SELECT original_team FROM table_name_13 WHERE hometown = "wrightsville, georgia" | What is the Original Team of the contestant from Wrightsville, Georgia ? | CREATE TABLE table_name_13 (original_team VARCHAR, hometown VARCHAR) |
SELECT record FROM table_name_89 WHERE date = "september 15, 1968" | What was the record on the date of september 15, 1968? | CREATE TABLE table_name_89 (record VARCHAR, date VARCHAR) |
SELECT away FROM table_name_15 WHERE home = "2-2" | WHAT IS THE AWAY WITH HOME AT 2-2? | CREATE TABLE table_name_15 (away VARCHAR, home VARCHAR) |
SELECT opposing_team FROM table_name_5 WHERE status = "second test" | What was the opposing team for the second test? | CREATE TABLE table_name_5 (opposing_team VARCHAR, status VARCHAR) |
SELECT COUNT(original_artist) FROM table_27075510_1 WHERE week__number = "Audition" | how many times is the week # is audition? | CREATE TABLE table_27075510_1 (original_artist VARCHAR, week__number VARCHAR) |
SELECT goals FROM table_name_5 WHERE score = "26-28" | What were the goals in the game with the 26-28 final score? | CREATE TABLE table_name_5 (goals VARCHAR, score VARCHAR) |
SELECT nation FROM table_name_37 WHERE competition = "preseason" AND year < 2011 AND club = "chivas de guadalajara" | What shows for nation when the Competition is preseason, Year less than 2011, and a Club of chivas de guadalajara? | CREATE TABLE table_name_37 (nation VARCHAR, club VARCHAR, competition VARCHAR, year VARCHAR) |
SELECT name FROM table_name_61 WHERE sr_no < 74 AND floors > 36 | what is the name when the sr no is less than 74 and floors is more than 36? | CREATE TABLE table_name_61 (name VARCHAR, sr_no VARCHAR, floors VARCHAR) |
SELECT away_team FROM table_name_69 WHERE crowd > 41 OFFSET 451 | Who was the away team when the crowd was larger than 41,451? | CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER) |
SELECT stadium FROM table_name_95 WHERE date = "december 29, 2008" | What stadium was the December 29, 2008 game played at? | CREATE TABLE table_name_95 (stadium VARCHAR, date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.