question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
Which Round has a Pick of 25 (via hamilton)?
SELECT SUM(round) FROM table_name_88 WHERE pick = "25 (via hamilton)"
CREATE TABLE table_name_88 (round INTEGER, pick VARCHAR)
What is the highest track for the song Rip it Up?
SELECT MAX(track) FROM table_name_87 WHERE song_title = "rip it up"
CREATE TABLE table_name_87 (track INTEGER, song_title VARCHAR)
What is the highest win for the team Nacional?
SELECT MAX(wins) FROM table_14871601_1 WHERE team = "Nacional"
CREATE TABLE table_14871601_1 (wins INTEGER, team VARCHAR)
Where did McCain get 20226 votes?
SELECT county FROM table_20350118_1 WHERE mccain_number = 20226
CREATE TABLE table_20350118_1 (county VARCHAR, mccain_number VARCHAR)
What number parliament held it's election in 1997?
SELECT parliament FROM table_1889233_2 WHERE general_election_contested = 1997
CREATE TABLE table_1889233_2 (parliament VARCHAR, general_election_contested VARCHAR)
Who is the leading scorer of the game on 20 November 2007?
SELECT leading_scorer FROM table_name_61 WHERE date = "20 november 2007"
CREATE TABLE table_name_61 (leading_scorer VARCHAR, date VARCHAR)
What's the number of verbal nouns with the basic stem (root) -bil-?
SELECT COUNT(verbal_noun) FROM table_12784134_1 WHERE basic_stem__root_ = "-bil-"
CREATE TABLE table_12784134_1 (verbal_noun VARCHAR, basic_stem__root_ VARCHAR)
What rank is the common with an area of 47.3 km^2?
SELECT rank FROM table_1449176_1 WHERE area__km_2__ = "47.3"
CREATE TABLE table_1449176_1 (rank VARCHAR, area__km_2__ VARCHAR)
What type has a population of 370?
SELECT type FROM table_name_77 WHERE population = 370
CREATE TABLE table_name_77 (type VARCHAR, population VARCHAR)
Where is the home venue of Bengaluru FC?
SELECT home_venue FROM table_name_95 WHERE team = "bengaluru fc"
CREATE TABLE table_name_95 (home_venue VARCHAR, team VARCHAR)
What is the Name when the team is the st. paul a.c., with a Birthdate of 3 august 1890?
SELECT name FROM table_name_45 WHERE team = "st. paul a.c." AND birthdate = "3 august 1890"
CREATE TABLE table_name_45 (name VARCHAR, team VARCHAR, birthdate VARCHAR)
What is the number of completions and attempts taken in 2009?
SELECT comp_att FROM table_name_83 WHERE season = "2009"
CREATE TABLE table_name_83 (comp_att VARCHAR, season VARCHAR)
What was the total crowd attendance at Westpac Stadium?
SELECT SUM(crowd) FROM table_name_98 WHERE ground = "westpac stadium"
CREATE TABLE table_name_98 (crowd INTEGER, ground VARCHAR)
Find the number of amenities for each of the dorms that can accommodate more than 100 students.
SELECT COUNT(*), T1.dormid FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid WHERE T1.student_capacity > 100 GROUP BY T1.dormid
CREATE TABLE dorm (dormid VARCHAR, student_capacity INTEGER); CREATE TABLE has_amenity (dormid VARCHAR)
What country is Tom Purtzer from?
SELECT country FROM table_name_45 WHERE player = "tom purtzer"
CREATE TABLE table_name_45 (country VARCHAR, player VARCHAR)
What is the Attendance after Week 8 with a Result of W 42–0?
SELECT MAX(attendance) FROM table_name_98 WHERE week > 8 AND result = "w 42–0"
CREATE TABLE table_name_98 (attendance INTEGER, week VARCHAR, result VARCHAR)
Total larger than 3, and a Rank of 4, and a Silver larger than 0 has what average gold?
SELECT AVG(gold) FROM table_name_2 WHERE total > 3 AND rank = "4" AND silver > 0
CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
Show the range that has the most number of mountains.
SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE mountain (Range VARCHAR)
What is the Code Name of the figure born in Hawaii?
SELECT code_name FROM table_name_81 WHERE birthplace = "hawaii"
CREATE TABLE table_name_81 (code_name VARCHAR, birthplace VARCHAR)
What is the score if the Tie no is 32?
SELECT score FROM table_name_99 WHERE tie_no = "32"
CREATE TABLE table_name_99 (score VARCHAR, tie_no VARCHAR)
What is the finished place where exited is day 11?
SELECT finished FROM table_14345690_5 WHERE exited = "Day 11"
CREATE TABLE table_14345690_5 (finished VARCHAR, exited VARCHAR)
When the percent is larger than 0.685, what is the average number of points scored?
SELECT AVG(points) FROM table_name_61 WHERE pct__percentage > 0.685
CREATE TABLE table_name_61 (points INTEGER, pct__percentage INTEGER)
Return the names of the contestants whose names contain the substring 'Al' .
SELECT contestant_name FROM contestants WHERE contestant_name LIKE "%al%"
CREATE TABLE contestants (contestant_name VARCHAR)
What time that is networked has an ad freq of 20 minutes until 7pm?
SELECT time FROM table_name_13 WHERE local_networked = "networked" AND ad_freq = "20 minutes until 7pm"
CREATE TABLE table_name_13 (time VARCHAR, local_networked VARCHAR, ad_freq VARCHAR)
At 1:48.16 what was the number of track time?
SELECT COUNT(track) FROM table_16689920_1 WHERE time = "1:48.16"
CREATE TABLE table_16689920_1 (track VARCHAR, time VARCHAR)
Which Played is the highest one that has an Against smaller than 18, and Points smaller than 10?
SELECT MAX(played) FROM table_name_92 WHERE against < 18 AND points < 10
CREATE TABLE table_name_92 (played INTEGER, against VARCHAR, points VARCHAR)
When was the home game when the New Jersey team's record became 7-23-7?
SELECT date FROM table_name_9 WHERE home = "new jersey" AND record = "7-23-7"
CREATE TABLE table_name_9 (date VARCHAR, home VARCHAR, record VARCHAR)
What original air date has 5.85 u.s. viewers (million)?
SELECT original_air_date FROM table_27117365_1 WHERE us_viewers__million_ = "5.85"
CREATE TABLE table_27117365_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
What the name of the school where the last win in 2007-08?
SELECT school FROM table_14286908_1 WHERE year_of_last_win = "2007-08"
CREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR)
What state has an interview of 8.313 (8) ?
SELECT state FROM table_16268026_3 WHERE interview = "8.313 (8)"
CREATE TABLE table_16268026_3 (state VARCHAR, interview VARCHAR)
How many students enrolled in 2005 at New Hampshire Institute of Art?
SELECT enrollment__2005_ FROM table_2076490_1 WHERE school = "New Hampshire Institute of Art"
CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, school VARCHAR)
Who is the team that played away team watford?
SELECT home_team FROM table_name_9 WHERE away_team = "watford"
CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR)
What is the lowest time for Paulo Villar in lane 9?
SELECT MIN(time) FROM table_name_85 WHERE athlete = "paulo villar" AND lane < 9
CREATE TABLE table_name_85 (time INTEGER, athlete VARCHAR, lane VARCHAR)
Who won the australian grand prix?
SELECT race AS Winner FROM table_name_53 WHERE race = "australian grand prix"
CREATE TABLE table_name_53 (race VARCHAR)
Which Position has a College of washington, and an Overall of 46?
SELECT position FROM table_name_18 WHERE college = "washington" AND overall = 46
CREATE TABLE table_name_18 (position VARCHAR, college VARCHAR, overall VARCHAR)
Which team completed 10 races?
SELECT team_name FROM table_name_92 WHERE races = 10
CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR)
what is the type of lithium when rubidium is nabr (1.9)?
SELECT lithium FROM table_name_54 WHERE rubidium = "nabr (1.9)"
CREATE TABLE table_name_54 (lithium VARCHAR, rubidium VARCHAR)
Who was the arranger for the song that had a lyricist of Sirapatara Kalayapanid?
SELECT arranger_s_ FROM table_name_8 WHERE lyricist_s_ = "sirapatara kalayapanid"
CREATE TABLE table_name_8 (arranger_s_ VARCHAR, lyricist_s_ VARCHAR)
Which opponent is friendly and played on 15-08-2012?
SELECT opponent FROM table_name_38 WHERE competition = "friendly" AND date = "15-08-2012"
CREATE TABLE table_name_38 (opponent VARCHAR, competition VARCHAR, date VARCHAR)
What was the minimum vertical measurement if the aspect ratio is 16:9 and scanning is interlaced?
SELECT MIN(vertical) FROM table_272313_1 WHERE aspect_ratio = "16:9" AND scanning = "interlaced"
CREATE TABLE table_272313_1 (vertical INTEGER, aspect_ratio VARCHAR, scanning VARCHAR)
Which Away team played at the Windy Hill Venue?
SELECT away_team FROM table_name_50 WHERE venue = "windy hill"
CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)
What is the largest attendance at Memorial Stadium on December 12, 1965?
SELECT MAX(attendance) FROM table_name_51 WHERE game_site = "memorial stadium" AND date = "december 12, 1965"
CREATE TABLE table_name_51 (attendance INTEGER, game_site VARCHAR, date VARCHAR)
When the year was 1992, what were the points won?
SELECT points_won FROM table_1628607_5 WHERE year = "1992"
CREATE TABLE table_1628607_5 (points_won VARCHAR, year VARCHAR)
What laps did Honda do with a time of +1:38.407?
SELECT laps FROM table_name_39 WHERE manufacturer = "honda" AND time = "+1:38.407"
CREATE TABLE table_name_39 (laps VARCHAR, manufacturer VARCHAR, time VARCHAR)
Name the high rebounds for new york
SELECT high_rebounds FROM table_22669044_9 WHERE team = "New York"
CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, team VARCHAR)
Name the laps for suzuki and time/retired of +1:02.804
SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804"
CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
How many Attendances have a H / A of h on 7 march 1903?
SELECT MIN(attendance) FROM table_name_47 WHERE h___a = "h" AND date = "7 march 1903"
CREATE TABLE table_name_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
How many counties have a population of 2266?
SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266
CREATE TABLE table_22815568_3 (county VARCHAR, population VARCHAR)
What race after round 6 did Graham Rahal win with a pole position of graham rahal?
SELECT race_name FROM table_name_59 WHERE winning_driver = "graham rahal" AND round > 6 AND pole_position = "graham rahal"
CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR)
How many losses for the coach that coached 19 games?
SELECT losses FROM table_14594528_6 WHERE games = 19
CREATE TABLE table_14594528_6 (losses VARCHAR, games VARCHAR)
Which To par has a Player of johanna head?
SELECT to_par FROM table_name_87 WHERE player = "johanna head"
CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR)
What round does Duncan Tappy drive in?
SELECT MAX(sf_round) FROM table_23293785_3 WHERE driver = "Duncan Tappy"
CREATE TABLE table_23293785_3 (sf_round INTEGER, driver VARCHAR)
How many Goals have Games smaller than 6, and a Debut year of 1939, and Years at club of 1939, 1941?
SELECT COUNT(goals) FROM table_name_48 WHERE games < 6 AND debut_year = 1939 AND years_at_club = "1939, 1941"
CREATE TABLE table_name_48 (goals VARCHAR, years_at_club VARCHAR, games VARCHAR, debut_year VARCHAR)
What is the general classification of stage 3
SELECT general_classification FROM table_name_99 WHERE stage = "3"
CREATE TABLE table_name_99 (general_classification VARCHAR, stage VARCHAR)
What Rider had a Time of 1:01.50.57?
SELECT rider FROM table_name_46 WHERE time = "1:01.50.57"
CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR)
What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?
SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23
CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR)
How many laps for martin brundle with a grid of less than 10?
SELECT COUNT(laps) FROM table_name_54 WHERE driver = "martin brundle" AND grid < 10
CREATE TABLE table_name_54 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
How many countries had a total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 428(62%)?
SELECT COUNT(total_freshwater_withdrawal__km_3__yr_) FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "428(62%)"
CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
What was the away team's score in the match at Lake Oval?
SELECT away_team AS score FROM table_name_77 WHERE venue = "lake oval"
CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR)
Name the title for number 16
SELECT title FROM table_23289934_1 WHERE no_in_season = 16
CREATE TABLE table_23289934_1 (title VARCHAR, no_in_season VARCHAR)
What are the titles of episodes numbered 19?
SELECT episode FROM table_28688313_1 WHERE _number = 19
CREATE TABLE table_28688313_1 (episode VARCHAR, _number VARCHAR)
Who were the opponents on Week 8?
SELECT opponent FROM table_name_89 WHERE week = 8
CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR)
What was the record after the NJKF Magnam 16 event that lasted 2:06?
SELECT record FROM table_name_72 WHERE time = "2:06" AND event = "njkf magnam 16"
CREATE TABLE table_name_72 (record VARCHAR, time VARCHAR, event VARCHAR)
WHAT IS THE HIGHEST WINS WITH A SERIES OF BRITISH FORMULA THREE, SEASON 2005, POLES SMALLER THAN 0?
SELECT MAX(wins) FROM table_name_89 WHERE series = "british formula three" AND season = "2005" AND poles < 0
CREATE TABLE table_name_89 (wins INTEGER, poles VARCHAR, series VARCHAR, season VARCHAR)
What is the most Bronze medals won among the participants that won less than 22 medals overall and less than 5 silver medals?
SELECT MAX(bronze) FROM table_name_5 WHERE total < 22 AND silver < 5
CREATE TABLE table_name_5 (bronze INTEGER, total VARCHAR, silver VARCHAR)
What grand finalist had a year after 1979, a margin smaller than 30, and winners of essendon?
SELECT grand_finalist FROM table_name_89 WHERE year > 1979 AND margin < 30 AND winners = "essendon"
CREATE TABLE table_name_89 (grand_finalist VARCHAR, winners VARCHAR, year VARCHAR, margin VARCHAR)
What civil paris appears when Ballynamona is the townland with 126 acres?
SELECT civil_parish FROM table_30120556_1 WHERE townland = "Ballynamona" AND area__acres__ = 126
CREATE TABLE table_30120556_1 (civil_parish VARCHAR, townland VARCHAR, area__acres__ VARCHAR)
What is the lowest ends won when w is 8?
SELECT MIN(Ends) AS won FROM table_26209210_2 WHERE w = 8
CREATE TABLE table_26209210_2 (Ends INTEGER, w VARCHAR)
Name the conventional for تاغارما
SELECT conventional FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تاغارما"
CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)
What are first and last names of players participating in all star game in 1998?
SELECT name_first, name_last FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id WHERE YEAR = 1998
CREATE TABLE all_star (player_id VARCHAR); CREATE TABLE player (player_id VARCHAR)
Which week 1 had a week 2 of Mandy Lynn?
SELECT week_1 FROM table_name_64 WHERE week_2 = "mandy lynn"
CREATE TABLE table_name_64 (week_1 VARCHAR, week_2 VARCHAR)
Name the administrative division for 95391
SELECT administrative_division FROM table_14986292_1 WHERE population__2010_census_ = 95391
CREATE TABLE table_14986292_1 (administrative_division VARCHAR, population__2010_census_ VARCHAR)
Who wrote the episode with the code xle05012?
SELECT written_by FROM table_28348757_6 WHERE production_code = "XLE05012"
CREATE TABLE table_28348757_6 (written_by VARCHAR, production_code VARCHAR)
What was the tie against the away team, Leicester City?
SELECT tie_no FROM table_name_21 WHERE away_team = "leicester city"
CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR)
What is the site for Florida?
SELECT listed FROM table_name_22 WHERE municipality = "florida"
CREATE TABLE table_name_22 (listed VARCHAR, municipality VARCHAR)
How similar is the genus/species sus scrofa?
SELECT similarity FROM table_15417439_1 WHERE genus_species = "Sus scrofa"
CREATE TABLE table_15417439_1 (similarity VARCHAR, genus_species VARCHAR)
What was the original title of the Bruno Barreto film in 1989
SELECT original_title FROM table_15277629_1 WHERE director = "Bruno Barreto" AND year__ceremony_ = 1989
CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR, year__ceremony_ VARCHAR)
When the ability is 32, what is the leadership ability?
SELECT MAX(leadership_ability) FROM table_1855342_5 WHERE overall_ability = 32
CREATE TABLE table_1855342_5 (leadership_ability INTEGER, overall_ability VARCHAR)
What is the smallest crowd with the away team of North Melbourne?
SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "north melbourne"
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
Name the season for rotherham titans
SELECT season FROM table_22977424_8 WHERE promoted_from_league = "Rotherham Titans"
CREATE TABLE table_22977424_8 (season VARCHAR, promoted_from_league VARCHAR)
Opponent of igor samoilenco had what result?
SELECT result FROM table_name_11 WHERE opponent = "igor samoilenco"
CREATE TABLE table_name_11 (result VARCHAR, opponent VARCHAR)
What is the Away team at Mansfield Town's Home game?
SELECT away_team FROM table_name_53 WHERE home_team = "mansfield town"
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
How many starts are associated with an oldsmobile engine, 21 finishes and before 2001?
SELECT SUM(start) FROM table_name_17 WHERE engine = "oldsmobile" AND finish = 21 AND year < 2001
CREATE TABLE table_name_17 (start INTEGER, year VARCHAR, engine VARCHAR, finish VARCHAR)
Who is the GC leader at ávila - segovia?
SELECT gc_leader FROM table_name_51 WHERE course = "ávila - segovia"
CREATE TABLE table_name_51 (gc_leader VARCHAR, course VARCHAR)
Which cities do more than one employee under age 30 come from?
SELECT city FROM employee WHERE age < 30 GROUP BY city HAVING COUNT(*) > 1
CREATE TABLE employee (city VARCHAR, age INTEGER)
What venue held that game with a result of l 24–14?
SELECT venue FROM table_name_43 WHERE result = "l 24–14"
CREATE TABLE table_name_43 (venue VARCHAR, result VARCHAR)
What is the function percentage when the estimated function percentage is 20?
SELECT function__percentage FROM table_name_30 WHERE estimated_function__percentage = 20
CREATE TABLE table_name_30 (function__percentage VARCHAR, estimated_function__percentage VARCHAR)
What is the total number of top-25s for tournaments that had 0 wins, 1 cut made, and more than 5 events?
SELECT COUNT(top_25) FROM table_name_23 WHERE wins = 0 AND cuts_made = 1 AND events > 5
CREATE TABLE table_name_23 (top_25 VARCHAR, events VARCHAR, wins VARCHAR, cuts_made VARCHAR)
What is the maximum L3 cache of the processor whose speed is 2.00 GHZ, has a QPI speed of 4.8 gt/s, and is model e5504?
SELECT MAX(l3_cache__mb_) FROM table_269920_17 WHERE qpi_speed__gt_s_ = "4.8" AND speed__ghz_ = "2.00" AND model = "E5504"
CREATE TABLE table_269920_17 (l3_cache__mb_ INTEGER, model VARCHAR, qpi_speed__gt_s_ VARCHAR, speed__ghz_ VARCHAR)
What is the roll number of Orautoha school in Raetihi, which has a decile smaller than 8?
SELECT SUM(roll) FROM table_name_63 WHERE area = "raetihi" AND name = "orautoha school" AND decile < 8
CREATE TABLE table_name_63 (roll INTEGER, decile VARCHAR, area VARCHAR, name VARCHAR)
What was the score for the home team when the away team was Sydney?
SELECT home_team AS score FROM table_16388398_1 WHERE away_team = "Sydney"
CREATE TABLE table_16388398_1 (home_team VARCHAR, away_team VARCHAR)
What is ASTC Member, when State is Arkansas, when AAM Member is No, and when AAM Accredited is Yes?
SELECT astc_member FROM table_name_39 WHERE state = "arkansas" AND aam_member = "no" AND aam_accredited = "yes"
CREATE TABLE table_name_39 (astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR)
When Iceland gets the Silver, who gets the Bronze?
SELECT bronze FROM table_name_67 WHERE silver = "iceland"
CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR)
How many people were surveyed in the poll from June 30, 2010?
SELECT sample_size FROM table_name_84 WHERE date_s__administered = "june 30, 2010"
CREATE TABLE table_name_84 (sample_size VARCHAR, date_s__administered VARCHAR)
Which record has a score of l 121–127?
SELECT record FROM table_name_93 WHERE score = "l 121–127"
CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR)
List all location codes and location names.
SELECT location_code, location_name FROM Ref_locations
CREATE TABLE Ref_locations (location_code VARCHAR, location_name VARCHAR)
What is the name of the person born in 1909?
SELECT name FROM table_name_26 WHERE date_of_birth = "1909"
CREATE TABLE table_name_26 (name VARCHAR, date_of_birth VARCHAR)
Name the subject of shiyan
SELECT subject FROM table_name_12 WHERE pinyin = "shiyan"
CREATE TABLE table_name_12 (subject VARCHAR, pinyin VARCHAR)
On what date did Universitario win the Torneo Apertura round after 2003 at Estadio Alejandro Villanueva?
SELECT date FROM table_name_45 WHERE venue = "estadio alejandro villanueva" AND season > 2003 AND competition_round = "torneo apertura" AND winner = "universitario"
CREATE TABLE table_name_45 (date VARCHAR, winner VARCHAR, competition_round VARCHAR, venue VARCHAR, season VARCHAR)
Find the number of followers for each user.
SELECT COUNT(*) FROM follows GROUP BY f1
CREATE TABLE follows (f1 VARCHAR)