conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (attendance INTEGER, opponent VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "What is the average attendance for games against the Pittsburgh Steelers when the opponents scored more than 0 points?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (team VARCHAR, position VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "Who is the team that has a pick less than 154 and an offensive guard position?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_8 WHERE po... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (attendance INTEGER, game VARCHAR)"
},
{
"from": "human",
"value": "What is the Attendance of Game 24?"
},
{
"from": "gpt",
"value": "SELECT SUM(attendance) FROM table_name_94 WHERE game = 24"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (venue VARCHAR, score_f_a VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the Venue of Game 41 with a Score F–A of 1–2?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_91 WHERE score_f_a = \"1–2\" AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (opponents_in_the_final VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who are the opponents in the February 19, 1996 final?"
},
{
"from": "gpt",
"value": "SELECT opponents_in_the_final FROM table_name_30 WHERE date = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (score_in_the_final VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the final score on March 22, 1993?"
},
{
"from": "gpt",
"value": "SELECT score_in_the_final FROM table_name_24 WHERE date = \"march 22, 1993\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (outcome VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the outcome on June 9, 1997?"
},
{
"from": "gpt",
"value": "SELECT outcome FROM table_name_57 WHERE date = \"june 9, 1997\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (school VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What school has an IHSAA Class of aaa, and their mascot is Tiger Cubs?"
},
{
"from": "gpt",
"value": "SELECT school FROM table_name_50 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "What is the IHSAA Football Class for county 67 putnam at Greencastle?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_football_class FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR)"
},
{
"from": "human",
"value": "What school has more than 533 enrolled and is an IHSAA Football Class of aa?"
},
{
"from": "gpt",
"value": "SELECT school FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (location VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "Where is the IHSAA Class of aaa school with more than 590 enrolled?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_1 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (location VARCHAR, days_held VARCHAR)"
},
{
"from": "human",
"value": "Which location has 111 as the days held?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_4 WHERE days_held = \"111\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (days_held VARCHAR, reign VARCHAR, wrestlers VARCHAR)"
},
{
"from": "human",
"value": "What days held has 1 as the reign with eden black as the wrestlers?"
},
{
"from": "gpt",
"value": "SELECT days_held FROM table_name_2 WHERE r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (wrestlers VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "What wrestlers have summer brawl 2006 as the event?"
},
{
"from": "gpt",
"value": "SELECT wrestlers FROM table_name_71 WHERE event = \"summer brawl 2006\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (points INTEGER, laps INTEGER)"
},
{
"from": "human",
"value": "What is the average amount of points larger than 154 laps?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_87 WHERE laps > 154"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (home_team VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What home team played against Crystal Palace?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_68 WHERE away_team = \"crystal palace\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (win__percentage INTEGER, record VARCHAR, apps VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest win % with a 0-2 record and more than 2 apps?"
},
{
"from": "gpt",
"value": "SELECT MIN(win__percentage) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (apps INTEGER, rank VARCHAR, win__percentage VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest apps for rank 3 and 0% wins?"
},
{
"from": "gpt",
"value": "SELECT MIN(apps) FROM table_name_33 WHERE rank = 3 AND win__p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (artist VARCHAR, peak_position VARCHAR, sales VARCHAR)"
},
{
"from": "human",
"value": "What artist had a peak position under 2, and more than 200,000 in sales?"
},
{
"from": "gpt",
"value": "SELECT artist FROM table_name_87 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (points VARCHAR, place INTEGER)"
},
{
"from": "human",
"value": "Which points has place smaller than 2?"
},
{
"from": "gpt",
"value": "SELECT points FROM table_name_39 WHERE place < 2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (size VARCHAR, school VARCHAR, _number___county VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR)"
},
{
"from": "human",
"value": "What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (year_joined VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "What's the year that Hagerstown joined?"
},
{
"from": "gpt",
"value": "SELECT year_joined FROM table_name_66 WHERE school = \"hagerstown\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (_number___county VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What county is Fountain City?"
},
{
"from": "gpt",
"value": "SELECT _number___county FROM table_name_8 WHERE location = \"fountain city\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (previous_conference VARCHAR, size VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What's the previous conference of Fountain City with a size more than 287?"
},
{
"from": "gpt",
"value": "SELECT previous_conference... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (social_democratic VARCHAR, date_released VARCHAR)"
},
{
"from": "human",
"value": "What is the social democrat released on October 10, 1999?"
},
{
"from": "gpt",
"value": "SELECT social_democratic FROM table_name_94 WHERE date... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (green_communist VARCHAR, lead VARCHAR)"
},
{
"from": "human",
"value": "What is the green-communist with a 15.5% lead?"
},
{
"from": "gpt",
"value": "SELECT green_communist FROM table_name_82 WHERE lead = \"15.5%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (left_bloc VARCHAR, socialist VARCHAR)"
},
{
"from": "human",
"value": "What is the left bloc with a 49.0% socialist?"
},
{
"from": "gpt",
"value": "SELECT left_bloc FROM table_name_33 WHERE socialist = \"49.0%\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (polling_institute VARCHAR, social_democratic VARCHAR)"
},
{
"from": "human",
"value": "Which polling institute has a 30.7% for social democratic?"
},
{
"from": "gpt",
"value": "SELECT polling_institute FROM table_name_81 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (week VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is the week with w 31-21 result?"
},
{
"from": "gpt",
"value": "SELECT week FROM table_name_7 WHERE result = \"w 31-21\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (attendance INTEGER, week VARCHAR)"
},
{
"from": "human",
"value": "In week 7, what was the average attendance?"
},
{
"from": "gpt",
"value": "SELECT AVG(attendance) FROM table_name_74 WHERE week = 7"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (opponent VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent on september 10, 1979?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_28 WHERE date = \"september 10, 1979\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (date_of_release VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "When was twenty released?"
},
{
"from": "gpt",
"value": "SELECT date_of_release FROM table_name_16 WHERE title = \"twenty\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "On what date was god & guns released?"
},
{
"from": "gpt",
"value": "SELECT date_of_release FROM table_name_15 WHERE title = \"god & guns\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)"
},
{
"from": "human",
"value": "What was the Billboard peak for the album released on September 12, 2000 by sanctuary?"
},
{
"from": "gpt",
"value": "SELECT bill... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (billboard_peak VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "Where did god & guns peak on the Billboard?"
},
{
"from": "gpt",
"value": "SELECT billboard_peak FROM table_name_52 WHERE title = \"god & guns\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)"
},
{
"from": "human",
"value": "What was the Billboard peak for the album released on February 2, 1976 by MCA?"
},
{
"from": "gpt",
"value": "SELECT billboard_pe... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (venue VARCHAR, opposing_team VARCHAR, status VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What venue was the tour match against eastern province played at with more than 0 against?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (status VARCHAR, against INTEGER)"
},
{
"from": "human",
"value": "What is the status of the game where there was more than 22 against?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_20 WHERE against > 22"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR)"
},
{
"from": "human",
"value": "In which game did the opponents score 14 points?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_name_41 WHERE opponents = \"14\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (streak VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the streak after the game on Dec. 12?"
},
{
"from": "gpt",
"value": "SELECT streak FROM table_name_18 WHERE date = \"dec. 12\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (amt_30__desktop_ VARCHAR, feature VARCHAR)"
},
{
"from": "human",
"value": "What's the AMT 3.0 when it has a feature of Vlan Settings for Intel AMT Network Interfaces?"
},
{
"from": "gpt",
"value": "SELECT amt_30__desktop_ FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (silver INTEGER, bronze VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the number of silver when bronze is 0, and rank is less than 2?"
},
{
"from": "gpt",
"value": "SELECT SUM(silver) FROM table_name_5 WHERE br... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (silver INTEGER, total VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What is the silver when the Total is 1, and Gold is 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(silver) FROM table_name_64 WHERE total = 1 AND gold... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (silver VARCHAR, total INTEGER)"
},
{
"from": "human",
"value": "What is the number of silver when the total is less than 1?"
},
{
"from": "gpt",
"value": "SELECT COUNT(silver) FROM table_name_35 WHERE total < 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (silver INTEGER, rank INTEGER)"
},
{
"from": "human",
"value": "What is the largest silver number when the rank is smaller than 1?"
},
{
"from": "gpt",
"value": "SELECT MAX(silver) FROM table_name_92 WHERE rank < 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (bronze INTEGER, total INTEGER)"
},
{
"from": "human",
"value": "What is the number of bronze when the total is smaller than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(bronze) FROM table_name_58 WHERE total < 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (bronze INTEGER, silver VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of bronze when silver is larger than 0, rank is larger than 3?"
},
{
"from": "gpt",
"value": "SELECT MAX(bronze) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (silver INTEGER, rank VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest number of silvers for countries in rank 12 with more than 0 bronze?"
},
{
"from": "gpt",
"value": "SELECT MIN(silver) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (silver INTEGER, rank VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the most number of silvers for teams in rank 5 with more than 6 total medals?"
},
{
"from": "gpt",
"value": "SELECT MAX(silver) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (gold INTEGER, total VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest number of golds for teams with a total of 3 and fewer than 2 silvers?"
},
{
"from": "gpt",
"value": "SELECT MIN(gold) FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (wins VARCHAR, percentage_wins VARCHAR, flags VARCHAR)"
},
{
"from": "human",
"value": "What's the number of wins when the flags were less than 8 and 52.11% of wins?"
},
{
"from": "gpt",
"value": "SELECT COUNT(wins) FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (flags INTEGER, wins VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "What's the most flags that had 473 wins and less than 633 losses?"
},
{
"from": "gpt",
"value": "SELECT MAX(flags) FROM table_name_90 WHERE wins = 4... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (wins VARCHAR, club VARCHAR, flags VARCHAR, draws VARCHAR)"
},
{
"from": "human",
"value": "How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10?"
},
{
"from": "gpt",
"value": "SELECT w... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (losses INTEGER, club VARCHAR, draws VARCHAR)"
},
{
"from": "human",
"value": "What are the losses of Warrnambool with a draw less than 19?"
},
{
"from": "gpt",
"value": "SELECT AVG(losses) FROM table_name_8 WHERE club = \"warrn... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (location VARCHAR, rank_final VARCHAR)"
},
{
"from": "human",
"value": "What is the Location of the Competition with a Rank-Final of 10?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_63 WHERE rank_final = \"10\... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (gold INTEGER, rank VARCHAR, silver VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "How many gold medals for Bulgaria (BUL) with 2 silvers and a less than 18 rank?"
},
{
"from": "gpt",
"value": "SELECT SUM(gold) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "What's the most bronze medals for Great Britain (GBR) with more than 1 silver and ranked more than 6?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What's the total silver medals having less than 2 gold and 2 bronze?"
},
{
"from": "gpt",
"value": "SELECT COUNT(silver) FROM table_name_29 WHERE b... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (name VARCHAR, fa_cup VARCHAR, championship VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "Which Name has a Championship larger than 2, and a Total larger than 4, and an FA Cup larger than 0?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (video VARCHAR, channel VARCHAR, programming VARCHAR)"
},
{
"from": "human",
"value": "Which Video has a Channel smaller than 35.66, and a Programming of nhk world?"
},
{
"from": "gpt",
"value": "SELECT video FROM table_name_1 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (video VARCHAR, psip_short_name VARCHAR)"
},
{
"from": "human",
"value": "Which Video has a PSIP Short Name of rt?"
},
{
"from": "gpt",
"value": "SELECT video FROM table_name_53 WHERE psip_short_name = \"rt\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (programming VARCHAR, channel VARCHAR)"
},
{
"from": "human",
"value": "Which Programming has a Channel of 35.4?"
},
{
"from": "gpt",
"value": "SELECT programming FROM table_name_14 WHERE channel = 35.4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (vuelta_wins VARCHAR, country VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "How many times is the country ireland and points more than 4?"
},
{
"from": "gpt",
"value": "SELECT COUNT(vuelta_wins) FROM table_name_31 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (format VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What is the format for the MHCP-66 Catalog?"
},
{
"from": "gpt",
"value": "SELECT format FROM table_name_24 WHERE catalog = \"mhcp-66\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (catalog VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What Catalog came out on August 20, 1965?"
},
{
"from": "gpt",
"value": "SELECT catalog FROM table_name_21 WHERE date = \"august 20, 1965\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (catalog VARCHAR, format VARCHAR, label VARCHAR)"
},
{
"from": "human",
"value": "What is the catalog with an LP Format and under the Simply Vinyl label?"
},
{
"from": "gpt",
"value": "SELECT catalog FROM table_name_62 WHERE fo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)"
},
{
"from": "human",
"value": "What date had a CD format, under Columbia/Legacy from the UK?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_77 WHERE f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (country VARCHAR, format VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What country has an LP format, catalog s 31503?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_20 WHERE format = \"lp\" AND cata... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (format VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What is the format for Catalog CL 2372?"
},
{
"from": "gpt",
"value": "SELECT format FROM table_name_96 WHERE catalog = \"cl 2372\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (event VARCHAR, tournament VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What event has european championships as the tournament, with 2006 as the year?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_61 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (year INTEGER, tournament VARCHAR)"
},
{
"from": "human",
"value": "What average year has international meeting & national championships as the tournament?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_64 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (year INTEGER, tournament VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (opponent VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Who was the opponent in the match that lasted 4:17?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_58 WHERE time = \"4:17\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, method VARCHAR)"
},
{
"from": "human",
"value": "Where was the match that lasted less than 3 rounds and was won by submission (triangle choke)?"
},
{
"from": "gpt",
"value": "SELECT location FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "Which event had Carlos Alexandre Pereira as opponent?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_55 WHERE opponent = \"carlos alexandre pereira... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Where was the match that resulted in a win in 4:16 held?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_44 WHERE res = \"win\" AND t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (population VARCHAR, median_family_income VARCHAR)"
},
{
"from": "human",
"value": "What's the population that has a median family income of $50,553?"
},
{
"from": "gpt",
"value": "SELECT COUNT(population) FROM table_name_1 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (rank INTEGER, country VARCHAR)"
},
{
"from": "human",
"value": "What is the highest rank for the team of egypt?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_58 WHERE country = \"egypt\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (athlete VARCHAR, notes VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Who was the athlete from egypt with q in the notes?"
},
{
"from": "gpt",
"value": "SELECT athlete FROM table_name_50 WHERE notes = \"q\" AND cou... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (service_area VARCHAR)"
},
{
"from": "human",
"value": "What is the 2FM for SW Ireland?"
},
{
"from": "gpt",
"value": "SELECT 2 AS fm__mhz_ FROM table_name_91 WHERE service_area = \"sw ireland\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (event VARCHAR, medal VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Name Event of Medal of gold and a Name of duncan white?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_18 WHERE medal = \"gold\" AND nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR, medal VARCHAR)"
},
{
"from": "human",
"value": "Name the Event of the Games of 1950 auckland and a Medal of bronze?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_60 WHERE games = \"1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (medal VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which Medal has a Name of alex obeyesekera?"
},
{
"from": "gpt",
"value": "SELECT medal FROM table_name_14 WHERE name = \"alex obeyesekera\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (event VARCHAR, medal VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which Event has a Medal of gold and a Name of barney henricus?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_69 WHERE medal = \"gold\" ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (event VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Name the Event of sudesh peiris?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_93 WHERE name = \"sudesh peiris\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (year INTEGER, developer_s_ VARCHAR)"
},
{
"from": "human",
"value": "What year was the developer(s) Bioware?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_59 WHERE developer_s_ = \"bioware\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (genre VARCHAR, year VARCHAR, platform_s_ VARCHAR)"
},
{
"from": "human",
"value": "What is the genre for 2009 on Playstation 3?"
},
{
"from": "gpt",
"value": "SELECT genre FROM table_name_9 WHERE year > 2009 AND platform_s_ = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (result VARCHAR, recipients_and_nominees VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (recipients_and_nominees VARCHAR, category VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What recipients and nominees have outstanding achievement in drama as the category with 1994 as the year?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (result VARCHAR, role_episode VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What result has outstanding achievement in drama, as the role/episode with a year prior to 1995?"
},
{
"from": "gpt",
"value": "SELECT result... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (total INTEGER, gymnast VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7?"
},
{
"from": "gpt",
"value": "SELECT AVG(total) FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (total VARCHAR, gymnast VARCHAR, b_score VARCHAR)"
},
{
"from": "human",
"value": "What is the total for Chen Yibing ( chn ), when his B Score was smaller than 9.225?"
},
{
"from": "gpt",
"value": "SELECT COUNT(total) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (a_score VARCHAR, b_score VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the A Score when the B Score is more than 9.05, and the total is less than 16.525?"
},
{
"from": "gpt",
"value": "SELECT COUNT(a_score) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (position VARCHAR, gymnast VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the position for Oleksandr Vorobiov ( ukr ), when the total was larger than 16.25?"
},
{
"from": "gpt",
"value": "SELECT COUNT(position... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (total INTEGER, gymnast VARCHAR, b_score VARCHAR)"
},
{
"from": "human",
"value": "What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?"
},
{
"from": "gpt",
"value": "SELECT SUM(total) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (notes VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Poland has what notes?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_75 WHERE country = \"poland\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (rank VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is Croatia's rank?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_85 WHERE country = \"croatia\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (rowers VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "When rank is 5, what is the rowers?"
},
{
"from": "gpt",
"value": "SELECT rowers FROM table_name_32 WHERE rank = 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (rank INTEGER, country VARCHAR)"
},
{
"from": "human",
"value": "What is the average rank for Denmark?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) FROM table_name_33 WHERE country = \"denmark\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (term_end VARCHAR, party VARCHAR, term_start VARCHAR)"
},
{
"from": "human",
"value": "What is the end of the term for Kadima that started on 18 January 2006?"
},
{
"from": "gpt",
"value": "SELECT term_end FROM table_name_6 WHER... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.