answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT time FROM table_name_75 WHERE notes = "fa" AND rank < 2
CREATE TABLE table_name_75 (time VARCHAR, notes VARCHAR, rank VARCHAR)
What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?
SELECT rowers FROM table_name_66 WHERE country = "poland"
CREATE TABLE table_name_66 (rowers VARCHAR, country VARCHAR)
Who are the Rowers from Poland?
SELECT rowers FROM table_name_14 WHERE time = "5:56.38"
CREATE TABLE table_name_14 (rowers VARCHAR, time VARCHAR)
Who are the Rowers with a Time of 5:56.38?
SELECT title FROM table_name_95 WHERE release_date = "1954-12-18"
CREATE TABLE table_name_95 (title VARCHAR, release_date VARCHAR)
What's the title of the film with the release date of 1954-12-18?
SELECT COUNT(production_number) FROM table_name_21 WHERE series = "mm" AND title = "bell hoppy"
CREATE TABLE table_name_21 (production_number VARCHAR, series VARCHAR, title VARCHAR)
What is the production number for Bell Hoppy in the MM Series?
SELECT SUM(scored) FROM table_name_75 WHERE losses < 0
CREATE TABLE table_name_75 (scored INTEGER, losses INTEGER)
How much Scored has Losses smaller than 0?
SELECT MIN(wins) FROM table_name_98 WHERE losses < 6 AND position = 4 AND played > 9
CREATE TABLE table_name_98 (wins INTEGER, played VARCHAR, losses VARCHAR, position VARCHAR)
Which Wins have Losses smaller than 6, and a Position of 4, and Played larger than 9?
SELECT COUNT(conceded) FROM table_name_77 WHERE wins < 3 AND points > 11
CREATE TABLE table_name_77 (conceded VARCHAR, wins VARCHAR, points VARCHAR)
How much Conceded has Wins smaller than 3, and Points larger than 11?
SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1
CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR)
Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1?
SELECT COUNT(losses) FROM table_name_62 WHERE points = 11
CREATE TABLE table_name_62 (losses VARCHAR, points VARCHAR)
How many losses have 11 points?
SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" AND number > 8
CREATE TABLE table_name_3 (song_title VARCHAR, number VARCHAR, singer_s_ VARCHAR, lyricist VARCHAR)
What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8?
SELECT singer_s_ FROM table_name_97 WHERE lyricist = "dev kohli" AND number = 3
CREATE TABLE table_name_97 (singer_s_ VARCHAR, lyricist VARCHAR, number VARCHAR)
Who was the singer for the song numbered 3, with lyricist Dev Kohli?
SELECT AVG(number) FROM table_name_75 WHERE song_title = "o sudha"
CREATE TABLE table_name_75 (number INTEGER, song_title VARCHAR)
What is the average number for the song "O Sudha"?
SELECT length FROM table_name_53 WHERE song_title = "ma ke jaisi"
CREATE TABLE table_name_53 (length VARCHAR, song_title VARCHAR)
What is the average length for the song "Ma Ke Jaisi"?
SELECT name FROM table_name_83 WHERE fa_cup_goals = 0 AND league_cup_goals < 2 AND total_goals = 2
CREATE TABLE table_name_83 (name VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR, league_cup_goals VARCHAR)
Who had fa cup goals of 0, league cup goals less than 2, and total goals of 2?
SELECT SUM(fa_cup_goals) FROM table_name_12 WHERE total_apps = "10 (4)"
CREATE TABLE table_name_12 (fa_cup_goals INTEGER, total_apps VARCHAR)
what is the fa cup goals when total apps is 10 (4)?
SELECT COUNT(total_goals) FROM table_name_52 WHERE fa_cup_apps > 0 AND position = "mf" AND league_goals = 4
CREATE TABLE table_name_52 (total_goals VARCHAR, league_goals VARCHAR, fa_cup_apps VARCHAR, position VARCHAR)
how many times is the fa cup apps more than 0, the position mf and the league goals 4?
SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = "193"
CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR)
What is the total number of electorates in 2009 with a constituency of 193?
SELECT reserved_for___sc___st__none_ FROM table_name_34 WHERE constituency_number = "192"
CREATE TABLE table_name_34 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)
What is the reserved for the constituency of 192?
SELECT artist FROM table_name_79 WHERE percentage = "11.32%"
CREATE TABLE table_name_79 (artist VARCHAR, percentage VARCHAR)
Which Artist has a Percentage of 11.32%?
SELECT MIN(week) FROM table_name_14 WHERE date = "november 28, 1982"
CREATE TABLE table_name_14 (week INTEGER, date VARCHAR)
What is the week for November 28, 1982?
SELECT attendance FROM table_name_32 WHERE result = "l 41-37"
CREATE TABLE table_name_32 (attendance VARCHAR, result VARCHAR)
What is the attendance number when the result is l 41-37?
SELECT AVG(attendance) FROM table_name_5 WHERE week < 4 AND result = "w 31-20"
CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, result VARCHAR)
What is the attendance in a week earlier than 4, and result is w 31-20?
SELECT opponent FROM table_name_31 WHERE week > 1 AND result = "l 21-20"
CREATE TABLE table_name_31 (opponent VARCHAR, week VARCHAR, result VARCHAR)
What is the opponent in a week larger than 1, with a result of l 21-20?
SELECT sport FROM table_name_3 WHERE founded = 2010
CREATE TABLE table_name_3 (sport VARCHAR, founded VARCHAR)
What sport was played by the team founded in 2010?
SELECT club FROM table_name_27 WHERE founded < 2011 AND venue = "champion window field"
CREATE TABLE table_name_27 (club VARCHAR, founded VARCHAR, venue VARCHAR)
What club team was founded before 2011 and plays at the champion window field?
SELECT COUNT(founded) FROM table_name_77 WHERE venue = "champion window field"
CREATE TABLE table_name_77 (founded VARCHAR, venue VARCHAR)
How many different dates are there for founded teams for the venue of champion window field?
SELECT club FROM table_name_40 WHERE venue = "champion window field"
CREATE TABLE table_name_40 (club VARCHAR, venue VARCHAR)
What club team plays at the champion window field?
SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_67 WHERE per_capita_income__as__percentage_of_usa_ = 10.65 AND year < 1990
CREATE TABLE table_name_67 (inflation_index__2000 INTEGER, per_capita_income__as__percentage_of_usa_ VARCHAR, year VARCHAR)
Which Inflation Index (2000=100) has a Per Capita Income (as % of USA) of 10.65, and a Year smaller than 1990?
SELECT release_date FROM table_name_77 WHERE production_num = "6998"
CREATE TABLE table_name_77 (release_date VARCHAR, production_num VARCHAR)
What release date has 6998 as the production num.?
SELECT director FROM table_name_40 WHERE series = "lt" AND production_num = "6982"
CREATE TABLE table_name_40 (director VARCHAR, series VARCHAR, production_num VARCHAR)
What director has lt as the series, with 6982 as the production num.?
SELECT series FROM table_name_12 WHERE release_date = "1935-07-13"
CREATE TABLE table_name_12 (series VARCHAR, release_date VARCHAR)
What series has 1935-07-13 as the release date?
SELECT title FROM table_name_66 WHERE series = "lt" AND director = "ben hardaway" AND production_num = "6612"
CREATE TABLE table_name_66 (title VARCHAR, production_num VARCHAR, series VARCHAR, director VARCHAR)
What title has lt as the series, ben hardaway as the director, with 6612 as the production num.?
SELECT title FROM table_name_26 WHERE label = "pacific jazz" AND year = 1963 AND label - Nr = st - 81
CREATE TABLE table_name_26 (title VARCHAR, label VARCHAR, year VARCHAR, Nr VARCHAR, st VARCHAR)
What is the song title from 1963 on the Pacific Jazz label, and a Label-Nr of st-81?
SELECT MIN(year) FROM table_name_37 WHERE label - Nr = st - 43
CREATE TABLE table_name_37 (year INTEGER, label VARCHAR, Nr VARCHAR, st VARCHAR)
What is the earliest year with a label-Nr of st-43?
SELECT title FROM table_name_3 WHERE label = "pacific jazz" AND label - Nr = st - 20124
CREATE TABLE table_name_3 (title VARCHAR, label VARCHAR, Nr VARCHAR, st VARCHAR)
What is the song title on the Pacific Jazz label, and a Label-Nr of st-20124?
SELECT type FROM table_name_42 WHERE year < 1968 AND title = "stretchin' out"
CREATE TABLE table_name_42 (type VARCHAR, year VARCHAR, title VARCHAR)
What is the type earlier than 1968, and a Title of stretchin' out?
SELECT team FROM table_name_19 WHERE pick = 31
CREATE TABLE table_name_19 (team VARCHAR, pick VARCHAR)
what is the team that is pick 31?
SELECT position FROM table_name_8 WHERE pick > 32 AND team = "atlanta braves"
CREATE TABLE table_name_8 (position VARCHAR, pick VARCHAR, team VARCHAR)
what is the position when the pick is higher than 32 and the team is atlanta braves?
SELECT position FROM table_name_16 WHERE pick > 33 AND school = "tottenville hs (staten island, ny)"
CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school VARCHAR)
what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)?
SELECT MAX(attendance) FROM table_name_99 WHERE week = 12
CREATE TABLE table_name_99 (attendance INTEGER, week VARCHAR)
What is the Attendance of the game in Week 12?
SELECT opponent FROM table_name_25 WHERE date = "december 3, 1979"
CREATE TABLE table_name_25 (opponent VARCHAR, date VARCHAR)
What is the Opponent on December 3, 1979?
SELECT result FROM table_name_62 WHERE opponent = "philadelphia eagles"
CREATE TABLE table_name_62 (result VARCHAR, opponent VARCHAR)
What is the Result of the game against Philadelphia Eagles?
SELECT score FROM table_name_55 WHERE date = "march 27"
CREATE TABLE table_name_55 (score VARCHAR, date VARCHAR)
What is the score March 27?
SELECT score FROM table_name_77 WHERE game > 4 AND series = "3-2"
CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, series VARCHAR)
What is the score for the game larger than 4 in series 3-2?
SELECT COUNT(game) FROM table_name_56 WHERE series = "4-2"
CREATE TABLE table_name_56 (game VARCHAR, series VARCHAR)
What is the game number for series 4-2?
SELECT date FROM table_name_73 WHERE game < 4 AND score = "116-114"
CREATE TABLE table_name_73 (date VARCHAR, game VARCHAR, score VARCHAR)
What date has a game smaller than 4, and a score of 116-114?
SELECT COUNT(game) FROM table_name_43 WHERE date = "april 7"
CREATE TABLE table_name_43 (game VARCHAR, date VARCHAR)
What is the game number on April 7?
SELECT opposing_team FROM table_name_34 WHERE against < 19 AND date = "20/05/1979"
CREATE TABLE table_name_34 (opposing_team VARCHAR, against VARCHAR, date VARCHAR)
Which Opposing Team has an Against smaller than 19, and a Date of 20/05/1979?
SELECT COUNT(production_number) FROM table_name_76 WHERE title = "pre-hysterical hare"
CREATE TABLE table_name_76 (production_number VARCHAR, title VARCHAR)
What was the production number of the episode titel of pre-hysterical hare?
SELECT director FROM table_name_27 WHERE production_number = 1490
CREATE TABLE table_name_27 (director VARCHAR, production_number VARCHAR)
What director had a production number of 1490?
SELECT title FROM table_name_56 WHERE director = "chuck jones" AND release_date = "1958-04-12"
CREATE TABLE table_name_56 (title VARCHAR, director VARCHAR, release_date VARCHAR)
Which title was directed by chuck jones and released on 1958-04-12?
SELECT name FROM table_name_96 WHERE time > 53.06 AND lane < 8 AND rank > 2 AND nationality = "japan"
CREATE TABLE table_name_96 (name VARCHAR, nationality VARCHAR, rank VARCHAR, time VARCHAR, lane VARCHAR)
Which Name has a Time larger than 53.06, and a Lane smaller than 8, and a Rank larger than 2, and a Nationality of japan?
SELECT SUM(lane) FROM table_name_32 WHERE time = 53.61 AND rank > 3
CREATE TABLE table_name_32 (lane INTEGER, time VARCHAR, rank VARCHAR)
How many lanes have a Time of 53.61, and a Rank larger than 3?
SELECT finish_position FROM table_name_64 WHERE year < 2009
CREATE TABLE table_name_64 (finish_position VARCHAR, year INTEGER)
What is the finish position in the year prior to 2009?
SELECT _number___county FROM table_name_88 WHERE location = "ossian"
CREATE TABLE table_name_88 (_number___county VARCHAR, location VARCHAR)
Which #/ County has a Location of ossian?
SELECT COUNT(enrollment) FROM table_name_79 WHERE ihsaa_class = "aaaaa" AND mascot = "spartans"
CREATE TABLE table_name_79 (enrollment VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)
How much Enrollment has an IHSAA Class of aaaaa, and a Mascot of spartans?
SELECT SUM(enrollment) FROM table_name_5 WHERE school = "fort wayne homestead"
CREATE TABLE table_name_5 (enrollment INTEGER, school VARCHAR)
How much Enrollment has a School of fort wayne homestead?
SELECT ihsaa_class FROM table_name_49 WHERE location = "columbia city"
CREATE TABLE table_name_49 (ihsaa_class VARCHAR, location VARCHAR)
Which IHSAA Class has a Location of columbia city?
SELECT opponent FROM table_name_78 WHERE score = "111-106"
CREATE TABLE table_name_78 (opponent VARCHAR, score VARCHAR)
Who was the opponent at the game with a score of 111-106?
SELECT location_attendance FROM table_name_13 WHERE score = "113-106"
CREATE TABLE table_name_13 (location_attendance VARCHAR, score VARCHAR)
What was the location of the game with a score of 113-106?
SELECT MAX(pick) FROM table_name_52 WHERE team = "denver broncos"
CREATE TABLE table_name_52 (pick INTEGER, team VARCHAR)
What is the highest pick number for a pick drafted by the denver broncos?
SELECT opponent FROM table_name_83 WHERE result = "l 27-7"
CREATE TABLE table_name_83 (opponent VARCHAR, result VARCHAR)
What opponent has l 27-7 as the result?
SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187
CREATE TABLE table_name_87 (week VARCHAR, attendance VARCHAR)
How many weeks has 54,187 as the attendance?
SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-2"
CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR)
What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?
SELECT date FROM table_name_3 WHERE score = "3-6 4-6"
CREATE TABLE table_name_3 (date VARCHAR, score VARCHAR)
When was the score 3-6 4-6?
SELECT AVG(rank) FROM table_name_36 WHERE time = "2:25.65" AND lane > 3
CREATE TABLE table_name_36 (rank INTEGER, time VARCHAR, lane VARCHAR)
What is the Rank of the Swimmer with a Time of 2:25.65 in a Lane larger than 3?
SELECT COUNT(rank) FROM table_name_52 WHERE name = "qi hui"
CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR)
What is the Rank of Qi Hui?
SELECT COUNT(forfeits) FROM table_name_84 WHERE wins < 8 AND losses > 16
CREATE TABLE table_name_84 (forfeits VARCHAR, wins VARCHAR, losses VARCHAR)
How many Forfeits have Wins smaller than 8, and Losses larger than 16?
SELECT COUNT(losses) FROM table_name_13 WHERE millewa = "nangiloc"
CREATE TABLE table_name_13 (losses VARCHAR, millewa VARCHAR)
How many Losses have a Millewa of nangiloc?
SELECT MAX(losses) FROM table_name_58 WHERE draws > 0
CREATE TABLE table_name_58 (losses INTEGER, draws INTEGER)
How many Losses have Draws larger than 0?
SELECT AVG(rank) FROM table_name_46 WHERE name = "elise matthysen" AND lane < 8
CREATE TABLE table_name_46 (rank INTEGER, name VARCHAR, lane VARCHAR)
What is the average rank of Elise Matthysen in lanes under 8?
SELECT time FROM table_name_53 WHERE name = "yuliya yefimova"
CREATE TABLE table_name_53 (time VARCHAR, name VARCHAR)
What is the time of Yuliya Yefimova?
SELECT name FROM table_name_1 WHERE lane < 3 AND nationality = "great britain"
CREATE TABLE table_name_1 (name VARCHAR, lane VARCHAR, nationality VARCHAR)
Who was from Great Britain in lanes under number 3?
SELECT wheel_arrangement FROM table_name_1 WHERE year_made = "1910"
CREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR)
What wheel arrangement was made in 1910?
SELECT year_s__retired FROM table_name_32 WHERE serial_numbers = "27317–27336"
CREATE TABLE table_name_32 (year_s__retired VARCHAR, serial_numbers VARCHAR)
What year were the retired serial numbers 27317–27336?
SELECT surface FROM table_name_16 WHERE score = "7-5, 5-7, 6-3"
CREATE TABLE table_name_16 (surface VARCHAR, score VARCHAR)
Which Surface has a score of 7-5, 5-7, 6-3?
SELECT tournament FROM table_name_30 WHERE score = "6-4, 6-4"
CREATE TABLE table_name_30 (tournament VARCHAR, score VARCHAR)
Which tournament has a Score of 6-4, 6-4?
SELECT surface FROM table_name_41 WHERE date = "10 november 2006"
CREATE TABLE table_name_41 (surface VARCHAR, date VARCHAR)
What was the Surface on during 10 November 2006?
SELECT score FROM table_name_79 WHERE date = "25 may 2007"
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
What was the Score on 25 May 2007?
SELECT score FROM table_name_79 WHERE date = "10 november 2006"
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)
What was the score on 10 November 2006?
SELECT partnering FROM table_name_92 WHERE score = "6-3, 4-6, 6-4"
CREATE TABLE table_name_92 (partnering VARCHAR, score VARCHAR)
Which Partnering has a Score of 6-3, 4-6, 6-4?
SELECT MAX(rank) FROM table_name_38 WHERE notes = "qs" AND country = "china"
CREATE TABLE table_name_38 (rank INTEGER, notes VARCHAR, country VARCHAR)
What is the rank for the man from China with notes of QS?
SELECT MIN(rank) FROM table_name_16 WHERE country = "bulgaria"
CREATE TABLE table_name_16 (rank INTEGER, country VARCHAR)
What is the rank for the competitor from Bulgaria?
SELECT athletes FROM table_name_62 WHERE rank < 5 AND country = "china"
CREATE TABLE table_name_62 (athletes VARCHAR, rank VARCHAR, country VARCHAR)
Which athlete is ranked below 5 and is from China?
SELECT game FROM table_name_90 WHERE genre = "platformer"
CREATE TABLE table_name_90 (game VARCHAR, genre VARCHAR)
Which game was a Platformer?
SELECT developer_s_ FROM table_name_98 WHERE game = "xcom: enemy unknown"
CREATE TABLE table_name_98 (developer_s_ VARCHAR, game VARCHAR)
Who was the developer of XCom: Enemy Unknown?
SELECT platform_s_ FROM table_name_50 WHERE game = "red dead redemption"
CREATE TABLE table_name_50 (platform_s_ VARCHAR, game VARCHAR)
Which platform was Red Dead Redemption for?
SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0
CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR)
What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals?
SELECT AVG(egypt_cup) FROM table_name_93 WHERE caf_champions_league = 0 AND egyptian_premier_league = 6 AND total < 6
CREATE TABLE table_name_93 (egypt_cup INTEGER, total VARCHAR, caf_champions_league VARCHAR, egyptian_premier_league VARCHAR)
What is the aveage Egypt Cup value for players with 0 CAF Champions League goals, 6 Egyptian Premier League goals, and totals under 6?
SELECT COUNT(silver) FROM table_name_64 WHERE gold > 0 AND rank < 2
CREATE TABLE table_name_64 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
how many times is gold more than 0 and the rank less than 2?
SELECT MAX(total) FROM table_name_71 WHERE nation = "france" AND silver > 1
CREATE TABLE table_name_71 (total INTEGER, nation VARCHAR, silver VARCHAR)
what is the highest total when the nation is france and silver is more than 1?
SELECT MIN(silver) FROM table_name_94 WHERE nation = "germany" AND gold > 4
CREATE TABLE table_name_94 (silver INTEGER, nation VARCHAR, gold VARCHAR)
what is the least silver for germany when gold is more than 4?
SELECT COUNT(silver) FROM table_name_23 WHERE total < 15 AND rank < 5 AND bronze = 4 AND gold < 3
CREATE TABLE table_name_23 (silver VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR, rank VARCHAR)
How many times is the total less than 15, rank less than 5, bronze is 4 and gold smaller than 3?
SELECT venue FROM table_name_71 WHERE date = "september 5, 1998"
CREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR)
What venue did the game on september 5, 1998 take place at?
SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000"
CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR)
What venue did the 2000 tiger cup take place at on November 10, 2000?
SELECT date FROM table_name_63 WHERE score = "5-4"
CREATE TABLE table_name_63 (date VARCHAR, score VARCHAR)
What date had a game with a score of 5-4?
SELECT SUM(s_barangay) FROM table_name_72 WHERE area___has__ > 865.13
CREATE TABLE table_name_72 (s_barangay INTEGER, area___has__ INTEGER)
What is the total of Barangay with an area larger than 865.13?
SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = "santa cruz" AND s_barangay > 82
CREATE TABLE table_name_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)
What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?
SELECT AVG(gold) FROM table_name_13 WHERE rank = "17" AND silver > 4
CREATE TABLE table_name_13 (gold INTEGER, rank VARCHAR, silver VARCHAR)
What is the average number of golds for teams in rank 17 with more than 4 silver?