conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (finish VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the Finish for the 1950–51? season?"
},
{
"from": "gpt",
"value": "SELECT finish FROM table_name_22 WHERE season = \"1950–51\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the Losses at the western conference and the 2004–05 season?"
},
{
"from": "gpt",
"value": "SELECT losses FROM table_name_51 WHERE co... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (season VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What Season has wins as the philadelphia warriors (nba)?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_28 WHERE wins = \"philadelphia warriors (nba)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (wins VARCHAR, season VARCHAR, conference VARCHAR, division VARCHAR)"
},
{
"from": "human",
"value": "What shows for Wins when there was a Conference of —, western division, in the 1967–68 season?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (conference VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the Conference for the 1967–68 season?"
},
{
"from": "gpt",
"value": "SELECT conference FROM table_name_71 WHERE season = \"1967–68\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (location VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the Location when the time was 11:55?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_22 WHERE time = \"11:55\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (round VARCHAR, time VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What Round has a Time of n/a, in rio de janeiro , brazil?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_5 WHERE time = \"n/a\" AND lo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (round VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What is the Round for the jiu-jitsu vs martial arts?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_20 WHERE event = \"jiu-jitsu vs martial arts\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (location VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What is the Location for the jiu-jitsu vs martial arts?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_36 WHERE event = \"jiu-jitsu vs martial a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (event VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the Event when the opponent was wesslan evaristo de oliveira?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_79 WHERE opponent = \"wesslan ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (points VARCHAR, bike VARCHAR, riders VARCHAR)"
},
{
"from": "human",
"value": "How many points does Kohta Nozane have with a Motobi TSR 6?"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_42 WHERE bike = \"motobi t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (average VARCHAR, band VARCHAR)"
},
{
"from": "human",
"value": "Which Average has a Band of f?"
},
{
"from": "gpt",
"value": "SELECT average FROM table_name_57 WHERE band = \"f\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (band VARCHAR, ratio VARCHAR)"
},
{
"from": "human",
"value": "Which Band has a Ratio of 9/9?"
},
{
"from": "gpt",
"value": "SELECT band FROM table_name_76 WHERE ratio = \"9/9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (band VARCHAR, ratio VARCHAR)"
},
{
"from": "human",
"value": "Which Band has a Ratio of 13/9?"
},
{
"from": "gpt",
"value": "SELECT band FROM table_name_99 WHERE ratio = \"13/9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (year INTEGER, winning_team VARCHAR, losing_team VARCHAR)"
},
{
"from": "human",
"value": "What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (winning_team VARCHAR, losing_team VARCHAR)"
},
{
"from": "human",
"value": "Who won the series when the San Francisco Giants lost?"
},
{
"from": "gpt",
"value": "SELECT winning_team FROM table_name_92 WHERE losing_team = \"san... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (site VARCHAR, winning_team VARCHAR)"
},
{
"from": "human",
"value": "Where was the series that the Kansas City Royals lost?"
},
{
"from": "gpt",
"value": "SELECT site FROM table_name_65 WHERE winning_team = \"kansas city royal... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (winning_team VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who was the winning team in 2008?"
},
{
"from": "gpt",
"value": "SELECT winning_team FROM table_name_22 WHERE year = 2008"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (lost INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "What average lost has points greater than 108?"
},
{
"from": "gpt",
"value": "SELECT AVG(lost) FROM table_name_49 WHERE points > 108"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (lost INTEGER, goals_against VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "How many losses have 222 as the goals against, with points greater than 78?"
},
{
"from": "gpt",
"value": "SELECT SUM(lost) FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (goals_against INTEGER, points VARCHAR, games VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "How many goals against have 64 for games, a loss less than 12, with points greater than 107?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (place INTEGER, song VARCHAR)"
},
{
"from": "human",
"value": "What is the place of the song 'Never Change'?"
},
{
"from": "gpt",
"value": "SELECT SUM(place) FROM table_name_79 WHERE song = \"never change\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (song VARCHAR, artist VARCHAR)"
},
{
"from": "human",
"value": "What is the name of Aleko Berdzenishvili's song?"
},
{
"from": "gpt",
"value": "SELECT song FROM table_name_18 WHERE artist = \"aleko berdzenishvili\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (pick INTEGER, position VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest pick for the RHP position and player Mike Biko?"
},
{
"from": "gpt",
"value": "SELECT MIN(pick) FROM table_name_67 WHERE posi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (martin_mcguinness VARCHAR, david_norris VARCHAR)"
},
{
"from": "human",
"value": "What is the Martin McGuinness with a David Norris that is 10.3%?"
},
{
"from": "gpt",
"value": "SELECT martin_mcguinness FROM table_name_16 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR)"
},
{
"from": "human",
"value": "What is the Martin mcGuinness with a Sean Gallagher that is 29.6%?"
},
{
"from": "gpt",
"value": "SELECT martin_mcguinness FROM table_name_3 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (david_norris VARCHAR, michael_d_higgins VARCHAR)"
},
{
"from": "human",
"value": "What is the David Norris with a Michael D. Higgins that is 46.2%?"
},
{
"from": "gpt",
"value": "SELECT david_norris FROM table_name_92 WHERE mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (mary_davis VARCHAR, gay_mitchell VARCHAR)"
},
{
"from": "human",
"value": "What is the Mary Davis with a Gay Mitchell that is 4.6%?"
},
{
"from": "gpt",
"value": "SELECT mary_davis FROM table_name_96 WHERE gay_mitchell = \"4.6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (prev VARCHAR, chng VARCHAR, rating VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the total number of Prev that has the Chng of +10, and the Rating larger than 2765?"
},
{
"from": "gpt",
"value": "SELECT COUNT(prev)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (second_member VARCHAR, election VARCHAR, second_party VARCHAR, third_party VARCHAR)"
},
{
"from": "human",
"value": "Who is the second member for the Second Party Liberal, and the Third Party Conservative, after the 1841 election?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (third_member VARCHAR, second_member VARCHAR, second_party VARCHAR, third_party VARCHAR)"
},
{
"from": "human",
"value": "Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (third_member VARCHAR, third_party VARCHAR, second_party VARCHAR)"
},
{
"from": "human",
"value": "Who is the third member of the third conservative party, and the second liberal party?"
},
{
"from": "gpt",
"value": "SELECT thi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)"
},
{
"from": "human",
"value": "What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (record VARCHAR, head_coach VARCHAR)"
},
{
"from": "human",
"value": "What was the record of the team with head coach Steve Spurrier?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_8 WHERE head_coach = \"steve spur... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (record VARCHAR, team VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What was USC's record before the 1967 season?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_34 WHERE team = \"usc\" AND season < 196... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (record VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What was the record during the 1973 season?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_74 WHERE season = 1973"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (average VARCHAR, place VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the average score for 6th place with a total of 165?"
},
{
"from": "gpt",
"value": "SELECT average FROM table_name_49 WHERE place = \"6th\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is the total with a 74 rank by average for 8th place?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_70 WHERE rank_by_av... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (place VARCHAR, season VARCHAR, rank_by_average VARCHAR)"
},
{
"from": "human",
"value": "What was the place in season 8 with a rank by average at 139?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_21 WHERE season... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (total VARCHAR, place VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the total for 3rd place on season 9?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_41 WHERE place = \"3rd\" AND season = \"9\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (rank_by_average VARCHAR, number_of_dances VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What rank by average has 1 dance on season 9?"
},
{
"from": "gpt",
"value": "SELECT rank_by_average FROM table_name_34 WHERE n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (final_round VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the final round score for the player from the Milwaukee Bucks?"
},
{
"from": "gpt",
"value": "SELECT final_round FROM table_name_31 WHERE team = \"mi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (pos VARCHAR, first_round VARCHAR)"
},
{
"from": "human",
"value": "What position does the player with a first round score of 35.7 play?"
},
{
"from": "gpt",
"value": "SELECT pos FROM table_name_21 WHERE first_round = \"35.7\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (height VARCHAR, first_round VARCHAR)"
},
{
"from": "human",
"value": "What is the height of the player with a first round score of 44.1?"
},
{
"from": "gpt",
"value": "SELECT height FROM table_name_1 WHERE first_round = \"44.1\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (player VARCHAR, weight VARCHAR)"
},
{
"from": "human",
"value": "Which player weighs 187 pounds?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_87 WHERE weight = 187"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (illustrator VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who was the illustrator in 1987?"
},
{
"from": "gpt",
"value": "SELECT illustrator FROM table_name_79 WHERE year = 1987"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (year VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "How many years was the title drop dead?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_94 WHERE title = \"drop dead\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (publisher VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "Which publisher has a title of drop dead?"
},
{
"from": "gpt",
"value": "SELECT publisher FROM table_name_93 WHERE title = \"drop dead\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (greek VARCHAR, german VARCHAR)"
},
{
"from": "human",
"value": "What Greek word means the same thing as the German word ebbe?"
},
{
"from": "gpt",
"value": "SELECT greek FROM table_name_99 WHERE german = \"ebbe\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (german VARCHAR, icelandic VARCHAR)"
},
{
"from": "human",
"value": "What word in German translates into the Icelandic word efja?"
},
{
"from": "gpt",
"value": "SELECT german FROM table_name_10 WHERE icelandic = \"efja\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (dutch VARCHAR, latin VARCHAR)"
},
{
"from": "human",
"value": "What is the Dutch translation of the Latin word navigo?"
},
{
"from": "gpt",
"value": "SELECT dutch FROM table_name_3 WHERE latin = \"navigo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (dutch VARCHAR, greek VARCHAR)"
},
{
"from": "human",
"value": "What Dutch word has the same meaning as the Greek word πλέω (pléō)?"
},
{
"from": "gpt",
"value": "SELECT dutch FROM table_name_1 WHERE greek = \"πλέω (pléō)\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (english VARCHAR)"
},
{
"from": "human",
"value": "What English word has the same meaning as the German word \"german\"?"
},
{
"from": "gpt",
"value": "SELECT english FROM table_name_3 WHERE \"german\" = \"german\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (wins VARCHAR, events VARCHAR, top_10 VARCHAR)"
},
{
"from": "human",
"value": "How many wins are related to events of 7 and more than 2 top-10s?"
},
{
"from": "gpt",
"value": "SELECT COUNT(wins) FROM table_name_95 WHERE events... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (cuts_made INTEGER, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR)"
},
{
"from": "human",
"value": "What is the most cuts made for events with 1 top-5, 2 top-10s, and more than 13 total events?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (name VARCHAR, out_of VARCHAR, rank VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 2005, and the Out of 220?"
},
{
"from": "gpt",
"va... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness?"
},
{
"from": "gpt",
"value": "SELECT MIN(yea... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (source VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Source that has the Rank of 78?"
},
{
"from": "gpt",
"value": "SELECT source FROM table_name_86 WHERE rank = 78"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003?"
},
{
"fro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (tournament VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament has a 2004 of 1r?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_59 WHERE 2004 = \"1r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the 2005 that has a grand slam tournaments in 2007?"
},
{
"from": "gpt",
"value": "SELECT 2005 FROM table_name_52 WHERE 2007 = \"grand slam tournaments\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the 2006 that has a 2r in 2004, and a 2r in 2005?"
},
{
"from": "gpt",
"value": "SELECT 2006 FROM table_name_84 WHERE 2004 = \"2r\" AND 2005 = \"2r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the 2007 that has a grand slam tournaments in 2006."
},
{
"from": "gpt",
"value": "SELECT 2007 FROM table_name_32 WHERE 2006 = \"grand slam tournaments\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the 2004 that has a of grand slam tournaments in2006 ?"
},
{
"from": "gpt",
"value": "SELECT 2004 FROM table_name_82 WHERE 2006 = \"grand slam tournaments\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is 2006 has a 2007 of 3r?"
},
{
"from": "gpt",
"value": "SELECT 2006 FROM table_name_48 WHERE 2007 = \"3r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (passengers VARCHAR, airport VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What was the number of passengers going to MCO with a rank larger than 9?"
},
{
"from": "gpt",
"value": "SELECT COUNT(passengers) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR)"
},
{
"from": "human",
"value": "What city had a rank before 3 and primary carrier JetBlue Airways?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_78 WHERE rank < 3 AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (launched VARCHAR, laid_down VARCHAR)"
},
{
"from": "human",
"value": "What was launched and laid down in February 1819?"
},
{
"from": "gpt",
"value": "SELECT launched FROM table_name_14 WHERE laid_down = \"february 1819\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (pos VARCHAR, driver VARCHAR, race_1 VARCHAR, points VARCHAR, qualifying VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Gr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (date VARCHAR, set_2 VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Set 2 is 25-13?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_29 WHERE set_2 = \"25-13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (total VARCHAR, set_5 VARCHAR, set_2 VARCHAR)"
},
{
"from": "human",
"value": "What is Total, when Set 5 is NA, and when Set 2 is 25-13?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_62 WHERE set_5 = \"na\" AND se... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (score VARCHAR, date VARCHAR, set_4 VARCHAR)"
},
{
"from": "human",
"value": "What is Score, when Date is Jun 16, and when Set 4 is 25-20?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_1 WHERE date = \"jun 16\" AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20?"
},
{
"from": "gpt",
"value": "SELECT set_2 FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (set_4 VARCHAR, set_1 VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Set 4, when Set 1 is 25-18, and when Date is Jun 2?"
},
{
"from": "gpt",
"value": "SELECT set_4 FROM table_name_37 WHERE set_1 = \"25-18\" AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (team VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Team with a Score that is w 101–97 (2ot)?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_17 WHERE score = \"w 101–97 (2ot)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (high_points VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the High points with a Score that is l 64–94 (ot)?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_name_73 WHERE score = \"l 64–94 (ot)\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (played INTEGER, drawn INTEGER)"
},
{
"from": "human",
"value": "What is the largest played when the drawn is less than 1?"
},
{
"from": "gpt",
"value": "SELECT MAX(played) FROM table_name_62 WHERE drawn < 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (points INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "What points average has a played greater than 20?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_31 WHERE played > 20"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (drawn INTEGER, position VARCHAR, played VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest drawn with a position bigger than 10 and a played less than 20?"
},
{
"from": "gpt",
"value": "SELECT MIN(drawn) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (position INTEGER, drawn VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "At what average position is the drawn 9 and the points greater than 25?"
},
{
"from": "gpt",
"value": "SELECT AVG(position) FROM table_name_75 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (played VARCHAR, against VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "How many played has an against greater than 57 and a lost bigger than 14?"
},
{
"from": "gpt",
"value": "SELECT COUNT(played) FROM table_name_83 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "The event rip curl pro mademoiselle is in which location?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_55 WHERE event = \"rip curl pro mademoi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (winner VARCHAR, country VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "On the date november 24-december 6 what's the winner when the country is united states?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (year INTEGER, event VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which year was the 100 m event played in Thessaloniki, Greece?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_93 WHERE event = \"100... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (position VARCHAR, competition VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which position was the World Indoor Championships in a year later than 2008?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (position VARCHAR, competition VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What position was played at the World Athletics Final Competition in a year more recent than 2008?"
},
{
"from": "gpt",
"value": "SELECT pos... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (position VARCHAR, competition VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What position was played at the World Athletics Final Competition in a year more recent than 2008?"
},
{
"from": "gpt",
"value": "SELECT pos... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (goals VARCHAR, assists VARCHAR)"
},
{
"from": "human",
"value": "What are the goals of the assists of 5?"
},
{
"from": "gpt",
"value": "SELECT goals FROM table_name_92 WHERE assists = \"5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (assists VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the assists for the year 1995?"
},
{
"from": "gpt",
"value": "SELECT assists FROM table_name_66 WHERE year = \"1995\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (assists VARCHAR, team VARCHAR, total_points VARCHAR)"
},
{
"from": "human",
"value": "What assists has the Team SMU and the total points of 85?"
},
{
"from": "gpt",
"value": "SELECT assists FROM table_name_14 WHERE team = \"sm... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (year VARCHAR, assists VARCHAR)"
},
{
"from": "human",
"value": "What year had 48 assists?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_35 WHERE assists = \"48\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (total_points VARCHAR, gp_gs VARCHAR)"
},
{
"from": "human",
"value": "What is the total points for GP/GS of 24/23?"
},
{
"from": "gpt",
"value": "SELECT total_points FROM table_name_28 WHERE gp_gs = \"24/23\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR)"
},
{
"from": "human",
"value": "What is the assists for the Team of Florida and the total points of 75?"
},
{
"from": "gpt",
"value": "SELECT assists FROM table_name_29 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (attendance VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is the attendance of the match with F.C. central chugoku as the home team?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_24 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (away_team VARCHAR, match_no VARCHAR)"
},
{
"from": "human",
"value": "What is the away team of match 9?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_52 WHERE match_no = \"9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (score VARCHAR, match_no VARCHAR)"
},
{
"from": "human",
"value": "What is the score of match 15?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_30 WHERE match_no = \"15\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (attendance VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the attendance of the match with kochi university as the away team?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_23 WHERE away... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (attendance VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the attendance of the match with rosso kumamoto as the away team?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_82 WHERE away_t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (year VARCHAR, balance_sheet_total VARCHAR)"
},
{
"from": "human",
"value": "What year did the company have a balance sheet total of €125,359,000?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_69 WHERE balan... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (year INTEGER, album VARCHAR)"
},
{
"from": "human",
"value": "What was the average Year of release for the Album, \"Da Baddest Bitch\"?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_31 WHERE album = \"da badd... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.