answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT MAX(round) FROM table_name_69 WHERE school = "bowling green" AND pick < 210 | What was the highest round for Bowling Green with a pick smaller than 210? | CREATE TABLE table_name_69 (round INTEGER, school VARCHAR, pick VARCHAR) |
SELECT date FROM table_name_74 WHERE attendance > 36 OFFSET 796 | When was the Browns' game that over 36,796 attended? | CREATE TABLE table_name_74 (date VARCHAR, attendance INTEGER) |
SELECT institution FROM table_255188_1 WHERE joined = 1988 | What institution joined in 1988? | CREATE TABLE table_255188_1 (institution VARCHAR, joined VARCHAR) |
SELECT party FROM table_name_49 WHERE district = "6th" | Which party has the 6th district? | CREATE TABLE table_name_49 (party VARCHAR, district VARCHAR) |
SELECT us_rap FROM table_name_98 WHERE album = "west coast bad boyz, vol. 3: poppin' collars" | What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars? | CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR) |
SELECT SUM(rank) FROM table_name_52 WHERE wins = 5 AND events < 32 | What is the rank for the player with 5 wins and under 32 events? | CREATE TABLE table_name_52 (rank INTEGER, wins VARCHAR, events VARCHAR) |
SELECT medal FROM table_name_68 WHERE event = "men's light welterweight" AND games = "1996 atlanta" | What medal was won in the men's light welterweight event at the 1996 Atlanta games? | CREATE TABLE table_name_68 (medal VARCHAR, event VARCHAR, games VARCHAR) |
SELECT fuel_type FROM table_name_62 WHERE mpg_us_extra_urban > 53.5 AND mpg_us_combined > 50 AND manufacturer = "renault" | Which Fuel Type that has a mpg-US Extra-Urban larger than 53.5, and a mpg-US Combined larger than 50 from renault? | CREATE TABLE table_name_62 (fuel_type VARCHAR, manufacturer VARCHAR, mpg_us_extra_urban VARCHAR, mpg_us_combined VARCHAR) |
SELECT city FROM table_name_23 WHERE tickets_available_since = "march 28, 2008" AND date = "september 4, 2009" | What city had tickets available since March 28, 2008 and went on sale on September 4, 2009? | CREATE TABLE table_name_23 (city VARCHAR, tickets_available_since VARCHAR, date VARCHAR) |
SELECT surface FROM table_name_88 WHERE tournament = "aptos" | What is the tournament surface at Aptos? | CREATE TABLE table_name_88 (surface VARCHAR, tournament VARCHAR) |
SELECT nhl_team FROM table_name_69 WHERE player = "ryan johnson" | Tell me the NHL team for ryan johnson | CREATE TABLE table_name_69 (nhl_team VARCHAR, player VARCHAR) |
SELECT first_broadcast FROM table_29141354_2 WHERE episode = "02x07" | When was episode 02x07 first broadcast? | CREATE TABLE table_29141354_2 (first_broadcast VARCHAR, episode VARCHAR) |
SELECT MIN(week) FROM table_name_6 WHERE record = "2-9" | Which Week has a Record of 2-9? | CREATE TABLE table_name_6 (week INTEGER, record VARCHAR) |
SELECT si_prefix FROM table_260938_1 WHERE chuquet = "thousand" | Name the si prefix for thousand chuquet | CREATE TABLE table_260938_1 (si_prefix VARCHAR, chuquet VARCHAR) |
SELECT week_3 FROM table_name_94 WHERE week_6 = 31 + 40 = 71 | Name the week 3 with week 6 of 31+40=71 | CREATE TABLE table_name_94 (week_3 VARCHAR, week_6 VARCHAR) |
SELECT time_retired FROM table_name_41 WHERE grid = "4" | What was the time/retired of the car that started in grid 4? | CREATE TABLE table_name_41 (time_retired VARCHAR, grid VARCHAR) |
SELECT points_classification FROM table_14856023_18 WHERE general_classification = "Mark Renshaw" AND team_classification = "Team CSC" | Name the points classification for mark renshaw and team csc | CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) |
SELECT COUNT(wins) FROM table_26815674_1 WHERE final_placing = "24th" | When 24th is the final placing how many wins are there? | CREATE TABLE table_26815674_1 (wins VARCHAR, final_placing VARCHAR) |
SELECT opponent FROM table_name_66 WHERE game > 3 AND date = "may 9" | On May 9 after Game 3, what was the Opponent? | CREATE TABLE table_name_66 (opponent VARCHAR, game VARCHAR, date VARCHAR) |
SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas" | What is the date when the city is San Antonio, Texas? | CREATE TABLE table_20996923_20 (date VARCHAR, city VARCHAR) |
SELECT height_in_ft FROM table_name_78 WHERE years_for_rockets = "2005-06" | What is the Height for Years for Rockets of 2005-06? | CREATE TABLE table_name_78 (height_in_ft VARCHAR, years_for_rockets VARCHAR) |
SELECT first_name FROM Students WHERE current_address_id <> permanent_address_id | Whose permanent address is different from his or her current address? List his or her first name. | CREATE TABLE Students (first_name VARCHAR, current_address_id VARCHAR, permanent_address_id VARCHAR) |
SELECT MIN(bronze) FROM table_name_58 WHERE rank = "3" AND total < 2 | What is the fewest bronzes for ranks of 3 with totals under 2? | CREATE TABLE table_name_58 (bronze INTEGER, rank VARCHAR, total VARCHAR) |
SELECT hometown FROM table_11677100_5 WHERE player = "Josh Hamilton" | What is Josh Hamilton's hometown? | CREATE TABLE table_11677100_5 (hometown VARCHAR, player VARCHAR) |
SELECT away_team AS score FROM table_name_7 WHERE venue = "princes park" | Which Away team score has a Venue of princes park? | CREATE TABLE table_name_7 (away_team VARCHAR, venue VARCHAR) |
SELECT pick FROM table_2840500_8 WHERE player = "Matthew Scorsune" | Name the pick for matthew scorsune | CREATE TABLE table_2840500_8 (pick VARCHAR, player VARCHAR) |
SELECT record FROM table_name_59 WHERE opponent = "magomedkhan gamzatkhanov" AND method = "submission" | What record has magomedkhan gamzatkhanov as the opponent, and submission as the method? | CREATE TABLE table_name_59 (record VARCHAR, opponent VARCHAR, method VARCHAR) |
SELECT MAX(poles) FROM table_name_56 WHERE series = "ginetta championship" AND season < 2007 | What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007? | CREATE TABLE table_name_56 (poles INTEGER, series VARCHAR, season VARCHAR) |
SELECT COUNT(silver) FROM table_name_91 WHERE gold < 0 | What is the number in total of silver with a gold smaller than 0? | CREATE TABLE table_name_91 (silver VARCHAR, gold INTEGER) |
SELECT COUNT(record) FROM table_24126518_2 WHERE week = 11 | Name the number of record for week 11 | CREATE TABLE table_24126518_2 (record VARCHAR, week VARCHAR) |
SELECT attendance FROM table_name_22 WHERE date = "11/09/1935" | How many spectators attended the game on 11/09/1935? | CREATE TABLE table_name_22 (attendance VARCHAR, date VARCHAR) |
SELECT MIN(silver) FROM table_name_73 WHERE bronze > 10 | How many Silver medals did the Nation with 10 or more Bronze receive? | CREATE TABLE table_name_73 (silver INTEGER, bronze INTEGER) |
SELECT opening_date FROM table_name_6 WHERE classification = "musical" AND theatre = "adelphi theatre" | What is the opening date of the musical at the adelphi theatre? | CREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR) |
SELECT COUNT(overall) FROM table_name_98 WHERE player = "kenny lewis" AND round > 5 | What is the total overall when Kenny Lewis is the player in a round after 5? | CREATE TABLE table_name_98 (overall VARCHAR, player VARCHAR, round VARCHAR) |
SELECT MIN(capacity) FROM table_11206787_5 WHERE team = "Airdrie United" | What is the minimum capacity where airdrie united is? | CREATE TABLE table_11206787_5 (capacity INTEGER, team VARCHAR) |
SELECT rainfall_totals__million_m_3__ FROM table_26609958_1 WHERE hydrographic_basin = "Martha Brae, River" | When martha brae, river is the hydrographic basin what is the rainfall totals (million m 3)? | CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ VARCHAR, hydrographic_basin VARCHAR) |
SELECT home_city FROM driver GROUP BY home_city ORDER BY COUNT(*) DESC LIMIT 1 | Show the home city with the most number of drivers. | CREATE TABLE driver (home_city VARCHAR) |
SELECT MAX(bangladeshi_population) FROM table_19149550_9 WHERE rank = 14 | How many Bangladeshi citizens live in the borough ranked at number 14? | CREATE TABLE table_19149550_9 (bangladeshi_population INTEGER, rank VARCHAR) |
SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears" | What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners? | CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR) |
SELECT MIN(bronze) FROM table_name_37 WHERE gold > 0 AND nation = "russia" | what is the least bronze when gold is more than 0 for russia? | CREATE TABLE table_name_37 (bronze INTEGER, gold VARCHAR, nation VARCHAR) |
SELECT place FROM table_name_37 WHERE player = "claude harmon" | What is Claude Harmon's Place? | CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR) |
SELECT week FROM table_name_37 WHERE tv_time = "bye" | WHAT WEEK HAS A TV TIME OF BYE? | CREATE TABLE table_name_37 (week VARCHAR, tv_time VARCHAR) |
SELECT COUNT(goals) FROM table_name_40 WHERE name = "diego milito" AND debut_year > 2008 | How many goals occurred with Diego Milito in a debut year later than 2008? | CREATE TABLE table_name_40 (goals VARCHAR, name VARCHAR, debut_year VARCHAR) |
SELECT score FROM table_name_67 WHERE champion = "flavia pennetta" | What was the score when Flavia Pennetta won the championship? | CREATE TABLE table_name_67 (score VARCHAR, champion VARCHAR) |
SELECT bass FROM table_name_2 WHERE label = "atlantic" AND year = 1994 | Who played bass in 1994 for the Atlantic label? | CREATE TABLE table_name_2 (bass VARCHAR, label VARCHAR, year VARCHAR) |
SELECT total FROM table_name_24 WHERE country = "spain" | What was the total of the player from Spain? | CREATE TABLE table_name_24 (total VARCHAR, country VARCHAR) |
SELECT COUNT(jianshu) FROM table_name_76 WHERE total > 19.16 AND athlete = "nguyen huy thanh ( vie )" AND qiangshu > 9.66 | What is the number of Jianshu when the total is more than 19.16, for Nguyen Huy Thanh ( vie ), and Qiangshu is more than 9.66? | CREATE TABLE table_name_76 (jianshu VARCHAR, qiangshu VARCHAR, total VARCHAR, athlete VARCHAR) |
SELECT area FROM table_name_76 WHERE decile = "8" | What area is the school with a decile of 8 in? | CREATE TABLE table_name_76 (area VARCHAR, decile VARCHAR) |
SELECT result FROM table_name_64 WHERE week > 14 AND opponent = "houston oilers" | Against the Houston Oilers after week 14, what was the result of the game? | CREATE TABLE table_name_64 (result VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING COUNT(*) > 10 | Find all airlines that have at least 10 flights. | CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR) |
SELECT date FROM table_name_41 WHERE opponent = "real españa" | what is the date when the opponent is real españa? | CREATE TABLE table_name_41 (date VARCHAR, opponent VARCHAR) |
SELECT high_assists FROM table_name_64 WHERE high_points = "tayshaun prince (23)" | What is High Assists, when High Points is "Tayshaun Prince (23)"? | CREATE TABLE table_name_64 (high_assists VARCHAR, high_points VARCHAR) |
SELECT team FROM table_27734577_8 WHERE score = "W 110–87 (OT)" | What team has a score of w 110–87 (ot)? | CREATE TABLE table_27734577_8 (team VARCHAR, score VARCHAR) |
SELECT opera FROM table_name_59 WHERE internet_explorer = "63.67%" | What percentage of users were using Opera during the period in which 63.67% were using Internet Explorer? | CREATE TABLE table_name_59 (opera VARCHAR, internet_explorer VARCHAR) |
SELECT venue FROM table_name_73 WHERE city = "long beach" | What venue is in Long Beach? | CREATE TABLE table_name_73 (venue VARCHAR, city VARCHAR) |
SELECT no_in_season FROM table_2156758_4 WHERE written_by = "Chris Mitchell and Erik Wiese" | What is the number in season for the episode written by Chris Mitchell and Erik Wiese? | CREATE TABLE table_2156758_4 (no_in_season VARCHAR, written_by VARCHAR) |
SELECT province FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard" | What is the province where the soccer statium is terrain #2 of complexe sportif claude-robillard? | CREATE TABLE table_27369069_4 (province VARCHAR, soccer_stadium VARCHAR) |
SELECT b_52_model FROM table_18933037_3 WHERE unit = "441st BS, 7th BW" | When 441st bs, 7th bw is the unit what is the b-52 model? | CREATE TABLE table_18933037_3 (b_52_model VARCHAR, unit VARCHAR) |
SELECT opponent FROM table_name_97 WHERE week < 11 AND date = "october 31, 1976" | Who was the opponent of the game before week 11 on October 31, 1976? | CREATE TABLE table_name_97 (opponent VARCHAR, week VARCHAR, date VARCHAR) |
SELECT entered FROM table_name_92 WHERE celebrity = "kim woodburn" | When did kim woodburn enter? | CREATE TABLE table_name_92 (entered VARCHAR, celebrity VARCHAR) |
SELECT MAX(week) FROM table_name_66 WHERE location = "molson stadium" | What is the highest week for a game that was located at the Molson Stadium? | CREATE TABLE table_name_66 (week INTEGER, location VARCHAR) |
SELECT platform FROM table_name_89 WHERE title = "super mario all-stars" | What's the platform of Super Mario All-Stars? | CREATE TABLE table_name_89 (platform VARCHAR, title VARCHAR) |
SELECT barrel_profile FROM table_12834315_5 WHERE name = "Gas Piston Carbine" | What is the barrell profile that goes with the gas piston carbine? | CREATE TABLE table_12834315_5 (barrel_profile VARCHAR, name VARCHAR) |
SELECT place FROM table_name_52 WHERE player = "steve pate" | What is the Place when Steve Pate was the player? | CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR) |
SELECT english_name FROM table_2847477_2 WHERE pinyin = "Gùshǐ Xiàn" | What is the English name of gùshǐ xiàn? | CREATE TABLE table_2847477_2 (english_name VARCHAR, pinyin VARCHAR) |
SELECT round FROM table_name_91 WHERE date = "10 may" | Which round was played on 10 May? | CREATE TABLE table_name_91 (round VARCHAR, date VARCHAR) |
SELECT date FROM table_20745444_1 WHERE record = "1-0" | What was the date when the record was 1-0? | CREATE TABLE table_20745444_1 (date VARCHAR, record VARCHAR) |
SELECT MAX(time) FROM table_name_30 WHERE rank < 5 AND name = "eamon sullivan" | what is the highest time when the rank is less than 5 and the name is eamon sullivan? | CREATE TABLE table_name_30 (time INTEGER, rank VARCHAR, name VARCHAR) |
SELECT MIN(wins) FROM table_14853156_2 | What is the lowest number of wins? | CREATE TABLE table_14853156_2 (wins INTEGER) |
SELECT T2.company_name FROM movie AS T1 JOIN culture_company AS T2 ON T1.movie_id = T2.movie_id WHERE T1.year = 1999 | Show all company names with a movie directed in year 1999. | CREATE TABLE movie (movie_id VARCHAR, year VARCHAR); CREATE TABLE culture_company (company_name VARCHAR, movie_id VARCHAR) |
SELECT airdate FROM table_name_30 WHERE adapted_by = "stanley miller" AND title = "“thirteen to centaurus”" | What is the Airdate for the episode titled “thirteen to centaurus” Adapted by stanley miller? | CREATE TABLE table_name_30 (airdate VARCHAR, adapted_by VARCHAR, title VARCHAR) |
SELECT catalogue FROM table_name_83 WHERE track < 16 AND recorded = "2/3/56" AND song_title = "lawdy miss clawdy" | What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy? | CREATE TABLE table_name_83 (catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR) |
SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina" | What is the earliest stage where mountains classifications was awarded to Peter Stetina? | CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR) |
SELECT english_title_translation FROM table_12744399_1 WHERE japanese_title = "Ranma ½: Chougi Rambuhen" | What's the English translation of the Japanese title of the game Ranma ½: Chougi Rambuhen? | CREATE TABLE table_12744399_1 (english_title_translation VARCHAR, japanese_title VARCHAR) |
SELECT school_colors FROM table_name_66 WHERE main_campus_location = "overland park" | What are the school colors for the college whose main campus is overland park? | CREATE TABLE table_name_66 (school_colors VARCHAR, main_campus_location VARCHAR) |
SELECT bore_x_stroke FROM table_name_83 WHERE year = "1929-32" | Name the Bore x stroke of 1929-32 | CREATE TABLE table_name_83 (bore_x_stroke VARCHAR, year VARCHAR) |
SELECT attendance FROM table_name_8 WHERE week = "12" | What was the attendance on week 12? | CREATE TABLE table_name_8 (attendance VARCHAR, week VARCHAR) |
SELECT date FROM table_name_28 WHERE record = "61-66" | On what date was the team's record 61-66? | CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR) |
SELECT type FROM table_name_21 WHERE company = "epcor" | Which Type has a Company of epcor? | CREATE TABLE table_name_21 (type VARCHAR, company VARCHAR) |
SELECT structure_height_[m] FROM table_name_93 WHERE year < 1968 AND type = "te" AND country = "united states" AND name = "fort peck dam" | What is the height of the fort peck dam which was built before 1968, is located in the united states and has a dam type of TE ? | CREATE TABLE table_name_93 (structure_height_ VARCHAR, m VARCHAR, name VARCHAR, country VARCHAR, year VARCHAR, type VARCHAR) |
SELECT party FROM table_name_22 WHERE first_elected = 1894 AND district = "ohio 16" | What is the party of the representative first elected in 1894 from the Ohio 16 district? | CREATE TABLE table_name_22 (party VARCHAR, first_elected VARCHAR, district VARCHAR) |
SELECT lansing__lan_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$470.47" | At a Saginaw fare of $470.47, what is the fare to Lansing? | CREATE TABLE table_1637981_7 (lansing__lan_ VARCHAR, saginaw__mbs_ VARCHAR) |
SELECT name FROM table_name_32 WHERE year = "2001" | Which Name was in the Year 2001? | CREATE TABLE table_name_32 (name VARCHAR, year VARCHAR) |
SELECT SUM(gold) FROM table_name_17 WHERE silver > 2 AND total = 12 | What's the sum of gold where silver is more than 2 and the total is 12? | CREATE TABLE table_name_17 (gold INTEGER, silver VARCHAR, total VARCHAR) |
SELECT duration FROM table_name_84 WHERE defeated_by = "retired" | Which duration was defeated by retired? | CREATE TABLE table_name_84 (duration VARCHAR, defeated_by VARCHAR) |
SELECT city FROM table_name_26 WHERE prize = "€880,000" | What is the City, when the Prize is €880,000? | CREATE TABLE table_name_26 (city VARCHAR, prize VARCHAR) |
SELECT order__number FROM table_29756040_1 WHERE week__number = "Top 6" | What are all the order #s from the week "top 6"? | CREATE TABLE table_29756040_1 (order__number VARCHAR, week__number VARCHAR) |
SELECT AVG(pet_age), MAX(pet_age), pettype FROM pets GROUP BY pettype | Find the average and maximum age for each type of pet. | CREATE TABLE pets (pettype VARCHAR, pet_age INTEGER) |
SELECT SUM(points) FROM table_name_42 WHERE entrant = "peter whitehead" AND chassis = "ferrari 125" | What is the total number of Points that Peter Whitehead earned in a Ferrari 125? | CREATE TABLE table_name_42 (points INTEGER, entrant VARCHAR, chassis VARCHAR) |
SELECT nation FROM table_name_53 WHERE gold = 0 AND silver = 0 AND total = 2 | Which nation has 0 gold, 0 silver and 2 total? | CREATE TABLE table_name_53 (nation VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR) |
SELECT bocas_is FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" | Name the bocas for chironius multiventris septentrionalis | CREATE TABLE table_1850282_7 (bocas_is VARCHAR, species VARCHAR) |
SELECT AVG(goals_for) FROM table_name_94 WHERE wins > 8 | What is the average Goals For for a team that has more Wins than 8? | CREATE TABLE table_name_94 (goals_for INTEGER, wins INTEGER) |
SELECT theme FROM table_15796072_1 WHERE original_artist = "The Beatles" | What was the theme when the original artist was The Beatles? | CREATE TABLE table_15796072_1 (theme VARCHAR, original_artist VARCHAR) |
SELECT year FROM table_11916083_1 WHERE issue_price__bu_[_clarification_needed_] = "$26.95" | What is the year that the issue price (bu) is $26.95? | CREATE TABLE table_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) |
SELECT COUNT(premier) FROM table_name_67 WHERE second = 55 | What is the total number of Premier, when Second is "55"? | CREATE TABLE table_name_67 (premier VARCHAR, second VARCHAR) |
SELECT chassis FROM table_name_25 WHERE rank = "3rd" | What is the chassis when the rank is 3rd? | CREATE TABLE table_name_25 (chassis VARCHAR, rank VARCHAR) |
SELECT class FROM table_12232526_2 WHERE note = "Reportedly still active as of 2012" | who is the class where note is reportedly still active as of 2012? | CREATE TABLE table_12232526_2 (class VARCHAR, note VARCHAR) |
SELECT no_in_series FROM table_2818164_8 WHERE directed_by = "Art Dielhenn" | the episode directed by art dielhenn was what number in the series? | CREATE TABLE table_2818164_8 (no_in_series VARCHAR, directed_by VARCHAR) |
SELECT cache FROM table_name_13 WHERE memory = "24 gb qpi 5.86 gt/s" AND number = 64 | What is the Cache for a Number 64 with a Memory of 24 gb qpi 5.86 gt/s? | CREATE TABLE table_name_13 (cache VARCHAR, memory VARCHAR, number VARCHAR) |
SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = "danish kaneria" AND average > 13.8 | What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8? | CREATE TABLE table_name_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.