conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "WHAT PLACE WAS A SCORE 67-70=137?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_48 WHERE score = 67 - 70 = 137"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (country VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "WHAT COUNTRY HAS A T7 PLACE, WITH IAN WOOSNAM?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_13 WHERE place = \"t7\" AND player =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "WHAT COUNTRY HAS A SCORE OF 68-70=138?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_58 WHERE score = 68 - 70 = 138"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (week INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "What was the earliest week when the New Orleans Saints were the opponents?"
},
{
"from": "gpt",
"value": "SELECT MIN(week) FROM table_name_31 WHERE opponent = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (opponent VARCHAR, tv_time VARCHAR)"
},
{
"from": "human",
"value": "What was the name of the opponent that having a TV time of Bye?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_19 WHERE tv_time = \"bye\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "What year did the Grizzlies play for the UNLV team?"
},
{
"from": "gpt",
"value": "SELECT years_for_grizzlies FROM table_name_81 WHERE sch... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (nationality VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What nationality is the forward/center position?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_37 WHERE position = \"forward/center\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (school_club_team VARCHAR, years_for_grizzlies VARCHAR, nationality VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What team is from the United States and plays a guard position for the Grizzlies in 2012?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (position VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR)"
},
{
"from": "human",
"value": "What position is the player from the United States play for the Grizzlies from 2000-2001?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (bronze VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Bronze, when Gold is greater than 0, when Rank is 4, and when Total is greater than 4?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (total VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Total, when Gold is less than 1, when Silver is greater than 0, when Rank is 14, and when Nation is Af... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (gold INTEGER, silver VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Gold, when Silver is 0, and when Bronze is 2?"
},
{
"from": "gpt",
"value": "SELECT MIN(gold) FROM table_name_52 WHERE silver = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the average Bronze, when Silver is 0, when Rank is 19, and when Total is greater than 2?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (pieces INTEGER, release VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest number of pieces for a board released in 1984?"
},
{
"from": "gpt",
"value": "SELECT MIN(pieces) FROM table_name_15 WHERE release = 1984"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (board__cm_ VARCHAR, release VARCHAR, start VARCHAR, type VARCHAR)"
},
{
"from": "human",
"value": "What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (pieces INTEGER, start VARCHAR, release VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of pieces for boards that started in 1941 and were released after 2001?"
},
{
"from": "gpt",
"value": "SELECT AVG(piec... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (board__inches_ VARCHAR, release VARCHAR, start VARCHAR)"
},
{
"from": "human",
"value": "What are the dimensions in inches of the board released before 2004, that started in 1941?"
},
{
"from": "gpt",
"value": "SELECT board__i... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR)"
},
{
"from": "human",
"value": "What is Venue, when Against is less than 30, and when Opposing Team is New South Wales?"
},
{
"from": "gpt",
"value": "SELECT venue FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Status, when Date is 10/05/1975?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_33 WHERE date = \"10/05/1975\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (against INTEGER, opposing_team VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Against, when Opposing Team is Queensland?"
},
{
"from": "gpt",
"value": "SELECT MIN(against) FROM table_name_92 WHERE opposing_team =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (date VARCHAR, status VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Status is Second Test?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_34 WHERE status = \"second test\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (name VARCHAR, place_of_birth VARCHAR)"
},
{
"from": "human",
"value": "Who was born in Porsgrunn?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_27 WHERE place_of_birth = \"porsgrunn\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (studio VARCHAR, rank VARCHAR, director VARCHAR)"
},
{
"from": "human",
"value": "Which Studio has a Rank smaller than 3, and a Director of adrian lyne?"
},
{
"from": "gpt",
"value": "SELECT studio FROM table_name_71 WHERE rank... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (rank INTEGER, gross VARCHAR)"
},
{
"from": "human",
"value": "Which Rank is the lowest one that has a Gross of $54,215,416?"
},
{
"from": "gpt",
"value": "SELECT MIN(rank) FROM table_name_24 WHERE gross = \"$54,215,416\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the match against John McEnroe with a Score of 3–6, 6–3, 2–6?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_73 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Opponent of the game in 1989?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_76 WHERE date = 1989"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (pick INTEGER, name VARCHAR)"
},
{
"from": "human",
"value": "What is the highest pick of ron whaley?"
},
{
"from": "gpt",
"value": "SELECT MAX(pick) FROM table_name_58 WHERE name = \"ron whaley\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (overall INTEGER, pick VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "What is the overall sum of the game with a pick less than 8 from the college of western michigan?"
},
{
"from": "gpt",
"value": "SELECT SUM(overa... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (position VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "What is the position of the player from the college of western michigan?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_92 WHERE college = \"w... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (round INTEGER, overall VARCHAR, pick VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest round of bob caldwell, who has a pick greater than 7 and an overall larger than 162?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (college VARCHAR, pick VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the college of dave adams, who has a pick greater than 7?"
},
{
"from": "gpt",
"value": "SELECT college FROM table_name_63 WHERE pick > 7 AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (game VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What game took place on April 28?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_name_33 WHERE date = \"april 28\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (east VARCHAR, west VARCHAR)"
},
{
"from": "human",
"value": "What is the east with ev landsberg as the west?"
},
{
"from": "gpt",
"value": "SELECT east FROM table_name_83 WHERE west = \"ev landsberg\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (north VARCHAR, south VARCHAR)"
},
{
"from": "human",
"value": "What is the north with sb rosenheim as the south?"
},
{
"from": "gpt",
"value": "SELECT north FROM table_name_45 WHERE south = \"sb rosenheim\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (south VARCHAR, west VARCHAR, east VARCHAR)"
},
{
"from": "human",
"value": "What is the south with ev lindau as the west and svg burgkirchen as the east?"
},
{
"from": "gpt",
"value": "SELECT south FROM table_name_24 WHERE wes... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (season VARCHAR, north VARCHAR, south VARCHAR, west VARCHAR)"
},
{
"from": "human",
"value": "What season has esc holzkirchen south, esv buchloe west, and ehc bayreuth north?"
},
{
"from": "gpt",
"value": "SELECT season FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (south VARCHAR, east VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is south in the 2001-02 season, which had germering wanderers east?"
},
{
"from": "gpt",
"value": "SELECT south FROM table_name_92 WHERE east =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (west VARCHAR, south VARCHAR)"
},
{
"from": "human",
"value": "What was west when ev fürstenfeldbruck was south?"
},
{
"from": "gpt",
"value": "SELECT west FROM table_name_28 WHERE south = \"ev fürstenfeldbruck\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (earnings_per_share__p_ INTEGER, year_ended VARCHAR, revenue__£million_ VARCHAR)"
},
{
"from": "human",
"value": "When revenue is smaller than 4,177 million in year 2008, what is the sum of earnings per share?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (earnings_per_share__p_ VARCHAR, year_ended VARCHAR)"
},
{
"from": "human",
"value": "What is the year 2007 earnings per share?"
},
{
"from": "gpt",
"value": "SELECT earnings_per_share__p_ FROM table_name_47 WHERE year_ended = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__£m_ VARCHAR)"
},
{
"from": "human",
"value": "What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 m... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (profit__loss__before_tax__ VARCHAR, year_ended VARCHAR, net_profit__£m_ VARCHAR)"
},
{
"from": "human",
"value": "In year 2011 what is sum of profit/loss before tax and net profit larger than 123.8 million?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (goals_for INTEGER, lost VARCHAR, goals_against VARCHAR, points_1 VARCHAR)"
},
{
"from": "human",
"value": "What is the highest goals for less than 63 goals against, more than 65 points 1, and more than 10 losses?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (position INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "What is the highest position for less than 42 played?"
},
{
"from": "gpt",
"value": "SELECT MAX(position) FROM table_name_48 WHERE played < 42"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (december INTEGER, record VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the average day in December with a Record of 16-3-4 and a Game smaller than 23?"
},
{
"from": "gpt",
"value": "SELECT AVG(december) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (winners INTEGER, runners_up INTEGER)"
},
{
"from": "human",
"value": "When the Runners-Up is larger than 0, what's the sum of winners?"
},
{
"from": "gpt",
"value": "SELECT SUM(winners) FROM table_name_38 WHERE runners_up > 0"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (runners_up INTEGER, team VARCHAR, winners VARCHAR)"
},
{
"from": "human",
"value": "When there are more than 1 winners and the team playing is pachuca, what's the lowest runners-up found?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (name VARCHAR, assists VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Name that has the Assists of lake (154) lake (5.1 apg)?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_45 WHERE assists = \"lake (... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (name VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Name that has the Place of 1?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_86 WHERE place = 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (rebounds VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Rebounds that has the Name of pom baskets jena?"
},
{
"from": "gpt",
"value": "SELECT rebounds FROM table_name_27 WHERE name = \"pom baskets ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (steals VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Steals that has the Place of 6?"
},
{
"from": "gpt",
"value": "SELECT steals FROM table_name_13 WHERE place = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (callsign VARCHAR, area_served VARCHAR, freq_currently VARCHAR)"
},
{
"from": "human",
"value": "What is the Callsign in Brisbane with a Freq currently of 4rph?"
},
{
"from": "gpt",
"value": "SELECT callsign FROM table_name_52 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (freq_currently VARCHAR, callsign VARCHAR)"
},
{
"from": "human",
"value": "What is the Freq currently of the 4GG Callsign?"
},
{
"from": "gpt",
"value": "SELECT freq_currently FROM table_name_7 WHERE callsign = \"4gg\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (band VARCHAR, purpose VARCHAR, callsign VARCHAR)"
},
{
"from": "human",
"value": "What is the Community Band with a 4BCB Callsign?"
},
{
"from": "gpt",
"value": "SELECT band FROM table_name_95 WHERE purpose = \"community\" AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (purpose VARCHAR, freq_currently VARCHAR)"
},
{
"from": "human",
"value": "What is the Purpose of the Callsign with a Freq currently of 4gld?"
},
{
"from": "gpt",
"value": "SELECT purpose FROM table_name_59 WHERE freq_currently... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (purpose VARCHAR, freq_currently VARCHAR)"
},
{
"from": "human",
"value": "What is the Purpose of the Callsign with a Freq currently of 4rph?"
},
{
"from": "gpt",
"value": "SELECT purpose FROM table_name_43 WHERE freq_currently... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (press VARCHAR, world_record VARCHAR, roger_françois VARCHAR)"
},
{
"from": "human",
"value": "What was the press like for the world olympic record holder Roger Francois and Jaan Kikkas?"
},
{
"from": "gpt",
"value": "SELECT pr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (paris___fra__ VARCHAR, roger_françois VARCHAR)"
},
{
"from": "human",
"value": "What was the press like in Paris for Roger Francois, and Carlo Galimberti?"
},
{
"from": "gpt",
"value": "SELECT paris___fra__ FROM table_name_67 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (roger_françois VARCHAR, world_record VARCHAR)"
},
{
"from": "human",
"value": "What is the total amount of world records for Roger Francois?"
},
{
"from": "gpt",
"value": "SELECT roger_françois FROM table_name_54 WHERE world_r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What place had a score of 71-70-73-71=285?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_50 WHERE score = 71 - 70 - 73 - 71 = 285"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (money___ VARCHAR, place VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "How much money for 1st place with a to par less than 1?"
},
{
"from": "gpt",
"value": "SELECT COUNT(money___) AS $__ FROM table_name_51 WHERE pl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (player VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What Player had a To par of +1?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_39 WHERE to_par = \"+1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (country VARCHAR, to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Country of the Player with a To par of +4 and Score of 73-71-73=217?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_94... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_45 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Place of the Player with a Score of 72-70-72=214?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_86 WHERE score = 72 - 70 - 72 = 214"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (team VARCHAR, kitmaker VARCHAR, shirt_sponsor VARCHAR)"
},
{
"from": "human",
"value": "Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (team VARCHAR, head_coach VARCHAR)"
},
{
"from": "human",
"value": "For the team led by head coach Felix Magath, who is the team captain?"
},
{
"from": "gpt",
"value": "SELECT team AS Captain FROM table_name_91 WHERE head_coach... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (team VARCHAR, shirt_sponsor VARCHAR)"
},
{
"from": "human",
"value": "For the team whose shirt sponsor is Krombacher, who is the team captain?"
},
{
"from": "gpt",
"value": "SELECT team AS Captain FROM table_name_12 WHERE shir... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (kitmaker VARCHAR, shirt_sponsor VARCHAR)"
},
{
"from": "human",
"value": "For the team whose shirt sponsor is Evonik, who is the kitmaker?"
},
{
"from": "gpt",
"value": "SELECT kitmaker FROM table_name_54 WHERE shirt_sponsor =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (shirt_back_sponsor VARCHAR, shorts_sponsor VARCHAR)"
},
{
"from": "human",
"value": "Who is the Shirt Back Sponsor if the Shorts Sponsor is Telestet?"
},
{
"from": "gpt",
"value": "SELECT shirt_back_sponsor FROM table_name_69 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (res VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Which of the Res., has Ryan Scheepe as an opponent?"
},
{
"from": "gpt",
"value": "SELECT res FROM table_name_34 WHERE opponent = \"ryan scheepe\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What position is Jeff Brown?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_74 WHERE player = \"jeff brown\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (player VARCHAR, cfl_team VARCHAR)"
},
{
"from": "human",
"value": "which player played on Team Hamilton?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_33 WHERE cfl_team = \"hamilton\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (cfl_team VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What CFL team does Jeff brown play for?"
},
{
"from": "gpt",
"value": "SELECT cfl_team FROM table_name_16 WHERE player = \"jeff brown\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (pick__number VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of picks for Calgary College?"
},
{
"from": "gpt",
"value": "SELECT COUNT(pick__number) FROM table_name_30 WHERE college = \"calg... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (home VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the home team when the record was 2-3?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_38 WHERE record = \"2-3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the record on April 10?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_75 WHERE date = \"april 10\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (spacecraft VARCHAR, end_time VARCHAR)"
},
{
"from": "human",
"value": "What spacecraft had an EVA that ended at 17:28?"
},
{
"from": "gpt",
"value": "SELECT spacecraft FROM table_name_66 WHERE end_time = \"17:28\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (crew VARCHAR, start_date_time VARCHAR)"
},
{
"from": "human",
"value": "What crew's EVA started on 20 February 20:09?"
},
{
"from": "gpt",
"value": "SELECT crew FROM table_name_33 WHERE start_date_time = \"20 february 20:09\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)"
},
{
"from": "human",
"value": "The EVA that started on 8 July 12:38 went for how long?"
},
{
"from": "gpt",
"value": "SELECT duration FROM table_name_83 WHERE start_date_time = \"8 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (spacecraft VARCHAR, start_date_time VARCHAR)"
},
{
"from": "human",
"value": "The EVA that started 8 July 12:38 was from what spacecraft?"
},
{
"from": "gpt",
"value": "SELECT spacecraft FROM table_name_96 WHERE start_date_tim... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)"
},
{
"from": "human",
"value": "How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and les... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, venue VARCHAR, goals VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the k-league cup, which has less than 28 goals, at the jeonju venue?"
},
{
"from": "gpt",
"value": "SELECT d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (total_as INTEGER, venue VARCHAR, team VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the total As of team bucheon sk, who had the chunnam dragons as their opponent at the bucheon venue?"
},
{
"from"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (assists INTEGER, name VARCHAR, venue VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the assists kang jae-soon had in the k-league competition in ulsan?"
},
{
"from": "gpt",
"value": "SELECT SU... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (goals INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the goals on 2007-06-16?"
},
{
"from": "gpt",
"value": "SELECT SUM(goals) FROM table_name_16 WHERE date = \"2007-06-16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was Bill Glasson's score to par after 2 rounds?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_76 WHERE player = \"bill glasson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was Phil Mickelson's score to par?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_20 WHERE player = \"phil mickelson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What place was Bill Glasson in?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_49 WHERE player = \"bill glasson\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (pick INTEGER, overall VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What is the average pick with 85 overall in a round lower than 3?"
},
{
"from": "gpt",
"value": "SELECT AVG(pick) FROM table_name_36 WHERE overall ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (Id VARCHAR)"
},
{
"from": "human",
"value": "What was the 2009 results that has q1 for 2010, and A as the result for 2011?"
},
{
"from": "gpt",
"value": "SELECT 2009 FROM table_name_71 WHERE 2010 = \"q1\" AND 2011 = \"a\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (Id VARCHAR)"
},
{
"from": "human",
"value": "What were the 2009 results that has 0 in 2010?"
},
{
"from": "gpt",
"value": "SELECT 2009 FROM table_name_52 WHERE 2010 = \"0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (Id VARCHAR)"
},
{
"from": "human",
"value": "With a 2011 of 0 what was the 2006 result?"
},
{
"from": "gpt",
"value": "SELECT 2006 FROM table_name_83 WHERE 2011 = \"0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the result for 2004 when A is the result for 2005, and the result of q1 when 2009?"
},
{
"from": "gpt",
"value": "SELECT 2004 FROM table_name_32 WHERE 2005 = \"a\" AND 2009 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (Id VARCHAR)"
},
{
"from": "human",
"value": "With a 2008 result of 153 what is the result for 2007?"
},
{
"from": "gpt",
"value": "SELECT 2007 FROM table_name_23 WHERE 2008 = \"153\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What are the results in 2008 when 2009 is 0, and the ATP Tournaments Won is the tournament?"
},
{
"from": "gpt",
"value": "SELECT 2008 FROM table_name_36 WHERE 2009 = \"0\" ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (team VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which team was in 1951?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_40 WHERE year = 1951"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (date VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the match with arnaud di pasquale as the opponent in the final?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_69 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the match with a winner outcome and jim courier as the opponent in the final?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.