answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MAX(attendance) FROM table_name_42 WHERE venue = "a" AND opponent = "west ham united"
CREATE TABLE table_name_42 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)
What is the highest attendance for the match against west ham united at the venue of a?
SELECT country FROM table_name_84 WHERE score = 67
CREATE TABLE table_name_84 (country VARCHAR, score VARCHAR)
Which Country has a Score of 67?
SELECT to_par FROM table_name_64 WHERE player = "momoko ueda"
CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR)
Which To par has a Player of momoko ueda?
SELECT to_par FROM table_name_87 WHERE player = "johanna head"
CREATE TABLE table_name_87 (to_par VARCHAR, player VARCHAR)
Which To par has a Player of johanna head?
SELECT notes FROM table_name_48 WHERE country = "denmark"
CREATE TABLE table_name_48 (notes VARCHAR, country VARCHAR)
What is the notes for the team from Denmark?
SELECT athlete FROM table_name_94 WHERE notes = "sc/d" AND rank = 6
CREATE TABLE table_name_94 (athlete VARCHAR, notes VARCHAR, rank VARCHAR)
Which athlete had a rank of 6 and notes of sc/d?
SELECT country FROM table_name_56 WHERE notes = "sc/d" AND athlete = "latt shwe zin"
CREATE TABLE table_name_56 (country VARCHAR, notes VARCHAR, athlete VARCHAR)
Which country is the athlete latt shwe zin with notes of sc/d from?
SELECT hr_no FROM table_name_36 WHERE lms_no = 14758
CREATE TABLE table_name_36 (hr_no VARCHAR, lms_no VARCHAR)
What's the HR number when the LMS number is 14758?
SELECT AVG(cr_no) FROM table_name_23 WHERE works = "hawthorn leslie 3100" AND lms_no < 14761
CREATE TABLE table_name_23 (cr_no INTEGER, works VARCHAR, lms_no VARCHAR)
What's the CR number that has an LMS number less than 14761 and works of Hawthorn Leslie 3100?
SELECT hr_no FROM table_name_75 WHERE built = "9/1915" AND lms_no = 14757
CREATE TABLE table_name_75 (hr_no VARCHAR, built VARCHAR, lms_no VARCHAR)
What's the HR Number when the LMS number is 14757 and has a built of 9/1915?
SELECT built FROM table_name_57 WHERE cr_no > 940 AND lms_no = 14760
CREATE TABLE table_name_57 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR)
What's the built date when the CR number is more than 940 and the LMS number is 14760?
SELECT home FROM table_name_44 WHERE visitor = "modo hockey" AND date = "thursday, december 11"
CREATE TABLE table_name_44 (home VARCHAR, visitor VARCHAR, date VARCHAR)
What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey?
SELECT chinese__traditional_ FROM table_name_36 WHERE english_title = "sunrise"
CREATE TABLE table_name_36 (chinese__traditional_ VARCHAR, english_title VARCHAR)
What is the traditional Chinese name for the record titled Sunrise?
SELECT chinese__traditional_ FROM table_name_66 WHERE chinese__simplified_ = "崇拜"
CREATE TABLE table_name_66 (chinese__traditional_ VARCHAR, chinese__simplified_ VARCHAR)
What would be the traditional Chinese name tat is simplified as 崇拜?
SELECT chinese__traditional_ FROM table_name_54 WHERE label = "rock records" AND english_title = "grown up overnight"
CREATE TABLE table_name_54 (chinese__traditional_ VARCHAR, label VARCHAR, english_title VARCHAR)
What traditional Chinese name would the Rock Records release Grown up Overnight be given?
SELECT chinese__traditional_ FROM table_name_84 WHERE english_title = "beautiful"
CREATE TABLE table_name_84 (chinese__traditional_ VARCHAR, english_title VARCHAR)
What is the traditional Chinese name for the record Beautiful?
SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = "情歌没有告诉你"
CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR)
What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name?
SELECT chinese__simplified_ FROM table_name_21 WHERE album_number = "9th"
CREATE TABLE table_name_21 (chinese__simplified_ VARCHAR, album_number VARCHAR)
What is the simplified Chinese name for the 9th album?
SELECT eliminated AS by FROM table_name_18 WHERE tag_team = "jindrak and cade"
CREATE TABLE table_name_18 (eliminated VARCHAR, tag_team VARCHAR)
Which Eliminated has a Tag Team of jindrak and cade?
SELECT eliminated AS by FROM table_name_42 WHERE entered < 2
CREATE TABLE table_name_42 (eliminated VARCHAR, entered INTEGER)
Which Eliminated has an Entered smaller than 2?
SELECT tag_team FROM table_name_94 WHERE entered = 6
CREATE TABLE table_name_94 (tag_team VARCHAR, entered VARCHAR)
Name the Tag Team with Entered of 6?
SELECT tag_team FROM table_name_42 WHERE eliminated = "5"
CREATE TABLE table_name_42 (tag_team VARCHAR, eliminated VARCHAR)
Name Tag Team with a Eliminated of 5?
SELECT tag_team FROM table_name_10 WHERE time = "03:34"
CREATE TABLE table_name_10 (tag_team VARCHAR, time VARCHAR)
Name the Tag Team with a Time of 03:34?
SELECT AVG(episodes) FROM table_name_17 WHERE tv_station = "ntv" AND japanese_title = "あいのうた"
CREATE TABLE table_name_17 (episodes INTEGER, tv_station VARCHAR, japanese_title VARCHAR)
Which Episodes have a TV Station of ntv, and a Japanese Title of あいのうた?
SELECT tv_station FROM table_name_54 WHERE average_ratings = "16.89%"
CREATE TABLE table_name_54 (tv_station VARCHAR, average_ratings VARCHAR)
Which TV Station has Average Ratings of 16.89%?
SELECT MAX(episodes) FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "今夜ひとりのベッドで"
CREATE TABLE table_name_79 (episodes INTEGER, tv_station VARCHAR, japanese_title VARCHAR)
Which Episodes have a TV Station of tbs, and a Japanese Title of 今夜ひとりのベッドで?
SELECT japanese_title FROM table_name_58 WHERE tv_station = "tbs" AND romaji_title = "hana yori dango"
CREATE TABLE table_name_58 (japanese_title VARCHAR, tv_station VARCHAR, romaji_title VARCHAR)
Which Japanese Title has a TV Station of tbs, and a Romaji Title of hana yori dango?
SELECT away_team FROM table_name_68 WHERE tie_no = "4"
CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR)
Who was the away team with a tie number of 4?
SELECT date FROM table_name_46 WHERE tie_no = "32"
CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR)
What date was the tie number of 32?
SELECT score FROM table_name_59 WHERE tie_no = "replay" AND home_team = "mansfield town"
CREATE TABLE table_name_59 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)
What was the score when the tie number was a replay and the home team was mansfield town?
SELECT to_par FROM table_name_42 WHERE score = 67 - 68 - 76 = 211
CREATE TABLE table_name_42 (to_par VARCHAR, score VARCHAR)
what is the to par when the score is 67-68-76=211?
SELECT score FROM table_name_51 WHERE player = "tom watson"
CREATE TABLE table_name_51 (score VARCHAR, player VARCHAR)
what is the score for tom watson?
SELECT player FROM table_name_37 WHERE place = "t10" AND score = 67 - 72 - 72 = 211
CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR, score VARCHAR)
who is the player when the place is t10 and the score is 67-72-72=211?
SELECT place FROM table_name_31 WHERE player = "bryce molder"
CREATE TABLE table_name_31 (place VARCHAR, player VARCHAR)
what is the place for bryce molder?
SELECT to_par FROM table_name_72 WHERE player = "mathew goggin"
CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR)
what is the to par for mathew goggin?
SELECT AVG(quantity) FROM table_name_86 WHERE axle_arrangement = "2′c h2"
CREATE TABLE table_name_86 (quantity INTEGER, axle_arrangement VARCHAR)
Which Quantity has an Axle arrangement of 2′c h2?
SELECT year_s__of_manufacture FROM table_name_92 WHERE axle_arrangement = "2′b n2"
CREATE TABLE table_name_92 (year_s__of_manufacture VARCHAR, axle_arrangement VARCHAR)
Which Year(s) of manufacture has an Axle arrangement of 2′b n2?
SELECT rank FROM table_name_81 WHERE time = "5:56.73"
CREATE TABLE table_name_81 (rank VARCHAR, time VARCHAR)
Which Rank has a Time of 5:56.73?
SELECT rank FROM table_name_70 WHERE notes = "fb" AND time = "5:57.31"
CREATE TABLE table_name_70 (rank VARCHAR, notes VARCHAR, time VARCHAR)
Which Rank has Notes of fb, and a Time of 5:57.31?
SELECT MIN(2007) FROM table_name_96 WHERE country_or_territory = "china" AND 2002 < 670 OFFSET 099
CREATE TABLE table_name_96 (country_or_territory VARCHAR)
Which 2007 has a Country or territory of china, and a 2002 smaller than 670,099?
SELECT SUM(giro_wins) FROM table_name_29 WHERE jerseys = 2 AND country = "portugal" AND young_rider > 0
CREATE TABLE table_name_29 (giro_wins INTEGER, young_rider VARCHAR, jerseys VARCHAR, country VARCHAR)
what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0?
SELECT MAX(jerseys) FROM table_name_72 WHERE points = 0 AND different_holders < 3 AND giro_wins < 1 AND young_rider > 1
CREATE TABLE table_name_72 (jerseys INTEGER, young_rider VARCHAR, giro_wins VARCHAR, points VARCHAR, different_holders VARCHAR)
what is the highest jersey when points is 0, different holders is less than 3, giro wins is less than 1 and young rider is more than 1?
SELECT COUNT(jerseys) FROM table_name_78 WHERE young_rider > 0 AND country = "france" AND points < 1
CREATE TABLE table_name_78 (jerseys VARCHAR, points VARCHAR, young_rider VARCHAR, country VARCHAR)
how many times is young rider more than 0, country is france and points less than 1?
SELECT MIN(different_holders) FROM table_name_93 WHERE country = "ireland" AND giro_wins < 1
CREATE TABLE table_name_93 (different_holders INTEGER, country VARCHAR, giro_wins VARCHAR)
what is the least different holders when the country is ireland and giro wins is less than 1?
SELECT speed FROM table_name_1 WHERE rider = "brian mateer"
CREATE TABLE table_name_1 (speed VARCHAR, rider VARCHAR)
What is Brian Mateer's Speed?
SELECT AVG(rank) FROM table_name_36 WHERE team = "250cc honda" AND speed = "111.072mph"
CREATE TABLE table_name_36 (rank INTEGER, team VARCHAR, speed VARCHAR)
What is the Rank of the Rider with a Speed of 111.072mph in Team 250CC Honda?
SELECT nationality FROM table_name_6 WHERE time = "1:08.80"
CREATE TABLE table_name_6 (nationality VARCHAR, time VARCHAR)
What is the Nationality of the swimmer with a Time of 1:08.80?
SELECT nationality FROM table_name_20 WHERE name = "anna khlistunova"
CREATE TABLE table_name_20 (nationality VARCHAR, name VARCHAR)
What is Anna Khlistunova's Nationality?
SELECT penalty FROM table_name_42 WHERE team = "det" AND player = "andreas lilja"
CREATE TABLE table_name_42 (penalty VARCHAR, team VARCHAR, player VARCHAR)
What is the penalty for the DET team player Andreas Lilja?
SELECT penalty FROM table_name_19 WHERE player = "jonathan toews"
CREATE TABLE table_name_19 (penalty VARCHAR, player VARCHAR)
What is the penalty for Jonathan Toews?
SELECT period FROM table_name_49 WHERE player = "ben eager"
CREATE TABLE table_name_49 (period VARCHAR, player VARCHAR)
What is the period for Ben Eager?
SELECT period FROM table_name_52 WHERE team = "det" AND time = "11:27"
CREATE TABLE table_name_52 (period VARCHAR, team VARCHAR, time VARCHAR)
What is the period for the DET Team with a time of 11:27?
SELECT player FROM table_name_35 WHERE penalty = "holding" AND team = "det"
CREATE TABLE table_name_35 (player VARCHAR, penalty VARCHAR, team VARCHAR)
What player has a penalty of holding on the DET team?
SELECT time FROM table_name_36 WHERE period = "1st" AND player = "dustin byfuglien"
CREATE TABLE table_name_36 (time VARCHAR, period VARCHAR, player VARCHAR)
What time does Dustin Byfuglien have in 1st period?
SELECT competition FROM table_name_85 WHERE result = "2-0" AND location = "ferreiras" AND assist_pass = "casey nogueira"
CREATE TABLE table_name_85 (competition VARCHAR, assist_pass VARCHAR, result VARCHAR, location VARCHAR)
Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira?
SELECT score FROM table_name_5 WHERE lineup = "match reports"
CREATE TABLE table_name_5 (score VARCHAR, lineup VARCHAR)
What is the score with the Lineup match reports?
SELECT date FROM table_name_92 WHERE assist_pass = "shannon boxx"
CREATE TABLE table_name_92 (date VARCHAR, assist_pass VARCHAR)
On what date is there an assist/pass by Shannon Boxx?
SELECT assist_pass FROM table_name_80 WHERE location = "ferreiras"
CREATE TABLE table_name_80 (assist_pass VARCHAR, location VARCHAR)
Which assist/pass is in Ferreiras?
SELECT transfer_fee FROM table_name_34 WHERE type = "career end" AND name = "willy sagnol"
CREATE TABLE table_name_34 (transfer_fee VARCHAR, type VARCHAR, name VARCHAR)
Willy Sagnol with a type as career end had what has the transfer fee?
SELECT nat FROM table_name_15 WHERE transfer_window = "summer" AND type = "transfer" AND name = "marcell jansen"
CREATE TABLE table_name_15 (nat VARCHAR, name VARCHAR, transfer_window VARCHAR, type VARCHAR)
Marcell Jansen with a transfer window of summer, and of transfer as type is from what nation?
SELECT type FROM table_name_2 WHERE nat = "ger" AND name = "marcell jansen"
CREATE TABLE table_name_2 (type VARCHAR, nat VARCHAR, name VARCHAR)
Marcell Jansen of the nation GER has what for the type?
SELECT name FROM table_name_72 WHERE transfer_window = "winter" AND transfer_fee = "free"
CREATE TABLE table_name_72 (name VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR)
What player had a transfer window of winter, and free as the transfer fee?
SELECT name FROM table_name_85 WHERE transfer_window = "summer" AND nat = "ger" AND transfer_fee = "n/a"
CREATE TABLE table_name_85 (name VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR, nat VARCHAR)
Which player from GER has a transfer window of summer, and a transfer fee of n/a?
SELECT MAX(year_left) FROM table_name_3 WHERE conference_joined = "sagamore" AND year_joined > 1942
CREATE TABLE table_name_3 (year_left INTEGER, conference_joined VARCHAR, year_joined VARCHAR)
What's the highest Year Left that's got a Conference Joined of Sagamore with a Year Joined larger than 1942?
SELECT MAX(year_left) FROM table_name_81 WHERE school = "danville"
CREATE TABLE table_name_81 (year_left INTEGER, school VARCHAR)
What's the highest Year Left for the School of Danville?
SELECT time FROM table_name_70 WHERE lane = 4
CREATE TABLE table_name_70 (time VARCHAR, lane VARCHAR)
What was lane 4's time?
SELECT part_number_s_ FROM table_name_56 WHERE l2_cache = "2 × 256 kb" AND frequency = "1.8 ghz"
CREATE TABLE table_name_56 (part_number_s_ VARCHAR, l2_cache VARCHAR, frequency VARCHAR)
What's the part number of the processor that has an 1.8 ghz frequency and 2 × 256 kb L@ Cache?
SELECT sspec_number FROM table_name_57 WHERE i_o_bus = "ultra-low power"
CREATE TABLE table_name_57 (sspec_number VARCHAR, i_o_bus VARCHAR)
What's the sSpec number of the processor having an ultra-low power I/O?
SELECT cores FROM table_name_81 WHERE socket = "bga-1023" AND release_date = "february 2011"
CREATE TABLE table_name_81 (cores VARCHAR, socket VARCHAR, release_date VARCHAR)
What the cores with a release date of February 2011 and a BGA-1023 socket?
SELECT l3_cache FROM table_name_63 WHERE i_o_bus = "standard power"
CREATE TABLE table_name_63 (l3_cache VARCHAR, i_o_bus VARCHAR)
What's the L3 Cache that has a standard power I/O?
SELECT release_date FROM table_name_77 WHERE frequency = "2.8 ghz"
CREATE TABLE table_name_77 (release_date VARCHAR, frequency VARCHAR)
What's the release date of the processor with 2.8 ghz of frequency?
SELECT round FROM table_name_24 WHERE venue = "westpac stadium" AND away = "newcastle jets"
CREATE TABLE table_name_24 (round VARCHAR, venue VARCHAR, away VARCHAR)
What round was the match at Westpac Stadium that had the Newcastle Jets as the away team?
SELECT weekday FROM table_name_86 WHERE away = "perth glory"
CREATE TABLE table_name_86 (weekday VARCHAR, away VARCHAR)
On what weekday was the match that had Perth Glory as the away team?
SELECT british_record FROM table_name_70 WHERE guernsey_record = "32-8-0"
CREATE TABLE table_name_70 (british_record VARCHAR, guernsey_record VARCHAR)
What is the British record for the fish with a Guernsey record of 32-8-0?
SELECT year FROM table_name_75 WHERE guernsey_record = "2-3-12"
CREATE TABLE table_name_75 (year VARCHAR, guernsey_record VARCHAR)
What year was the Guernsey record of 2-3-12 set?
SELECT guernsey_record FROM table_name_80 WHERE location = "bordeaux harbour"
CREATE TABLE table_name_80 (guernsey_record VARCHAR, location VARCHAR)
What was the guernsey record set with a fish caught at Bordeaux Harbour?
SELECT release_date FROM table_name_21 WHERE production_num < 5038 AND characters = "bosko"
CREATE TABLE table_name_21 (release_date VARCHAR, production_num VARCHAR, characters VARCHAR)
When was the film released that a less than 5038 production number and was of the character Bosko?
SELECT title FROM table_name_4 WHERE production_num = 4645
CREATE TABLE table_name_4 (title VARCHAR, production_num VARCHAR)
With 4645 as the production number what was the title?
SELECT MIN(production_num) FROM table_name_56 WHERE title = "bosko's fox hunt"
CREATE TABLE table_name_56 (production_num INTEGER, title VARCHAR)
The film titled Bosko's fox hunt had what as the smallest production number?
SELECT MIN(production_num) FROM table_name_85 WHERE series = "lt" AND title = "dumb patrol"
CREATE TABLE table_name_85 (production_num INTEGER, series VARCHAR, title VARCHAR)
What is the smallest production number for the LT series with the Dumb Patrol title?
SELECT AVG(capacity) FROM table_name_72 WHERE home_team_s_ = "vélez sársfield"
CREATE TABLE table_name_72 (capacity INTEGER, home_team_s_ VARCHAR)
What was the average capacity for vélez sársfield?
SELECT city FROM table_name_5 WHERE home_team_s_ = "tigre"
CREATE TABLE table_name_5 (city VARCHAR, home_team_s_ VARCHAR)
What city was the home team Tigre?
SELECT province FROM table_name_72 WHERE city = "mendoza" AND stadium = "feliciano gambarte"
CREATE TABLE table_name_72 (province VARCHAR, city VARCHAR, stadium VARCHAR)
What province is in Mendoza with a stadium feliciano gambarte?
SELECT date FROM table_name_58 WHERE week > 9 AND tv_time = "abc 8:00pm"
CREATE TABLE table_name_58 (date VARCHAR, week VARCHAR, tv_time VARCHAR)
On what date was there a tv time of ABC 8:00pm and after week 9?
SELECT SUM(year) FROM table_name_50 WHERE genre = "first-person shooter"
CREATE TABLE table_name_50 (year INTEGER, genre VARCHAR)
What is total number of years that has genre of first-person shooter?
SELECT MIN(year) FROM table_name_36 WHERE genre = "action-adventure"
CREATE TABLE table_name_36 (year INTEGER, genre VARCHAR)
Which year is the lowest for genre of action-adventure?
SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i"
CREATE TABLE table_name_9 (roman_equivalent VARCHAR)
what is the "normalized" transliteration for Roman i
SELECT normal_environment_of_occurrence__in_native_words_ FROM table_name_86 WHERE proto_germanic_origin = "/ai/"
CREATE TABLE table_name_86 (normal_environment_of_occurrence__in_native_words_ VARCHAR, proto_germanic_origin VARCHAR)
what is the normal environment of occurrence that has a Proto-Germanic origin /ai/
SELECT MIN(against) FROM table_name_66 WHERE status = "tour match" AND venue = "ravenhill , belfast"
CREATE TABLE table_name_66 (against INTEGER, status VARCHAR, venue VARCHAR)
Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast?
SELECT AVG(against) FROM table_name_73 WHERE venue = "twickenham , london" AND date = "25 november 1978"
CREATE TABLE table_name_73 (against INTEGER, venue VARCHAR, date VARCHAR)
Name the average Against that has a Venue of twickenham , london on 25 november 1978?
SELECT MAX(against) FROM table_name_30 WHERE date = "21 november 1978"
CREATE TABLE table_name_30 (against INTEGER, date VARCHAR)
Name the highest Against on 21 november 1978?
SELECT against FROM table_name_31 WHERE venue = "brewery field , bridgend"
CREATE TABLE table_name_31 (against VARCHAR, venue VARCHAR)
Name the Against of Venue of brewery field , bridgend?
SELECT status FROM table_name_98 WHERE against > 15
CREATE TABLE table_name_98 (status VARCHAR, against INTEGER)
Name the Status with an Against larger than 15?
SELECT home_team FROM table_name_16 WHERE away_team = "newcastle united"
CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)
Who is the home team when the away team is newcastle united?
SELECT home_team FROM table_name_20 WHERE away_team = "wolverhampton wanderers"
CREATE TABLE table_name_20 (home_team VARCHAR, away_team VARCHAR)
who is the home team when the away team is wolverhampton wanderers?
SELECT date FROM table_name_46 WHERE tie_no = "9"
CREATE TABLE table_name_46 (date VARCHAR, tie_no VARCHAR)
what is the date when the tie no is 9?
SELECT away_team FROM table_name_7 WHERE tie_no = "7"
CREATE TABLE table_name_7 (away_team VARCHAR, tie_no VARCHAR)
who is the away team when the tie no is 7?
SELECT score FROM table_name_91 WHERE home_team = "sunderland"
CREATE TABLE table_name_91 (score VARCHAR, home_team VARCHAR)
what is the score when the home team is sunderland?
SELECT title FROM table_name_81 WHERE director = "friz freleng" AND production_number = "443"
CREATE TABLE table_name_81 (title VARCHAR, director VARCHAR, production_number VARCHAR)
What is the name of the title that was directed by Friz Freleng and has a production number of 443?
SELECT title FROM table_name_21 WHERE production_number = "627"
CREATE TABLE table_name_21 (title VARCHAR, production_number VARCHAR)
Which title has a production number of 627?