output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT venue FROM table_name_7 WHERE competition = "world race walking cup" AND position = "3rd"
CREATE TABLE table_name_7 (venue VARCHAR, competition VARCHAR, position VARCHAR), In which venue did he place 3rd in the World Race Walking Cup?
SELECT notes FROM table_name_2 WHERE position = "10th"
CREATE TABLE table_name_2 (notes VARCHAR, position VARCHAR), What were the notes when his position was 10th?
SELECT year FROM table_name_21 WHERE competition = "universiade"
CREATE TABLE table_name_21 (year VARCHAR, competition VARCHAR), In which year did he compete in the Universiade?
SELECT player FROM table_name_48 WHERE years_for_grizzlies = "2002-2003"
CREATE TABLE table_name_48 (player VARCHAR, years_for_grizzlies VARCHAR), Which Player has Years for Grizzlies of 2002-2003?
SELECT player FROM table_name_85 WHERE position = "power forward" AND school_club_team = "depaul"
CREATE TABLE table_name_85 (player VARCHAR, position VARCHAR, school_club_team VARCHAR), Which Player has position of power forward and School/Club Team of Depaul?
SELECT nation FROM table_name_66 WHERE rank > 2 AND total > 1 AND bronze < 3
CREATE TABLE table_name_66 (nation VARCHAR, bronze VARCHAR, rank VARCHAR, total VARCHAR), What is Nation, when Rank is greater than 2, when Total is greater than 1, and when Bronze is less than 3?
SELECT AVG(silver) FROM table_name_87 WHERE rank = 5 AND bronze < 1
CREATE TABLE table_name_87 (silver INTEGER, rank VARCHAR, bronze VARCHAR), What is the average Silver, when Rank is 5, and when Bronze is less than 1?
SELECT MIN(rank) FROM table_name_40 WHERE nation = "great britain" AND bronze < 1
CREATE TABLE table_name_40 (rank INTEGER, nation VARCHAR, bronze VARCHAR), What is the lowest Rank, when Nation is Great Britain, and when Bronze is less than 1?
SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7
CREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR), What is the total number of Gold, when Silver is 2, and when Total is less than 7?
SELECT MIN(gold) FROM table_name_63 WHERE nation = "canada" AND rank > 4
CREATE TABLE table_name_63 (gold INTEGER, nation VARCHAR, rank VARCHAR), What is the lowest Gold, when Nation is Canada, and when Rank is greater than 4?
SELECT nation FROM table_name_76 WHERE model = "m1895 & m1897 carbine"
CREATE TABLE table_name_76 (nation VARCHAR, model VARCHAR), What is Nation, when Model is M1895 & M1897 Carbine?
SELECT weight FROM table_name_13 WHERE length = "1168mm / 46 in"
CREATE TABLE table_name_13 (weight VARCHAR, length VARCHAR), What is Weight, when Length is 1168mm / 46 in?
SELECT length FROM table_name_46 WHERE barrel_length = "750mm / 29.5 in"
CREATE TABLE table_name_46 (length VARCHAR, barrel_length VARCHAR), What is Length, when Barrel Length is 750mm / 29.5 in?
SELECT decision FROM table_name_24 WHERE date = "january 13"
CREATE TABLE table_name_24 (decision VARCHAR, date VARCHAR), What is the decision of the game on January 13?
SELECT SUM(rank) FROM table_name_84 WHERE bronze < 5 AND country = "japan" AND silver > 3
CREATE TABLE table_name_84 (rank INTEGER, silver VARCHAR, bronze VARCHAR, country VARCHAR), What was the sum of the ranks for Japan who had less than 5 bronze medals and more than 3 silvers?
SELECT MIN(total) FROM table_name_80 WHERE country = "united states" AND silver > 11
CREATE TABLE table_name_80 (total INTEGER, country VARCHAR, silver VARCHAR), What is the lowest total medals for the united states who had more than 11 silver medals?
SELECT SUM(bronze) FROM table_name_89 WHERE silver > 2 AND rank > 6
CREATE TABLE table_name_89 (bronze INTEGER, silver VARCHAR, rank VARCHAR), What is the sum of the bronze medals when there were more than 2 silver medals and a rank larger than 6?
SELECT MAX(points) FROM table_name_12 WHERE second = "4"
CREATE TABLE table_name_12 (points INTEGER, second VARCHAR), What was the highest points when the second was 4?
SELECT driver___passenger FROM table_name_56 WHERE third = "1" AND position < 8 AND wins = "1"
CREATE TABLE table_name_56 (driver___passenger VARCHAR, wins VARCHAR, third VARCHAR, position VARCHAR), Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win?
SELECT MIN(points_won) FROM table_name_66 WHERE total_matches = 4 AND total_w_l_h = "4-0-0"
CREATE TABLE table_name_66 (points_won INTEGER, total_matches VARCHAR, total_w_l_h VARCHAR), Can you tell me the lowest Points won that has the Total matches of 4, and the Total W-L-H of 4-0-0?
SELECT MIN(total_matches) FROM table_name_11 WHERE points_won = 3 AND year = "1994"
CREATE TABLE table_name_11 (total_matches INTEGER, points_won VARCHAR, year VARCHAR), Can you tell me the lowest Total natches that has the Points won of 3, and the Year of 1994?
SELECT team FROM table_name_92 WHERE replaced_by = "jesús ramírez"
CREATE TABLE table_name_92 (team VARCHAR, replaced_by VARCHAR), What is Team, when Replaced By is "Jesús Ramírez"?
SELECT position_in_table FROM table_name_21 WHERE replaced_by = "sergio bueno"
CREATE TABLE table_name_21 (position_in_table VARCHAR, replaced_by VARCHAR), What is Position in Table, when Replaced By is "Sergio Bueno"?
SELECT manner_of_departure FROM table_name_25 WHERE outgoing_manager = "luis fernando tena"
CREATE TABLE table_name_25 (manner_of_departure VARCHAR, outgoing_manager VARCHAR), What is Manner of Departure, when Outgoing Manager is "Luis Fernando Tena"?
SELECT position_in_table FROM table_name_64 WHERE team = "morelia"
CREATE TABLE table_name_64 (position_in_table VARCHAR, team VARCHAR), What is Position in Table, when Team is "Morelia"?
SELECT team FROM table_name_5 WHERE replaced_by = "omar arellano"
CREATE TABLE table_name_5 (team VARCHAR, replaced_by VARCHAR), What is Team, when Replaced By is "Omar Arellano"?
SELECT position_in_table FROM table_name_43 WHERE replaced_by = "josé pekerman"
CREATE TABLE table_name_43 (position_in_table VARCHAR, replaced_by VARCHAR), What is Position in Table, when Replaced by is "José Pekerman"?
SELECT episode_4 FROM table_name_87 WHERE star = "anna powierza"
CREATE TABLE table_name_87 (episode_4 VARCHAR, star VARCHAR), Which episode 4 has a Star of anna powierza?
SELECT team FROM table_name_77 WHERE home_city = "koprivnica"
CREATE TABLE table_name_77 (team VARCHAR, home_city VARCHAR), What team has a home city of Koprivnica?
SELECT team FROM table_name_65 WHERE home_city = "zadar"
CREATE TABLE table_name_65 (team VARCHAR, home_city VARCHAR), What team that has a Home city of Zadar?
SELECT stadium FROM table_name_70 WHERE team = "nk zagreb"
CREATE TABLE table_name_70 (stadium VARCHAR, team VARCHAR), What is the stadium of the NK Zagreb?
SELECT team FROM table_name_74 WHERE home_city = "velika"
CREATE TABLE table_name_74 (team VARCHAR, home_city VARCHAR), What team has a home city of Velika?
SELECT city_of_license FROM table_name_51 WHERE frequency = "88.7 fm"
CREATE TABLE table_name_51 (city_of_license VARCHAR, frequency VARCHAR), What is the City of license with a 88.7 fm frequency
SELECT power FROM table_name_50 WHERE frequency = "88.5 fm"
CREATE TABLE table_name_50 (power VARCHAR, frequency VARCHAR), what is the Power with 88.5 fm Frequency
SELECT city_of_license FROM table_name_79 WHERE power = "1,400 watts"
CREATE TABLE table_name_79 (city_of_license VARCHAR, power VARCHAR), what is the City of license that has a 1,400 watts Power
SELECT identifier FROM table_name_19 WHERE frequency = "94.9 fm"
CREATE TABLE table_name_19 (identifier VARCHAR, frequency VARCHAR), what is the Identifier with 94.9 fm Frequency
SELECT frequency FROM table_name_32 WHERE city_of_license = "fairview"
CREATE TABLE table_name_32 (frequency VARCHAR, city_of_license VARCHAR), what is the Frequency that has a fairview City of license
SELECT city_of_license FROM table_name_93 WHERE power = "1,400 watts"
CREATE TABLE table_name_93 (city_of_license VARCHAR, power VARCHAR), what is the City of license that has a 1,400 watts Power
SELECT COUNT(loss) FROM table_name_27 WHERE gain < 1571 AND long < 47 AND avg_g = 36.4
CREATE TABLE table_name_27 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR, long VARCHAR), How much Loss has a Gain smaller than 1571, and a Long smaller than 47, and an Avg/G of 36.4?
SELECT AVG(avg_g) FROM table_name_60 WHERE name = "david allen" AND gain > 371
CREATE TABLE table_name_60 (avg_g INTEGER, name VARCHAR, gain VARCHAR), Which Avg/G has a Name of david allen, and a Gain larger than 371?
SELECT MIN(avg_g) FROM table_name_86 WHERE long < 47 AND name = "frank murphy" AND gain < 569
CREATE TABLE table_name_86 (avg_g INTEGER, gain VARCHAR, long VARCHAR, name VARCHAR), Which Avg/G is the lowest one that has a Long smaller than 47, and a Name of frank murphy, and a Gain smaller than 569?
SELECT COUNT(avg_g) FROM table_name_81 WHERE gain < 1571 AND long < 46
CREATE TABLE table_name_81 (avg_g VARCHAR, gain VARCHAR, long VARCHAR), How much Avg/G has a Gain smaller than 1571, and a Long smaller than 46?
SELECT MAX(capacity) FROM table_name_66 WHERE team = "torpedo"
CREATE TABLE table_name_66 (capacity INTEGER, team VARCHAR), Can you tell me the highest Capacity that has the Team of torpedo?
SELECT capacity FROM table_name_88 WHERE position_in_2005 = "8"
CREATE TABLE table_name_88 (capacity VARCHAR, position_in_2005 VARCHAR), Can you tell me the Capacity that has the Position in 2005 of 8?
SELECT venue FROM table_name_77 WHERE position_in_2005 = "8"
CREATE TABLE table_name_77 (venue VARCHAR, position_in_2005 VARCHAR), Can you tell me the Venue that has the Position in 2005 of 8?
SELECT tournament FROM table_name_86 WHERE date = "october 14, 2007"
CREATE TABLE table_name_86 (tournament VARCHAR, date VARCHAR), Which tournament was held on October 14, 2007?
SELECT opponent FROM table_name_25 WHERE score = "4-6, 7-5, 4-6"
CREATE TABLE table_name_25 (opponent VARCHAR, score VARCHAR), Who was the opponent with a score of 4-6, 7-5, 4-6?
SELECT outcome FROM table_name_81 WHERE opponent = "jing-jing lu"
CREATE TABLE table_name_81 (outcome VARCHAR, opponent VARCHAR), What was the outcome when Jing-Jing Lu was the opponent?
SELECT opponent FROM table_name_17 WHERE result = "loss" AND venue = "mosaic stadium"
CREATE TABLE table_name_17 (opponent VARCHAR, result VARCHAR, venue VARCHAR), What is Opponent, when Result is Loss, and when Venue is Mosaic Stadium?
SELECT date__to_ FROM table_name_38 WHERE traction_type = "electric" AND name_of_system = "yarmouth light and power company"
CREATE TABLE table_name_38 (date__to_ VARCHAR, traction_type VARCHAR, name_of_system VARCHAR), What is the date (to) associated wiht a traction type of electric and the Yarmouth Light and Power Company system?
SELECT name FROM table_name_83 WHERE overall < 175 AND college = "georgia"
CREATE TABLE table_name_83 (name VARCHAR, overall VARCHAR, college VARCHAR), What is Name, when Overall is less than 175, and when College is "Georgia"?
SELECT MAX(pick) FROM table_name_19 WHERE round > 15 AND college = "tennessee"
CREATE TABLE table_name_19 (pick INTEGER, round VARCHAR, college VARCHAR), What is the highest Pick, when Round is greater than 15, and when College is "Tennessee"?
SELECT pick FROM table_name_45 WHERE round = 15
CREATE TABLE table_name_45 (pick VARCHAR, round VARCHAR), What is Pick, when Round is 15?
SELECT SUM(overall) FROM table_name_69 WHERE pick > 5 AND round < 11 AND name = "tom barrington"
CREATE TABLE table_name_69 (overall INTEGER, name VARCHAR, pick VARCHAR, round VARCHAR), What is the sum of Overall, when Pick is greater than 5, when Round is less than 11, and when Name is "Tom Barrington"?
SELECT venue FROM table_name_25 WHERE score = "2:3"
CREATE TABLE table_name_25 (venue VARCHAR, score VARCHAR), Which venue was used for the game whose score was 2:3?
SELECT score FROM table_name_55 WHERE team_2 = "al-qadsia"
CREATE TABLE table_name_55 (score VARCHAR, team_2 VARCHAR), What was the score for the game in which Al-Qadsia was Team 2?
SELECT years FROM table_name_4 WHERE jersey_number_s_ = 33 AND position = "pf"
CREATE TABLE table_name_4 (years VARCHAR, jersey_number_s_ VARCHAR, position VARCHAR), What years did the player with the jersey number 33 and played position pf play?
SELECT years FROM table_name_5 WHERE jersey_number_s_ > 20
CREATE TABLE table_name_5 (years VARCHAR, jersey_number_s_ INTEGER), What years did the player with the jersey number bigger than 20 play?
SELECT place FROM table_name_53 WHERE to_par = "–2" AND player = "bernhard langer"
CREATE TABLE table_name_53 (place VARCHAR, to_par VARCHAR, player VARCHAR), WHich Place has a To par of –2, and a Player of bernhard langer?
SELECT score FROM table_name_28 WHERE to_par = "–3" AND country = "united states"
CREATE TABLE table_name_28 (score VARCHAR, to_par VARCHAR, country VARCHAR), WHich Score has a To par of –3, and a Country of united states?
SELECT player FROM table_name_20 WHERE score = 70 - 72 = 142
CREATE TABLE table_name_20 (player VARCHAR, score VARCHAR), Who is the Player with a Score of 70-72=142? Question 3
SELECT player FROM table_name_74 WHERE to_par = "–2" AND score = 69 - 73 = 142
CREATE TABLE table_name_74 (player VARCHAR, to_par VARCHAR, score VARCHAR), Name the Player who has a To par of –2 and a Score of 69-73=142?
SELECT player FROM table_name_73 WHERE country = "united states" AND to_par = "–5"
CREATE TABLE table_name_73 (player VARCHAR, country VARCHAR, to_par VARCHAR), Name the Player who has a Country of united states, and a To par of –5?
SELECT player FROM table_name_45 WHERE place = "t7" AND country = "united states"
CREATE TABLE table_name_45 (player VARCHAR, place VARCHAR, country VARCHAR), Name the Player who has a Place of t7 in Country of united states?
SELECT result FROM table_name_60 WHERE choreographer_s_ = "bjørn holthe"
CREATE TABLE table_name_60 (result VARCHAR, choreographer_s_ VARCHAR), What is the result of choreographer bjørn holthe?
SELECT music FROM table_name_23 WHERE choreographer_s_ = "sabina dalfjäll"
CREATE TABLE table_name_23 (music VARCHAR, choreographer_s_ VARCHAR), What is the music for choreographer sabina dalfjäll?
SELECT couple FROM table_name_8 WHERE result = "safe" AND style = "lyrical jazz"
CREATE TABLE table_name_8 (couple VARCHAR, result VARCHAR, style VARCHAR), What couple had a safe result and a lyrical jazz style?
SELECT COUNT(game) FROM table_name_37 WHERE opponents < 118 AND nets_points > 109 AND opponent = "washington"
CREATE TABLE table_name_37 (game VARCHAR, opponent VARCHAR, opponents VARCHAR, nets_points VARCHAR), How many games had fewer than 118 opponents and more than 109 net points with an opponent of Washington?
SELECT opponent FROM table_name_1 WHERE date = "february 12"
CREATE TABLE table_name_1 (opponent VARCHAR, date VARCHAR), which opponent is from February 12?
SELECT opponents FROM table_name_15 WHERE game > 20 AND date = "january 28"
CREATE TABLE table_name_15 (opponents VARCHAR, game VARCHAR, date VARCHAR), How many opponents were there in a game higher than 20 on January 28?
SELECT round FROM table_name_9 WHERE opponent = "celtic" AND date = "24 february 1900"
CREATE TABLE table_name_9 (round VARCHAR, opponent VARCHAR, date VARCHAR), What round did the celtic played away on 24 february 1900?
SELECT opponent FROM table_name_43 WHERE venue = "a" AND date = "17 february 1900"
CREATE TABLE table_name_43 (opponent VARCHAR, venue VARCHAR, date VARCHAR), Who played against in venue a on 17 february 1900?
SELECT attendance FROM table_name_79 WHERE opponent = "morton"
CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR), How many people attended in the game against morton?
SELECT COUNT(total) FROM table_name_8 WHERE to_par = 4
CREATE TABLE table_name_8 (total VARCHAR, to_par VARCHAR), What is the Total of the Player with a To par of 4?
SELECT MIN(total) FROM table_name_77 WHERE year_s__won = "1982"
CREATE TABLE table_name_77 (total INTEGER, year_s__won VARCHAR), What is the Total of the Player with a Year(s) won of 1982?
SELECT AVG(to_par) FROM table_name_11 WHERE year_s__won = "1983"
CREATE TABLE table_name_11 (to_par INTEGER, year_s__won VARCHAR), What is the To par of the Player wtih Year(s) won of 1983?
SELECT country FROM table_name_53 WHERE to_par > 8 AND player = "andy north"
CREATE TABLE table_name_53 (country VARCHAR, to_par VARCHAR, player VARCHAR), What is Andy North with a To par greater than 8 Country?
SELECT country FROM table_name_18 WHERE total < 153 AND year_s__won = "1984"
CREATE TABLE table_name_18 (country VARCHAR, total VARCHAR, year_s__won VARCHAR), What is the Country of the Player with a Total less than 153 and Year(s) won of 1984?
SELECT COUNT(to_par) FROM table_name_91 WHERE player = "andy north" AND total > 153
CREATE TABLE table_name_91 (to_par VARCHAR, player VARCHAR, total VARCHAR), What is the To par of Player Andy North with a Total larger than 153?
SELECT opponents FROM table_name_2 WHERE kick_off = "2007-03-06, 20:45"
CREATE TABLE table_name_2 (opponents VARCHAR, kick_off VARCHAR), WHAT OPPONENT HAD A KICKOFF OF 2007-03-06, 20:45?
SELECT result FROM table_name_50 WHERE kick_off = "2007-03-06, 20:45"
CREATE TABLE table_name_50 (result VARCHAR, kick_off VARCHAR), WHAT WAS THE SCORE OF THE GAME WITH A 2007-03-06, 20:45 KICKOFF?
SELECT COUNT(stories) FROM table_name_12 WHERE rank = 10
CREATE TABLE table_name_12 (stories VARCHAR, rank VARCHAR), What is the total stories that rank number 10?
SELECT height FROM table_name_25 WHERE city = "des moines" AND name = "emc insurance building"
CREATE TABLE table_name_25 (height VARCHAR, city VARCHAR, name VARCHAR), What is the height of the EMC Insurance Building in Des Moines?
SELECT 1997 FROM table_name_61 WHERE 2002 = "a" AND 2003 = "1r"
CREATE TABLE table_name_61 (Id VARCHAR), What was the 1997 value when 2002 was A and 2003 was 1R?
SELECT 1989 FROM table_name_10 WHERE 1997 = "qf" AND 1993 = "a"
CREATE TABLE table_name_10 (Id VARCHAR), What was the value in 1989 with QF in 1997 and A in 1993?
SELECT 1997 FROM table_name_63 WHERE 1989 = "a" AND 1995 = "qf" AND 1996 = "3r" AND career_sr = "0 / 8"
CREATE TABLE table_name_63 (career_sr VARCHAR), What is the value in 1997 when the value in 1989 is A, 1995 is QF, 1996 is 3R and the career SR is 0 / 8?
SELECT 1995 FROM table_name_95 WHERE 2000 = "a" AND tournament = "indian wells"
CREATE TABLE table_name_95 (tournament VARCHAR), What was the value in 1995 for A in 2000 at the Indian Wells tournament?
SELECT career_sr FROM table_name_47 WHERE 1989 = "a" AND 1997 = "f"
CREATE TABLE table_name_47 (career_sr VARCHAR), What was the career SR with a value of A in 1980 and F in 1997?
SELECT year_s__won FROM table_name_48 WHERE total < 285
CREATE TABLE table_name_48 (year_s__won VARCHAR, total INTEGER), What is Year(s) Won, when Total is less than 285?
SELECT finish FROM table_name_37 WHERE country = "united states" AND player = "julius boros"
CREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR), What is Finish, when Country is "United States", and when Player is "Julius Boros"?
SELECT country FROM table_name_78 WHERE year_s__won = "1962"
CREATE TABLE table_name_78 (country VARCHAR, year_s__won VARCHAR), What is Country, when Year(s) Won is "1962"?
SELECT finish FROM table_name_3 WHERE country = "united states" AND to_par = "+21"
CREATE TABLE table_name_3 (finish VARCHAR, country VARCHAR, to_par VARCHAR), What is Finish, when Country is "United States", and when To Par is "+21"?
SELECT format FROM table_name_78 WHERE release_date = "august 1996"
CREATE TABLE table_name_78 (format VARCHAR, release_date VARCHAR), What format was released in August 1996?
SELECT label FROM table_name_52 WHERE code = "cocy-78365"
CREATE TABLE table_name_52 (label VARCHAR, code VARCHAR), What Label has a Code of cocy-78365?
SELECT release FROM table_name_70 WHERE title = "gala"
CREATE TABLE table_name_70 (release VARCHAR, title VARCHAR), When was Gala released?
SELECT label FROM table_name_84 WHERE release_date = "august 1996"
CREATE TABLE table_name_84 (label VARCHAR, release_date VARCHAR), What Label released an album in August 1996?
SELECT wednesday FROM table_name_24 WHERE day_3 = "math"
CREATE TABLE table_name_24 (wednesday VARCHAR, day_3 VARCHAR), What is the Wednesday when day 3 is math?
SELECT day_1 FROM table_name_16 WHERE day_3 = "math"
CREATE TABLE table_name_16 (day_1 VARCHAR, day_3 VARCHAR), What is the day 1 when the day 3 is math?
SELECT day_1 FROM table_name_35 WHERE day_5 = "math"
CREATE TABLE table_name_35 (day_1 VARCHAR, day_5 VARCHAR), What is the day 1 when day 5 is math?
SELECT day_3 FROM table_name_45 WHERE day_4 = "fr."
CREATE TABLE table_name_45 (day_3 VARCHAR, day_4 VARCHAR), What is the day 3 when day 4 is fr.?