output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT opponent FROM table_name_32 WHERE date = "november 27, 2005"
CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR), Who was the Opponent on November 27, 2005?
SELECT COUNT(week) FROM table_name_87 WHERE date = "bye"
CREATE TABLE table_name_87 (week VARCHAR, date VARCHAR), What is the Week with a Date of Bye?
SELECT rank FROM table_name_89 WHERE bronze = 1 AND nation = "lithuania"
CREATE TABLE table_name_89 (rank VARCHAR, bronze VARCHAR, nation VARCHAR), Which Rank has a Bronze of 1, and a Nation of lithuania?
SELECT SUM(silver) FROM table_name_29 WHERE rank = "1" AND bronze < 3
CREATE TABLE table_name_29 (silver INTEGER, rank VARCHAR, bronze VARCHAR), How much Silver has a Rank of 1, and a Bronze smaller than 3?
SELECT MAX(bronze) FROM table_name_53 WHERE gold = 2 AND nation = "slovakia" AND total > 2
CREATE TABLE table_name_53 (bronze INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR), Which Bronze has a Gold of 2, and a Nation of slovakia, and a Total larger than 2?
SELECT COUNT(bronze) FROM table_name_54 WHERE gold > 1 AND silver < 3 AND nation = "germany" AND total > 11
CREATE TABLE table_name_54 (bronze VARCHAR, total VARCHAR, nation VARCHAR, gold VARCHAR, silver VARCHAR), How much Bronze has a Gold larger than 1, and a Silver smaller than 3, and a Nation of germany, and a Total larger than 11?
SELECT SUM(total) FROM table_name_91 WHERE position < 1
CREATE TABLE table_name_91 (total INTEGER, position INTEGER), What's the total of the position of 1?
SELECT MIN(position) FROM table_name_72 WHERE total < 66.5 AND compulsory = 30.9 AND voluntary < 33.7
CREATE TABLE table_name_72 (position INTEGER, voluntary VARCHAR, total VARCHAR, compulsory VARCHAR), What's the position that has a total less than 66.5m, a compulsory of 30.9 and voluntary less than 33.7?
SELECT COUNT(compulsory) FROM table_name_42 WHERE voluntary = 38.7 AND total > 69.2
CREATE TABLE table_name_42 (compulsory VARCHAR, voluntary VARCHAR, total VARCHAR), What's the total compulsory when the total is more than 69.2 and the voluntary is 38.7?
SELECT release_date FROM table_name_61 WHERE director = "robert mckimson" AND title = "wet hare"
CREATE TABLE table_name_61 (release_date VARCHAR, director VARCHAR, title VARCHAR), What date was Wet Hare, directed by Robert McKimson, released?
SELECT title FROM table_name_10 WHERE director = "friz freleng" AND production_number = 1553
CREATE TABLE table_name_10 (title VARCHAR, director VARCHAR, production_number VARCHAR), What is the title of the film with production number 1553, directed by Friz Freleng?
SELECT production_number FROM table_name_49 WHERE title = "crows' feat"
CREATE TABLE table_name_49 (production_number VARCHAR, title VARCHAR), What is Crows' Feat's production number?
SELECT safari FROM table_name_7 WHERE opera = "2.4%" AND internet_explorer = "29.9%"
CREATE TABLE table_name_7 (safari VARCHAR, opera VARCHAR, internet_explorer VARCHAR), What is the safari value with a 2.4% opera and 29.9% internet explorer?
SELECT firefox FROM table_name_97 WHERE safari = "1.9%"
CREATE TABLE table_name_97 (firefox VARCHAR, safari VARCHAR), What is the firefox value with a 1.9% safari?
SELECT firefox FROM table_name_22 WHERE opera = "1.8%" AND date = "30 july 2007"
CREATE TABLE table_name_22 (firefox VARCHAR, opera VARCHAR, date VARCHAR), What is the firefox value with a 1.8% opera on 30 July 2007?
SELECT date FROM table_name_17 WHERE internet_explorer = "62.2%"
CREATE TABLE table_name_17 (date VARCHAR, internet_explorer VARCHAR), What is the date when internet explorer was 62.2%
SELECT firefox FROM table_name_56 WHERE internet_explorer = "22.0%"
CREATE TABLE table_name_56 (firefox VARCHAR, internet_explorer VARCHAR), What is the firefox value with a 22.0% internet explorer?
SELECT safari FROM table_name_70 WHERE internet_explorer = "28.0%"
CREATE TABLE table_name_70 (safari VARCHAR, internet_explorer VARCHAR), What is the safari value with a 28.0% internet explorer?
SELECT catalog FROM table_name_34 WHERE region = "world"
CREATE TABLE table_name_34 (catalog VARCHAR, region VARCHAR), Which catalog value has a region of world?
SELECT format_s_ FROM table_name_28 WHERE region = "europe" AND catalog = "webb185"
CREATE TABLE table_name_28 (format_s_ VARCHAR, region VARCHAR, catalog VARCHAR), Which formats have a region of Europe and Catalog value of WEBB185?
SELECT region FROM table_name_57 WHERE catalog = "512335"
CREATE TABLE table_name_57 (region VARCHAR, catalog VARCHAR), Which region is associated with the catalog value of 512335?
SELECT format_s_ FROM table_name_15 WHERE label = "atlantic records" AND catalog = "512336"
CREATE TABLE table_name_15 (format_s_ VARCHAR, label VARCHAR, catalog VARCHAR), What are the formats associated with the Atlantic Records label, catalog number 512336?
SELECT date FROM table_name_5 WHERE region = "europe" AND label = "wichita recordings"
CREATE TABLE table_name_5 (date VARCHAR, region VARCHAR, label VARCHAR), Which date was associated with the release in Europe on the Wichita Recordings label?
SELECT MIN(year) FROM table_name_11 WHERE venue = "edmonton, canada" AND weight_class__kg_ > 100
CREATE TABLE table_name_11 (year INTEGER, venue VARCHAR, weight_class__kg_ VARCHAR), What is the lowest year that has edmonton, canada as the venue with a weight class (kg) greater than 100?
SELECT MIN(weight_class__kg_) FROM table_name_73 WHERE venue = "sofia, bulgaria"
CREATE TABLE table_name_73 (weight_class__kg_ INTEGER, venue VARCHAR), What is the lowest weight class (kg) that has sofia, bulgaria as the venue?
SELECT MAX(year) FROM table_name_37 WHERE event = "fila world championships" AND venue = "toledo, united states" AND weight_class__kg_ < 97
CREATE TABLE table_name_37 (year INTEGER, weight_class__kg_ VARCHAR, event VARCHAR, venue VARCHAR), What is the highest year that has fila world championships as the event, with toledo, united states as the venue, and a weight class (kg) less than 97?
SELECT airport FROM table_name_10 WHERE icao = "ksea"
CREATE TABLE table_name_10 (airport VARCHAR, icao VARCHAR), What is the Airport with the ICAO fo KSEA?
SELECT icao FROM table_name_91 WHERE city = "frankfurt"
CREATE TABLE table_name_91 (icao VARCHAR, city VARCHAR), What is the IcAO of Frankfurt?
SELECT airport FROM table_name_87 WHERE icao = "eddh"
CREATE TABLE table_name_87 (airport VARCHAR, icao VARCHAR), What is the Airport with a ICAO of EDDH?
SELECT airport FROM table_name_56 WHERE iata = "sea"
CREATE TABLE table_name_56 (airport VARCHAR, iata VARCHAR), What Airport's IATA is SEA?
SELECT city FROM table_name_51 WHERE iata = "muc"
CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR), What is the City with an IATA of MUC?
SELECT iata FROM table_name_30 WHERE city = "akureyri"
CREATE TABLE table_name_30 (iata VARCHAR, city VARCHAR), What is the IATA OF Akureyri?
SELECT COUNT(height__m_) FROM table_name_11 WHERE mountain = "jbel ghat"
CREATE TABLE table_name_11 (height__m_ VARCHAR, mountain VARCHAR), How tall is the Mountain of jbel ghat?
SELECT country FROM table_name_12 WHERE prominence__m_ < 1540 AND height__m_ < 3530 AND range = "virunga mountains" AND mountain = "nyiragongo"
CREATE TABLE table_name_12 (country VARCHAR, mountain VARCHAR, range VARCHAR, prominence__m_ VARCHAR, height__m_ VARCHAR), Which Country has a Prominence (m) smaller than 1540, and a Height (m) smaller than 3530, and a Range of virunga mountains, and a Mountain of nyiragongo?
SELECT country FROM table_name_15 WHERE height__m_ > 4100 AND range = "arsi mountains" AND mountain = "bada"
CREATE TABLE table_name_15 (country VARCHAR, mountain VARCHAR, height__m_ VARCHAR, range VARCHAR), Which Country has a Height (m) larger than 4100, and a Range of arsi mountains, and a Mountain of bada?
SELECT percentage FROM table_name_9 WHERE draw = 6
CREATE TABLE table_name_9 (percentage VARCHAR, draw VARCHAR), Which Percentage has a Draw of 6?
SELECT team FROM table_name_69 WHERE rank < 4 AND time = "1:14.04.88"
CREATE TABLE table_name_69 (team VARCHAR, rank VARCHAR, time VARCHAR), Which team had a rank under 4 with a time of 1:14.04.88?
SELECT speed FROM table_name_52 WHERE time = "1:14.15.64"
CREATE TABLE table_name_52 (speed VARCHAR, time VARCHAR), What was the speed for the rider with a time of 1:14.15.64?
SELECT college_junior_club_team FROM table_name_11 WHERE round = 2
CREATE TABLE table_name_11 (college_junior_club_team VARCHAR, round VARCHAR), Which College/junior/club team has a Round of 2?
SELECT AVG(round) FROM table_name_65 WHERE player = "dan chicoine" AND pick > 23
CREATE TABLE table_name_65 (round INTEGER, player VARCHAR, pick VARCHAR), Which Round has a Player of dan chicoine, and a Pick larger than 23?
SELECT SUM(production_number) FROM table_name_33 WHERE title = "from hare to heir"
CREATE TABLE table_name_33 (production_number INTEGER, title VARCHAR), What is the production number of From Hare to Heir?
SELECT series FROM table_name_34 WHERE production_number = 1547
CREATE TABLE table_name_34 (series VARCHAR, production_number VARCHAR), What is the Series number of the episode with a production number of 1547?
SELECT COUNT(production_number) FROM table_name_24 WHERE director = "robert mckimson" AND title = "mice follies"
CREATE TABLE table_name_24 (production_number VARCHAR, director VARCHAR, title VARCHAR), What is the production number for the episode directed by Robert McKimson named Mice Follies?
SELECT result FROM table_name_63 WHERE lineup = "start" AND assist_pass = "carli lloyd" AND competition = "2011 fifa women’s world cup – group stage"
CREATE TABLE table_name_63 (result VARCHAR, competition VARCHAR, lineup VARCHAR, assist_pass VARCHAR), Name the Result of the Lineup of start, an Assist/pass of carli lloyd, and an Competition of 2011 fifa women’s world cup – group stage?
SELECT lineup FROM table_name_43 WHERE assist_pass = "carli lloyd" AND competition = "2010 concacaf world cup qualifying – group stage"
CREATE TABLE table_name_43 (lineup VARCHAR, assist_pass VARCHAR, competition VARCHAR), Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying – group stage?
SELECT assist_pass FROM table_name_14 WHERE score = "1-0" AND competition = "2010 concacaf world cup qualifying – group stage"
CREATE TABLE table_name_14 (assist_pass VARCHAR, score VARCHAR, competition VARCHAR), Which Assist/pass has a Score of 1-0,a Competition of 2010 concacaf world cup qualifying – group stage?
SELECT location FROM table_name_49 WHERE score = "match reports"
CREATE TABLE table_name_49 (location VARCHAR, score VARCHAR), where has a Score of match reports?
SELECT score FROM table_name_31 WHERE location = "mex cancun"
CREATE TABLE table_name_31 (score VARCHAR, location VARCHAR), which Score has a Location of mex cancun?
SELECT score FROM table_name_81 WHERE competition = "match reports"
CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR), which Score has a Competition of match reports?
SELECT tie_no FROM table_name_5 WHERE away_team = "arsenal"
CREATE TABLE table_name_5 (tie_no VARCHAR, away_team VARCHAR), Which tie number had an away team of Arsenal?
SELECT score FROM table_name_87 WHERE home_team = "shrewsbury town"
CREATE TABLE table_name_87 (score VARCHAR, home_team VARCHAR), What was the score for the tie that had Shrewsbury Town as home team?
SELECT score FROM table_name_35 WHERE home_team = "tottenham hotspur"
CREATE TABLE table_name_35 (score VARCHAR, home_team VARCHAR), What was the score of the tie that had Tottenham Hotspur as the home team?
SELECT apparatus FROM table_name_68 WHERE score_final < 75.5 AND score_qualifying < 18.7
CREATE TABLE table_name_68 (apparatus VARCHAR, score_final VARCHAR, score_qualifying VARCHAR), On which apparatus did Kanayeva have a final score smaller than 75.5 and a qualifying score smaller than 18.7?
SELECT MIN(score_final) FROM table_name_7 WHERE score_qualifying = 74.075
CREATE TABLE table_name_7 (score_final INTEGER, score_qualifying VARCHAR), What was her lowest final score with a qualifying score of 74.075?
SELECT score_final FROM table_name_86 WHERE apparatus = "ribbon"
CREATE TABLE table_name_86 (score_final VARCHAR, apparatus VARCHAR), What was her final score on the ribbon apparatus?
SELECT notes FROM table_name_15 WHERE country = "south africa"
CREATE TABLE table_name_15 (notes VARCHAR, country VARCHAR), What are the notes for the athlete from South Africa?
SELECT notes FROM table_name_29 WHERE country = "spain"
CREATE TABLE table_name_29 (notes VARCHAR, country VARCHAR), What are the notes for the athlete from Spain?
SELECT AVG(rank) FROM table_name_1 WHERE athletes = "calvin mokoto"
CREATE TABLE table_name_1 (rank INTEGER, athletes VARCHAR), What is Calvin Mokoto's average rank?
SELECT rank FROM table_name_80 WHERE athletes = "andreas kiligkaridis"
CREATE TABLE table_name_80 (rank VARCHAR, athletes VARCHAR), What is Andreas Kiligkaridis rank?
SELECT tournament FROM table_name_9 WHERE partner = "erika sema"
CREATE TABLE table_name_9 (tournament VARCHAR, partner VARCHAR), Which tournament had a partner of Erika Sema?
SELECT opponents_in_the_final FROM table_name_15 WHERE tournament = "noida"
CREATE TABLE table_name_15 (opponents_in_the_final VARCHAR, tournament VARCHAR), Who were the opponents in the final at Noida?
SELECT school FROM table_name_41 WHERE county = "36 jackson"
CREATE TABLE table_name_41 (school VARCHAR, county VARCHAR), What school is in 36 Jackson?
SELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = "panthers"
CREATE TABLE table_name_7 (ihsaa_class VARCHAR, mascot VARCHAR), What's the IHSAA Class Football if the panthers are the mascot?
SELECT ihsaa_class FROM table_name_39 WHERE school = "seymour"
CREATE TABLE table_name_39 (ihsaa_class VARCHAR, school VARCHAR), What's the IHSAA Class when the school is Seymour?
SELECT team FROM table_name_44 WHERE pick > 2 AND position = "running back"
CREATE TABLE table_name_44 (team VARCHAR, pick VARCHAR, position VARCHAR), What team has a position of running back and picked after 2?
SELECT player FROM table_name_97 WHERE college = "alabama"
CREATE TABLE table_name_97 (player VARCHAR, college VARCHAR), Which player is from the College of Alabama?
SELECT player FROM table_name_55 WHERE college = "ohio state"
CREATE TABLE table_name_55 (player VARCHAR, college VARCHAR), Which player is from Ohio State College?
SELECT college FROM table_name_43 WHERE team = "new york jets"
CREATE TABLE table_name_43 (college VARCHAR, team VARCHAR), The New York Jets picked someone from what college?
SELECT MAX(pick) FROM table_name_15 WHERE position = "defensive end"
CREATE TABLE table_name_15 (pick INTEGER, position VARCHAR), What is the highest pick for the position of defensive end?
SELECT MIN(silver) FROM table_name_87 WHERE nation = "canada" AND total < 3
CREATE TABLE table_name_87 (silver INTEGER, nation VARCHAR, total VARCHAR), What is the fewest number of silver medals won by Canada with fewer than 3 total medals?
SELECT SUM(wins) FROM table_name_2 WHERE club = "port fairy" AND against < 1510
CREATE TABLE table_name_2 (wins INTEGER, club VARCHAR, against VARCHAR), What is the sum of wins for Port Fairy with under 1510 against?
SELECT COUNT(against) FROM table_name_4 WHERE wins > 2 AND losses = 5 AND draws < 0
CREATE TABLE table_name_4 (against VARCHAR, draws VARCHAR, wins VARCHAR, losses VARCHAR), What is the total number of Against values for clubs with more than 2 wins, 5 losses, and 0 draws?
SELECT AVG(draws) FROM table_name_9 WHERE losses > 8 AND against < 1344
CREATE TABLE table_name_9 (draws INTEGER, losses VARCHAR, against VARCHAR), What is the average number of draws for losses over 8 and Against values under 1344?
SELECT SUM(losses) FROM table_name_70 WHERE against > 1510
CREATE TABLE table_name_70 (losses INTEGER, against INTEGER), What is the sum of losses for Against values over 1510?
SELECT genre FROM table_name_12 WHERE game = "tony hawk's pro skater 2"
CREATE TABLE table_name_12 (genre VARCHAR, game VARCHAR), Which Genre has a Game of tony hawk's pro skater 2?
SELECT genre FROM table_name_81 WHERE game = "donkey kong country"
CREATE TABLE table_name_81 (genre VARCHAR, game VARCHAR), Which Genre has a Game of donkey kong country?
SELECT genre FROM table_name_90 WHERE year > 1999 AND game = "tony hawk's pro skater 2"
CREATE TABLE table_name_90 (genre VARCHAR, year VARCHAR, game VARCHAR), Which Genre has a Year larger than 1999, and a Game of tony hawk's pro skater 2?
SELECT COUNT(time) FROM table_name_15 WHERE react = 0.155 AND athlete = "kristof beyens" AND rank < 3
CREATE TABLE table_name_15 (time VARCHAR, rank VARCHAR, react VARCHAR, athlete VARCHAR), How much Time has a Reaction of 0.155, and an Athlete of kristof beyens, and a Rank smaller than 3?
SELECT AVG(lane) FROM table_name_83 WHERE time > 20.5 AND nationality = "trinidad and tobago"
CREATE TABLE table_name_83 (lane INTEGER, time VARCHAR, nationality VARCHAR), Which Lane has a Time larger than 20.5, and a Nationality of trinidad and tobago?
SELECT location FROM table_name_23 WHERE name_of_mill = "moulin bertrand"
CREATE TABLE table_name_23 (location VARCHAR, name_of_mill VARCHAR), What is the Location of the Moulin Bertrand Mill?
SELECT MAX(built) FROM table_name_16 WHERE name_of_mill = "moulin de momalle"
CREATE TABLE table_name_16 (built INTEGER, name_of_mill VARCHAR), What is year Built of the Moulin de Momalle Mill?
SELECT name_of_mill FROM table_name_24 WHERE type = "grondzeiler"
CREATE TABLE table_name_24 (name_of_mill VARCHAR, type VARCHAR), What is the Name of the Grondzeiler Mill?
SELECT MIN(total_population__2010_) FROM table_name_88 WHERE _percentage_asian_american = 5.7 AND asian_american_population__2010_ < 126 OFFSET 965
CREATE TABLE table_name_88 (total_population__2010_ INTEGER, _percentage_asian_american VARCHAR, asian_american_population__2010_ VARCHAR), What's the total population when there are 5.7% Asian American and fewer than 126,965 Asian American Population?
SELECT opponent FROM table_name_77 WHERE game = "4"
CREATE TABLE table_name_77 (opponent VARCHAR, game VARCHAR), Who was their opponent in game 4?
SELECT date FROM table_name_84 WHERE game = "3"
CREATE TABLE table_name_84 (date VARCHAR, game VARCHAR), On what date was game 3?
SELECT railway_number_s_ FROM table_name_68 WHERE class = "t 4 ii"
CREATE TABLE table_name_68 (railway_number_s_ VARCHAR, class VARCHAR), What is the railway number of t 4 ii class?
SELECT year_s__of_manufacture FROM table_name_74 WHERE quantity = 31 AND axle_arrangement___uic__ = "b n2t"
CREATE TABLE table_name_74 (year_s__of_manufacture VARCHAR, quantity VARCHAR, axle_arrangement___uic__ VARCHAR), What year was the b n2t axle arrangement, which has a quantity of 31, manufactured?
SELECT time FROM table_name_88 WHERE heat < 5 AND lane = 5 AND nationality = "vietnam"
CREATE TABLE table_name_88 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR), What is the time in a heat smaller than 5, in Lane 5, for Vietnam?
SELECT MIN(lane) FROM table_name_53 WHERE name = "xue ruipeng"
CREATE TABLE table_name_53 (lane INTEGER, name VARCHAR), What is the smallest lane number of Xue Ruipeng?
SELECT AVG(rank) FROM table_name_29 WHERE notes = "fa"
CREATE TABLE table_name_29 (rank INTEGER, notes VARCHAR), What is the Rank of the Rowers with FA as Notes?
SELECT away_team FROM table_name_27 WHERE tie_no = "7"
CREATE TABLE table_name_27 (away_team VARCHAR, tie_no VARCHAR), Which away team that had a tie of 7?
SELECT attendance FROM table_name_10 WHERE away_team = "solihull moors"
CREATE TABLE table_name_10 (attendance VARCHAR, away_team VARCHAR), What was the attendance for the away team Solihull Moors?
SELECT home_team FROM table_name_9 WHERE away_team = "southport"
CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR), Which home team had the away team Southport?
SELECT home_team FROM table_name_86 WHERE tie_no = "2"
CREATE TABLE table_name_86 (home_team VARCHAR, tie_no VARCHAR), What home team had 2 ties?
SELECT score FROM table_name_36 WHERE tie_no = "7"
CREATE TABLE table_name_36 (score VARCHAR, tie_no VARCHAR), What was the score when there were 7 ties?
SELECT SUM(total) FROM table_name_38 WHERE nation = "brazil (bra)" AND bronze > 2
CREATE TABLE table_name_38 (total INTEGER, nation VARCHAR, bronze VARCHAR), What is the total when the nation is brazil (bra) and bronze is more than 2?
SELECT MIN(total) FROM table_name_78 WHERE nation = "canada (can)" AND bronze < 0
CREATE TABLE table_name_78 (total INTEGER, nation VARCHAR, bronze VARCHAR), what is the least total when the nation is canada (can) and bronze is less than 0?
SELECT SUM(bronze) FROM table_name_24 WHERE rank = "3" AND total > 2
CREATE TABLE table_name_24 (bronze INTEGER, rank VARCHAR, total VARCHAR), what is bronze when the rank is 3 and the total is more than 2?
SELECT MAX(bronze) FROM table_name_81 WHERE silver > 2 AND nation = "germany" AND gold > 8
CREATE TABLE table_name_81 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR), What is the most bronze can be when silver is larger than 2, and the nation is germany, and gold is more than 8?
SELECT COUNT(total) FROM table_name_12 WHERE nation = "netherlands" AND silver > 0
CREATE TABLE table_name_12 (total VARCHAR, nation VARCHAR, silver VARCHAR), What is the total number for a total when the nation is netherlands and silver is larger than 0?