conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (office VARCHAR, prohibition_ticket VARCHAR)"
},
{
"from": "human",
"value": "What office did Henry Hagner run for on the prohibition ticket?"
},
{
"from": "gpt",
"value": "SELECT office FROM table_name_31 WHERE prohibition_tic... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (home VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the home of the team with a 16-8 record?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_81 WHERE record = \"16-8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the game that ended with a score of 96-89?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_92 WHERE score = \"96-89\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (attendance VARCHAR, visitor VARCHAR)"
},
{
"from": "human",
"value": "How many people went to the game with Indiana visiting?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_68 WHERE visitor = \"indiana\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (date VARCHAR, home VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the Cleveland home game with a 20-8 record?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_74 WHERE home = \"clevelan... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (score VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What is the score of the New Jersey home game?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_42 WHERE home = \"new jersey\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (attendance VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "How many people attended the game with a final score of 75-90?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_29 WHERE score = \"75-90\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is Mike Weir's To par?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_79 WHERE player = \"mike weir\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "From Country is Vijay Singh?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_48 WHERE player = \"vijay singh\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (player VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is the Player in T5 Place?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_71 WHERE place = \"t5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Place of the Player with a Score of 73-73-65-73=284?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_32 WHERE score = 73 - 73 - 65 - 73 = 2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (home_captain VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Who was the Home captain that played at the venue Oval?"
},
{
"from": "gpt",
"value": "SELECT home_captain FROM table_name_13 WHERE venue = \"oval\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (away_captain VARCHAR, result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the Away captain that played on 12,13,14 Jun 1902 which resulted in a draw?"
},
{
"from": "gpt",
"value": "SELECT away_captain FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (away_captain VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who is the Away captain that played on 11,12,13 Aug 1902?"
},
{
"from": "gpt",
"value": "SELECT away_captain FROM table_name_95 WHERE date = \"11,12,13 aug 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the game that was played on 29,30β31 May 1902?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_31 WHERE date = \"29,30β31 may 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the game that was played on 3,4,5 Jul 1902?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_61 WHERE date = \"3,4,5 jul 1902\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (ends_lost VARCHAR, blank_ends VARCHAR, stolen_ends VARCHAR)"
},
{
"from": "human",
"value": "What is the number of ends lost when there are 15 blank ends, less than 14 stolen ends?"
},
{
"from": "gpt",
"value": "SELECT COUNT(e... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (blank_ends VARCHAR, shot_pct VARCHAR, stolen_ends VARCHAR, skip VARCHAR)"
},
{
"from": "human",
"value": "What is the number of blank ends when the stolen ends were 17 and Jennifer Jones was skipped with a more than 83 shot pct?"
},
{... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (wins INTEGER, f_laps VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the average Wins, when F/Laps is greater than 1, and when Points is 80?"
},
{
"from": "gpt",
"value": "SELECT AVG(wins) FROM table_name_18 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (races INTEGER, points VARCHAR, season VARCHAR, podiums VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Races, when Podiums is less than 3, when Wins is 0, when Season is after 2001, and when Points is 32?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (season INTEGER, f_laps VARCHAR, poles VARCHAR)"
},
{
"from": "human",
"value": "What is the average Season, when F/Laps is 1, and when Poles is less than 0?"
},
{
"from": "gpt",
"value": "SELECT AVG(season) FROM table_name_14 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (poles INTEGER, series VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007?"
},
{
"from": "gpt",
"value": "SELECT MAX(poles) F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (wk_7 INTEGER, wk_2 VARCHAR, wk_3 VARCHAR, wk_4 VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest wk 7 with a wk 3 value of 12, a wk 4 less than 9, and a wk 2 greater than 11?"
},
{
"from": "gpt",
"value": "SELECT MIN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (wk_3 INTEGER, wk_11 VARCHAR, wk_14 VARCHAR, wk_2 VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest wk 3 value with an n/r in wk 14, a wk 2 value of 7, and a wk 11 value greater than 18?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (date VARCHAR, actual_title VARCHAR)"
},
{
"from": "human",
"value": "What is the Date for the actual title archie bunker's place?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_42 WHERE actual_title = \"archie bunk... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (artist VARCHAR, spoofed_title VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the Artist for the Spoofed Title of the moron downer jr. show?"
},
{
"from": "gpt",
"value": "SELECT artist FROM table_name_13 WHERE s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (issue VARCHAR, spoofed_title VARCHAR)"
},
{
"from": "human",
"value": "What issue was the Spoofed Title of the crockford files in?"
},
{
"from": "gpt",
"value": "SELECT issue FROM table_name_50 WHERE spoofed_title = \"the croc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (writer VARCHAR, issue VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the writer for issue 224?"
},
{
"from": "gpt",
"value": "SELECT writer FROM table_name_21 WHERE issue = 224"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest amount of points had a lost number of 2 when the position was less than 1?"
},
{
"from": "gpt",
"value": "SELECT MIN(points)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (against INTEGER, position INTEGER)"
},
{
"from": "human",
"value": "What is the mean number of against when the position is less than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(against) FROM table_name_92 WHERE position < 1"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (played INTEGER, points VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the mean number of played when there are less than 18 points and the position is less than 8?"
},
{
"from": "gpt",
"value": "SELECT AVG... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (area__km_2__ VARCHAR, name VARCHAR, population__2011_ VARCHAR)"
},
{
"from": "human",
"value": "What is the total area of drakenstein and a population less than 251,262?"
},
{
"from": "gpt",
"value": "SELECT COUNT(area__km_2__... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (area__km_2__ INTEGER, name VARCHAR, population__2011_ VARCHAR)"
},
{
"from": "human",
"value": "For Stellenbosch, which has a population larger than 155,733, what is the average area?"
},
{
"from": "gpt",
"value": "SELECT AVG(... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (population__2011_ INTEGER, density__inhabitants_km_2__ VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest population for the area that has a density of 36.7?"
},
{
"from": "gpt",
"value": "SELECT MIN(population__2011... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (points_against VARCHAR, team VARCHAR, tries_against VARCHAR)"
},
{
"from": "human",
"value": "How many points against has team Cardiff had when there were less than 7 tries?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points_a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (fog__days_year_ INTEGER, rain__mm_year_ VARCHAR)"
},
{
"from": "human",
"value": "What is the amount of fog where the rain is 1 109?"
},
{
"from": "gpt",
"value": "SELECT SUM(fog__days_year_) FROM table_name_50 WHERE rain__mm_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (snow__days_year_ INTEGER, storms__days_year_ VARCHAR)"
},
{
"from": "human",
"value": "What is the amount of snow where the days for storms are 31?"
},
{
"from": "gpt",
"value": "SELECT SUM(snow__days_year_) FROM table_name_61... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (snow__days_year_ INTEGER, sunshine__hrs_year_ VARCHAR, storms__days_year_ VARCHAR)"
},
{
"from": "human",
"value": "What is the amount of snow where the sunshine is 1 633, and storms are lower than 29?"
},
{
"from": "gpt",
"va... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (storms__days_year_ VARCHAR, fog__days_year_ VARCHAR, sunshine__hrs_year_ VARCHAR)"
},
{
"from": "human",
"value": "What are the number of storms where fog is lower than 74, and sunshine is 2 668?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "Who is the away team for the tome team Leeds United, at the League Cup Competition?"
},
{
"from": "gpt",
"value": "SELECT away_team FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (chassis VARCHAR, entrant VARCHAR, start VARCHAR)"
},
{
"from": "human",
"value": "What chassis has patrick racing as an entrant, with a start greater than 6?"
},
{
"from": "gpt",
"value": "SELECT chassis FROM table_name_69 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (finish INTEGER, start VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the average finish that has 24 as the start, with a year after 1987?"
},
{
"from": "gpt",
"value": "SELECT AVG(finish) FROM table_name_89 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (year INTEGER, chassis VARCHAR, start VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest year that has lola t93/00 as the chassis with a start leas than 14?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (finish INTEGER, start VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest finish that has a start greater than 27, with a year after 1985?"
},
{
"from": "gpt",
"value": "SELECT MIN(finish) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (start VARCHAR, entrant VARCHAR, engine VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What start has a ford cosworth dfx as the engine, a year later than 1981, and kraco enterprises as the entrant?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (date VARCHAR, team_record VARCHAR)"
},
{
"from": "human",
"value": "What is the Date, when the Team Record is 2-0?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_3 WHERE team_record = \"2-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (team_record VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is the Team Record, when the Result is l 0β24?"
},
{
"from": "gpt",
"value": "SELECT team_record FROM table_name_52 WHERE result = \"l 0β24\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (team_record VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What is Team Record, when Attendance is 16,151?"
},
{
"from": "gpt",
"value": "SELECT team_record FROM table_name_34 WHERE attendance = \"16,151\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (draw INTEGER, points VARCHAR, match VARCHAR)"
},
{
"from": "human",
"value": "What is the highest draw that has points greater than 4, with a match greater than 5?"
},
{
"from": "gpt",
"value": "SELECT MAX(draw) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (draw INTEGER, match VARCHAR, lost VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the average draw that has a lost less than 4, gwardia bydgoszcz as the team, with a match greater than 5?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (match INTEGER, lost VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?"
},
{
"from": "gpt",
"value": "SELECT MIN(match) FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (match VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "How many matches have 0 as the lost?"
},
{
"from": "gpt",
"value": "SELECT COUNT(match) FROM table_name_32 WHERE lost = 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (game INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Game with a Score that is w 104β90 (ot)?"
},
{
"from": "gpt",
"value": "SELECT SUM(game) FROM table_name_44 WHERE score = \"w 104β90 (ot)\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (high_rebounds VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the High rebounds of a Game with 56?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_name_70 WHERE game = 56"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (package_option VARCHAR, television_service VARCHAR, country VARCHAR, content VARCHAR)"
},
{
"from": "human",
"value": "What was the option from Italy with general television content, and the Cielo television service?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (country VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)"
},
{
"from": "human",
"value": "What country has Tematico Content, and a package with sky TV and the Lei television service?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (television_service VARCHAR, package_option VARCHAR, language VARCHAR)"
},
{
"from": "human",
"value": "What is the television service that has package with sky tv, and it in Italian English?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (language VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)"
},
{
"from": "human",
"value": "What language is the Tematico content with a sky tv package, and Fox Crime television service?"
},
{
"from": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (country VARCHAR, television_service VARCHAR)"
},
{
"from": "human",
"value": "What country has a television service with Cartello Promozionale sky hd?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_95 WHERE tele... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (country VARCHAR, television_service VARCHAR)"
},
{
"from": "human",
"value": "What country has a Fox television service?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_7 WHERE television_service = \"fox\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR)"
},
{
"from": "human",
"value": "Who drove for Mathiasen Motorsports with dane cameron as pole position?"
},
{
"from": "gpt",
"value": "SELECT winning_driver... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)"
},
{
"from": "human",
"value": "What winning team did Jonathan bomarito drive for when jonathan summerton had the fastest lap?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (report VARCHAR, fastest_lap VARCHAR)"
},
{
"from": "human",
"value": "When Douglas Soares had the fastest lap, what was the report?"
},
{
"from": "gpt",
"value": "SELECT report FROM table_name_39 WHERE fastest_lap = \"douglas ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (fastest_lap VARCHAR, winning_team VARCHAR, pole_position VARCHAR)"
},
{
"from": "human",
"value": "When the winning team of mathiasen motorsports has a pole position of jonathan bomarito, who has the fastest lap?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (report VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)"
},
{
"from": "human",
"value": "When the driver jonathan summerton won and dane cameron had the fastest lap, what was the report?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which Year has a Competition of olympic games, and a Venue of atlanta, united states?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (competition VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which Competition has a Year of 1993?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_30 WHERE year = 1993"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (notes VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "Which Notes has a Competition of venice marathon?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_78 WHERE competition = \"venice marathon\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which Year has a Venue of atlanta, united states?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_13 WHERE venue = \"atlanta, united states\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (notes VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which Notes has a Venue of barcelona, spain?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_89 WHERE venue = \"barcelona, spain\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (event VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which Event has a Year of 1986?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_36 WHERE year = 1986"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (share INTEGER, rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__timeslot_ VARCHAR)"
},
{
"from": "human",
"value": "What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (rank__week_ VARCHAR, share VARCHAR, rating VARCHAR)"
},
{
"from": "human",
"value": "What is the weekly rank for the episode with a share over 7 and a rating/share of 2.3/7?"
},
{
"from": "gpt",
"value": "SELECT rank__week_ FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__night_ VARCHAR, rating VARCHAR)"
},
{
"from": "human",
"value": "What is the weekly rank of the episode with more than 7.14mil viewers, a nightly rank of 5, and a rating/share of 2.9/... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (gain VARCHAR, avg_g VARCHAR, long VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the total gain for Brandon Mcrae with a loss less than 4, and an Avg/g less than -0.1?"
},
{
"from": "gpt",
"value": "SELECT COU... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (long INTEGER, gp_gs VARCHAR, gain VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest long with a Gp-GS of 11-8, and a gain less than 228?"
},
{
"from": "gpt",
"value": "SELECT MIN(long) FROM table_name_16 WHERE gp_gs... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (gain INTEGER, long VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest gain with an 18 long, and a loss less than 191?"
},
{
"from": "gpt",
"value": "SELECT MIN(gain) FROM table_name_40 WHERE long = 18 A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of 1938 values where 1933 values are under 68.3 and 1940 valures are under 4.02?"
},
{
"from": "gpt",
"value": "SELECT SUM(1938) FROM table_name_8 WHERE 1933 < 68.3 A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the average 1940 value where 1929 values are 101.4 and 1933 values are over 68.3?"
},
{
"from": "gpt",
"value": "SELECT AVG(1940) FROM table_name_6 WHERE 1929 = 101.4 AND 193... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the highest 1937 value that has a 1940 value over 126?"
},
{
"from": "gpt",
"value": "SELECT MAX(1937) FROM table_name_60 WHERE 1940 > 126"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (timeslot VARCHAR, translation VARCHAR)"
},
{
"from": "human",
"value": "At what time is the αα ααααααα‘ α£αααα shown?"
},
{
"from": "gpt",
"value": "SELECT timeslot FROM table_name_43 WHERE translation = \"αα ααααααα‘ α£αααα\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (country VARCHAR, timeslot VARCHAR, series_finale VARCHAR, weekly_schedule VARCHAR)"
},
{
"from": "human",
"value": "What country was the series finale present and was shown Monday to Sunday at 18:45-21:00?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (series_finale VARCHAR, translation VARCHAR)"
},
{
"from": "human",
"value": "What series finale has the translation αα° αα‘ αͺα αααααα / ααα ααααα£α α α‘αααα£ααα?"
},
{
"from": "gpt",
"value": "SELECT series_finale FROM table_name_56 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (weekly_schedule VARCHAR, timeslot VARCHAR)"
},
{
"from": "human",
"value": "What days of the week is the show aired on that runs at 16:45?"
},
{
"from": "gpt",
"value": "SELECT weekly_schedule FROM table_name_21 WHERE timeslot... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (weekly_schedule VARCHAR, timeslot VARCHAR)"
},
{
"from": "human",
"value": "Which days of the week does the telenovela play that is aired at 11:00?"
},
{
"from": "gpt",
"value": "SELECT weekly_schedule FROM table_name_75 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (tournament VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament was on 2 October 2006?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_98 WHERE date = \"2 october 2006\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (opponent_in_the_final VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who is the Opponent in the final on 4 April 2011?"
},
{
"from": "gpt",
"value": "SELECT opponent_in_the_final FROM table_name_16 WHERE date = \"4 ap... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What Surface was used on 2 June 2003?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_94 WHERE date = \"2 june 2003\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (award VARCHAR, category VARCHAR)"
},
{
"from": "human",
"value": "Which award show nominated The Suite Life on Deck for the Teen Pick Show: Comedy category?"
},
{
"from": "gpt",
"value": "SELECT award FROM table_name_54 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (award VARCHAR, category VARCHAR, recipient VARCHAR)"
},
{
"from": "human",
"value": "Which award show nominated Cole Sprouse for the Favorite TV Actor category?"
},
{
"from": "gpt",
"value": "SELECT award FROM table_name_49 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What category was The Suite Life on Deck nominated for later than 2010?"
},
{
"from": "gpt",
"value": "SELECT category FROM table_name_62 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (recipient VARCHAR, award VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "Who won the 2010 Kids' Choice Awards?"
},
{
"from": "gpt",
"value": "SELECT recipient FROM table_name_30 WHERE award = \"2010 kids' choice awar... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (rd VARCHAR, _time VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the Rd. Time for October 3, 2009?"
},
{
"from": "gpt",
"value": "SELECT rd, _time FROM table_name_86 WHERE date = \"october 3, 2009\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (lost INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "What is the greatest lost where played is less than 9?"
},
{
"from": "gpt",
"value": "SELECT MAX(lost) FROM table_name_51 WHERE played < 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (played INTEGER, drawn VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What is the greatest played with a drawn less than 1 and a position of less than 1?"
},
{
"from": "gpt",
"value": "SELECT MAX(played) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (drawn INTEGER, points VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest drawn when the points are less than 7 and the against greater than 31?"
},
{
"from": "gpt",
"value": "SELECT MIN(drawn) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (team VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the team that has 13 points?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_47 WHERE points = 13"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (nominated_work VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "What was the Nominated Work earlier than 2003?"
},
{
"from": "gpt",
"value": "SELECT nominated_work FROM table_name_85 WHERE year < 2003"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (nominated_work VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "What was the Nominated Work earlier than 2003?"
},
{
"from": "gpt",
"value": "SELECT nominated_work FROM table_name_62 WHERE year < 2003"
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.