question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the record for the away leg in round 1 and aggregate 2-0? | CREATE TABLE table_2214582_1 (away_leg VARCHAR, round VARCHAR, aggregate VARCHAR) | SELECT away_leg FROM table_2214582_1 WHERE round = 1 AND aggregate = "2-0" |
Name the outgoing manager for mutual consent and position 16th | CREATE TABLE table_27225944_3 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) | SELECT outgoing_manager FROM table_27225944_3 WHERE manner_of_departure = "Mutual consent" AND position_in_table = "16th" |
What is the Position when the person's birthplace was toledo, ohio? | CREATE TABLE table_name_32 (position VARCHAR, birthplace VARCHAR) | SELECT position FROM table_name_32 WHERE birthplace = "toledo, ohio" |
Which Lead Margin has a Poll Source of rasmussen reports/ fox news? | CREATE TABLE table_name_75 (lead_margin INTEGER, poll_source VARCHAR) | SELECT MIN(lead_margin) FROM table_name_75 WHERE poll_source = "rasmussen reports/ fox news" |
Where was the game played when the record was 20-6-6? | CREATE TABLE table_23308178_6 (location VARCHAR, record VARCHAR) | SELECT location FROM table_23308178_6 WHERE record = "20-6-6" |
Which season did Ida Corr win? | CREATE TABLE table_16331144_1 (season VARCHAR, winning_mentor VARCHAR) | SELECT season FROM table_16331144_1 WHERE winning_mentor = "Ida Corr" |
What is the Score 1 of Tie no 6? | CREATE TABLE table_name_46 (score_1 VARCHAR, tie_no VARCHAR) | SELECT score_1 FROM table_name_46 WHERE tie_no = "6" |
What's the date for Details of 1000 copies? | CREATE TABLE table_name_74 (date INTEGER, other_details VARCHAR) | SELECT MIN(date) FROM table_name_74 WHERE other_details = "1000 copies" |
What country has the t7 place, and player Peter Oosterhuis? | CREATE TABLE table_name_48 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_48 WHERE place = "t7" AND player = "peter oosterhuis" |
What was the record at Tiger Stadium? | CREATE TABLE table_name_30 (record VARCHAR, game_site VARCHAR) | SELECT record FROM table_name_30 WHERE game_site = "tiger stadium" |
What was the amount in Staten Island when The Bronx was 1,281? | CREATE TABLE table_1108394_6 (staten_island VARCHAR, the_bronx VARCHAR) | SELECT staten_island FROM table_1108394_6 WHERE the_bronx = "1,281" |
What is the obverse of the archery coin? | CREATE TABLE table_name_45 (obverse VARCHAR, reverse VARCHAR) | SELECT obverse FROM table_name_45 WHERE reverse = "archery" |
How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown? | CREATE TABLE table_27116696_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR) | SELECT us_viewers__million_ FROM table_27116696_1 WHERE directed_by = "Allison Liddi-Brown" |
Which bridge was completed in 1928? | CREATE TABLE table_name_57 (name VARCHAR, completed VARCHAR) | SELECT name FROM table_name_57 WHERE completed = "1928" |
What is the largest ethnic group in мале пијаце (hungarian: kispiac)? | CREATE TABLE table_2562572_33 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_33 WHERE cyrillic_name_other_names = "Мале Пијаце (Hungarian: Kispiac)" |
What Chassis code has a 200d model and a Power of ps (kw; hp) @ 4200? | CREATE TABLE table_name_63 (chassis_code VARCHAR, power VARCHAR, model VARCHAR) | SELECT chassis_code FROM table_name_63 WHERE power = "ps (kw; hp) @ 4200" AND model = "200d" |
Record of 12–15 happened on what date? | CREATE TABLE table_name_85 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_85 WHERE record = "12–15" |
What is the least value for week? | CREATE TABLE table_23916462_3 (week INTEGER) | SELECT MIN(week) FROM table_23916462_3 |
What is the total number of votes Sahlene with a place below 1 has? | CREATE TABLE table_name_4 (votes VARCHAR, artist VARCHAR, place VARCHAR) | SELECT COUNT(votes) FROM table_name_4 WHERE artist = "sahlene" AND place > 1 |
Who is the opponent at america west arena? | CREATE TABLE table_name_24 (opponent VARCHAR, location VARCHAR) | SELECT opponent FROM table_name_24 WHERE location = "america west arena" |
Name the base 10 for shortscale comparison for billion | CREATE TABLE table_260938_1 (base_10 VARCHAR, shortscale_comparison VARCHAR) | SELECT base_10 FROM table_260938_1 WHERE shortscale_comparison = "Billion" |
What was the method of resolution for the fight at cage warriors 39? | CREATE TABLE table_name_87 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_87 WHERE event = "cage warriors 39" |
What is the highest round that had a pick lower than 8? | CREATE TABLE table_name_58 (round INTEGER, pick__number INTEGER) | SELECT MAX(round) FROM table_name_58 WHERE pick__number < 8 |
In which city was the berlin marathon? | CREATE TABLE table_26166836_1 (location VARCHAR, road_race VARCHAR) | SELECT location FROM table_26166836_1 WHERE road_race = "Berlin Marathon" |
What percent did RETTÖ get in the state where LINKE got 0.1%, and FRITZ got 1.3%? | CREATE TABLE table_name_81 (rettö VARCHAR, linke VARCHAR, fritz VARCHAR) | SELECT rettö FROM table_name_81 WHERE linke = "0.1%" AND fritz = "1.3%" |
For which Game 4 did Michael O'Connor play during Game 1? | CREATE TABLE table_name_27 (game_4 VARCHAR, game_1 VARCHAR) | SELECT game_4 FROM table_name_27 WHERE game_1 = "michael o'connor" |
Who did the Orangemen play against when their record was 5-1? | CREATE TABLE table_23346983_1 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_23346983_1 WHERE record = "5-1" |
What is the fewest Al Ahly wins for El Zamalek wins of 0 and 0 draws? | CREATE TABLE table_name_29 (al_ahly_wins INTEGER, draws VARCHAR, el_zamalek_wins VARCHAR) | SELECT MIN(al_ahly_wins) FROM table_name_29 WHERE draws = 0 AND el_zamalek_wins < 0 |
what is the format when the frequency is fm 94.5? | CREATE TABLE table_name_58 (format VARCHAR, frequency VARCHAR) | SELECT format FROM table_name_58 WHERE frequency = "fm 94.5" |
How many measurements of the Czech Republic's population density are recorded in this table? | CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR) | SELECT COUNT(pop_density_people_km_2) FROM table_24066938_1 WHERE member_state = "Czech Republic" |
What is the temperature classification of a purple colored glass bulb? | CREATE TABLE table_name_22 (temperature_classification VARCHAR, glass_bulb_color VARCHAR) | SELECT temperature_classification FROM table_name_22 WHERE glass_bulb_color = "purple" |
What is the total number of win % when John Gartin is coach, the crew is varsity 8+, and the year is 2005? | CREATE TABLE table_name_78 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, crew VARCHAR) | SELECT SUM(win__percentage) FROM table_name_78 WHERE coach = "john gartin" AND crew = "varsity 8+" AND year = "2005" |
What is the home in mellon arena at 7:30 pm with a record o 2-5-2? | CREATE TABLE table_name_25 (home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR) | SELECT home FROM table_name_25 WHERE time = "7:30 pm" AND location_attendance = "mellon arena" AND record = "2-5-2" |
How many residence cities have an English name of Province of Viborg and Nyslott? | CREATE TABLE table_198175_2 (residence_city VARCHAR, english_name VARCHAR) | SELECT COUNT(residence_city) FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott" |
Name the score for charlotte | CREATE TABLE table_17355628_10 (score VARCHAR, team VARCHAR) | SELECT score FROM table_17355628_10 WHERE team = "Charlotte" |
How many tries had a losing bonus of 5, and were part of the Maesteg Celtic RFC club? | CREATE TABLE table_name_73 (tries_for VARCHAR, losing_bonus VARCHAR, club VARCHAR) | SELECT tries_for FROM table_name_73 WHERE losing_bonus = "5" AND club = "maesteg celtic rfc" |
what is the team where winnings is $81,690? | CREATE TABLE table_1708014_2 (team_s_ VARCHAR, winnings VARCHAR) | SELECT team_s_ FROM table_1708014_2 WHERE winnings = "$81,690" |
What away team played at Brunswick Street Oval? | CREATE TABLE table_name_23 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_23 WHERE venue = "brunswick street oval" |
In which state is the city of knoxville? | CREATE TABLE table_name_81 (state VARCHAR, city VARCHAR) | SELECT state FROM table_name_81 WHERE city = "knoxville" |
How many different templates do all document use? | CREATE TABLE Documents (template_id VARCHAR) | SELECT COUNT(DISTINCT template_id) FROM Documents |
Which brigade has a population of 190? | CREATE TABLE table_name_44 (brigade VARCHAR, population VARCHAR) | SELECT brigade FROM table_name_44 WHERE population = "190" |
what voice acter played tien | CREATE TABLE table_name_59 (voice_actor__japanese_ VARCHAR, character_name VARCHAR) | SELECT voice_actor__japanese_ FROM table_name_59 WHERE character_name = "tien" |
On what Date was Henry I Latin Commander of the Battle of Boruy? | CREATE TABLE table_name_67 (date VARCHAR, latin_commander VARCHAR, battle VARCHAR) | SELECT date FROM table_name_67 WHERE latin_commander = "henry i" AND battle = "battle of boruy" |
When renewable electricity is 5760 (gw×h) what is the minimum amount of renewable elecrrixity without hydrogen power? | CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw INTEGER, renewable_electricity__gw•h_ VARCHAR) | SELECT MIN(renewable_electricity_w_o_hydro__gw) AS •h_ FROM table_25244412_1 WHERE renewable_electricity__gw•h_ = 5760 |
Where has a Name of zhongornis? | CREATE TABLE table_name_84 (location VARCHAR, name VARCHAR) | SELECT location FROM table_name_84 WHERE name = "zhongornis" |
Name the number for 2004 scapped | CREATE TABLE table_29002641_1 (number VARCHAR, scrapped VARCHAR) | SELECT number FROM table_29002641_1 WHERE scrapped = "2004" |
What is the average lane for Australia? | CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR) | SELECT AVG(lane) FROM table_name_30 WHERE nationality = "australia" |
What week is the opponent the Indianapolis Colts with an attendance of 68,932? | CREATE TABLE table_name_26 (week VARCHAR, attendance VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_26 WHERE attendance = "68,932" AND opponent = "indianapolis colts" |
What distance does the Bass Pro Shops event have? | CREATE TABLE table_name_97 (distance VARCHAR, event VARCHAR) | SELECT distance FROM table_name_97 WHERE event = "bass pro shops" |
How long did it take for the rider of a Yamaha with a grid less than 8 and laps less than 23? | CREATE TABLE table_name_47 (time VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | SELECT time FROM table_name_47 WHERE manufacturer = "yamaha" AND grid < 8 AND laps < 23 |
What was the score for the game against the New Jersey Nets? | CREATE TABLE table_name_14 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_14 WHERE opponent = "new jersey nets" |
When 1-1-0-0-1-1-0-0- is the graphical how many ignition timings are there? | CREATE TABLE table_22915134_2 (ignition_timing VARCHAR, graphical VARCHAR) | SELECT COUNT(ignition_timing) FROM table_22915134_2 WHERE graphical = "1-1-0-0-1-1-0-0-" |
what character did Laara sadiq play | CREATE TABLE table_name_50 (character_name VARCHAR, voice_actor__english_1998___pioneer_ VARCHAR) | SELECT character_name FROM table_name_50 WHERE voice_actor__english_1998___pioneer_ = "laara sadiq" |
What country is in the region of France? | CREATE TABLE table_29487895_2 (title_in_country VARCHAR, country___region VARCHAR) | SELECT title_in_country FROM table_29487895_2 WHERE country___region = "France" |
what is the total apps when the league apps is 4 (2)? | CREATE TABLE table_name_80 (total_apps VARCHAR, league_apps VARCHAR) | SELECT total_apps FROM table_name_80 WHERE league_apps = "4 (2)" |
Find the semester and year which has the least number of student taking any class. | CREATE TABLE takes (semester VARCHAR, YEAR VARCHAR) | SELECT semester, YEAR FROM takes GROUP BY semester, YEAR ORDER BY COUNT(*) LIMIT 1 |
How many locomotives have a name of City of Birmingham | CREATE TABLE table_15827397_1 (no VARCHAR, name VARCHAR) | SELECT COUNT(no) FROM table_15827397_1 WHERE name = "City of Birmingham" |
What's the moving of the Esp with a transfer and named De La Red? | CREATE TABLE table_name_53 (moving_from VARCHAR, name VARCHAR, type VARCHAR, nat VARCHAR) | SELECT moving_from FROM table_name_53 WHERE type = "transfer" AND nat = "esp" AND name = "de la red" |
Where is the coimbatore affilation that was established in 1982? | CREATE TABLE table_name_89 (affiliation VARCHAR, estd VARCHAR, location VARCHAR) | SELECT affiliation FROM table_name_89 WHERE estd = "1982" AND location = "coimbatore" |
What was the pick # for round 11? | CREATE TABLE table_name_68 (pick__number VARCHAR, round VARCHAR) | SELECT pick__number FROM table_name_68 WHERE round = 11 |
What country has a rank of 3 and notes of r? | CREATE TABLE table_name_97 (country VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT country FROM table_name_97 WHERE notes = "r" AND rank = 3 |
What day did the record reach 15-4? | CREATE TABLE table_name_75 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_75 WHERE record = "15-4" |
What's the 123kg of the Total world record? | CREATE TABLE table_name_41 (world_record VARCHAR) | SELECT 123 AS kg FROM table_name_41 WHERE world_record = "total" |
How many incumbents are there in the georgia 8 district when the party is democratic? | CREATE TABLE table_19753079_13 (incumbent VARCHAR, party VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_19753079_13 WHERE party = "Democratic" AND district = "Georgia 8" |
What is the team name and acc regular season score of the school that was founded for the longest time? | CREATE TABLE university (school_id VARCHAR, founded VARCHAR); CREATE TABLE basketball_match (team_name VARCHAR, ACC_Regular_Season VARCHAR, school_id VARCHAR) | SELECT t2.team_name, t2.ACC_Regular_Season FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id ORDER BY t1.founded LIMIT 1 |
Which Attendance has a Date of december 22, 1985, and a Week smaller than 16? | CREATE TABLE table_name_65 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT SUM(attendance) FROM table_name_65 WHERE date = "december 22, 1985" AND week < 16 |
How many chart runs had a debut position of more than 7 when peak position was 11? | CREATE TABLE table_name_18 (chart VARCHAR, debut_position VARCHAR, peak_position VARCHAR) | SELECT COUNT(chart) AS run FROM table_name_18 WHERE debut_position > 7 AND peak_position = 11 |
Which interview score corresponds with the evening gown score of 8.977? | CREATE TABLE table_12338595_1 (interview VARCHAR, evening_gown VARCHAR) | SELECT interview FROM table_12338595_1 WHERE evening_gown = "8.977" |
What country is the Eurasia Astana team from? | CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR) | SELECT country FROM table_name_69 WHERE team = "eurasia astana" |
List the locations of schools in ascending order of enrollment. | CREATE TABLE school (LOCATION VARCHAR, Enrollment VARCHAR) | SELECT LOCATION FROM school ORDER BY Enrollment |
Name the l3 cache for core i7-2xxxqe, i7-26xxqm, i7-27xxqm | CREATE TABLE table_24538587_13 (l3_cache VARCHAR, brand_name__list_ VARCHAR) | SELECT l3_cache FROM table_24538587_13 WHERE brand_name__list_ = "Core i7-2xxxQE, i7-26xxQM, i7-27xxQM" |
What's the L3 Cache that has a standard power I/O? | CREATE TABLE table_name_63 (l3_cache VARCHAR, i_o_bus VARCHAR) | SELECT l3_cache FROM table_name_63 WHERE i_o_bus = "standard power" |
who is the opponent when the method is submission (rear naked choke) at 4:02 of round 2? | CREATE TABLE table_name_83 (opponent VARCHAR, method VARCHAR) | SELECT opponent FROM table_name_83 WHERE method = "submission (rear naked choke) at 4:02 of round 2" |
Which Attendance is the highest one that has a Record of 15-28? | CREATE TABLE table_name_24 (attendance INTEGER, record VARCHAR) | SELECT MAX(attendance) FROM table_name_24 WHERE record = "15-28" |
Where does CF Pachuca play? | CREATE TABLE table_name_64 (game_site VARCHAR, opponent VARCHAR) | SELECT game_site FROM table_name_64 WHERE opponent = "cf pachuca" |
What year was incumbent Martin Lancaster elected? | CREATE TABLE table_1341568_34 (elected INTEGER, incumbent VARCHAR) | SELECT MIN(elected) FROM table_1341568_34 WHERE incumbent = "Martin Lancaster" |
What shows for Władysławowo, Poland when the world record shows olympic record, a Marcin Dołęga (POL) is olympic standard, and Snatch is clean & jerk? | CREATE TABLE table_name_83 (władysławowo_ VARCHAR, _poland VARCHAR, snatch VARCHAR, world_record VARCHAR, marcin_dołęga___pol__ VARCHAR) | SELECT władysławowo_, _poland FROM table_name_83 WHERE world_record = "olympic record" AND marcin_dołęga___pol__ = "olympic standard" AND snatch = "clean & jerk" |
what is the total number of percent (2000) where percent (1980) is 3.4% | CREATE TABLE table_1182314_5 (percent__2000_ VARCHAR, percent__1980_ VARCHAR) | SELECT COUNT(percent__2000_) FROM table_1182314_5 WHERE percent__1980_ = "3.4%" |
What is the green-communist with a 15.5% lead? | CREATE TABLE table_name_82 (green_communist VARCHAR, lead VARCHAR) | SELECT green_communist FROM table_name_82 WHERE lead = "15.5%" |
What was the score for a match where Sophie Gustafson played? | CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_44 WHERE player = "sophie gustafson" |
What tonnage was built in 2007? | CREATE TABLE table_name_75 (tonnage VARCHAR, built VARCHAR) | SELECT tonnage FROM table_name_75 WHERE built = 2007 |
What is the Qual with less than 68 laps? | CREATE TABLE table_name_3 (qual VARCHAR, laps INTEGER) | SELECT qual FROM table_name_3 WHERE laps < 68 |
Can you tell me the highest Points that has the Played smaller than 30? | CREATE TABLE table_name_67 (points INTEGER, played INTEGER) | SELECT MAX(points) FROM table_name_67 WHERE played < 30 |
What are the formats associated with the Atlantic Records label, catalog number 512336? | CREATE TABLE table_name_15 (format_s_ VARCHAR, label VARCHAR, catalog VARCHAR) | SELECT format_s_ FROM table_name_15 WHERE label = "atlantic records" AND catalog = "512336" |
What score has February 12, 2006 as the date? | CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_38 WHERE date = "february 12, 2006" |
Who tied for the highest rebounds during the game against Orlando? | CREATE TABLE table_23248940_8 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_23248940_8 WHERE team = "Orlando" |
What catalog came out after 2000? | CREATE TABLE table_name_23 (catalog VARCHAR, year INTEGER) | SELECT catalog FROM table_name_23 WHERE year > 2000 |
Where did carlton play while away? | CREATE TABLE table_name_98 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_98 WHERE away_team = "carlton" |
Who wrote the episode with production code 57376? | CREATE TABLE table_29583441_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_29583441_1 WHERE production_code = 57376 |
What competition was played on October 7, 2011? | CREATE TABLE table_name_95 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_95 WHERE date = "october 7, 2011" |
For period September 2009, what is the other Mozilla total number? | CREATE TABLE table_1876262_10 (other_mozilla VARCHAR, period VARCHAR) | SELECT COUNT(other_mozilla) FROM table_1876262_10 WHERE period = "September 2009" |
By how many strokes did Lema beat Jack Nicklaus? | CREATE TABLE table_name_16 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_16 WHERE runner_s__up = "jack nicklaus" |
What date did Essendon play as the home team? | CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_83 WHERE home_team = "essendon" |
List the names and locations of all stations ordered by their yearly entry exit and interchange amounts. | CREATE TABLE station (name VARCHAR, LOCATION VARCHAR, Annual_entry_exit VARCHAR, Annual_interchanges VARCHAR) | SELECT name, LOCATION FROM station ORDER BY Annual_entry_exit, Annual_interchanges |
What is the rank of the nation that has more than 1 Bronze medals and fewer than 4 Gold medals? | CREATE TABLE table_name_75 (rank INTEGER, bronze VARCHAR, gold VARCHAR) | SELECT MIN(rank) FROM table_name_75 WHERE bronze > 1 AND gold < 4 |
What status has an area km 2 less than 27.82, with 352 as the population? | CREATE TABLE table_name_90 (status VARCHAR, area_km_2 VARCHAR, population VARCHAR) | SELECT status FROM table_name_90 WHERE area_km_2 < 27.82 AND population = 352 |
Show the average price of hotels for each star rating code. | CREATE TABLE HOTELS (star_rating_code VARCHAR, price_range INTEGER) | SELECT star_rating_code, AVG(price_range) FROM HOTELS GROUP BY star_rating_code |
How many years had the best actress in a Revival category? | CREATE TABLE table_name_9 (year VARCHAR, category VARCHAR) | SELECT COUNT(year) FROM table_name_9 WHERE category = "best actress in a revival" |
Name the 20 questions when centerfold model is cherie witter | CREATE TABLE table_1566848_6 (centerfold_model VARCHAR) | SELECT 20 AS _questions FROM table_1566848_6 WHERE centerfold_model = "Cherie Witter" |
What is the average Points when the Points Against is 594, and Losses is more than 3? | CREATE TABLE table_name_85 (points INTEGER, points_against VARCHAR, losses VARCHAR) | SELECT AVG(points) FROM table_name_85 WHERE points_against = 594 AND losses > 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.