output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT score FROM table_name_69 WHERE record = "80-61"
CREATE TABLE table_name_69 (score VARCHAR, record VARCHAR), What is the score of the game that holds a record of 80-61?
SELECT record FROM table_name_30 WHERE attendance = "28,135"
CREATE TABLE table_name_30 (record VARCHAR, attendance VARCHAR), What is the record of the game with 28,135 people in attendance?
SELECT score FROM table_name_53 WHERE points = 2
CREATE TABLE table_name_53 (score VARCHAR, points VARCHAR), what team has a score of 2
SELECT record FROM table_name_3 WHERE game = 11
CREATE TABLE table_name_3 (record VARCHAR, game VARCHAR), what team has a score of 11
SELECT nation FROM table_name_56 WHERE time__sec_ = 47.049
CREATE TABLE table_name_56 (nation VARCHAR, time__sec_ VARCHAR), Which nation finished with a time of 47.049?
SELECT sport FROM table_name_53 WHERE time__sec_ > 49
CREATE TABLE table_name_53 (sport VARCHAR, time__sec_ INTEGER), Which sport has a time over 49?
SELECT nation FROM table_name_9 WHERE time__sec_ = 48.38
CREATE TABLE table_name_9 (nation VARCHAR, time__sec_ VARCHAR), Which nation had a time of 48.38?
SELECT year FROM table_name_17 WHERE team = "aprilia" AND rank = "4th"
CREATE TABLE table_name_17 (year VARCHAR, team VARCHAR, rank VARCHAR), Which year had a team of Aprilia and a rank of 4th?
SELECT class FROM table_name_30 WHERE machine = "rs125r" AND points > 113 AND rank = "4th"
CREATE TABLE table_name_30 (class VARCHAR, rank VARCHAR, machine VARCHAR, points VARCHAR), Which class had a machine of RS125R, points over 113, and a rank of 4th?
SELECT team FROM table_name_95 WHERE year > 1995 AND machine = "rs125r" AND rank = "1st"
CREATE TABLE table_name_95 (team VARCHAR, rank VARCHAR, year VARCHAR, machine VARCHAR), Which team had a year over 1995, machine of RS125R, and ranked 1st?
SELECT oberliga_bayern FROM table_name_24 WHERE season = "1981-82"
CREATE TABLE table_name_24 (oberliga_bayern VARCHAR, season VARCHAR), Which Oberliga Bayern has a Season of 1981-82?
SELECT oberliga_südwest FROM table_name_82 WHERE oberliga_bayern = "fc schweinfurt 05"
CREATE TABLE table_name_82 (oberliga_südwest VARCHAR, oberliga_bayern VARCHAR), Which Oberliga Südwest has an Oberliga Bayern of fc schweinfurt 05?
SELECT season FROM table_name_19 WHERE oberliga_bayern = "spvgg bayreuth" AND oberliga_südwest = "eintracht trier"
CREATE TABLE table_name_19 (season VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR), Which Season ha spvgg bayreuth and eintracht trier?
SELECT oberliga_baden_württemberg FROM table_name_41 WHERE season = "1991-92"
CREATE TABLE table_name_41 (oberliga_baden_württemberg VARCHAR, season VARCHAR), which Oberliga Baden-Württemberg has a Season of 1991-92?
SELECT oberliga_baden_württemberg FROM table_name_77 WHERE oberliga_hessen = "fsv frankfurt" AND season = "1993-94"
CREATE TABLE table_name_77 (oberliga_baden_württemberg VARCHAR, oberliga_hessen VARCHAR, season VARCHAR), Which Oberliga Baden-Württemberg has an Oberliga Hessen of fsv frankfurt in 1993-94?
SELECT oberliga_südwest FROM table_name_60 WHERE oberliga_baden_württemberg = "sv sandhausen" AND season = "1984-85"
CREATE TABLE table_name_60 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR), which Oberliga Südwes has an Oberliga Baden-Württemberg of sv sandhausen in 1984-85?
SELECT loss FROM table_name_86 WHERE save = "|| 23,391 ||17-18||"
, Name the loss with save of
SELECT opponent FROM table_name_35 WHERE save = "williams (9)"
CREATE TABLE table_name_35 (opponent VARCHAR, save VARCHAR), Name the opponent for save of williams (9)
SELECT save FROM table_name_86 WHERE opponent = "braves" AND date = "may 15"
CREATE TABLE table_name_86 (save VARCHAR, opponent VARCHAR, date VARCHAR), Name the save for braves for may 15
SELECT loss FROM table_name_4 WHERE date = "may 1"
CREATE TABLE table_name_4 (loss VARCHAR, date VARCHAR), Name the loss for may 1
SELECT score FROM table_name_21 WHERE opponent = "ekaterina makarova"
CREATE TABLE table_name_21 (score VARCHAR, opponent VARCHAR), What was the score in the tournament against Ekaterina Makarova?
SELECT market_market_rank FROM table_name_3 WHERE saturday = "11pm-1am"
CREATE TABLE table_name_3 (market_market_rank VARCHAR, saturday VARCHAR), What is the market for the 11pm-1am Saturday game?
SELECT name FROM table_name_83 WHERE locale = "holland"
CREATE TABLE table_name_83 (name VARCHAR, locale VARCHAR), what is the name of the holland locale
SELECT COUNT(rank) FROM table_name_42 WHERE primary_industry = "health care"
CREATE TABLE table_name_42 (rank VARCHAR, primary_industry VARCHAR), How many ranks have an industry of health care?
SELECT SUM(points) FROM table_name_96 WHERE opponent = "new york islanders" AND game < 65
CREATE TABLE table_name_96 (points INTEGER, opponent VARCHAR, game VARCHAR), Which Points have an Opponent of new york islanders, and a Game smaller than 65?
SELECT COUNT(points) FROM table_name_76 WHERE record = "40–21–12–3" AND march > 28
CREATE TABLE table_name_76 (points VARCHAR, record VARCHAR, march VARCHAR), How many Points have a Record of 40–21–12–3, and a March larger than 28?
SELECT opponent FROM table_name_20 WHERE record = "38–20–12–2"
CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR), Which Opponent has a Record of 38–20–12–2?
SELECT MAX(game) FROM table_name_76 WHERE points < 92 AND score = "1–3"
CREATE TABLE table_name_76 (game INTEGER, points VARCHAR, score VARCHAR), Which Game is the highest one that has Points smaller than 92, and a Score of 1–3?
SELECT accession_number FROM table_name_5 WHERE common_name = "purple sea urchin"
CREATE TABLE table_name_5 (accession_number VARCHAR, common_name VARCHAR), What is the accession number of the protein with the common name Purple Sea Urchin?
SELECT protein_name FROM table_name_2 WHERE sequence_identity_to_human_protein = "32%"
CREATE TABLE table_name_2 (protein_name VARCHAR, sequence_identity_to_human_protein VARCHAR), What is the protein name of the protein with a sequence identity to human protein of 32%?
SELECT SUM(sequence_length__aa_) FROM table_name_67 WHERE common_name = "purple sea urchin" AND divergence_from_human_lineage__mya_ < 742.9
CREATE TABLE table_name_67 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR), What is the sequence length (aa) of the protein with the common name Purple Sea Urchin and a divergence from human lineage less than 742.9?
SELECT accession_number FROM table_name_74 WHERE divergence_from_human_lineage__mya_ = 937.5
CREATE TABLE table_name_74 (accession_number VARCHAR, divergence_from_human_lineage__mya_ VARCHAR), What is the accession number of the protein with a divergence from human lineage of 937.5?
SELECT series FROM table_name_86 WHERE score = "9–4"
CREATE TABLE table_name_86 (series VARCHAR, score VARCHAR), Which Series has a Score of 9–4?
SELECT series FROM table_name_3 WHERE opponent = "calgary flames" AND score = "9–4"
CREATE TABLE table_name_3 (series VARCHAR, opponent VARCHAR, score VARCHAR), Which Series has an Opponent of calgary flames, and a Score of 9–4?
SELECT date FROM table_name_83 WHERE game < 4 AND opponent = "calgary flames" AND score = "4–5"
CREATE TABLE table_name_83 (date VARCHAR, score VARCHAR, game VARCHAR, opponent VARCHAR), Which Date has a Game smaller than 4, and an Opponent of calgary flames, and a Score of 4–5?
SELECT date FROM table_name_33 WHERE score = "4–5" AND game < 4
CREATE TABLE table_name_33 (date VARCHAR, score VARCHAR, game VARCHAR), Which Date has a Score of 4–5, and a Game smaller than 4?
SELECT COUNT(founded) FROM table_name_73 WHERE final_af2_season < 2009 AND arena = "bi-lo center" AND first_af2_season < 2000
CREATE TABLE table_name_73 (founded VARCHAR, first_af2_season VARCHAR, final_af2_season VARCHAR, arena VARCHAR), How many founded years had a final af2 season prior to 2009 where the arena was the bi-lo center and the first af2 season was prior to 2000?
SELECT AVG(founded) FROM table_name_96 WHERE team = "baton rouge blaze"
CREATE TABLE table_name_96 (founded INTEGER, team VARCHAR), What is the mean Founded number when the team is the Baton Rouge Blaze?
SELECT MAX(gold) FROM table_name_23 WHERE silver < 1 AND total < 0
CREATE TABLE table_name_23 (gold INTEGER, silver VARCHAR, total VARCHAR), What is listed as the highest Gold that also has a Silver that's smaller than 1, and has a Total that's smaller than 0?
SELECT SUM(rank) FROM table_name_2 WHERE gold < 0
CREATE TABLE table_name_2 (rank INTEGER, gold INTEGER), What's the total Rank that has a Gold that's smaller than 0?
SELECT MAX(participants) FROM table_name_13 WHERE rank = 5 AND silver < 0
CREATE TABLE table_name_13 (participants INTEGER, rank VARCHAR, silver VARCHAR), What is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0?
SELECT MAX(rank) FROM table_name_6 WHERE gold > 0 AND participants < 10
CREATE TABLE table_name_6 (rank INTEGER, gold VARCHAR, participants VARCHAR), What is listed as the highest Rank that has a Gold that's larger than 0, and Participants that's smaller than 10?
SELECT SUM(participants) FROM table_name_38 WHERE silver < 0
CREATE TABLE table_name_38 (participants INTEGER, silver INTEGER), What is the total number of Participants that has Silver that's smaller than 0?
SELECT skip FROM table_name_90 WHERE second = "zrinka muhek"
CREATE TABLE table_name_90 (skip VARCHAR, second VARCHAR), Which skip has Zrinka Muhek as Second?
SELECT second FROM table_name_96 WHERE third = "caroline reed"
CREATE TABLE table_name_96 (second VARCHAR, third VARCHAR), What is the name of the second who has Caroline Reed as third?
SELECT lead FROM table_name_22 WHERE skip = "kirsty balfour"
CREATE TABLE table_name_22 (lead VARCHAR, skip VARCHAR), Which lead has Kirsty Balfour as second?
SELECT third FROM table_name_47 WHERE skip = "barbora vojtusova"
CREATE TABLE table_name_47 (third VARCHAR, skip VARCHAR), What is the name of the third who has Barbora Vojtusova as Skip?
SELECT second FROM table_name_41 WHERE third = "nikolina petric"
CREATE TABLE table_name_41 (second VARCHAR, third VARCHAR), Who is the Second with Nikolina Petric as Third?
SELECT lead FROM table_name_10 WHERE skip = "katarina radonic"
CREATE TABLE table_name_10 (lead VARCHAR, skip VARCHAR), Which Lead has Katarina Radonic as Skip?
SELECT manufacturer FROM table_name_84 WHERE laps = 24 AND grid = 9
CREATE TABLE table_name_84 (manufacturer VARCHAR, laps VARCHAR, grid VARCHAR), Who manufactured the motorcycle that did 24 laps and 9 grids?
SELECT MAX(grid) FROM table_name_18 WHERE laps > 24
CREATE TABLE table_name_18 (grid INTEGER, laps INTEGER), How many grids correspond to more than 24 laps?
SELECT time_retired FROM table_name_81 WHERE grid = 10
CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR), What is the time with 10 grids?
SELECT SUM(grid) FROM table_name_96 WHERE time_retired = "+1:12.208" AND laps > 24
CREATE TABLE table_name_96 (grid INTEGER, time_retired VARCHAR, laps VARCHAR), How many grids have more than 24 laps with a time/retired of +1:12.208?
SELECT score FROM table_name_60 WHERE winner = "keith clearwater (1)"
CREATE TABLE table_name_60 (score VARCHAR, winner VARCHAR), What is the score from the winner Keith Clearwater (1)?
SELECT date FROM table_name_24 WHERE winner = "tom kite (10)"
CREATE TABLE table_name_24 (date VARCHAR, winner VARCHAR), What is the date where the winner was Tom Kite (10)?
SELECT week FROM table_name_63 WHERE date = "december 4, 1960"
CREATE TABLE table_name_63 (week VARCHAR, date VARCHAR), Which Week had a Date of december 4, 1960?
SELECT bats FROM table_name_93 WHERE surname = "baron"
CREATE TABLE table_name_93 (bats VARCHAR, surname VARCHAR), Which player has a last name of baron?
SELECT bats FROM table_name_17 WHERE uni_number = 31
CREATE TABLE table_name_17 (bats VARCHAR, uni_number VARCHAR), Which batter has a uni# of 31?
SELECT bats FROM table_name_61 WHERE surname = "graham"
CREATE TABLE table_name_61 (bats VARCHAR, surname VARCHAR), Which batter has the last name Graham?
SELECT home FROM table_name_56 WHERE date = "april 1"
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR), Which Home has a Date of april 1?
SELECT home FROM table_name_5 WHERE record = "16–17–6"
CREATE TABLE table_name_5 (home VARCHAR, record VARCHAR), Which Home has a Record of 16–17–6?
SELECT date FROM table_name_50 WHERE score = "2–7" AND record = "5–8–2"
CREATE TABLE table_name_50 (date VARCHAR, score VARCHAR, record VARCHAR), Which Date has a Score of 2–7, and a Record of 5–8–2?
SELECT record FROM table_name_23 WHERE score = "2–4" AND home = "quebec nordiques"
CREATE TABLE table_name_23 (record VARCHAR, score VARCHAR, home VARCHAR), Which Record has a Score of 2–4, and a Home of quebec nordiques?
SELECT record FROM table_name_49 WHERE home = "edmonton oilers" AND score = "3–6"
CREATE TABLE table_name_49 (record VARCHAR, home VARCHAR, score VARCHAR), Which Record has a Home of edmonton oilers, and a Score of 3–6?
SELECT home FROM table_name_50 WHERE record = "11–14–4"
CREATE TABLE table_name_50 (home VARCHAR, record VARCHAR), Which Home has a Record of 11–14–4?
SELECT series_ep FROM table_name_22 WHERE segment_d = "fluorescent tubes"
CREATE TABLE table_name_22 (series_ep VARCHAR, segment_d VARCHAR), What is the series episode number with a segment of D, and having fluorescent tubes?
SELECT netflix FROM table_name_47 WHERE series_ep = "1-01"
CREATE TABLE table_name_47 (netflix VARCHAR, series_ep VARCHAR), What is the Netflix number having a series episode of 1-01?
SELECT netflix FROM table_name_2 WHERE segment_d = "ned can corn"
CREATE TABLE table_name_2 (netflix VARCHAR, segment_d VARCHAR), What is the Netflix number having a segment D, of NED can corn?
SELECT segment_a FROM table_name_18 WHERE netflix = "s01e12"
CREATE TABLE table_name_18 (segment_a VARCHAR, netflix VARCHAR), What is the segment A name, having a Netflix of s01e12?
SELECT netflix FROM table_name_53 WHERE segment_c = "pills"
CREATE TABLE table_name_53 (netflix VARCHAR, segment_c VARCHAR), What is the Netflix number having a segment of C of pills?
SELECT segment_b FROM table_name_93 WHERE segment_d = "pasta"
CREATE TABLE table_name_93 (segment_b VARCHAR, segment_d VARCHAR), For a segment D of pasta, what is the segment B?
SELECT sport FROM table_name_41 WHERE medal = "gold" AND games = "2000 sydney"
CREATE TABLE table_name_41 (sport VARCHAR, medal VARCHAR, games VARCHAR), Which sport resulted in a gold medal in the 2000 Sydney games?
SELECT event FROM table_name_31 WHERE sport = "wrestling" AND games = "2008 beijing"
CREATE TABLE table_name_31 (event VARCHAR, sport VARCHAR, games VARCHAR), Which wrestling event was at the 2008 Beijing games?
SELECT event FROM table_name_28 WHERE games = "2008 beijing" AND sport = "wrestling"
CREATE TABLE table_name_28 (event VARCHAR, games VARCHAR, sport VARCHAR), What wrestling event was participated in during the 2008 Beijing games?
SELECT score FROM table_name_50 WHERE december > 29
CREATE TABLE table_name_50 (score VARCHAR, december INTEGER), after december 29 what is the score?
SELECT game_3 FROM table_name_92 WHERE game_2 = "ian french"
CREATE TABLE table_name_92 (game_3 VARCHAR, game_2 VARCHAR), Wjat game 3 has ian french as a game of 2?
SELECT game_1 FROM table_name_13 WHERE position = "halfback"
CREATE TABLE table_name_13 (game_1 VARCHAR, position VARCHAR), What game 1 has halfback as a position?
SELECT position FROM table_name_62 WHERE game_1 = "colin scott"
CREATE TABLE table_name_62 (position VARCHAR, game_1 VARCHAR), What position has colin scott as game 1?
SELECT game_1 FROM table_name_18 WHERE game_2 = "bob lindner"
CREATE TABLE table_name_18 (game_1 VARCHAR, game_2 VARCHAR), What game 1 has bob lindner as game 2?
SELECT SUM(pick) FROM table_name_72 WHERE player_name = "mario williams" AND year < 2006
CREATE TABLE table_name_72 (pick INTEGER, player_name VARCHAR, year VARCHAR), What pick was mario williams before 2006?
SELECT entered_office FROM table_name_74 WHERE left_office = "1337"
CREATE TABLE table_name_74 (entered_office VARCHAR, left_office VARCHAR), What is the entered office that has 1337 as the left office?
SELECT born_died FROM table_name_8 WHERE entered_office = "13 september 1229"
CREATE TABLE table_name_8 (born_died VARCHAR, entered_office VARCHAR), What is the born-died that has office of 13 September 1229 as the entered?
SELECT blagojevich__d_ FROM table_name_5 WHERE source = "zogby/wsj" AND topinka__r_ = "33.2%"
CREATE TABLE table_name_5 (blagojevich__d_ VARCHAR, source VARCHAR, topinka__r_ VARCHAR), Which Blagojevich (D) has a Source of zogby/wsj, and a Topinka (R) of 33.2%?
SELECT blagojevich__d_ FROM table_name_70 WHERE source = "zogby/wsj" AND date = "october 16, 2006"
CREATE TABLE table_name_70 (blagojevich__d_ VARCHAR, source VARCHAR, date VARCHAR), Which Blagojevich (D) has a Source of zogby/wsj, and a Date of october 16, 2006?
SELECT blagojevich__d_ FROM table_name_77 WHERE date = "october 16, 2006"
CREATE TABLE table_name_77 (blagojevich__d_ VARCHAR, date VARCHAR), Which Blagojevich (D) happened on october 16, 2006?
SELECT topinka__r_ FROM table_name_11 WHERE date = "january 22, 2006"
CREATE TABLE table_name_11 (topinka__r_ VARCHAR, date VARCHAR), Which Topinka happened on january 22, 2006?
SELECT date FROM table_name_21 WHERE remainder = "20%"
CREATE TABLE table_name_21 (date VARCHAR, remainder VARCHAR), Which Date has a Remainder of 20%?
SELECT source FROM table_name_78 WHERE remainder = "15%" AND topinka__r_ = "26%"
CREATE TABLE table_name_78 (source VARCHAR, remainder VARCHAR, topinka__r_ VARCHAR), Which Source has a Remainder of 15%, and a Topinka of 26%?
SELECT season FROM table_name_98 WHERE number_of_contestants > 12 AND winner = "greydis gil"
CREATE TABLE table_name_98 (season VARCHAR, number_of_contestants VARCHAR, winner VARCHAR), What season had more than 12 contestants in which greydis gil won?
SELECT COUNT(number_of_contestants) FROM table_name_65 WHERE winner = "alejandra espinoza"
CREATE TABLE table_name_65 (number_of_contestants VARCHAR, winner VARCHAR), How many contestants were there in a season where alejandra espinoza won?
SELECT pilot FROM table_name_89 WHERE record_description = "maximum load to m (ft)" AND date = "23 september 1961"
CREATE TABLE table_name_89 (pilot VARCHAR, record_description VARCHAR, date VARCHAR), Record description of maximum load to m (ft), and a Date of 23 september 1961 is what pilot?
SELECT record_description FROM table_name_38 WHERE date = "23 september 1961" AND pilot = "b.v. zemskov"
CREATE TABLE table_name_38 (record_description VARCHAR, date VARCHAR, pilot VARCHAR), Date of 23 september 1961, and a Pilot of b.v. zemskov had what record description?
SELECT date FROM table_name_97 WHERE type = "mi-10r" AND record_description = "altitude with kg (lb) payload" AND pilot = "g.v. alfyorov"
CREATE TABLE table_name_97 (date VARCHAR, pilot VARCHAR, type VARCHAR, record_description VARCHAR), Type of mi-10r, and a Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov is what date?
SELECT type FROM table_name_73 WHERE record_description = "altitude with kg (lb) payload" AND pilot = "g.v. alfyorov"
CREATE TABLE table_name_73 (type VARCHAR, record_description VARCHAR, pilot VARCHAR), Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov had what type?
SELECT date FROM table_name_39 WHERE pilot = "g.v. alfyorov" AND record_description = "altitude with kg (lb) payload" AND type = "mi-10"
CREATE TABLE table_name_39 (date VARCHAR, type VARCHAR, pilot VARCHAR, record_description VARCHAR), Pilot of g.v. alfyorov, and a Record description of altitude with kg (lb) payload, and a Type of mi-10 involved what date?
SELECT record_description FROM table_name_96 WHERE achievement = "m (ft)" AND type = "mi-10r" AND pilot = "v.p. koloshenko" AND date = "28 may 1965"
CREATE TABLE table_name_96 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR), Achievement of m (ft), and a Type of mi-10r, and a Pilot of v.p. koloshenko, and a Date of 28 may 1965 had what record description?
SELECT death FROM table_name_86 WHERE spouse = "charles ii"
CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR), When was the date of death for the person married to Charles II?
SELECT became_consort FROM table_name_16 WHERE spouse = "james ii"
CREATE TABLE table_name_16 (became_consort VARCHAR, spouse VARCHAR), On what date did James II take a consort?
SELECT COUNT(field_goals) FROM table_name_6 WHERE extra_points > 0 AND touchdowns = 5
CREATE TABLE table_name_6 (field_goals VARCHAR, extra_points VARCHAR, touchdowns VARCHAR), What is the total number of field goals a player had when there were more than 0 extra points and there were 5 touchdowns?
SELECT SUM(touchdowns) FROM table_name_44 WHERE extra_points > 0 AND field_goals < 0
CREATE TABLE table_name_44 (touchdowns INTEGER, extra_points VARCHAR, field_goals VARCHAR), What is the sum of all the touchdowns when the player had more than 0 extra points and less than 0 field goals?