output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT rank FROM table_name_55 WHERE player = "jason dunstall"
CREATE TABLE table_name_55 (rank VARCHAR, player VARCHAR), What is the rank of player Jason Dunstall?
SELECT player FROM table_name_6 WHERE goals = "1299"
CREATE TABLE table_name_6 (player VARCHAR, goals VARCHAR), Which player has 1299 goals?
SELECT club_clubs FROM table_name_11 WHERE player = "tony lockett"
CREATE TABLE table_name_11 (club_clubs VARCHAR, player VARCHAR), In what club(s) does Tony Lockett play?
SELECT manager FROM table_name_14 WHERE team = "manchester city"
CREATE TABLE table_name_14 (manager VARCHAR, team VARCHAR), Which manager has Manchester City as the team?
SELECT manager FROM table_name_7 WHERE team = "sheffield wednesday"
CREATE TABLE table_name_7 (manager VARCHAR, team VARCHAR), Which manager has sheffield wednesday as the team?
SELECT team FROM table_name_77 WHERE manager = "george graham"
CREATE TABLE table_name_77 (team VARCHAR, manager VARCHAR), Which team has george graham as the manager?
SELECT kit_manufacturer FROM table_name_36 WHERE manager = "billy bonds"
CREATE TABLE table_name_36 (kit_manufacturer VARCHAR, manager VARCHAR), What is the kit manufacturer that has billy bonds as the manager?
SELECT captain FROM table_name_34 WHERE manager = "billy bonds"
CREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR), Which captain has billy bonds as the manager?
SELECT captain FROM table_name_52 WHERE manager = "howard wilkinson"
CREATE TABLE table_name_52 (captain VARCHAR, manager VARCHAR), Which captain has howard wilkinson as the manager?
SELECT loss FROM table_name_90 WHERE record = "46-48"
CREATE TABLE table_name_90 (loss VARCHAR, record VARCHAR), What was the loss of the Brewers game when the record was 46-48?
SELECT record FROM table_name_76 WHERE score = "7-10"
CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR), What was the record at the game that had a score of 7-10?
SELECT chassis FROM table_name_53 WHERE year > 1972 AND pts > 0
CREATE TABLE table_name_53 (chassis VARCHAR, year VARCHAR, pts VARCHAR), Which chassis is more recent than 1972 and has more than 0 Pts. ?
SELECT engine FROM table_name_92 WHERE year = 1973 AND chassis = "brabham bt37"
CREATE TABLE table_name_92 (engine VARCHAR, year VARCHAR, chassis VARCHAR), Which engine from 1973 has a Brabham bt37 chassis?
SELECT MAX(to_par) FROM table_name_33 WHERE player = "mike weir"
CREATE TABLE table_name_33 (to_par INTEGER, player VARCHAR), What score to highest to par did Mike Weir achieve?
SELECT player FROM table_name_91 WHERE score = 70 - 73 - 69 = 212
CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR), Who had a score of 70-73-69=212?
SELECT to_par FROM table_name_81 WHERE place = "t1" AND score = 70 - 73 - 69 = 212
CREATE TABLE table_name_81 (to_par VARCHAR, place VARCHAR, score VARCHAR), What player was place of t1 in To Par and had a score of 70-73-69=212?
SELECT to_par FROM table_name_69 WHERE player = "mike weir"
CREATE TABLE table_name_69 (to_par VARCHAR, player VARCHAR), What score to par did Mike Weir have?
SELECT place FROM table_name_92 WHERE score = 67 - 74 - 73 = 214
CREATE TABLE table_name_92 (place VARCHAR, score VARCHAR), What place was the scorer of 67-74-73=214?
SELECT country FROM table_name_77 WHERE player = "rocco mediate"
CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR), What country does Rocco Mediate play for?
SELECT to_par FROM table_name_17 WHERE player = "rocco mediate"
CREATE TABLE table_name_17 (to_par VARCHAR, player VARCHAR), What is Rocco Mediate's par?
SELECT country FROM table_name_49 WHERE player = "chad campbell"
CREATE TABLE table_name_49 (country VARCHAR, player VARCHAR), What country is Chad Campbell from?
SELECT score FROM table_name_28 WHERE country = "spain"
CREATE TABLE table_name_28 (score VARCHAR, country VARCHAR), What was the score for Spain?
SELECT country FROM table_name_71 WHERE player = "fred couples"
CREATE TABLE table_name_71 (country VARCHAR, player VARCHAR), Where is Fred Couples from?
SELECT record FROM table_name_65 WHERE date = "july 10"
CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR), what's the record on july 10?
SELECT name_of_kingdom FROM table_name_65 WHERE capital = "suin"
CREATE TABLE table_name_65 (name_of_kingdom VARCHAR, capital VARCHAR), Which kingdom has Suin as its capital?
SELECT MIN(week) FROM table_name_25 WHERE date = "september 9, 1967"
CREATE TABLE table_name_25 (week INTEGER, date VARCHAR), What week did the September 9, 1967 game occur on?
SELECT date FROM table_name_87 WHERE week > 5 AND opponent = "houston oilers"
CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR, opponent VARCHAR), What was the date of the game after week 5 against the Houston Oilers?
SELECT week FROM table_name_27 WHERE date = "december 14, 1967"
CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR), Which week was the game on December 14, 1967?
SELECT opponent FROM table_name_96 WHERE week > 9 AND attendance = "44,020"
CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR, attendance VARCHAR), Who was the opponent after week 9 with an attendance of 44,020?
SELECT team_2 FROM table_name_79 WHERE team_1 = "al-ismaily"
CREATE TABLE table_name_79 (team_2 VARCHAR, team_1 VARCHAR), What team played against Al-Ismaily (team 1)?
SELECT 1 AS st_leg FROM table_name_66 WHERE team_1 = "kabwe warriors"
CREATE TABLE table_name_66 (team_1 VARCHAR), When Kabwe Warriors (team 1) played, what was the result of the 1st leg?
SELECT team_1 FROM table_name_36 WHERE team_2 = "hafia fc"
CREATE TABLE table_name_36 (team_1 VARCHAR, team_2 VARCHAR), What team played against Hafia FC (team 2)?
SELECT record FROM table_name_24 WHERE week = 2
CREATE TABLE table_name_24 (record VARCHAR, week VARCHAR), For the game that was played on week 2, what is the record?
SELECT result FROM table_name_95 WHERE week = 15
CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR), What was the result of the game that was played on week 15?
SELECT COUNT(carries) FROM table_name_37 WHERE average < 8.7 AND touchdowns = 72
CREATE TABLE table_name_37 (carries VARCHAR, average VARCHAR, touchdowns VARCHAR), How many carries have an average under 8.7 and touchdowns of 72?
SELECT AVG(carries) FROM table_name_36 WHERE touchdowns > 72
CREATE TABLE table_name_36 (carries INTEGER, touchdowns INTEGER), What is the average number of carries that have more than 72 touchdowns?
SELECT MAX(touchdowns) FROM table_name_77 WHERE points < 105 AND average > 4.7 AND rushing_yards < 487
CREATE TABLE table_name_77 (touchdowns INTEGER, rushing_yards VARCHAR, points VARCHAR, average VARCHAR), What is the most number of touchdowns that have fewer than 105 points, averages over 4.7, and fewer than 487 rushing yards?
SELECT SUM(carries) FROM table_name_98 WHERE points = 80 AND touchdowns < 16
CREATE TABLE table_name_98 (carries INTEGER, points VARCHAR, touchdowns VARCHAR), What is the sum of carries associated with 80 points and fewer than 16 touchdowns?
SELECT COUNT(rushing_yards) FROM table_name_27 WHERE average > 8.4 AND carries < 54
CREATE TABLE table_name_27 (rushing_yards VARCHAR, average VARCHAR, carries VARCHAR), What is the total number of rushing yards associated with averages over 8.4 and fewer than 54 carries?
SELECT record FROM table_name_60 WHERE date = "april 8"
CREATE TABLE table_name_60 (record VARCHAR, date VARCHAR), Which record is dated April 8?
SELECT score FROM table_name_9 WHERE attendance = "5,298"
CREATE TABLE table_name_9 (score VARCHAR, attendance VARCHAR), What is the score for the game that has an attendance of 5,298?
SELECT date FROM table_name_45 WHERE attendance = "10,101"
CREATE TABLE table_name_45 (date VARCHAR, attendance VARCHAR), What was the date for the game that had an attendance of 10,101?
SELECT record FROM table_name_26 WHERE attendance = "11,141"
CREATE TABLE table_name_26 (record VARCHAR, attendance VARCHAR), What is the record for the game with an attendance of 11,141?
SELECT MIN(points) FROM table_name_66 WHERE losses < 8 AND team_name = "vancouver burrards" AND games < 24
CREATE TABLE table_name_66 (points INTEGER, games VARCHAR, losses VARCHAR, team_name VARCHAR), What's the lowest number of points with fewer than 8 losses and fewer than 24 games for the vancouver burrards?
SELECT COUNT(points) FROM table_name_1 WHERE losses < 12 AND team_name = "vancouver carlings" AND games > 32
CREATE TABLE table_name_1 (points VARCHAR, games VARCHAR, losses VARCHAR, team_name VARCHAR), What's the total number of points when the vancouver carlings have fewer than 12 losses and more than 32 games?
SELECT COUNT(points) FROM table_name_18 WHERE losses < 9 AND games > 24 AND team_name = "vancouver burrards"
CREATE TABLE table_name_18 (points VARCHAR, team_name VARCHAR, losses VARCHAR, games VARCHAR), What's the total number of points when the vancouver burrards have fewer than 9 losses and more than 24 games?
SELECT SUM(points) FROM table_name_8 WHERE season = "1963" AND games > 30
CREATE TABLE table_name_8 (points INTEGER, season VARCHAR, games VARCHAR), What's the sum of points for the 1963 season when there are more than 30 games?
SELECT COUNT(games) FROM table_name_89 WHERE season = "1976" AND points > 20
CREATE TABLE table_name_89 (games VARCHAR, season VARCHAR, points VARCHAR), What's the total number of games with more than 20 points for the 1976 season?
SELECT COUNT(losses) FROM table_name_8 WHERE team_name = "vancouver burrards" AND season = "1947" AND games < 24
CREATE TABLE table_name_8 (losses VARCHAR, games VARCHAR, team_name VARCHAR, season VARCHAR), What's the total losses for the vancouver burrards in the 1947 season with fewer than 24 games?
SELECT tries_against FROM table_name_19 WHERE drawn = "1" AND points = "41"
CREATE TABLE table_name_19 (tries_against VARCHAR, drawn VARCHAR, points VARCHAR), How many tries against did the club with 1 drawn and 41 points have?
SELECT club FROM table_name_16 WHERE points_for = "275"
CREATE TABLE table_name_16 (club VARCHAR, points_for VARCHAR), Which club has 275 points?
SELECT points_against FROM table_name_68 WHERE losing_bonus = "3" AND tries_for = "84"
CREATE TABLE table_name_68 (points_against VARCHAR, losing_bonus VARCHAR, tries_for VARCHAR), How many points against did the club with a losing bonus of 3 and 84 tries have?
SELECT club FROM table_name_2 WHERE tries_for = "40"
CREATE TABLE table_name_2 (club VARCHAR, tries_for VARCHAR), Which club has 40 tries for?
SELECT tries_for FROM table_name_45 WHERE try_bonus = "correct as of 2 june 2009"
CREATE TABLE table_name_45 (tries_for VARCHAR, try_bonus VARCHAR), How many tries did the club with a try bonus of correct as of 2 June 2009 have?
SELECT tries_for FROM table_name_24 WHERE club = "croesyceiliog rfc"
CREATE TABLE table_name_24 (tries_for VARCHAR, club VARCHAR), How many tries did the club Croesyceiliog rfc have?
SELECT d_42_√ FROM table_name_47 WHERE d_45_o = "d 32 √"
CREATE TABLE table_name_47 (d_42_√ VARCHAR, d_45_o VARCHAR), What is the value of D 42 √, when the value of D 45 O is d 32 √?
SELECT d_45_o FROM table_name_67 WHERE d_44_o = "← majority"
CREATE TABLE table_name_67 (d_45_o VARCHAR, d_44_o VARCHAR), What is the value of D 45 O when the value of D 44 O is ← majority?
SELECT d_43_√ FROM table_name_58 WHERE d_42_√ = "d 42 √"
CREATE TABLE table_name_58 (d_43_√ VARCHAR, d_42_√ VARCHAR), What is the value of D 43 √ when the value of D 42 √ is d 42 √?
SELECT d_45_o FROM table_name_60 WHERE d_41_√ = "r 41 √"
CREATE TABLE table_name_60 (d_45_o VARCHAR, d_41_√ VARCHAR), What is the value of D 45 O, when the value of D 41 √ is r 41 √?
SELECT AVG(driver_wins) FROM table_name_51 WHERE nation = "sweden"
CREATE TABLE table_name_51 (driver_wins INTEGER, nation VARCHAR), What is the average number of wins of drivers from Sweden?
SELECT COUNT(gold) FROM table_name_56 WHERE rank = "1" AND total > 16
CREATE TABLE table_name_56 (gold VARCHAR, rank VARCHAR, total VARCHAR), How many gold are a rank 1 and larger than 16?
SELECT COUNT(gold) FROM table_name_14 WHERE total < 4
CREATE TABLE table_name_14 (gold VARCHAR, total INTEGER), How many total gold are less than 4?
SELECT SUM(gold) FROM table_name_32 WHERE bronze < 2 AND silver = 1 AND total > 4
CREATE TABLE table_name_32 (gold INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR), What is the total gold that has bronze less than 2, a silver of 1 and total more than 4?
SELECT MIN(runners) FROM table_name_34 WHERE dist__f_ = 10.5
CREATE TABLE table_name_34 (runners INTEGER, dist__f_ VARCHAR), Name the least runners with dist of 10.5
SELECT runners FROM table_name_88 WHERE course = "longchamp"
CREATE TABLE table_name_88 (runners VARCHAR, course VARCHAR), Name the runners for longchamp
SELECT year FROM table_name_48 WHERE laps = 116
CREATE TABLE table_name_48 (year VARCHAR, laps VARCHAR), What is the year with 116 laps?
SELECT year FROM table_name_92 WHERE finish = "19"
CREATE TABLE table_name_92 (year VARCHAR, finish VARCHAR), What year has a finish of 19?
SELECT SUM(silver) FROM table_name_50 WHERE bronze > 3 AND gold = 16
CREATE TABLE table_name_50 (silver INTEGER, bronze VARCHAR, gold VARCHAR), How many Silver medals were won in total by all those with more than 3 bronze and exactly 16 gold?
SELECT opponent FROM table_name_95 WHERE loss = "wells (1-3)"
CREATE TABLE table_name_95 (opponent VARCHAR, loss VARCHAR), Which opponent has a loss of wells (1-3)?
SELECT MAX(attendance) FROM table_name_75 WHERE opponent = "tigers" AND loss = "leiter (0-1)"
CREATE TABLE table_name_75 (attendance INTEGER, opponent VARCHAR, loss VARCHAR), What is the largest attendance that has tigers as the opponent and a loss of leiter (0-1)?
SELECT party FROM table_name_44 WHERE representative = "peter a. quinn"
CREATE TABLE table_name_44 (party VARCHAR, representative VARCHAR), Which party has Peter A. Quinn as a representative?
SELECT state FROM table_name_32 WHERE representative = "jimmy quillen"
CREATE TABLE table_name_32 (state VARCHAR, representative VARCHAR), Which state does Jimmy Quillen represent?
SELECT lifespan FROM table_name_21 WHERE party = "democratic" AND state = "new york" AND representative = "terence j. quinn"
CREATE TABLE table_name_21 (lifespan VARCHAR, representative VARCHAR, party VARCHAR, state VARCHAR), What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative?
SELECT notes FROM table_1000181_1 WHERE current_slogan = "SOUTH AUSTRALIA"
CREATE TABLE table_1000181_1 (notes VARCHAR, current_slogan VARCHAR), Tell me what the notes are for South Australia
SELECT current_series FROM table_1000181_1 WHERE notes = "New series began in June 2011"
CREATE TABLE table_1000181_1 (current_series VARCHAR, notes VARCHAR), What is the current series where the new series began in June 2011?
SELECT format FROM table_1000181_1 WHERE state_territory = "South Australia"
CREATE TABLE table_1000181_1 (format VARCHAR, state_territory VARCHAR), What is the format for South Australia?
SELECT text_background_colour FROM table_1000181_1 WHERE state_territory = "Australian Capital Territory"
CREATE TABLE table_1000181_1 (text_background_colour VARCHAR, state_territory VARCHAR), Name the background colour for the Australian Capital Territory
SELECT COUNT(fleet_series__quantity_) FROM table_10007452_3 WHERE fuel_propulsion = "CNG"
CREATE TABLE table_10007452_3 (fleet_series__quantity_ VARCHAR, fuel_propulsion VARCHAR), how many times is the fuel propulsion is cng?
SELECT fuel_propulsion FROM table_10007452_3 WHERE fleet_series__quantity_ = "310-329 (20)"
CREATE TABLE table_10007452_3 (fuel_propulsion VARCHAR, fleet_series__quantity_ VARCHAR), what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)?
SELECT manufacturer FROM table_10007452_3 WHERE order_year = "1998"
CREATE TABLE table_10007452_3 (manufacturer VARCHAR, order_year VARCHAR), who is the manufacturer for the order year 1998?
SELECT COUNT(manufacturer) FROM table_10007452_3 WHERE model = "GE40LFR"
CREATE TABLE table_10007452_3 (manufacturer VARCHAR, model VARCHAR), how many times is the model ge40lfr?
SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = "468-473 (6)"
CREATE TABLE table_10007452_3 (order_year VARCHAR, fleet_series__quantity_ VARCHAR), how many times is the fleet series (quantity) is 468-473 (6)?
SELECT powertrain__engine_transmission_ FROM table_10007452_3 WHERE order_year = "2000"
CREATE TABLE table_10007452_3 (powertrain__engine_transmission_ VARCHAR, order_year VARCHAR), what is the powertrain (engine/transmission) when the order year is 2000?
SELECT description FROM table_10006830_1 WHERE aircraft = "CH-47D Chinook"
CREATE TABLE table_10006830_1 (description VARCHAR, aircraft VARCHAR), What if the description of a ch-47d chinook?
SELECT max_gross_weight FROM table_10006830_1 WHERE aircraft = "Robinson R-22"
CREATE TABLE table_10006830_1 (max_gross_weight VARCHAR, aircraft VARCHAR), What is the max gross weight of the Robinson R-22?
SELECT school_club_team FROM table_10015132_1 WHERE no = "6"
CREATE TABLE table_10015132_1 (school_club_team VARCHAR, no VARCHAR), What school did player number 6 come from?
SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2012-present"
CREATE TABLE table_10015132_1 (school_club_team VARCHAR, years_in_toronto VARCHAR), What school did the player that has been in Toronto from 2012-present come from?
SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2010-2012"
CREATE TABLE table_10015132_1 (school_club_team VARCHAR, years_in_toronto VARCHAR), What school did the player that has been in Toronto from 2010-2012 go to?
SELECT position FROM table_10015132_1 WHERE school_club_team = "Baylor"
CREATE TABLE table_10015132_1 (position VARCHAR, school_club_team VARCHAR), What position did the player from Baylor play?
SELECT player FROM table_10015132_14 WHERE years_in_toronto = "1995-96"
CREATE TABLE table_10015132_14 (player VARCHAR, years_in_toronto VARCHAR), Who played in the Toronto Raptors from 1995-96?
SELECT no FROM table_10015132_14 WHERE player = "Patrick O'Bryant"
CREATE TABLE table_10015132_14 (no VARCHAR, player VARCHAR), Which number was Patrick O'Bryant?
SELECT school_club_team FROM table_10015132_14 WHERE player = "Patrick O'Bryant"
CREATE TABLE table_10015132_14 (school_club_team VARCHAR, player VARCHAR), What school did Patrick O'Bryant play for?
SELECT COUNT(no) FROM table_10015132_14 WHERE school_club_team = "Fordham"
CREATE TABLE table_10015132_14 (no VARCHAR, school_club_team VARCHAR), How many number does Fordham school have?
SELECT school_club_team FROM table_10015132_14 WHERE years_in_toronto = "2001-02"
CREATE TABLE table_10015132_14 (school_club_team VARCHAR, years_in_toronto VARCHAR), Which school was in Toronto in 2001-02?
SELECT school_club_team FROM table_10015132_21 WHERE years_in_toronto = "2004-05"
CREATE TABLE table_10015132_21 (school_club_team VARCHAR, years_in_toronto VARCHAR), Which school did the player that played 2004-05 attend?
SELECT position FROM table_10015132_21 WHERE player = "Loren Woods"
CREATE TABLE table_10015132_21 (position VARCHAR, player VARCHAR), Which position does Loren Woods play?
SELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = "1998-2001"
CREATE TABLE table_10015132_21 (no INTEGER, years_in_toronto VARCHAR), What number is the player that played 1998-2001
SELECT nationality FROM table_10015132_21 WHERE school_club_team = "Georgetown"
CREATE TABLE table_10015132_21 (nationality VARCHAR, school_club_team VARCHAR), Which country is the player that went to Georgetown from?
SELECT school_club_team FROM table_10015132_21 WHERE player = "Herb Williams"
CREATE TABLE table_10015132_21 (school_club_team VARCHAR, player VARCHAR), Which school did Herb Williams go to?
SELECT years_in_toronto FROM table_10015132_3 WHERE school_club_team = "Hawaii"
CREATE TABLE table_10015132_3 (years_in_toronto VARCHAR, school_club_team VARCHAR), When did the player from Hawaii play for Toronto?