question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What score has a year later than 1974, with hawthorn as the champion? | CREATE TABLE table_name_31 (score VARCHAR, year VARCHAR, champion VARCHAR) | SELECT score FROM table_name_31 WHERE year > 1974 AND champion = "hawthorn" |
When the Home team of footscray is playing, what's the Home team score? | CREATE TABLE table_name_53 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_53 WHERE home_team = "footscray" |
What year was Mary Elizabeth Mastrantonio nominated? | CREATE TABLE table_name_63 (year VARCHAR, nominee VARCHAR) | SELECT year FROM table_name_63 WHERE nominee = "mary elizabeth mastrantonio" |
what is the debut year for player terry fulton with games less than 51? | CREATE TABLE table_name_83 (debut_year INTEGER, player VARCHAR, games VARCHAR) | SELECT AVG(debut_year) FROM table_name_83 WHERE player = "terry fulton" AND games < 51 |
What is the service charge of the boat howitzers with 1009 made? | CREATE TABLE table_name_9 (service_charge VARCHAR, number_made VARCHAR) | SELECT service_charge FROM table_name_9 WHERE number_made = 1009 |
Which event has 12-1 as a record? | CREATE TABLE table_name_43 (event VARCHAR, record VARCHAR) | SELECT event FROM table_name_43 WHERE record = "12-1" |
What's the highest level of team Astana since 2007? | CREATE TABLE table_name_96 (level INTEGER, team VARCHAR, season VARCHAR) | SELECT MAX(level) FROM table_name_96 WHERE team = "astana" AND season > 2007 |
What is Pick, when Player is "Dexter Bailey"? | CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR) | SELECT pick FROM table_name_34 WHERE player = "dexter bailey" |
What is the low lap total for minardi - motori moderni, and a Grid smaller than 18? | CREATE TABLE table_name_44 (laps INTEGER, constructor VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_44 WHERE constructor = "minardi - motori moderni" AND grid < 18 |
What is the CPU chip in the Dishplayer 7100, which is a dish tuner with a v.90 modem? | CREATE TABLE table_name_10 (cpu_chip VARCHAR, model VARCHAR, modem VARCHAR, type VARCHAR) | SELECT cpu_chip FROM table_name_10 WHERE modem = "v.90" AND type = "dish tuner" AND model = "dishplayer 7100" |
What is the production code fore the episode titled, life's no fun anymore? | CREATE TABLE table_name_16 (prod_code VARCHAR, episode_title VARCHAR) | SELECT prod_code FROM table_name_16 WHERE episode_title = "life's no fun anymore" |
What is the location of the match where the method was submission (armbar) and Mayra Conde was the opponent? | CREATE TABLE table_name_19 (location VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_19 WHERE method = "submission (armbar)" AND opponent = "mayra conde" |
What is the number of poles with 104 points? | CREATE TABLE table_name_51 (poles VARCHAR, points VARCHAR) | SELECT poles FROM table_name_51 WHERE points = "104" |
Which Chassis has an Entrant of cooper car company, and a Year of 1963? | CREATE TABLE table_name_26 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_26 WHERE entrant = "cooper car company" AND year = 1963 |
Who is the incumbent first elected in 1944? | CREATE TABLE table_1342013_20 (incumbent VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_1342013_20 WHERE first_elected = 1944 |
What is the estimated end date for the 2001-037a international designated satellite? | CREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR) | SELECT estimated_end_date[_clarification_needed_] FROM table_18161217_2 WHERE cospar_id = "2001-037A" |
What was the range of finishing position for 15 awarded platinum points? | CREATE TABLE table_11254821_2 (finishing_position VARCHAR, points_awarded__platinum_ VARCHAR) | SELECT finishing_position FROM table_11254821_2 WHERE points_awarded__platinum_ = 15 |
What was the outcome when she partnered with mashona washington? | CREATE TABLE table_name_39 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_39 WHERE partner = "mashona washington" |
Which result has a Date of 2007-08-22? | CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_31 WHERE date = "2007-08-22" |
Which current venues location is Mason, Ohio? | CREATE TABLE table_14903081_1 (current_venue VARCHAR, location VARCHAR) | SELECT current_venue FROM table_14903081_1 WHERE location = "Mason, Ohio" |
What is the number of laps for Grid 14? | CREATE TABLE table_name_88 (laps VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_88 WHERE grid = 14 |
Which Opponent has a Date of november 24, 1991? | CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_52 WHERE date = "november 24, 1991" |
How many times was Sanger 3730xl $2400 usd? | CREATE TABLE table_127511_1 (ion_torrent_pgm VARCHAR, sanger_3730xl VARCHAR) | SELECT COUNT(ion_torrent_pgm) FROM table_127511_1 WHERE sanger_3730xl = "$2400 USD" |
WHAT WAS THE YEAR WHEN THE RUNNER-UP WAS WILLIAM MEHLHORN? | CREATE TABLE table_1507806_1 (year INTEGER, runner_up VARCHAR) | SELECT MAX(year) FROM table_1507806_1 WHERE runner_up = "William Mehlhorn" |
What is the power output (kw) of builder zhuzhou, model hxd1d, with a total production of 2? | CREATE TABLE table_name_79 (power_output__kw_ VARCHAR, model VARCHAR, total_production VARCHAR, builder__family_ VARCHAR) | SELECT power_output__kw_ FROM table_name_79 WHERE total_production = "2" AND builder__family_ = "zhuzhou" AND model = "hxd1d" |
Show the location code, the starting date and ending data in that location for all the documents. | CREATE TABLE Document_locations (location_code VARCHAR, date_in_location_from VARCHAR, date_in_locaton_to VARCHAR) | SELECT location_code, date_in_location_from, date_in_locaton_to FROM Document_locations |
What is Date, when Away Team is "Gillingham"? | CREATE TABLE table_name_2 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_2 WHERE away_team = "gillingham" |
What was the manner of departure for Edgar Schmitt of the Stuttgarter Kickers? | CREATE TABLE table_17085981_2 (manner_of_departure VARCHAR, team VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_17085981_2 WHERE team = "Stuttgarter Kickers" AND outgoing_manager = "Edgar Schmitt" |
Which language do 87.5% of males speak? | CREATE TABLE table_name_44 (males VARCHAR, percentage___percentage_ VARCHAR) | SELECT males FROM table_name_44 WHERE percentage___percentage_ = "87.5" |
Which Date has a Result of 2–2, and a Venue of H? | CREATE TABLE table_name_3 (date VARCHAR, result VARCHAR, venue VARCHAR) | SELECT date FROM table_name_3 WHERE result = "2–2" AND venue = "h" |
How many values of free float for the BSE code of 4EH? | CREATE TABLE table_20667854_1 (free_float VARCHAR, bse_code VARCHAR) | SELECT COUNT(free_float) FROM table_20667854_1 WHERE bse_code = "4EH" |
Who is the television commentator when the radio commentator is Galyna Babiy? | CREATE TABLE table_1998037_9 (television_commentator VARCHAR, radio_commentator VARCHAR) | SELECT television_commentator FROM table_1998037_9 WHERE radio_commentator = "Galyna Babiy" |
who is the the voice actor (japanese) with character name being goku | CREATE TABLE table_1410384_1 (voice_actor__japanese_ VARCHAR, character_name VARCHAR) | SELECT voice_actor__japanese_ FROM table_1410384_1 WHERE character_name = "Goku" |
What was the name of the song in Amma Cheppindi? | CREATE TABLE table_name_84 (song_title VARCHAR, movie VARCHAR) | SELECT song_title FROM table_name_84 WHERE movie = "amma cheppindi" |
What is the score of the game played 26 July 2010? | CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_22 WHERE date = "26 july 2010" |
Where did Melbourne play as the away team? | CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_95 WHERE away_team = "melbourne" |
Which Nationality has a Rank larger than 3, and a Name of tom hilde? | CREATE TABLE table_name_71 (nationality VARCHAR, rank VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_71 WHERE rank > 3 AND name = "tom hilde" |
What are the losses when there are 9 wins and more than 1326 against? | CREATE TABLE table_name_47 (losses INTEGER, wins VARCHAR, against VARCHAR) | SELECT SUM(losses) FROM table_name_47 WHERE wins = 9 AND against > 1326 |
Who won the season for which Brendan Lynch is the runner-up? | CREATE TABLE table_28962227_1 (winner VARCHAR, runners_up VARCHAR) | SELECT winner FROM table_28962227_1 WHERE runners_up = "Brendan Lynch" |
WHAT PLAYER HAS UPLAND HIGH SCHOOL? | CREATE TABLE table_name_88 (player VARCHAR, hometown_school VARCHAR) | SELECT player FROM table_name_88 WHERE hometown_school = "upland high school" |
What is the english title with a lp format and an Original title of то ли ещё будет? | CREATE TABLE table_name_49 (title_in_english VARCHAR, format VARCHAR, original_title VARCHAR) | SELECT title_in_english FROM table_name_49 WHERE format = "lp" AND original_title = "то ли ещё будет" |
What year has the ride flight deck and a rating of less than 5? | CREATE TABLE table_name_47 (year_opened VARCHAR, ride VARCHAR, rating VARCHAR) | SELECT COUNT(year_opened) FROM table_name_47 WHERE ride = "flight deck" AND rating < 5 |
How many pole data were given on season 2012 with 252 points? | CREATE TABLE table_25538763_1 (poles VARCHAR, season VARCHAR, points VARCHAR) | SELECT COUNT(poles) FROM table_25538763_1 WHERE season = 2012 AND points = "252" |
What's the frequency when the identifier is cbf-fm-9? | CREATE TABLE table_name_47 (frequency VARCHAR, identifier VARCHAR) | SELECT frequency FROM table_name_47 WHERE identifier = "cbf-fm-9" |
What percent did LINKE get in Tyrol? | CREATE TABLE table_name_99 (linke VARCHAR, state VARCHAR) | SELECT linke FROM table_name_99 WHERE state = "tyrol" |
Name the to par for gene kunes | CREATE TABLE table_name_39 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_39 WHERE player = "gene kunes" |
What was the score on 14 march 2004? | CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_39 WHERE date = "14 march 2004" |
What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses? | CREATE TABLE table_name_14 (played INTEGER, lost VARCHAR, drawn VARCHAR, percentage VARCHAR) | SELECT MIN(played) FROM table_name_14 WHERE drawn > 0 AND percentage = "12.50%" AND lost < 3 |
In what week was the original singer Whitney Houston. | CREATE TABLE table_23871828_1 (week__number VARCHAR, original_artist VARCHAR) | SELECT week__number FROM table_23871828_1 WHERE original_artist = "Whitney Houston" |
How many counties have an area of 1,205.4 km2? | CREATE TABLE table_1404414_2 (code VARCHAR, area__km_2__ VARCHAR) | SELECT COUNT(code) FROM table_1404414_2 WHERE area__km_2__ = "1,205.4" |
Which average Game # has a Home of san jose, and Points smaller than 71? | CREATE TABLE table_name_95 (game__number INTEGER, home VARCHAR, points VARCHAR) | SELECT AVG(game__number) FROM table_name_95 WHERE home = "san jose" AND points < 71 |
Reported Offenses larger than 216, and a U.S. Rate smaller than 3274, and a Texas Rate smaller than 2688.9, and a Crime of violent crime has what killeen rate? | CREATE TABLE table_name_8 (killeen_rate INTEGER, crime VARCHAR, texas_rate VARCHAR, reported_offenses VARCHAR, us_rate VARCHAR) | SELECT SUM(killeen_rate) FROM table_name_8 WHERE reported_offenses > 216 AND us_rate < 3274 AND texas_rate < 2688.9 AND crime = "violent crime" |
How many materials are there for output power of ~0.1 pw per cycle (calculated)? | CREATE TABLE table_30057479_1 (material VARCHAR, output_power VARCHAR) | SELECT COUNT(material) FROM table_30057479_1 WHERE output_power = "~0.1 pW per cycle (calculated)" |
What is the Week # when the Beatles were the original artist and the theme was The Beatles? | CREATE TABLE table_name_18 (week__number VARCHAR, original_artist VARCHAR, theme VARCHAR) | SELECT week__number FROM table_name_18 WHERE original_artist = "the beatles" AND theme = "the beatles" |
What team acquired as a rookie draft in the position of guard Dennis Miranda? | CREATE TABLE table_name_84 (school_club_team VARCHAR, name VARCHAR, acquisition_via VARCHAR, position VARCHAR) | SELECT school_club_team FROM table_name_84 WHERE acquisition_via = "rookie draft" AND position = "guard" AND name = "dennis miranda" |
What was the final score of Game #4? | CREATE TABLE table_name_14 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_14 WHERE game = 4 |
Name the number of population density 2010 for duque de caxias | CREATE TABLE table_14986292_1 (population_density_2010___km²_ VARCHAR, administrative_division VARCHAR) | SELECT COUNT(population_density_2010___km²_) FROM table_14986292_1 WHERE administrative_division = "Duque de Caxias" |
What is the date when internet explorer was 62.2% | CREATE TABLE table_name_17 (date VARCHAR, internet_explorer VARCHAR) | SELECT date FROM table_name_17 WHERE internet_explorer = "62.2%" |
What is the earliest year with less than 45 points for Yamaha team in 21st rank? | CREATE TABLE table_name_49 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR) | SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = "yamaha" AND rank = "21st" |
Which episode was the number in the season where the number in the season is 10? | CREATE TABLE table_10718631_2 (no_in_series VARCHAR, no_in_season VARCHAR) | SELECT no_in_series FROM table_10718631_2 WHERE no_in_season = 10 |
What are the opening year and staff number of the museum named Plaza Museum? | CREATE TABLE museum (Num_of_Staff VARCHAR, Open_Year VARCHAR, name VARCHAR) | SELECT Num_of_Staff, Open_Year FROM museum WHERE name = 'Plaza Museum' |
What was the attendance and location on December 15? | CREATE TABLE table_17326036_6 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_17326036_6 WHERE date = "December 15" |
Which Planet has a Sanskrit word of budha? | CREATE TABLE table_name_31 (planet VARCHAR, sanskrit_word VARCHAR) | SELECT planet FROM table_name_31 WHERE sanskrit_word = "budha" |
What Report has a Winning driver of mario razzauti? | CREATE TABLE table_name_72 (report VARCHAR, winning_driver VARCHAR) | SELECT report FROM table_name_72 WHERE winning_driver = "mario razzauti" |
Who won the 2012 game that had a score of 15–0? | CREATE TABLE table_name_88 (winner VARCHAR, year VARCHAR, result VARCHAR) | SELECT winner FROM table_name_88 WHERE year = 2012 AND result = "15–0" |
What was Alex Figge's Best? | CREATE TABLE table_name_47 (best VARCHAR, name VARCHAR) | SELECT best FROM table_name_47 WHERE name = "alex figge" |
Which state has a king named xiang? | CREATE TABLE table_name_10 (state VARCHAR, title VARCHAR, name VARCHAR) | SELECT state FROM table_name_10 WHERE title = "king" AND name = "xiang" |
What is the record on 1/17/1980? | CREATE TABLE table_name_77 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_77 WHERE date = "1/17/1980" |
Where is Jeff Lebo's hometown? | CREATE TABLE table_name_45 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_name_45 WHERE player = "jeff lebo" |
How many draft copies does the document with id 2 have? | CREATE TABLE Draft_Copies (document_id VARCHAR) | SELECT COUNT(*) FROM Draft_Copies WHERE document_id = 2 |
Which Site has a Date of march 17, 2006 and an iowa state Winning team? | CREATE TABLE table_name_40 (site VARCHAR, date VARCHAR, winning_team VARCHAR) | SELECT site FROM table_name_40 WHERE date = "march 17, 2006" AND winning_team = "iowa state" |
What episode in the season was directed by Jeff Melman? | CREATE TABLE table_11058032_1 (no_in_season INTEGER, directed_by VARCHAR) | SELECT MIN(no_in_season) FROM table_11058032_1 WHERE directed_by = "Jeff Melman" |
What was the score of the game with the Etobicoke Kangaroos as the home team? | CREATE TABLE table_name_55 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_55 WHERE home = "etobicoke kangaroos" |
What was the maximum vertical measurement if the horizon measurement is 640? | CREATE TABLE table_272313_1 (vertical INTEGER, horizontal VARCHAR) | SELECT MAX(vertical) FROM table_272313_1 WHERE horizontal = 640 |
What is the Finish of the Player with a To par of 23 of less and Total of 294? | CREATE TABLE table_name_91 (finish VARCHAR, to_par VARCHAR, total VARCHAR) | SELECT finish FROM table_name_91 WHERE to_par < 23 AND total = 294 |
What cuts made has a wins less than 3 and 23 for the events? | CREATE TABLE table_name_43 (cuts_made VARCHAR, wins VARCHAR, events VARCHAR) | SELECT cuts_made FROM table_name_43 WHERE wins < 3 AND events = 23 |
What is the name of the station in Toolamba that is currently demolished? | CREATE TABLE table_name_26 (name VARCHAR, current_status VARCHAR, location VARCHAR) | SELECT name FROM table_name_26 WHERE current_status = "demolished" AND location = "toolamba" |
What is the 17th c. pronunciation when the british is əʊ? | CREATE TABLE table_name_68 (british VARCHAR) | SELECT 17 AS th_c FROM table_name_68 WHERE british = "əʊ" |
Which engine received 0 points in 1988? | CREATE TABLE table_name_44 (engine_s_ VARCHAR, points VARCHAR, year VARCHAR) | SELECT engine_s_ FROM table_name_44 WHERE points = 0 AND year = 1988 |
How many losses have corinthians as the team, with an against greater than 26? | CREATE TABLE table_name_32 (lost INTEGER, team VARCHAR, against VARCHAR) | SELECT SUM(lost) FROM table_name_32 WHERE team = "corinthians" AND against > 26 |
What were the Results in Arizona 1 District? | CREATE TABLE table_name_90 (results VARCHAR, district VARCHAR) | SELECT results FROM table_name_90 WHERE district = "arizona 1" |
In which years cars were produced weighing no less than 3000 and no more than 4000 ? | CREATE TABLE cars_data (year VARCHAR, weight INTEGER) | SELECT DISTINCT year FROM cars_data WHERE weight BETWEEN 3000 AND 4000 |
In which county is East Providence? | CREATE TABLE table_name_55 (county VARCHAR, location VARCHAR) | SELECT county FROM table_name_55 WHERE location = "east providence" |
How many people attended the game against the indianapolis colts? | CREATE TABLE table_10647639_1 (attendance VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_10647639_1 WHERE opponent = "Indianapolis Colts" |
Can you tell me the sum of FA Cup Goals that has the League Cup Goals larger than 0? | CREATE TABLE table_name_57 (fa_cup_goals INTEGER, league_cup_goals INTEGER) | SELECT SUM(fa_cup_goals) FROM table_name_57 WHERE league_cup_goals > 0 |
How many semifinalists has Romania had? | CREATE TABLE table_30008638_1 (semifinalists VARCHAR, country_territory VARCHAR) | SELECT semifinalists FROM table_30008638_1 WHERE country_territory = "Romania" |
What is the sum of silver medals of the nation Cuba, which has less than 0 gold? | CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR, gold VARCHAR) | SELECT SUM(silver) FROM table_name_7 WHERE nation = "cuba" AND gold < 0 |
What is the result of the game with a game number greater than 6 and an away venue? | CREATE TABLE table_name_7 (result VARCHAR, venue VARCHAR, game VARCHAR) | SELECT result FROM table_name_7 WHERE venue = "away" AND game > 6 |
What kind of Obama that has a Source of rasmussen reports? | CREATE TABLE table_name_28 (obama VARCHAR, source VARCHAR) | SELECT obama FROM table_name_28 WHERE source = "rasmussen reports" |
What is the max torque of model 1.4 16v? | CREATE TABLE table_name_82 (max_torque__nm__at_rpm VARCHAR, model VARCHAR) | SELECT max_torque__nm__at_rpm FROM table_name_82 WHERE model = "1.4 16v" |
What is the total number of weeks when the New York Jets are the opponent? | CREATE TABLE table_name_35 (week VARCHAR, opponent VARCHAR) | SELECT COUNT(week) FROM table_name_35 WHERE opponent = "new york jets" |
What is the value in 1971 when 30 is the value for 1969? | CREATE TABLE table_name_65 (Id VARCHAR) | SELECT 1971 FROM table_name_65 WHERE 1969 = "30" |
If the title is The Way Through The Woods, what is the release date? | CREATE TABLE table_20174050_7 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_20174050_7 WHERE title = "The Way Through the Woods" |
What's the finals qualification during the 2009-10 season? | CREATE TABLE table_name_88 (finals_qualification VARCHAR, season VARCHAR) | SELECT finals_qualification FROM table_name_88 WHERE season = "2009-10" |
Which College/Junior/Club Team has a Pick larger than 70, and a Round smaller than 7? | CREATE TABLE table_name_7 (college_junior_club_team VARCHAR, pick VARCHAR, round VARCHAR) | SELECT college_junior_club_team FROM table_name_7 WHERE pick > 70 AND round < 7 |
What is the result in 91-92 for the team with a 1.053 average? | CREATE TABLE table_14368332_1 (average VARCHAR) | SELECT 1991 AS _92 FROM table_14368332_1 WHERE average = "1.053" |
What is the total number of casualties when there are 12 total deaths and more than 1 military death? | CREATE TABLE table_name_47 (total_casualties VARCHAR, total_deaths VARCHAR, military_deaths VARCHAR) | SELECT total_casualties FROM table_name_47 WHERE total_deaths = 12 AND military_deaths > 1 |
Who was the opponent at the game in Belgrade with a 0:2 result? | CREATE TABLE table_name_28 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR) | SELECT opponent FROM table_name_28 WHERE city = "belgrade" AND results¹ = "0:2" |
What is the lowest ranking associated with a total of 23? | CREATE TABLE table_name_51 (ranking INTEGER, total VARCHAR) | SELECT MIN(ranking) FROM table_name_51 WHERE total = 23 |
Find the id of the appointment with the most recent start date? | CREATE TABLE appointment (appointmentid VARCHAR, START VARCHAR) | SELECT appointmentid FROM appointment ORDER BY START DESC LIMIT 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.