conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (losses INTEGER, club VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What's the highest amount of losses of Camperdown when the against was less than 945?"
},
{
"from": "gpt",
"value": "SELECT MAX(losses) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (league_goals INTEGER, fa_cup_goals INTEGER)"
},
{
"from": "human",
"value": "what is the sum of league goals when the fa cup goals is more than 0?"
},
{
"from": "gpt",
"value": "SELECT SUM(league_goals) FROM table_name_51 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR)"
},
{
"from": "human",
"value": "what is the average league cup goals when the league cup apps is 4, league goals is less th... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (league_cup_goals INTEGER, position VARCHAR, total_goals VARCHAR)"
},
{
"from": "human",
"value": "what is the average league cup goals when the position is df and total goals is more than 4?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (fa_cup_goals INTEGER, position VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR)"
},
{
"from": "human",
"value": "what is the average fa cup goals when the fa cup apps is 0, total goals is less than 1 and position is df?"
},
{
"f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (year VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What year had a score of 0.586?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_67 WHERE score = \"0.586\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (n_africa_rank VARCHAR, year VARCHAR, cplp_rank VARCHAR)"
},
{
"from": "human",
"value": "What's the n Africa in 2012 with an N/A as the CPLP?"
},
{
"from": "gpt",
"value": "SELECT n_africa_rank FROM table_name_54 WHERE year = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (finals_venue VARCHAR, number_of_delegates VARCHAR)"
},
{
"from": "human",
"value": "What was the final venue for 82 delegates?"
},
{
"from": "gpt",
"value": "SELECT finals_venue FROM table_name_23 WHERE number_of_delegates = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (artist VARCHAR, record_label VARCHAR)"
},
{
"from": "human",
"value": "Which Artist has a Record label of vertigo?"
},
{
"from": "gpt",
"value": "SELECT artist FROM table_name_86 WHERE record_label = \"vertigo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (president VARCHAR, c_span_2009 VARCHAR)"
},
{
"from": "human",
"value": "Who is the president when c-span 2009 is 21?"
},
{
"from": "gpt",
"value": "SELECT president FROM table_name_57 WHERE c_span_2009 = \"21\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (c_span_2009 VARCHAR, times_2008 VARCHAR)"
},
{
"from": "human",
"value": "what is c-span 2009 when times 2008** is 08?"
},
{
"from": "gpt",
"value": "SELECT c_span_2009 FROM table_name_80 WHERE times_2008 * * = \"08\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (siena_2002 VARCHAR, president VARCHAR)"
},
{
"from": "human",
"value": "what is siena 2002 when the president is andrew jackson?"
},
{
"from": "gpt",
"value": "SELECT siena_2002 FROM table_name_96 WHERE president = \"andrew ja... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (location VARCHAR, home_ground VARCHAR)"
},
{
"from": "human",
"value": "Which Location has a Home Ground of Mong kok stadium?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_14 WHERE home_ground = \"mong kok sta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (club VARCHAR, league_division VARCHAR)"
},
{
"from": "human",
"value": "Which club is in the First division?"
},
{
"from": "gpt",
"value": "SELECT club FROM table_name_14 WHERE league_division = \"first division\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (home_ground VARCHAR, location VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What is the Home Ground with the Location n/a for the Club kcdrsc?"
},
{
"from": "gpt",
"value": "SELECT home_ground FROM table_name_39 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (league_division VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What League/Division has a Location of n/a?"
},
{
"from": "gpt",
"value": "SELECT league_division FROM table_name_29 WHERE location = \"n/a\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (location VARCHAR, league_division VARCHAR, position_in_2012_13 VARCHAR)"
},
{
"from": "human",
"value": "What Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (rank VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What was the rank of the team who raced at a time of 7:16.13?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_76 WHERE time = \"7:16.13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (rank VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of rank for the country of greece?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rank) FROM table_name_19 WHERE country = \"greece\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (country VARCHAR, rank VARCHAR, notes VARCHAR)"
},
{
"from": "human",
"value": "What country were the athletes where ranked smaller than 5 with notes listed as fb?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (time VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the time for the race with the United States?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_63 WHERE country = \"united states\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (shirt_no INTEGER, birth_date VARCHAR)"
},
{
"from": "human",
"value": "What shirt No has a Birth Date of April 12, 1986 (age27)?"
},
{
"from": "gpt",
"value": "SELECT MIN(shirt_no) FROM table_name_63 WHERE birth_date = \"april... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (position VARCHAR, height VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What position that has a Height larger than 179, and Player is Ezgi Arslan?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_54 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (shirt_no INTEGER, height VARCHAR, position VARCHAR, nationality VARCHAR)"
},
{
"from": "human",
"value": "What is the shirt no with a position of setter, a nationality of Italy, and height larger than 172?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (player VARCHAR, shirt_no VARCHAR, position VARCHAR, nationality VARCHAR)"
},
{
"from": "human",
"value": "What player that has a position of middle blocker, a Nationality of Turkey, and shirt no is 8?"
},
{
"from": "gpt",
"val... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (player VARCHAR, birth_date VARCHAR, shirt_no VARCHAR, nationality VARCHAR, height VARCHAR)"
},
{
"from": "human",
"value": "What player that has a Nationality of Turkey, a Height smaller than 183, a shirt no smaller than 19, and a birth d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (nation VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "Which nation won 29 gold medals?"
},
{
"from": "gpt",
"value": "SELECT nation FROM table_name_3 WHERE gold = 29"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest number of bronze medals won among the nations ranked 12 that won no gold medals and 1 medal overall?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)"
},
{
"from": "human",
"value": "What is the FCC info for the translator with frequency over 89.3MHz and licensd in Portales, New Mexico?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (ship VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Which ship was launched from Devonport, Devon?"
},
{
"from": "gpt",
"value": "SELECT ship FROM table_name_30 WHERE location = \"devonport, devon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (country VARCHAR, builder VARCHAR, ship VARCHAR)"
},
{
"from": "human",
"value": "What country was the Pegasus, build by Royal Dockyard, from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_41 WHERE builder = \"r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (builder VARCHAR, country VARCHAR, ship VARCHAR)"
},
{
"from": "human",
"value": "Who was the builder of Gannet from the United Kingdom?"
},
{
"from": "gpt",
"value": "SELECT builder FROM table_name_60 WHERE country = \"united ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (builder VARCHAR, ship VARCHAR)"
},
{
"from": "human",
"value": "Who was the builder of Nor?"
},
{
"from": "gpt",
"value": "SELECT builder FROM table_name_12 WHERE ship = \"nor\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (builder VARCHAR, country VARCHAR, ship VARCHAR)"
},
{
"from": "human",
"value": "Who was the builder of Brage from Norway?"
},
{
"from": "gpt",
"value": "SELECT builder FROM table_name_37 WHERE country = \"norway\" AND ship = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (country VARCHAR, builder VARCHAR, ship VARCHAR)"
},
{
"from": "human",
"value": "What country was Brage, built by karljohansverns verft, from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_23 WHERE builder = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (silver INTEGER, total VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "Which Silver has a Total of 11, and a Gold smaller than 8?"
},
{
"from": "gpt",
"value": "SELECT MIN(silver) FROM table_name_31 WHERE total = 11 AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (silver INTEGER, total VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which Silver has a Total of 1, and a Rank of 12?"
},
{
"from": "gpt",
"value": "SELECT MIN(silver) FROM table_name_37 WHERE total = 1 AND rank = \"1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (ihsaa_football_class VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "Which IHSAA Football Class has a School of wood memorial?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_football_class FROM table_name_71 WHERE schoo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "Which IHSAA Football Class has a County of 77 sullivan, and a School of union dugger?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (ihsaa_football_class VARCHAR, enrollment VARCHAR)"
},
{
"from": "human",
"value": "Which IHSAA Football Class has an Enrollment of 406?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_football_class FROM table_name_17 WHERE enroll... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (size INTEGER, county VARCHAR)"
},
{
"from": "human",
"value": "Which Size has a County of 62 perry?"
},
{
"from": "gpt",
"value": "SELECT MAX(size) FROM table_name_69 WHERE county = \"62 perry\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (ihsaa_class VARCHAR, size INTEGER)"
},
{
"from": "human",
"value": "Which IHSAA Class has a Size larger than 511?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_class FROM table_name_84 WHERE size > 511"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (ihsaa_class VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "Which IHSAA Class has a School of mitchell?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_class FROM table_name_4 WHERE school = \"mitchell\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (county VARCHAR, size VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "Which County has a Size larger than 258, and a Mascot of commodores?"
},
{
"from": "gpt",
"value": "SELECT county FROM table_name_95 WHERE size > 2... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (lineup VARCHAR, match VARCHAR)"
},
{
"from": "human",
"value": "What was her place in the lineup on match 2?"
},
{
"from": "gpt",
"value": "SELECT lineup FROM table_name_33 WHERE match = \"2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the record of the game played on 2/17/1974?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_55 WHERE date = \"2/17/1974\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (stadium VARCHAR, opposition VARCHAR)"
},
{
"from": "human",
"value": "Which stadium had the opposition of 79,122?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_91 WHERE opposition = \"79,122\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (notes VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What are the notes of the number 1 rank?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_52 WHERE rank = 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (rank VARCHAR, notes VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What's the rank if the time was 5:54.57 and FB in notes?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_30 WHERE notes = \"fb\" AND time =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (rowers VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Who are the rowers with the time of 5:54.57?"
},
{
"from": "gpt",
"value": "SELECT rowers FROM table_name_96 WHERE time = \"5:54.57\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (notes VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What are the notes of the United States?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_31 WHERE country = \"united states\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (total INTEGER, nation VARCHAR, silver VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What is the average total when the silver is larger than 2, and a gold larger than 1, and a nation of total?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (total INTEGER, rank VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "When the rank is 11, and bronze a smaller than 1 what is the lowest total?"
},
{
"from": "gpt",
"value": "SELECT MIN(total) FROM table_name_5 WHERE r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (a_score INTEGER, b_score VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What was the A Score when the B Score was 9.05, and position was larger than 6?"
},
{
"from": "gpt",
"value": "SELECT AVG(a_score) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (total INTEGER, b_score VARCHAR, gymnast VARCHAR)"
},
{
"from": "human",
"value": "What is the total when the B Score was 9.15 for Cheng Fei ( chn )?"
},
{
"from": "gpt",
"value": "SELECT AVG(total) FROM table_name_70 WHERE b_s... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (position INTEGER, a_score VARCHAR, b_score VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What was their position when the score of B was less than 9.05, a total was 15.275, and A Score larger than 6.4?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (position VARCHAR, b_score VARCHAR, gymnast VARCHAR)"
},
{
"from": "human",
"value": "What is their position when the b score is more than 8.975 for Ekaterina Kramarenko ( rus )?"
},
{
"from": "gpt",
"value": "SELECT position F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (year INTEGER, genre VARCHAR)"
},
{
"from": "human",
"value": "What year had Third-Person Shooter?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_name_16 WHERE genre = \"third-person shooter\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (year INTEGER, game VARCHAR)"
},
{
"from": "human",
"value": "What year was Portal?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_name_93 WHERE game = \"portal\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (developer_s_ VARCHAR, genre VARCHAR)"
},
{
"from": "human",
"value": "Who was the developer(s) of the genre Adventure?"
},
{
"from": "gpt",
"value": "SELECT developer_s_ FROM table_name_22 WHERE genre = \"adventure\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (platform_s_ VARCHAR, genre VARCHAR)"
},
{
"from": "human",
"value": "What's the platform of the genre RPG?"
},
{
"from": "gpt",
"value": "SELECT platform_s_ FROM table_name_80 WHERE genre = \"rpg\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (genre VARCHAR, developer_s_ VARCHAR)"
},
{
"from": "human",
"value": "What's the genre of developer(s) Lionhead Studios?"
},
{
"from": "gpt",
"value": "SELECT genre FROM table_name_41 WHERE developer_s_ = \"lionhead studios\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (year VARCHAR, genre VARCHAR)"
},
{
"from": "human",
"value": "What's year was the genre Adventure?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_57 WHERE genre = \"adventure\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR)"
},
{
"from": "human",
"value": "When was Cardinal-Deacon of S. Giorgio in Velabro elevated?"
},
{
"from": "gpt",
"value": "SELECT elevated FROM table_name_75 WHERE card... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (cardinalatial_order_and_title VARCHAR, elector VARCHAR)"
},
{
"from": "human",
"value": "What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated?"
},
{
"from": "gpt",
"value": "SELECT cardinalati... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)"
},
{
"from": "human",
"value": "What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (tournament VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What Tournament had Jack Nicklaus as Runner(s)-up?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_47 WHERE runner_s__up = \"jack nick... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (date VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the Tournament with a Winning score of −9 (65-71-68-67=271)?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_55 WHERE winning... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (winning_score VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up?"
},
{
"from": "gpt",
"value": "SELECT winning_score FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (runner_s__up VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the Runner(s)-up of the Kemper Open Tournament?"
},
{
"from": "gpt",
"value": "SELECT runner_s__up FROM table_name_70 WHERE tournament = \"kemp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (week VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What week has December 19, 2004 as the date?"
},
{
"from": "gpt",
"value": "SELECT week FROM table_name_33 WHERE date = \"december 19, 2004\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (week INTEGER, tv_time VARCHAR)"
},
{
"from": "human",
"value": "What is the highest week that has espn 8:30pm as the TV time?"
},
{
"from": "gpt",
"value": "SELECT MAX(week) FROM table_name_74 WHERE tv_time = \"espn 8:30pm\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (result VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What result has miami dolphins as the opponent?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_36 WHERE opponent = \"miami dolphins\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)"
},
{
"from": "human",
"value": "What is the Time of the swimmer from Chinese Taipei in Heat 3?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_88 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (dolphins_points INTEGER, opponent VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What's the Dolphin Points when the attendance was less than 69,313 and had an opponent of the Buffalo Bills?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (game INTEGER, attendance VARCHAR)"
},
{
"from": "human",
"value": "What's the game with an attendance of 71,962?"
},
{
"from": "gpt",
"value": "SELECT MIN(game) FROM table_name_53 WHERE attendance = 71 OFFSET 962"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR)"
},
{
"from": "human",
"value": "What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (week_6 VARCHAR, week_3 VARCHAR, week_1 VARCHAR)"
},
{
"from": "human",
"value": "Who did the housemate that nominated Kashmera Rakhi in week 3 and Amit Bobby in week 1 nominate in week 6?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (week_8 VARCHAR, week_1 VARCHAR)"
},
{
"from": "human",
"value": "Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8?"
},
{
"from": "gpt",
"value": "SELECT week_8 FROM table_name_52 WHERE week_1 = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (ihsaa_class VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "What is the IHSAA class of Centerville, which plays IHSAA class AA football?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_class... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (location VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)"
},
{
"from": "human",
"value": "Winchester Community school, which plays IHSAA class AA football, is located where?"
},
{
"from": "gpt",
"value": "SELECT locatio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (ihsaa_class VARCHAR, size VARCHAR, mascot VARCHAR)"
},
{
"from": "human",
"value": "What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers?"
},
{
"from": "gpt",
"value": "SELECT ihsaa_clas... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (county VARCHAR, ihsaa_football_class VARCHAR, size VARCHAR)"
},
{
"from": "human",
"value": "What county has a school with less than 301 students and plays IHSAA class A football?"
},
{
"from": "gpt",
"value": "SELECT county F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (game INTEGER, score VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest game when the score is 102-104?"
},
{
"from": "gpt",
"value": "SELECT MIN(game) FROM table_name_53 WHERE score = \"102-104\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (score VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "what is the score for game 4?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_49 WHERE game = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (series VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "what is the series for game 4?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_88 WHERE game = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (pendle INTEGER, burnley INTEGER)"
},
{
"from": "human",
"value": "Which Pendle has a Burnley smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT SUM(pendle) FROM table_name_47 WHERE burnley < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (rossendale VARCHAR, fylde INTEGER)"
},
{
"from": "human",
"value": "How much Rossendale has a Fylde smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT COUNT(rossendale) FROM table_name_95 WHERE fylde < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (hyndburn INTEGER, fylde INTEGER)"
},
{
"from": "human",
"value": "How much Hyndburn has a Fylde larger than 3?"
},
{
"from": "gpt",
"value": "SELECT SUM(hyndburn) FROM table_name_52 WHERE fylde > 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (burnley INTEGER, fylde VARCHAR, rossendale VARCHAR)"
},
{
"from": "human",
"value": "How much Burnley has a Fylde smaller than 1, and a Rossendale larger than 0?"
},
{
"from": "gpt",
"value": "SELECT SUM(burnley) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (years VARCHAR, soap_opera VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What are the years that have un posto al sole as the soap opera, with riccardo polizzy carbonelli as the actor?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (years VARCHAR, duration VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What years have a duration of 18 years, and patrizio rispo as the actor?"
},
{
"from": "gpt",
"value": "SELECT years FROM table_name_26 WHERE dur... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (years VARCHAR, duration VARCHAR, character VARCHAR)"
},
{
"from": "human",
"value": "What are the years that have a duration of 15 years and giulia poggi as the character?"
},
{
"from": "gpt",
"value": "SELECT years FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (years VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What years have claudia ruffo as the actor?"
},
{
"from": "gpt",
"value": "SELECT years FROM table_name_18 WHERE actor = \"claudia ruffo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (duration VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What is the duration that has pietro genuardi as the actor?"
},
{
"from": "gpt",
"value": "SELECT duration FROM table_name_42 WHERE actor = \"pietro genuardi\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (soap_opera VARCHAR, duration VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What is the soap opera that has a duration of 13 years, with marina giulia cavalli as the actor?"
},
{
"from": "gpt",
"value": "SELECT soap_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (attendance INTEGER, date VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest attendance for December 14, 1958 after week 12?"
},
{
"from": "gpt",
"value": "SELECT MIN(attendance) FROM table_name_76 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (week VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the total for the week in the game against the Chicago Bears"
},
{
"from": "gpt",
"value": "SELECT COUNT(week) FROM table_name_38 WHERE opponent = \"chic... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "What is the highest attendance for December 14, 1958 for after week 12"
},
{
"from": "gpt",
"value": "SELECT MAX(attendance) FROM table_name_40 W... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.