conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (opponents_in_the_final VARCHAR, surface VARCHAR)"
},
{
"from": "human",
"value": "Who were the Opponents in the final that played on a carpet (i) Surface?"
},
{
"from": "gpt",
"value": "SELECT opponents_in_the_final FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Played on Clay Surface, what was the Score of the Dortmund Tournament?"
},
{
"from": "gpt",
"value": "SELECT score_in_the_final ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (opponents_in_the_final VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "Who is Partner Frederik Nielsen's Opponents in the final?"
},
{
"from": "gpt",
"value": "SELECT opponents_in_the_final FROM table_name_38 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "What is Partner Tomas Behrend's Score in the final?"
},
{
"from": "gpt",
"value": "SELECT score_in_the_final FROM table_name_48 WHERE partner = \"to... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What Country does Larry Mize play for?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_67 WHERE player = \"larry mize\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (total INTEGER, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What is the winning total from 1976?"
},
{
"from": "gpt",
"value": "SELECT MAX(total) FROM table_name_20 WHERE year_s__won = \"1976\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (year INTEGER, owner VARCHAR)"
},
{
"from": "human",
"value": "What year was owner Michael E. Pegram's last win?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_name_42 WHERE owner = \"michael e. pegram\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (trainer VARCHAR, owner VARCHAR)"
},
{
"from": "human",
"value": "Who is the trainer for Cherry Valley Farm?"
},
{
"from": "gpt",
"value": "SELECT trainer FROM table_name_94 WHERE owner = \"cherry valley farm\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (owner VARCHAR, year VARCHAR, winner VARCHAR)"
},
{
"from": "human",
"value": "Who owned winner Blueeyesintherein after 2009?"
},
{
"from": "gpt",
"value": "SELECT owner FROM table_name_75 WHERE year > 2009 AND winner = \"bluee... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who was the Blue Jays' opponent when their record was 33-15?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_8 WHERE record = \"33-15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (loss VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Who did the Blue Jays lose to when their record was 36-20?"
},
{
"from": "gpt",
"value": "SELECT loss FROM table_name_3 WHERE record = \"36-20\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (rank VARCHAR, qual VARCHAR)"
},
{
"from": "human",
"value": "What is the rank of the qual 141.471?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_3 WHERE qual = \"141.471\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (start VARCHAR, laps VARCHAR)"
},
{
"from": "human",
"value": "What is the start of lap 55?"
},
{
"from": "gpt",
"value": "SELECT start FROM table_name_18 WHERE laps = 55"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (rank VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is rank of the year 1956?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_63 WHERE year = \"1956\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (laps VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the lap number for the rank of 13?"
},
{
"from": "gpt",
"value": "SELECT laps FROM table_name_78 WHERE rank = \"13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (rank VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the rank for 1961?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_33 WHERE year = \"1961\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (laps INTEGER, finish VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the lap with a finish of 24?"
},
{
"from": "gpt",
"value": "SELECT SUM(laps) FROM table_name_60 WHERE finish = \"24\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR)"
},
{
"from": "human",
"value": "Which band plays Self Versus Self - Immersion?"
},
{
"from": "gpt",
"value": "SELECT band FROM table_name_17 WHERE album_or_song = \"self versus self - imme... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (event VARCHAR, method VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What Event used submission (rear naked choke) with 9-4?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_11 WHERE method = \"submission... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What event was Donald Ouimet involved?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_41 WHERE opponent = \"donald ouimet\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (event VARCHAR, position VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What event did she finish 3rd in 2010?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_37 WHERE position = \"3rd\" AND year = 2010"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR)"
},
{
"from": "human",
"value": "What year did she compete in tampere, finland?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_95 WHERE venue = \"tampere, finland\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (place VARCHAR, score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Ben Hogan with a score larger than 66 had a place listed of what?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_77 WHERE score > 66 A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (player VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "With a score of 70, this player's name is listed as what?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_27 WHERE score = 70"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (to_par VARCHAR, score VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "With a score smaller than 71 along with a place of t6, what is the To par score?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_69 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (hanyu_pinyin VARCHAR, gdp_2011__billion_yuan_ VARCHAR, regional_population_2010_ VARCHAR)"
},
{
"from": "human",
"value": "Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional population of 8,700,400 in 2010... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (hanzi VARCHAR, regional_population_2010_ VARCHAR)"
},
{
"from": "human",
"value": "Which Hanzi has a Regional Population of 4,591,972 in 2010?"
},
{
"from": "gpt",
"value": "SELECT hanzi FROM table_name_92 WHERE regional_popul... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (name VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the Name of the person from the Netherlands in a Lane lower than 5, with a Rank better than 5, and a time of less than 5... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (rank INTEGER, name VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Rank of Karen Pickering when she had a time of less than 55.71?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_59 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (lane INTEGER, time VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Lane number of a person with a time of 55.94 with a Rank that's bigger than 8?"
},
{
"from": "gpt",
"value": "SELECT MAX(lane) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (date VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game that had a loss of Burns (0-1)?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_85 WHERE loss = \"burns (0-1)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (loss VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the loss of the game when the record was 20-16?"
},
{
"from": "gpt",
"value": "SELECT loss FROM table_name_77 WHERE record = \"20-16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (loss VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What was the loss of the game that had an attendance of 18,769?"
},
{
"from": "gpt",
"value": "SELECT loss FROM table_name_22 WHERE attendance = \"18,769\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (date VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game that had a loss of Geisel (0-1)?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_5 WHERE loss = \"geisel (0-1)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (date VARCHAR, opponent VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the game against the Royals that had an attendance of 12,699?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (floors INTEGER, name VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "When Regions center has a rank less than 11, what is the greatest number o floors?"
},
{
"from": "gpt",
"value": "SELECT MAX(floors) FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (rank INTEGER, floors VARCHAR)"
},
{
"from": "human",
"value": "What is the average rank for a building with 24 floors?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) FROM table_name_84 WHERE floors = 24"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (rank INTEGER, name VARCHAR)"
},
{
"from": "human",
"value": "What is the rank for Omni nashville hotel?"
},
{
"from": "gpt",
"value": "SELECT SUM(rank) FROM table_name_89 WHERE name = \"omni nashville hotel\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (rank INTEGER, name VARCHAR)"
},
{
"from": "human",
"value": "What is the greatest rank for Fifth third center?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_27 WHERE name = \"fifth third center\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (year INTEGER, rank VARCHAR, floors VARCHAR, height_ft__m_ VARCHAR)"
},
{
"from": "human",
"value": "When a building is 292 (89) ft (m) tall, has less than 23 floors, and ranks less than 14, what is the average year?"
},
{
"from": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (regular_season___preseason VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What type of regular season/preseason game was played on August 25, 2007?"
},
{
"from": "gpt",
"value": "SELECT regular_season___preseason FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (stadium VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "In what stadium was the game on August 22, 2008 played?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_36 WHERE date = \"august 22, 2008\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (stadium VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "In what stadium was the home team Dallas Cowboys 21?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_89 WHERE home_team = \"dallas cowboys 21\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (date VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "On what date was the home team the Dallas Cowboys 34?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_28 WHERE home_team = \"dallas cowboys 34\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the visiting team on October 15, 2006?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_59 WHERE date = \"october 15, 2006\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR)"
},
{
"from": "human",
"value": "What's the smallest amount of Laps that had a finish of 7 with a start of 6?"
},
{
"from": "gpt",
"value": "SELECT MIN(laps) FROM table_name_49 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (bronze INTEGER, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (bronze INTEGER, rank VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "What is the average bronze with a rank of 4 and less than 1 silver?"
},
{
"from": "gpt",
"value": "SELECT AVG(bronze) FROM table_name_73 WHERE rank... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (silver VARCHAR, gold VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which silver has a Gold larger than 4, and a Rank of 1?"
},
{
"from": "gpt",
"value": "SELECT silver FROM table_name_74 WHERE gold > 4 AND rank = 1"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT MIN(bronz... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT SUM(gold) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (total VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "How many Totals have a Silver smaller than 2, and a Nation of ukraine, and a Gold smaller than 3?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (player VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Which player played in 2007?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_17 WHERE season = \"2007\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was Min Patel's bowling?"
},
{
"from": "gpt",
"value": "SELECT bowling FROM table_name_7 WHERE player = \"min patel\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (week_1 VARCHAR, week_2 VARCHAR)"
},
{
"from": "human",
"value": "Who was the week 1 nomination when the week 2 nomination was Piia Jarkko?"
},
{
"from": "gpt",
"value": "SELECT week_1 FROM table_name_35 WHERE week_2 = \"piia j... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (week_12 VARCHAR, week_9 VARCHAR)"
},
{
"from": "human",
"value": "Who was the week 12 nomination when the week 9 nomination walked (day 11)?"
},
{
"from": "gpt",
"value": "SELECT week_12 FROM table_name_10 WHERE week_9 = \"wal... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (week_12 VARCHAR, week_1 VARCHAR, week_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the week 12 nomination that had a week 1 nomination of Maria Maxine and a week 2 nomination of Henri Satu?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (height_m___ft__ VARCHAR, city_of_license VARCHAR)"
},
{
"from": "human",
"value": "Name the heightfor city of license of malone, ny"
},
{
"from": "gpt",
"value": "SELECT height_m___ft__ FROM table_name_44 WHERE city_of_license... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (class VARCHAR, call_sign VARCHAR)"
},
{
"from": "human",
"value": "Name the class with call sign of wmhn"
},
{
"from": "gpt",
"value": "SELECT class FROM table_name_74 WHERE call_sign = \"wmhn\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (frequency VARCHAR, class VARCHAR)"
},
{
"from": "human",
"value": "Name the frequency with class of b"
},
{
"from": "gpt",
"value": "SELECT frequency FROM table_name_78 WHERE class = \"b\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (city_of_license VARCHAR, frequency VARCHAR)"
},
{
"from": "human",
"value": "Name the city of license with frequency of 90.1 fm"
},
{
"from": "gpt",
"value": "SELECT city_of_license FROM table_name_37 WHERE frequency = \"90.1 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (engine_s_ VARCHAR, tyres VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the Engine(s) that has f Tyres in 1971?"
},
{
"from": "gpt",
"value": "SELECT engine_s_ FROM table_name_68 WHERE tyres = \"f\" AND year ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (att INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What was the attendance on June 27?"
},
{
"from": "gpt",
"value": "SELECT MIN(att) FROM table_name_6 WHERE date = \"june 27\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the surface for 12 september 2006"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_3 WHERE date = \"12 september 2006\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (score VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Name the score for opponent in the final being paul baccanello"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_46 WHERE opponent_in_the... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the surface for 20 march 2007"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_5 WHERE date = \"20 march 2007\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (date VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Name the date for opponent in the final being ignasi villacampa"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_5 WHERE opponent_in_the_fi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (tournament VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Name the tournament for grass surface and opponent in the final being paul baccanello"
},
{
"from": "gpt",
"value": "SELECT t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (year INTEGER, location VARCHAR, champion VARCHAR)"
},
{
"from": "human",
"value": "When is the earliest year in milan that guillermo vilas was champion?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_43 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "Where in 1985 was tim mayotte runner up?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_13 WHERE year > 1985 AND runner_up = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (score VARCHAR, year VARCHAR, champion VARCHAR)"
},
{
"from": "human",
"value": "What was the score when stefan edberg won after 1978?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_68 WHERE year > 1978 AND champio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (facility_id INTEGER, city_of_license VARCHAR, erp_kw VARCHAR)"
},
{
"from": "human",
"value": "What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5?"
},
{
"from": "gpt",
"value": "SELECT M... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (city_of_license VARCHAR, erp_kw VARCHAR, station VARCHAR)"
},
{
"from": "human",
"value": "What is the City of license that has a ERP kW more than 4.5 and w23dr-d?"
},
{
"from": "gpt",
"value": "SELECT city_of_license FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (location VARCHAR, date_of_demolition VARCHAR, church_name VARCHAR)"
},
{
"from": "human",
"value": "What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (date_of_demolition VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "How many dates of demolition are located on Wood Street?"
},
{
"from": "gpt",
"value": "SELECT COUNT(date_of_demolition) FROM table_name_7 WHERE loc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was Olga Govortsova's score when she played on a clay surface on 19 May 2008?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_11 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (outcome VARCHAR, surface VARCHAR)"
},
{
"from": "human",
"value": "What was Olga Govortsova's outcome when she played on a grass surface?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_59 WHERE surface = \"grass... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (score VARCHAR, surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was Olga Govortsova's goal when she played on a clay surface on 26 May 2012?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_84 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (mountain_range VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which mountain range has a rank of 19?"
},
{
"from": "gpt",
"value": "SELECT mountain_range FROM table_name_35 WHERE rank = 19"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (mountain_range VARCHAR, mountain_peak VARCHAR)"
},
{
"from": "human",
"value": "Which mountain range includes Mount Hubbard?"
},
{
"from": "gpt",
"value": "SELECT mountain_range FROM table_name_64 WHERE mountain_peak = \"mount... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (province VARCHAR, mountain_range VARCHAR)"
},
{
"from": "human",
"value": "Which province includes Axel Heiberg Island?"
},
{
"from": "gpt",
"value": "SELECT province FROM table_name_25 WHERE mountain_range = \"axel heiberg is... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (notes VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What are the notes of events that finished in 12th position?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_94 WHERE position = \"12th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (venue VARCHAR, position VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which venue was finished in 2nd position in 1985?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_40 WHERE position = \"2nd\" AND year... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (year INTEGER, venue VARCHAR)"
},
{
"from": "human",
"value": "What is the average year of events that took place in Antwerp, Belgium?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_97 WHERE venue = \"antwerp, ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (year INTEGER, notes VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes?"
},
{
"from": "gpt",
"value": "SELECT MAX... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (label VARCHAR, format VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What was the label's format LP and catalog of CH-9192?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_76 WHERE format = \"lp\" AND c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "When was Catalog CHD-9192 published?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_66 WHERE catalog = \"chd-9192\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (fcc_info VARCHAR, frequency_mhz VARCHAR)"
},
{
"from": "human",
"value": "I need the FCC info on the radio Frequency MHz 107.5?"
},
{
"from": "gpt",
"value": "SELECT fcc_info FROM table_name_64 WHERE frequency_mhz = 107.5"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (frequency_mhz VARCHAR, city_of_license VARCHAR)"
},
{
"from": "human",
"value": "Give me the MHz Frequency of Allapattah, Florida."
},
{
"from": "gpt",
"value": "SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (class VARCHAR, call_sign VARCHAR)"
},
{
"from": "human",
"value": "What class does the w298ak sign belong to?"
},
{
"from": "gpt",
"value": "SELECT class FROM table_name_10 WHERE call_sign = \"w298ak\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (class VARCHAR, erp_w VARCHAR)"
},
{
"from": "human",
"value": "What class is ERP W of 800?"
},
{
"from": "gpt",
"value": "SELECT class FROM table_name_9 WHERE erp_w = 800"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (lost INTEGER, place VARCHAR, points VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (goals_scored INTEGER, points VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (played INTEGER, place INTEGER)"
},
{
"from": "human",
"value": "What is listed as the Highest Played and that has a Place that is larger than 10?"
},
{
"from": "gpt",
"value": "SELECT MAX(played) FROM table_name_9 WHERE place >... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (played INTEGER, points VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "What is listed as the Highest Played, has Points of 17, and Draw that is smaller than 5?"
},
{
"from": "gpt",
"value": "SELECT MAX(played) FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "When was the game that ended with a score of 6-4?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_38 WHERE score = \"6-4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the score on April 8?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_39 WHERE date = \"april 8\""
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.