question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Who was South Melbourne's away opponents? | CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_18 WHERE home_team = "south melbourne" |
What is the attendance date of the game home team Shrewsbury Town played? | CREATE TABLE table_name_48 (attendance VARCHAR, home_team VARCHAR) | SELECT attendance FROM table_name_48 WHERE home_team = "shrewsbury town" |
Which representative has a birthday of January 31, 1866? | CREATE TABLE table_10284385_1 (representative VARCHAR, date_of_birth VARCHAR) | SELECT representative FROM table_10284385_1 WHERE date_of_birth = "January 31, 1866" |
What is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index? | CREATE TABLE table_15416002_1 (saffir_simpson_category INTEGER) | SELECT MAX(saffir_simpson_category) FROM table_15416002_1 |
What is the total grid of the team with a time/retired of +7.346? | CREATE TABLE table_name_53 (grid VARCHAR, time_retired VARCHAR) | SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.346" |
Which controller has an interface of pcie 2.0 × 8? | CREATE TABLE table_name_37 (controller VARCHAR, interface VARCHAR) | SELECT controller FROM table_name_37 WHERE interface = "pcie 2.0 × 8" |
How many people attended the game against the Kaizer Chiefs? | CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR) | SELECT SUM(attendance) FROM table_name_7 WHERE opponents = "kaizer chiefs" |
Jason Romano played for what team? | CREATE TABLE table_name_9 (team VARCHAR, player VARCHAR) | SELECT team FROM table_name_9 WHERE player = "jason romano" |
What is the name of the station that is currently demolished with the Shepparton line in Tabilk? | CREATE TABLE table_name_6 (name VARCHAR, location VARCHAR, current_status VARCHAR, line VARCHAR) | SELECT name FROM table_name_6 WHERE current_status = "demolished" AND line = "shepparton line" AND location = "tabilk" |
What is the home team that played at Corio Oval? | CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_54 WHERE venue = "corio oval" |
What is Date, when Label is Jugoton? | CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_48 WHERE label = "jugoton" |
What was Yardley-BRM's points high after 1971? | CREATE TABLE table_name_96 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_96 WHERE entrant = "yardley-brm" AND year > 1971 |
Show all cities along with the number of drama workshop groups in each city. | CREATE TABLE Addresses (City_Town VARCHAR, Address_ID VARCHAR); CREATE TABLE Drama_Workshop_Groups (Address_ID VARCHAR) | SELECT T1.City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town |
When the game was played at the Venue of Lake Oval, what was the home team score? | CREATE TABLE table_name_58 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_58 WHERE venue = "lake oval" |
What is the 1994 when QF is 1999? | CREATE TABLE table_name_4 (Id VARCHAR) | SELECT 1994 FROM table_name_4 WHERE 1999 = "qf" |
what is the pick number minimum if the NFL team is the San Diego Chargers? | CREATE TABLE table_2508633_8 (pick__number INTEGER, nfl_team VARCHAR) | SELECT MIN(pick__number) FROM table_2508633_8 WHERE nfl_team = "San Diego Chargers" |
What is the date for the race that has a circuit of Milwaukee Mile and the sanctioning of cart? | CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, sanctioning VARCHAR) | SELECT date FROM table_name_10 WHERE circuit = "milwaukee mile" AND sanctioning = "cart" |
What was the high rebounds after game 14 for Denver? | CREATE TABLE table_name_74 (high_rebounds VARCHAR, game VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_74 WHERE game > 14 AND team = "denver" |
How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played? | CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) | SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = "cd sabadell" AND played > 38 |
What is the score of the match played on a hard surface with an opponent in the final of Elena Likhovtseva? | CREATE TABLE table_name_2 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_2 WHERE surface = "hard" AND opponent_in_the_final = "elena likhovtseva" |
What is the year elected for incumbent Cynthia Mckinney? | CREATE TABLE table_27021001_1 (elected VARCHAR, incumbent VARCHAR) | SELECT elected FROM table_27021001_1 WHERE incumbent = "Cynthia McKinney" |
Show the names of conductors and the orchestras they have conducted. | CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR); CREATE TABLE orchestra (Orchestra VARCHAR, Conductor_ID VARCHAR) | SELECT T1.Name, T2.Orchestra FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID |
What is the distance for jockey Kent Desormeaux on 6/7/08? | CREATE TABLE table_16689920_1 (distance VARCHAR, jockey VARCHAR, date VARCHAR) | SELECT distance FROM table_16689920_1 WHERE jockey = "Kent Desormeaux" AND date = "6/7/08" |
List the project details of the projects which did not hire any staff for a researcher role. | CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR); CREATE TABLE Project_Staff (project_details VARCHAR, project_id VARCHAR, role_code VARCHAR) | SELECT project_details FROM Projects WHERE NOT project_id IN (SELECT project_id FROM Project_Staff WHERE role_code = 'researcher') |
Name the number of original air date for when the number in season is 10/11 | CREATE TABLE table_15472061_1 (original_air_date VARCHAR, no_in_season VARCHAR) | SELECT COUNT(original_air_date) FROM table_15472061_1 WHERE no_in_season = "10/11" |
What home team played against Richmond? | CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_73 WHERE away_team = "richmond" |
How many seats were there in 2001 when there were 11 seats in 2006? | CREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR) | SELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = 11 |
For how many years was the location at Beijing? | CREATE TABLE table_name_7 (year INTEGER, location VARCHAR) | SELECT SUM(year) FROM table_name_7 WHERE location = "beijing" |
How many district has a candidate that was first elected on 1811? | CREATE TABLE table_2668254_25 (district VARCHAR, first_elected VARCHAR) | SELECT COUNT(district) FROM table_2668254_25 WHERE first_elected = "1811" |
How many Sri Lankans were admitted in 2004 when more than 594 Nepalis were admitted? | CREATE TABLE table_name_96 (sri_lankans_admitted INTEGER, year VARCHAR, nepalis_admitted VARCHAR) | SELECT SUM(sri_lankans_admitted) FROM table_name_96 WHERE year = "2004" AND nepalis_admitted > 594 |
How many types of work is хромая судьба? | CREATE TABLE table_207795_1 (type_of_work VARCHAR, russian_title VARCHAR) | SELECT COUNT(type_of_work) FROM table_207795_1 WHERE russian_title = "Хромая судьба" |
On what Date is Tie no 19? | CREATE TABLE table_name_36 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_36 WHERE tie_no = "19" |
Name the maximum height for yury berezhko | CREATE TABLE table_14363116_1 (height INTEGER, player VARCHAR) | SELECT MAX(height) FROM table_14363116_1 WHERE player = "Yury Berezhko" |
Name the round eliminated where conference record is 12-6 | CREATE TABLE table_16295365_2 (round_eliminated VARCHAR, conf_record VARCHAR) | SELECT round_eliminated FROM table_16295365_2 WHERE conf_record = "12-6" |
Which company had profits of 26.9? | CREATE TABLE table_1682026_2 (company VARCHAR, profits__billion_$_ VARCHAR) | SELECT company FROM table_1682026_2 WHERE profits__billion_$_ = "26.9" |
Name the score for rick leach zina garrison | CREATE TABLE table_1547951_3 (score VARCHAR, opponents VARCHAR) | SELECT score FROM table_1547951_3 WHERE opponents = "Rick Leach Zina Garrison" |
Which name is 51.89 (2.043) long? | CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR) | SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)" |
Who had the high assists against charlotte? | CREATE TABLE table_13557843_3 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_13557843_3 WHERE team = "Charlotte" |
What is the sum of rank with years 1996–2012 and apps greater than 340? | CREATE TABLE table_name_15 (rank INTEGER, years VARCHAR, apps VARCHAR) | SELECT SUM(rank) FROM table_name_15 WHERE years = "1996–2012" AND apps > 340 |
What is the song choice when the theme is not aired? | CREATE TABLE table_12175755_1 (theme VARCHAR, song_choice VARCHAR) | SELECT theme FROM table_12175755_1 WHERE song_choice = "Not Aired" |
Which 2010 has a 2009 of 0 / 4? | CREATE TABLE table_name_86 (Id VARCHAR) | SELECT 2010 FROM table_name_86 WHERE 2009 = "0 / 4" |
What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals? | CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR) | SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0 |
What is the ICAO for Air Busan? | CREATE TABLE table_name_63 (icao VARCHAR, callsign VARCHAR) | SELECT icao FROM table_name_63 WHERE callsign = "air busan" |
How many airports are there per country? Order the countries by decreasing number of airports. | CREATE TABLE airports (country VARCHAR) | SELECT COUNT(*), country FROM airports GROUP BY country ORDER BY COUNT(*) DESC |
What was the opponent at the League Play Offs at home? | CREATE TABLE table_name_8 (opponents VARCHAR, venue VARCHAR, competition VARCHAR) | SELECT opponents FROM table_name_8 WHERE venue = "home" AND competition = "league play offs" |
what results are dated december 19? | CREATE TABLE table_name_49 (results¹ VARCHAR, date VARCHAR) | SELECT results¹ FROM table_name_49 WHERE date = "december 19" |
What team was the winner when the result was 90–86? | CREATE TABLE table_name_35 (winner VARCHAR, result VARCHAR) | SELECT winner FROM table_name_35 WHERE result = "90–86" |
WHAT IS THE RATING THAT HAD A SHARE SMALLER THAN 4, AND 2.47 MILLION VIEWERS? | CREATE TABLE table_name_70 (rating VARCHAR, share VARCHAR, viewers__millions_ VARCHAR) | SELECT COUNT(rating) FROM table_name_70 WHERE share < 4 AND viewers__millions_ > 2.47 |
Which Episode has a Viewers (millions) larger than 11.26, a Weekly Rank of #8, and a Share of 12? | CREATE TABLE table_name_62 (episode VARCHAR, share VARCHAR, viewers__millions_ VARCHAR, weekly_rank VARCHAR) | SELECT episode FROM table_name_62 WHERE viewers__millions_ > 11.26 AND weekly_rank = "#8" AND share = 12 |
What is the total number in January when the St. Louis Blues had a game smaller than 42? | CREATE TABLE table_name_83 (january VARCHAR, opponent VARCHAR, game VARCHAR) | SELECT COUNT(january) FROM table_name_83 WHERE opponent = "st. louis blues" AND game < 42 |
Week larger than 5, and an opponent of at new york giants had what record? | CREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_69 WHERE week > 5 AND opponent = "at new york giants" |
Which Crowd has an Away team of collingwood? | CREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR) | SELECT SUM(crowd) FROM table_name_79 WHERE away_team = "collingwood" |
What is the understanding of the one that has νοῦς nous reasoning? | CREATE TABLE table_19760_1 (understanding VARCHAR, reason VARCHAR) | SELECT understanding FROM table_19760_1 WHERE reason = "νοῦς Nous" |
What is the production code for the episode with 8.56 million U.S. viewers? | CREATE TABLE table_22181917_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT production_code FROM table_22181917_2 WHERE us_viewers__millions_ = "8.56" |
What was the result of the election in the Texas 4 district? | CREATE TABLE table_1342149_43 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342149_43 WHERE district = "Texas 4" |
What is the example of the Early Modern English ( [x] → /f/) /ɔf/? | CREATE TABLE table_28177800_5 (example VARCHAR, early_modern_english VARCHAR) | SELECT example FROM table_28177800_5 WHERE early_modern_english = "( [x] → /f/) /ɔf/" |
What was the least amount of camp mates? | CREATE TABLE table_14345690_1 (camp_mates INTEGER) | SELECT MIN(camp_mates) FROM table_14345690_1 |
What type of state was Chu? | CREATE TABLE table_name_41 (type VARCHAR, state VARCHAR) | SELECT type FROM table_name_41 WHERE state = "chu" |
What was the position of Frank Tripp? | CREATE TABLE table_name_28 (position VARCHAR, character VARCHAR) | SELECT position FROM table_name_28 WHERE character = "frank tripp" |
Which song has a ending theme, and is sung by miriam yeung? | CREATE TABLE table_name_75 (name_of_the_song VARCHAR, kind_of_the_song VARCHAR, singer VARCHAR) | SELECT name_of_the_song FROM table_name_75 WHERE kind_of_the_song = "ending theme" AND singer = "miriam yeung" |
What film was made in 1999? | CREATE TABLE table_name_27 (film VARCHAR, year VARCHAR) | SELECT film FROM table_name_27 WHERE year = "1999" |
What was the date of the record of 43-28? | CREATE TABLE table_name_69 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_69 WHERE record = "43-28" |
What was the tie no when Watford was the away team? | CREATE TABLE table_name_62 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_62 WHERE away_team = "watford" |
What is Try Bonus, when Lost is "5", and when Points is "73"? | CREATE TABLE table_name_52 (try_bonus VARCHAR, lost VARCHAR, points VARCHAR) | SELECT try_bonus FROM table_name_52 WHERE lost = "5" AND points = "73" |
What is Points For, when Points Against is 571? | CREATE TABLE table_name_76 (points_for VARCHAR, points_against VARCHAR) | SELECT points_for FROM table_name_76 WHERE points_against = "571" |
When did the manager take over for the manager that left on August 20, 2008? | CREATE TABLE table_name_98 (date_of_replacement VARCHAR, date_outgoing VARCHAR) | SELECT date_of_replacement FROM table_name_98 WHERE date_outgoing = "august 20, 2008" |
What was the 2008 value when 2012 was Grand Slam Tournaments? | CREATE TABLE table_name_35 (Id VARCHAR) | SELECT 2008 FROM table_name_35 WHERE 2012 = "grand slam tournaments" |
Which Playoffs has a Division of 2 and a Regular Season of 4th, southeast? | CREATE TABLE table_name_50 (playoffs VARCHAR, division VARCHAR, regular_season VARCHAR) | SELECT playoffs FROM table_name_50 WHERE division = "2" AND regular_season = "4th, southeast" |
What country had a contestant that was 1.70 meters tall? | CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR) | SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.70" |
What was the score in game 6? | CREATE TABLE table_23248910_11 (score VARCHAR, game VARCHAR) | SELECT score FROM table_23248910_11 WHERE game = 6 |
Tell me the sum of year for 5th result | CREATE TABLE table_name_12 (year INTEGER, result VARCHAR) | SELECT SUM(year) FROM table_name_12 WHERE result = "5th" |
How many civilians died in the conflict that had a total of 1,130 casualties? | CREATE TABLE table_name_95 (civilian_deaths VARCHAR, total_casualties VARCHAR) | SELECT civilian_deaths FROM table_name_95 WHERE total_casualties = "1,130" |
Which campus has the most degrees conferred in all times? | CREATE TABLE degrees (campus VARCHAR, degrees INTEGER) | SELECT campus FROM degrees GROUP BY campus ORDER BY SUM(degrees) DESC LIMIT 1 |
What launch has a Ship of fearless? | CREATE TABLE table_name_64 (launched VARCHAR, ship VARCHAR) | SELECT launched FROM table_name_64 WHERE ship = "fearless" |
What was the score for Edmonton Drillers on January 6, 2008? | CREATE TABLE table_name_88 (score VARCHAR, visiting_team VARCHAR, date VARCHAR) | SELECT score FROM table_name_88 WHERE visiting_team = "edmonton drillers" AND date = "january 6, 2008" |
What was the score for the game played in Alexander Memorial Coliseum when the record was 0-1? | CREATE TABLE table_name_32 (score VARCHAR, location_attendance VARCHAR, record VARCHAR) | SELECT score FROM table_name_32 WHERE location_attendance = "alexander memorial coliseum" AND record = "0-1" |
Tell me the lowest week for attedance less thaan 32,738 | CREATE TABLE table_name_77 (week INTEGER, attendance INTEGER) | SELECT MIN(week) FROM table_name_77 WHERE attendance < 32 OFFSET 738 |
What is City, when State is Florida, when AAM Member is No, and when AAM Accredited is No? | CREATE TABLE table_name_61 (city VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR) | SELECT city FROM table_name_61 WHERE state = "florida" AND aam_member = "no" AND aam_accredited = "no" |
What position has notes of 2:12:53? | CREATE TABLE table_name_7 (position VARCHAR, notes VARCHAR) | SELECT position FROM table_name_7 WHERE notes = "2:12:53" |
What was the average number of yards Michael Henig had in a year when he had more than 12 starts/ | CREATE TABLE table_name_46 (yards INTEGER, starts INTEGER) | SELECT AVG(yards) FROM table_name_46 WHERE starts > 12 |
What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34? | CREATE TABLE table_name_14 (other INTEGER, name VARCHAR, total VARCHAR) | SELECT SUM(other) FROM table_name_14 WHERE name = "simon gillett category:articles with hcards" AND total < 34 |
What is the team for 1976? | CREATE TABLE table_name_67 (team VARCHAR, year VARCHAR) | SELECT team FROM table_name_67 WHERE year = "1976" |
What is the total number of Podiums, when Position is "2nd", when Wins is less than 6, and when Poles is greater than 0? | CREATE TABLE table_name_31 (podiums VARCHAR, poles VARCHAR, position VARCHAR, wins VARCHAR) | SELECT COUNT(podiums) FROM table_name_31 WHERE position = "2nd" AND wins < 6 AND poles > 0 |
What country has a +3 to par? | CREATE TABLE table_name_57 (country VARCHAR, to_par VARCHAR) | SELECT country FROM table_name_57 WHERE to_par = "+3" |
Name the resolution for dish of 5270 | CREATE TABLE table_name_36 (resolution VARCHAR, dish VARCHAR) | SELECT resolution FROM table_name_36 WHERE dish = "5270" |
What circuit was for the german grand prix? | CREATE TABLE table_name_5 (circuit VARCHAR, race VARCHAR) | SELECT circuit FROM table_name_5 WHERE race = "german grand prix" |
When was the incumbent from the south carolina 1 district first elected? | CREATE TABLE table_name_56 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_name_56 WHERE district = "south carolina 1" |
David Kasouf plays for how many colleges? | CREATE TABLE table_21321804_5 (college VARCHAR, player VARCHAR) | SELECT COUNT(college) FROM table_21321804_5 WHERE player = "David Kasouf" |
Who is the second member with first member Sir Rowland Hill, BT, and a conservative second party? | CREATE TABLE table_name_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR) | SELECT second_member FROM table_name_3 WHERE first_member = "sir rowland hill, bt" AND second_party = "conservative" |
In which years did Zach Randolph play for the Grizzlies? | CREATE TABLE table_name_27 (years_for_grizzlies VARCHAR, player VARCHAR) | SELECT years_for_grizzlies FROM table_name_27 WHERE player = "zach randolph" |
What Tournament of monte carlo had 1996 and a 1987 of nme? | CREATE TABLE table_name_45 (tournament VARCHAR) | SELECT 1996 FROM table_name_45 WHERE 1987 = "nme" AND tournament = "monte carlo" |
The country of Laos is in what region? | CREATE TABLE table_name_77 (region VARCHAR, country VARCHAR) | SELECT region FROM table_name_77 WHERE country = "laos" |
How many votes did Lee Teng-Hui receive when he was elected? | CREATE TABLE table_name_7 (total_votes INTEGER, outcome VARCHAR, candidate VARCHAR) | SELECT MAX(total_votes) FROM table_name_7 WHERE outcome = "elected" AND candidate = "lee teng-hui" |
Which examples ask the existential question "Can I Love?" | CREATE TABLE table_1058787_1 (examples VARCHAR, existential_question_ VARCHAR, _not_in_citation_given_ VARCHAR) | SELECT examples FROM table_1058787_1 WHERE existential_question_[_not_in_citation_given_] = "Can I Love?" |
what is the place when the event is 4000 m individual pursuit? | CREATE TABLE table_name_2 (place VARCHAR, event VARCHAR) | SELECT place FROM table_name_2 WHERE event = "4000 m individual pursuit" |
What is the average Spike, when Name is Gustavo Porporatto, and when Block is greater than 323? | CREATE TABLE table_name_67 (spike INTEGER, name VARCHAR, block VARCHAR) | SELECT AVG(spike) FROM table_name_67 WHERE name = "gustavo porporatto" AND block > 323 |
What shows for 2013 when the 2012 is 2r, and a 2009 is 2r? | CREATE TABLE table_name_29 (Id VARCHAR) | SELECT 2013 FROM table_name_29 WHERE 2012 = "2r" AND 2009 = "2r" |
What is the release price (USD) of the microprocessor with a model number pentium dual-core t2330? | CREATE TABLE table_name_32 (release_price___usd__ VARCHAR, model_number VARCHAR) | SELECT release_price___usd__ FROM table_name_32 WHERE model_number = "pentium dual-core t2330" |
If the winner is Bernhard Eisel, what is the stage maximum? | CREATE TABLE table_22941863_19 (stage INTEGER, winner VARCHAR) | SELECT MAX(stage) FROM table_22941863_19 WHERE winner = "Bernhard Eisel" |
What is the call sign of the MHz Frequency less than 94.9 and an ERP W of 170? | CREATE TABLE table_name_35 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT call_sign FROM table_name_35 WHERE frequency_mhz < 94.9 AND erp_w = 170 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.