question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which round had 24 new entries?
CREATE TABLE table_23449363_1 (round VARCHAR, new_entries_this_round VARCHAR)
SELECT round FROM table_23449363_1 WHERE new_entries_this_round = "24"
Who was the opponent on April 21, 2008?
CREATE TABLE table_name_44 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_44 WHERE date = "april 21, 2008"
How many games with record 1-3-3
CREATE TABLE table_17360840_4 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_17360840_4 WHERE record = "1-3-3"
What is every entry for epoch if periselene is 2,291.250?
CREATE TABLE table_206217_2 (epoch__utc_ VARCHAR, periselene__km_ VARCHAR)
SELECT epoch__utc_ FROM table_206217_2 WHERE periselene__km_ = "2,291.250"
What is Date, when Rating 1.5, and when Event is Johnson Vs. Moraga?
CREATE TABLE table_name_76 (date VARCHAR, rating VARCHAR, event VARCHAR)
SELECT date FROM table_name_76 WHERE rating = "1.5" AND event = "johnson vs. moraga"
The team Glenn Seton Racing has a circuit at the lakeside international raceway, what is the location and state?
CREATE TABLE table_name_84 (location___state VARCHAR, team VARCHAR, circuit VARCHAR)
SELECT location___state FROM table_name_84 WHERE team = "glenn seton racing" AND circuit = "lakeside international raceway"
Which channel had the game against the Minnesota Vikings?
CREATE TABLE table_11465521_2 (tv VARCHAR, opponent VARCHAR)
SELECT tv FROM table_11465521_2 WHERE opponent = "Minnesota Vikings"
What is the destination of the rail with Dhanbad as the origin?
CREATE TABLE table_name_76 (destination VARCHAR, origin VARCHAR)
SELECT destination FROM table_name_76 WHERE origin = "dhanbad"
What years does milt palacio play?
CREATE TABLE table_name_48 (years_for_jazz VARCHAR, player VARCHAR)
SELECT years_for_jazz FROM table_name_48 WHERE player = "milt palacio"
What is the earliest year that the building in sonnemannstraße/rückertstraße, ostend was built with a height larger than 185 meters?
CREATE TABLE table_name_26 (year_built INTEGER, location VARCHAR, height__m_ VARCHAR)
SELECT MIN(year_built) FROM table_name_26 WHERE location = "sonnemannstraße/rückertstraße, ostend" AND height__m_ > 185
What is Opposing Teams, when Against is "20", and when Venue is "Twickenham , London"?
CREATE TABLE table_name_35 (opposing_teams VARCHAR, against VARCHAR, venue VARCHAR)
SELECT opposing_teams FROM table_name_35 WHERE against = 20 AND venue = "twickenham , london"
Name the least pick number for colin campbell
CREATE TABLE table_1965650_2 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_1965650_2 WHERE player = "Colin Campbell"
What is the sum of the scottish cup of the forward player with less than 2 league cups and a total greater than 6?
CREATE TABLE table_name_47 (scottish_cup INTEGER, position VARCHAR, league_cup VARCHAR, total VARCHAR)
SELECT SUM(scottish_cup) FROM table_name_47 WHERE league_cup < 2 AND total > 6 AND position = "forward"
what is the highest matrix when the recording date is 1926/03?
CREATE TABLE table_name_33 (matrix INTEGER, recording_date VARCHAR)
SELECT MAX(matrix) FROM table_name_33 WHERE recording_date = "1926/03"
What is the average number of starts when 11 cuts were made and the top 10 ranking is larger than 4?
CREATE TABLE table_name_33 (starts INTEGER, cuts_made VARCHAR, top_10 VARCHAR)
SELECT AVG(starts) FROM table_name_33 WHERE cuts_made = 11 AND top_10 > 4
What is the lowest Grid for jj lehto with over 51 laps?
CREATE TABLE table_name_81 (grid INTEGER, laps VARCHAR, driver VARCHAR)
SELECT MIN(grid) FROM table_name_81 WHERE laps > 51 AND driver = "jj lehto"
For upper Arlington, what was the median household income?
CREATE TABLE table_1840495_2 (median_house__hold_income VARCHAR, place VARCHAR)
SELECT median_house__hold_income FROM table_1840495_2 WHERE place = "Upper Arlington"
What home team had 2 ties?
CREATE TABLE table_name_86 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_86 WHERE tie_no = "2"
Tell me the average week for attendance of 48,113
CREATE TABLE table_name_74 (week INTEGER, attendance VARCHAR)
SELECT AVG(week) FROM table_name_74 WHERE attendance = "48,113"
What caused the collapse of the Mausoleum at Halicarnassus?
CREATE TABLE table_19342760_1 (cause_of_destruction VARCHAR, name VARCHAR)
SELECT cause_of_destruction FROM table_19342760_1 WHERE name = "Mausoleum at Halicarnassus"
What date had a result of 8-0?
CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_40 WHERE result = "8-0"
Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?
CREATE TABLE table_name_73 (team VARCHAR, kitmaker VARCHAR, shirt_sponsor VARCHAR)
SELECT team FROM table_name_73 WHERE kitmaker = "saller" AND shirt_sponsor = "krombacher"
What's the total of Rank for the County of Galway and has a Total that's larger than 13?
CREATE TABLE table_name_60 (rank INTEGER, county VARCHAR, total VARCHAR)
SELECT SUM(rank) FROM table_name_60 WHERE county = "galway" AND total > 13
Who did the Texan's play on Week 4?
CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_37 WHERE week = "4"
Which Rank has a Nation of china (chn), and a Bronze smaller than 4?
CREATE TABLE table_name_17 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_17 WHERE nation = "china (chn)" AND bronze < 4
Find the average fee on a CSU campus in 1996
CREATE TABLE csu_fees (campusfee INTEGER, YEAR VARCHAR)
SELECT AVG(campusfee) FROM csu_fees WHERE YEAR = 1996
Name the location for golden tornadoes
CREATE TABLE table_262476_1 (location VARCHAR, nickname VARCHAR)
SELECT location FROM table_262476_1 WHERE nickname = "Golden Tornadoes"
What is the free sotware with the latest stable date version of 1.1?
CREATE TABLE table_name_78 (software VARCHAR, cost___usd__ VARCHAR, latest_stable_date__version_ VARCHAR)
SELECT software FROM table_name_78 WHERE cost___usd__ = "free" AND latest_stable_date__version_ = "1.1"
Who was the election winner with a BJP incumbent in Chhattisgarh?
CREATE TABLE table_name_77 (election_winner VARCHAR, incumbent VARCHAR, state VARCHAR)
SELECT election_winner FROM table_name_77 WHERE incumbent = "bjp" AND state = "chhattisgarh"
What is the education when the economic incentive regime is 1.58?
CREATE TABLE table_23050383_1 (education VARCHAR, economic_incentive_regime VARCHAR)
SELECT education FROM table_23050383_1 WHERE economic_incentive_regime = "1.58"
Name the position for number 11 and years on the rockets for 1989-95
CREATE TABLE table_name_89 (position VARCHAR, no_s_ VARCHAR, years_for_rockets VARCHAR)
SELECT position FROM table_name_89 WHERE no_s_ = "11" AND years_for_rockets = "1989-95"
Select the average price of each manufacturer's products, showing only the manufacturer's code.
CREATE TABLE Products (Manufacturer VARCHAR, Price INTEGER)
SELECT AVG(Price), Manufacturer FROM Products GROUP BY Manufacturer
Socket of without quickassist has what release price?
CREATE TABLE table_name_63 (release_price___usd__ VARCHAR, socket VARCHAR)
SELECT release_price___usd__ FROM table_name_63 WHERE socket = "without quickassist"
What was the theme during the week # of top 24 (12 men)
CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR)
SELECT theme FROM table_name_73 WHERE week__number = "top 24 (12 men)"
Which rider went 18 laps ending +25.165 behind the leader?
CREATE TABLE table_name_24 (rider VARCHAR, laps VARCHAR, time VARCHAR)
SELECT rider FROM table_name_24 WHERE laps = 18 AND time = "+25.165"
Name the young rider classification for giuseppe saronni at stage 6
CREATE TABLE table_name_16 (young_rider_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
SELECT young_rider_classification FROM table_name_16 WHERE general_classification = "giuseppe saronni" AND stage = "6"
What is the Margin of victory on aug 11, 2002?
CREATE TABLE table_name_41 (margin_of_victory VARCHAR, date VARCHAR)
SELECT margin_of_victory FROM table_name_41 WHERE date = "aug 11, 2002"
What date was the Week 3 game played?
CREATE TABLE table_name_18 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_18 WHERE week = 3
What are the average rating and resolution of songs that are in Bangla?
CREATE TABLE song (rating INTEGER, resolution INTEGER, languages VARCHAR)
SELECT AVG(rating), AVG(resolution) FROM song WHERE languages = "bangla"
Name the high rebounds for record 10-19
CREATE TABLE table_23274514_5 (high_rebounds VARCHAR, record VARCHAR)
SELECT high_rebounds FROM table_23274514_5 WHERE record = "10-19"
What is the Original artist when the week number is top 9?
CREATE TABLE table_name_39 (original_artist VARCHAR, week__number VARCHAR)
SELECT original_artist FROM table_name_39 WHERE week__number = "top 9"
What year did Bangkok University and Chunnam Dragons have a score of 0-0?
CREATE TABLE table_name_31 (season INTEGER, team_2 VARCHAR, team_1 VARCHAR, score VARCHAR)
SELECT SUM(season) FROM table_name_31 WHERE team_1 = "bangkok university" AND score = "0-0" AND team_2 = "chunnam dragons"
What is the Pinyin for the simplified 虞城县?
CREATE TABLE table_2135222_2 (pinyin VARCHAR, simplified VARCHAR)
SELECT pinyin FROM table_2135222_2 WHERE simplified = "虞城县"
What is the name of the episode # 11 in the season?
CREATE TABLE table_25277262_2 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_25277262_2 WHERE no_in_season = 11
what is the lowest points scored by a player who blocked 21 times
CREATE TABLE table_19722233_5 (points INTEGER, blocks VARCHAR)
SELECT MIN(points) FROM table_19722233_5 WHERE blocks = 21
During the play-off quarter-final which team scored position was the team that scored 56 points?
CREATE TABLE table_name_91 (pos VARCHAR, play_offs VARCHAR, pts VARCHAR)
SELECT pos FROM table_name_91 WHERE play_offs = "quarter-final" AND pts = "56"
What is the home team of the April 14 game?
CREATE TABLE table_name_27 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_27 WHERE date = "april 14"
What is the length of the version from 2003?
CREATE TABLE table_name_3 (length VARCHAR, year VARCHAR)
SELECT length FROM table_name_3 WHERE year = 2003
How many teams eliminated béziers from competition?
CREATE TABLE table_28068063_3 (match_points VARCHAR, eliminated_from_competition VARCHAR)
SELECT COUNT(match_points) FROM table_28068063_3 WHERE eliminated_from_competition = "Béziers"
What are the transfers in for Hungary?
CREATE TABLE table_name_36 (transfers_in VARCHAR, country VARCHAR)
SELECT transfers_in FROM table_name_36 WHERE country = "hungary"
What is the date of the game that took place at the Resch Center?
CREATE TABLE table_name_41 (date VARCHAR, game_site VARCHAR)
SELECT date FROM table_name_41 WHERE game_site = "resch center"
what is the obama # in carson city
CREATE TABLE table_20424014_1 (obama__number VARCHAR, county VARCHAR)
SELECT obama__number FROM table_20424014_1 WHERE county = "Carson City"
What is the year (ceremony) for the film title Eldra?
CREATE TABLE table_26385848_1 (year__ceremony_ VARCHAR, film_title VARCHAR)
SELECT year__ceremony_ FROM table_26385848_1 WHERE film_title = "Eldra"
What is the Lane of the Athlete from Great Britain with a Reaction time of less than 0.218 and a Time larger than 44.74?
CREATE TABLE table_name_82 (lane INTEGER, nationality VARCHAR, reaction_time VARCHAR, time VARCHAR)
SELECT SUM(lane) FROM table_name_82 WHERE reaction_time < 0.218 AND time > 44.74 AND nationality = "great britain"
what is the number of losses with wins less than 4 and goals against more than 39?
CREATE TABLE table_name_28 (losses VARCHAR, goals_against VARCHAR, wins VARCHAR)
SELECT COUNT(losses) FROM table_name_28 WHERE goals_against > 39 AND wins < 4
What is the maximum and minimum market value of companies?
CREATE TABLE company (Market_Value_in_Billion INTEGER)
SELECT MAX(Market_Value_in_Billion), MIN(Market_Value_in_Billion) FROM company
List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007.
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, player_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE salary (player_id VARCHAR, team_id VARCHAR, year VARCHAR)
SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JOIN team AS T3 ON T3.team_id_br = T1.team_id WHERE T1.year = 2005 AND T3.name = 'Washington Nationals' INTERSECT SELECT T2.name_first, T2.name_last FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id JO...
What is the result on 20 July 2008?
CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_52 WHERE date = "20 july 2008"
What is 2011, when Tournament is "Year-End Ranking"?
CREATE TABLE table_name_39 (tournament VARCHAR)
SELECT 2011 FROM table_name_39 WHERE tournament = "year-end ranking"
What is the High assists with a Date that is march 31?
CREATE TABLE table_name_39 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_39 WHERE date = "march 31"
What was the game result on November 16, 1969?
CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_83 WHERE date = "november 16, 1969"
Which stadium had the opposition of 79,122?
CREATE TABLE table_name_91 (stadium VARCHAR, opposition VARCHAR)
SELECT stadium FROM table_name_91 WHERE opposition = "79,122"
Who is the player from round 8?
CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR)
SELECT player FROM table_name_20 WHERE round = 8
On what date did Ayrton Senna win at Imola?
CREATE TABLE table_name_92 (date VARCHAR, winning_driver VARCHAR, location VARCHAR)
SELECT date FROM table_name_92 WHERE winning_driver = "ayrton senna" AND location = "imola"
Who is Princes Park's home team?
CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_6 WHERE venue = "princes park"
What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team?
CREATE TABLE table_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR)
SELECT gtp_winning_team FROM table_13643320_2 WHERE circuit = "Portland" AND gtu_winning_team = "Jack Baldwin"
Which Frequency is used for WEGP calls?
CREATE TABLE table_10333757_1 (frequency VARCHAR, calls VARCHAR)
SELECT frequency FROM table_10333757_1 WHERE calls = "WEGP"
What is the sum of the largest purse?
CREATE TABLE table_11622392_1 (purse__ INTEGER)
SELECT MAX(purse__) AS $__ FROM table_11622392_1
Who won the race on August 15?
CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR)
SELECT race_winner FROM table_28925058_1 WHERE date = "August 15"
What is average for Cody & Julianne?
CREATE TABLE table_17862135_3 (average VARCHAR, couple VARCHAR)
SELECT average FROM table_17862135_3 WHERE couple = "Cody & Julianne"
What was the date for no. 7?
CREATE TABLE table_247955_2 (date VARCHAR, no VARCHAR)
SELECT date FROM table_247955_2 WHERE no = 7
How many million viewers watched the episode that had a 2.6/7 rating/share (18-49)
CREATE TABLE table_23397386_2 (viewers__millions_ VARCHAR, rating VARCHAR)
SELECT viewers__millions_ FROM table_23397386_2 WHERE rating / SHARE(18 AS –49) = 2.6 / 7
who is the owner of fm 94.5?
CREATE TABLE table_name_69 (owner VARCHAR, frequency VARCHAR)
SELECT owner FROM table_name_69 WHERE frequency = "fm 94.5"
WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?
CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_11 WHERE score = 69 - 71 - 66 - 73 = 279
Which IHSAA Class has a School of taylor?
CREATE TABLE table_name_51 (ihsaa_class VARCHAR, school VARCHAR)
SELECT ihsaa_class FROM table_name_51 WHERE school = "taylor"
What is the NBA draft result of the player from Washington, DC?
CREATE TABLE table_name_97 (nba_draft VARCHAR, hometown VARCHAR)
SELECT nba_draft FROM table_name_97 WHERE hometown = "washington, dc"
Which club had 13 runners-up?
CREATE TABLE table_name_27 (club VARCHAR, runners_up VARCHAR)
SELECT club FROM table_name_27 WHERE runners_up = "13"
What is the Tries against when lost shows 12 for pontycymmer rfc?
CREATE TABLE table_name_79 (tries_against VARCHAR, lost VARCHAR, club VARCHAR)
SELECT tries_against FROM table_name_79 WHERE lost = "12" AND club = "pontycymmer rfc"
What is the British letter if American is ə?
CREATE TABLE table_name_10 (british VARCHAR, american VARCHAR)
SELECT british FROM table_name_10 WHERE american = "ə"
What category was Kasautii Zindagii Kay nominated for after 2005?
CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, for_the_show VARCHAR)
SELECT category FROM table_name_20 WHERE year > 2005 AND for_the_show = "kasautii zindagii kay"
Find the names of the clubs that have at least a member from the city with city code "HOU".
CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, city_code VARCHAR)
SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.city_code = "HOU"
What's the Winner in the Year of 2000?
CREATE TABLE table_name_9 (winner VARCHAR, year VARCHAR)
SELECT winner FROM table_name_9 WHERE year = "2000"
How many points did the Weslake v12 get in 1966?
CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966
which Score has a Location of mex cancun?
CREATE TABLE table_name_31 (score VARCHAR, location VARCHAR)
SELECT score FROM table_name_31 WHERE location = "mex cancun"
Which College has Player Mark Brown and a Pick # greater than 195?
CREATE TABLE table_name_63 (college VARCHAR, pick__number VARCHAR, player VARCHAR)
SELECT college FROM table_name_63 WHERE pick__number > 195 AND player = "mark brown"
What was the score when the home team, Toronto, played against New Jersey?
CREATE TABLE table_name_62 (score VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT score FROM table_name_62 WHERE visitor = "new jersey" AND home = "toronto"
What was the fate on 27 june 1942?
CREATE TABLE table_name_44 (fate VARCHAR, date VARCHAR)
SELECT fate FROM table_name_44 WHERE date = "27 june 1942"
Who was the winning driver for the goodwood circuit?
CREATE TABLE table_1140117_5 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_1140117_5 WHERE circuit = "Goodwood"
Show the country where people older than 30 and younger than 25 are from.
CREATE TABLE people (country VARCHAR, age INTEGER)
SELECT country FROM people WHERE age < 25 INTERSECT SELECT country FROM people WHERE age > 30
Which year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy?
CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR)
SELECT year FROM table_name_37 WHERE genre = "jazz" AND label = "columbia" AND result = "nominated" AND title = "trio jeepy"
Who was the Away team on the result of 1-5 aet?
CREATE TABLE table_name_61 (away VARCHAR, result VARCHAR)
SELECT away FROM table_name_61 WHERE result = "1-5 aet"
What is the Home Team of the game against Seattle on June 1?
CREATE TABLE table_name_7 (home_team VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_7 WHERE road_team = "seattle" AND date = "june 1"
Which opponent had a time of 0:29?
CREATE TABLE table_name_71 (opponent VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_71 WHERE time = "0:29"
What is the 2nd leg when team #1 is Rubin Kazan?
CREATE TABLE table_name_44 (team__number1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_44 WHERE team__number1 = "rubin kazan"
What date was the game with a record of 47–39?
CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_93 WHERE record = "47–39"
When the Away team footscray played on the Date of 19 july 1980, what was the amount of people in the Crowd?
CREATE TABLE table_name_1 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_1 WHERE date = "19 july 1980" AND away_team = "footscray"
What is the result of the game on May 14 with Philadelphia as the road team?
CREATE TABLE table_name_48 (result VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT result FROM table_name_48 WHERE road_team = "philadelphia" AND date = "may 14"
What is the average Money ( $ ), when Score is "69-69-76-69=283"?
CREATE TABLE table_name_74 (money___ INTEGER, score VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_74 WHERE score = 69 - 69 - 76 - 69 = 283
How many part 6 parts are there in the episode number 5?
CREATE TABLE table_13241993_3 (part_6 VARCHAR, episode__number VARCHAR)
SELECT COUNT(part_6) FROM table_13241993_3 WHERE episode__number = 5
Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears?
CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)
SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bears"