conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "What is the film title used for nomination with the original title sedamdeset i dva dana?"
},
{
"from": "gpt",
"value": "SELECT fi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "Who is the director of Cannibal vegetarian, which is the film title used in nomination?"
},
{
"from": "gpt",
"value": "SELECT directo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (first_downs INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the average First Downs for december 4?"
},
{
"from": "gpt",
"value": "SELECT AVG(first_downs) FROM table_name_82 WHERE date = \"december 4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (attendance INTEGER, opponent VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Attendance against the tampa bay buccaneers, with Points Against of less than 7?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (points_for INTEGER, record VARCHAR, points_against VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Points when the record was 12β2, and the Points Against are larger than 6?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)"
},
{
"from": "human",
"value": "Which Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR)"
},
{
"from": "human",
"value": "Which Condition has a Bleeding time of prolonged, a Platelet count of decreased, and Prothrombin time of prolonged... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR)"
},
{
"from": "human",
"value": "Which Platelet count has a Partial thromboplastin time of prolonged or unaffected?"
},
{
"from": "gpt",
"value": "SELECT platelet_co... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, condition VARCHAR)"
},
{
"from": "human",
"value": "Which Prothrombin time that has a Partial thromboplastin time of unaffected, and a Condition of thrombocytopenia?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (condition VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR)"
},
{
"from": "human",
"value": "Which Condition has a Bleeding time of unaffected and a Prothrombin time of prolonged?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)"
},
{
"from": "human",
"value": "Which Partial thromboplastin time has a Prothrombin time of prolonged, and a Bleeding time of unaffec... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (notes VARCHAR, authors VARCHAR)"
},
{
"from": "human",
"value": "What are the notes where the authors are Zhou & Zhang?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_11 WHERE authors = \"zhou & zhang\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (status VARCHAR, notes VARCHAR)"
},
{
"from": "human",
"value": "What is the status where the notes are possible jr synonym of sapeornis?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_60 WHERE notes = \"possible ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (top_5 INTEGER, top_10 VARCHAR, top_25 VARCHAR)"
},
{
"from": "human",
"value": "What is the average Top-5 finishes with 2 as the Top-10 and a greater than 4 Top-25?"
},
{
"from": "gpt",
"value": "SELECT AVG(top_5) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (top_5 INTEGER, events INTEGER)"
},
{
"from": "human",
"value": "What are the least Top-5 finish when the events are greater than 18?"
},
{
"from": "gpt",
"value": "SELECT MIN(top_5) FROM table_name_82 WHERE events > 18"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (wins INTEGER, events INTEGER)"
},
{
"from": "human",
"value": "What is the total of wins when the evens is less than 3?"
},
{
"from": "gpt",
"value": "SELECT SUM(wins) FROM table_name_66 WHERE events < 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "How many cuts made when the Top-10 is larger than 1, and the wins greater than 0, and a Top-5 greater than 2, when the events... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (season VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What years did Omar Sneed play?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_9 WHERE name = \"omar sneed\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (season VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which season did Jovy Sese play?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_7 WHERE name = \"jovy sese\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (acquisition_via VARCHAR, position VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "How did the School/Club Team of Manuel Luis Quezon acquire their Forward?"
},
{
"from": "gpt",
"value": "SELECT acquisition_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (school_club_team VARCHAR, acquisition_via VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "Which School/ Club Team acquired Jondan Salvador via trade?"
},
{
"from": "gpt",
"value": "SELECT school_club_team FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (points VARCHAR, played INTEGER)"
},
{
"from": "human",
"value": "What is the Points with a Played larger than 14?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_name_18 WHERE played > 14"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (points INTEGER, against INTEGER)"
},
{
"from": "human",
"value": "What is the Points with an Against smaller than 16?"
},
{
"from": "gpt",
"value": "SELECT AVG(points) FROM table_name_51 WHERE against < 16"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (team VARCHAR, points VARCHAR, drawn VARCHAR, lost VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which Team has a Lost larger than 2, and a Position smaller than 7, and a Drawn smaller than 2, and a Points of 22?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (points INTEGER, position VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "Which Points has a Position of 3, and a Drawn smaller than 2?"
},
{
"from": "gpt",
"value": "SELECT MAX(points) FROM table_name_55 WHERE positio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (played INTEGER, points VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which Played has a Points of 2, and a Position smaller than 8?"
},
{
"from": "gpt",
"value": "SELECT AVG(played) FROM table_name_28 WHERE point... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (played INTEGER, points VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "How many average plays have points greater than 14, with an against greater than 17?"
},
{
"from": "gpt",
"value": "SELECT AVG(played) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (against INTEGER, lost INTEGER)"
},
{
"from": "human",
"value": "Which average against has a lost less than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(against) FROM table_name_78 WHERE lost < 1"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (drawn INTEGER, played INTEGER)"
},
{
"from": "human",
"value": "Which of the highest drawn has a played less than 10?"
},
{
"from": "gpt",
"value": "SELECT MAX(drawn) FROM table_name_96 WHERE played < 10"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (played VARCHAR, drawn VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "How many played have 3 as the drawn, and a position greater than 4?"
},
{
"from": "gpt",
"value": "SELECT COUNT(played) FROM table_name_25 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (performer_s_ VARCHAR, composer_s_ VARCHAR)"
},
{
"from": "human",
"value": "Who sang the song composed by Mariah Carey and Walter Afanasieff?"
},
{
"from": "gpt",
"value": "SELECT performer_s_ FROM table_name_20 WHERE composer... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (year VARCHAR, performer_s_ VARCHAR)"
},
{
"from": "human",
"value": "How many years was Louis Armstrong performing?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = \"louis armstrong\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (runner_s__up VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "Who were the Runner(s)-up with the winning score of β16 (66-68-70-68=272)?"
},
{
"from": "gpt",
"value": "SELECT runner_s__up FROM table_name_74 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (tournament VARCHAR, winning_score VARCHAR)"
},
{
"from": "human",
"value": "What tournament had a winning score of β27 (64-64-61=189)?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_3 WHERE winning_score = β27... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (tournament VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What tournament had a runner(s)-up of Scott Hoch & Kenny Perry?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_12 WHERE runner_s__up ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (tournament VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "What tournament had a Runner(s)-up of Tom Kite?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_11 WHERE runner_s__up = \"tom kite\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (date VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "What is the date of the Outback Steakhouse Pro-Am Tournament?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_94 WHERE tournament = \"outback steakh... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (tournament VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "Which tournament has a Runner(s)-up of Gary McCord?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_47 WHERE runner_s__up = \"gary mcc... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (location VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the location of the game with a score of 2:3?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_90 WHERE score = \"2:3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (location VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What was the location of the home game for Slovakia?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_62 WHERE home_team = \"slovakia\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (tournament VARCHAR, away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What was the tournament where Japan was the home team and Mexico was the away team?"
},
{
"from": "gpt",
"value": "SELECT tournament FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (location VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What was the location of the home game for Japan?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_49 WHERE home_team = \"japan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (runner_up VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Who was the Runner-up in Hossegor?"
},
{
"from": "gpt",
"value": "SELECT runner_up FROM table_name_68 WHERE location = \"hossegor\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (date VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "On what Date was the Tournament in Gold Coast?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_88 WHERE location = \"gold coast\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (winner VARCHAR, event VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Who was the Winner of the French Polynesia Billabong Pro Event?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_29 WHERE event = \"b... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (Id VARCHAR)"
},
{
"from": "human",
"value": "What shows for 2010 when 2007 is a and 2004 is 2r?"
},
{
"from": "gpt",
"value": "SELECT 2010 FROM table_name_97 WHERE 2007 = \"a\" AND 2004 = \"2r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the 2005 when the 2008 shows grand slam tournaments?"
},
{
"from": "gpt",
"value": "SELECT 2005 FROM table_name_99 WHERE 2008 = \"grand slam tournaments\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (Id VARCHAR)"
},
{
"from": "human",
"value": "What shows for 2002 when 2010 shows 69?"
},
{
"from": "gpt",
"value": "SELECT 2002 FROM table_name_85 WHERE 2010 = \"69\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (Id VARCHAR)"
},
{
"from": "human",
"value": "What shows for 2010 when 2005 shows 1r?"
},
{
"from": "gpt",
"value": "SELECT 2010 FROM table_name_60 WHERE 2005 = \"1r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (drawn INTEGER, lost VARCHAR, points VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of draws with more than 15 points, an against of 19, and less than 3 losses?"
},
{
"from": "gpt",
"value... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (stage__winner_ VARCHAR, general_classification VARCHAR, young_rider_classification VARCHAR)"
},
{
"from": "human",
"value": "What stage (winner) has thor hushovd as a general classification, and trent lowe as a rider classification?"
},
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (stage__winner_ VARCHAR, team_classification VARCHAR, young_rider_classification VARCHAR)"
},
{
"from": "human",
"value": "What stage (winner) has quick step as the team classification, and trent lowe as the young rider classification?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (jersey__number VARCHAR)"
},
{
"from": "human",
"value": "What is the 2000-2001 Team with a Jersey # that is 19?"
},
{
"from": "gpt",
"value": "SELECT 2000 AS _2001_team FROM table_name_15 WHERE jersey__number = 19"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (tied INTEGER, wins INTEGER)"
},
{
"from": "human",
"value": "What is the average number of ties for years with more than 19 wins?"
},
{
"from": "gpt",
"value": "SELECT AVG(tied) FROM table_name_33 WHERE wins > 19"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (losses VARCHAR, wins INTEGER)"
},
{
"from": "human",
"value": "What is the total number of losses for years with fewer than 9 wins?"
},
{
"from": "gpt",
"value": "SELECT COUNT(losses) FROM table_name_82 WHERE wins < 9"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (division VARCHAR, team VARCHAR, apps VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Division(s), when Team is Chongqing Lifan, and when Apps is greater than 9?"
},
{
"from": "gpt",
"value": "SELECT COUNT(... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (season VARCHAR, goals VARCHAR, apps VARCHAR, country VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is Season, when Country is China, when Team is Dalian Shide, when Apps is greater than 8, and when Goals is 2?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (apps INTEGER, goals INTEGER)"
},
{
"from": "human",
"value": "What is the highest Apps, when Goals are greater than 5?"
},
{
"from": "gpt",
"value": "SELECT MAX(apps) FROM table_name_58 WHERE goals > 5"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (season VARCHAR, goals VARCHAR, country VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What Season, when Country is China, when Team is Dalian Shide, and when Goals are 0?"
},
{
"from": "gpt",
"value": "SELECT season F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (division VARCHAR, season VARCHAR, country VARCHAR, apps VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Division(s), when Country is China, when Apps is greater than 9, and when Season is 2008?"
},
{
"from": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (division INTEGER, season VARCHAR, apps VARCHAR, goals VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Division, when Goals are less than 10, when Team is Dalian Shide, when Apps are less than 17, and when Season... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (area INTEGER, population VARCHAR, density VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest area when the density is greater than 234.77, the population is less than 965,040, and the rank is 32?"
},
{
"fro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (home VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the Home with a Time that is 14:00?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_28 WHERE time = \"14:00\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (score VARCHAR, away VARCHAR)"
},
{
"from": "human",
"value": "What is the Score with an Away that is high park demons?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_66 WHERE away = \"high park demons\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR)"
},
{
"from": "human",
"value": "What is the Score with a Hoe that is etobicoke kangaroos?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_60 WHERE home = \"etobicoke kangaroos\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Date with a Score that is 46-77?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_65 WHERE score = \"46-77\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (pavilion_depth VARCHAR, crown_angle VARCHAR)"
},
{
"from": "human",
"value": "Which Pavilion depth has a Crown angle of 34.0β34.7Β°?"
},
{
"from": "gpt",
"value": "SELECT pavilion_depth FROM table_name_49 WHERE crown_angle = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (brilliance_grade VARCHAR, benchmark VARCHAR)"
},
{
"from": "human",
"value": "Which Brilliance Grade has a Benchmark of practical fine cut?"
},
{
"from": "gpt",
"value": "SELECT brilliance_grade FROM table_name_69 WHERE benchm... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (table_diameter VARCHAR, crown_height VARCHAR)"
},
{
"from": "human",
"value": "Which Table diameter has a Crown height of 14.45%?"
},
{
"from": "gpt",
"value": "SELECT table_diameter FROM table_name_35 WHERE crown_height = \"1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (brilliance_grade VARCHAR, crown_angle VARCHAR)"
},
{
"from": "human",
"value": "Which Brilliance Grade has a Crown angle of 41.1Β°?"
},
{
"from": "gpt",
"value": "SELECT brilliance_grade FROM table_name_6 WHERE crown_angle = \"4... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (pavilion_depth VARCHAR, brilliance_grade VARCHAR, pavilion_angle VARCHAR)"
},
{
"from": "human",
"value": "Which Pavilion depth has a Brilliance Grade of 100% and a Pavilion angle of n/a?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (lost VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What is the number of lost with 2 points?"
},
{
"from": "gpt",
"value": "SELECT COUNT(lost) FROM table_name_70 WHERE points = 2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (agg VARCHAR, team_2 VARCHAR)"
},
{
"from": "human",
"value": "What was the aggregate for the match with a team 2 of Kenya?"
},
{
"from": "gpt",
"value": "SELECT agg FROM table_name_60 WHERE team_2 = \"kenya\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (agg VARCHAR, team_1 VARCHAR)"
},
{
"from": "human",
"value": "What was the aggregate for the match with Sierra Leone as team 1?"
},
{
"from": "gpt",
"value": "SELECT agg FROM table_name_28 WHERE team_1 = \"sierra leone\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (team_1 VARCHAR)"
},
{
"from": "human",
"value": "What was the 1st leg score for the match with Lesotho as team 1?"
},
{
"from": "gpt",
"value": "SELECT 1 AS st_leg FROM table_name_14 WHERE team_1 = \"lesotho\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (team_1 VARCHAR)"
},
{
"from": "human",
"value": "What was the 2nd leg score for the match with Lesotho as team 1?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_leg FROM table_name_82 WHERE team_1 = \"lesotho\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of ladies ranked who had less than 3 silvers, less than 2 total medals, and more than 0 bronze medals?"
},
{
"fr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of gold medals for the skater with less than 3 bronze medals, more than 0 silver medals and a rank smaller than 11?"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (award VARCHAR, nominee VARCHAR)"
},
{
"from": "human",
"value": "What was Matthew Warchus' Award?"
},
{
"from": "gpt",
"value": "SELECT award FROM table_name_29 WHERE nominee = \"matthew warchus\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (format VARCHAR, notes VARCHAR, call_sign VARCHAR)"
},
{
"from": "human",
"value": "What is the Format of the French Frequency with a Call sign of CKRL-FM?"
},
{
"from": "gpt",
"value": "SELECT format FROM table_name_56 WHERE n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (format VARCHAR, owner VARCHAR)"
},
{
"from": "human",
"value": "What is the Format of the Frequency owned by Laval University?"
},
{
"from": "gpt",
"value": "SELECT format FROM table_name_96 WHERE owner = \"laval university\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (notes VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the Notes of the Frequency with Format of talk radio?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_63 WHERE format = \"talk radio\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (notes VARCHAR, format VARCHAR)"
},
{
"from": "human",
"value": "What is the Notes of the Frequency with a Format of soft adult contemporary?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_46 WHERE format = \"soft ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (chart VARCHAR, debut_position VARCHAR, peak_position VARCHAR)"
},
{
"from": "human",
"value": "How many chart runs had a debut position of more than 7 when peak position was 11?"
},
{
"from": "gpt",
"value": "SELECT COUNT(char... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)"
},
{
"from": "human",
"value": "Which Spoofed title had Mort Drucker as the artist in issue 88?"
},
{
"from": "gpt",
"value": "SELECT spoofed_title FROM table_name_97 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (artist VARCHAR, issue VARCHAR, spoofed_title VARCHAR)"
},
{
"from": "human",
"value": "Who was the artist for Spoofed title Genteel Ben in an issue later than 74?"
},
{
"from": "gpt",
"value": "SELECT artist FROM table_name_42... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (issue INTEGER, artist VARCHAR, spoofed_title VARCHAR)"
},
{
"from": "human",
"value": "Which issue was the Spoofed title Route 67 for which Mort Drucker was the artist?"
},
{
"from": "gpt",
"value": "SELECT SUM(issue) FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (issue INTEGER, writer VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the earliest issue Arnie Kogen wrote for in December 1964?"
},
{
"from": "gpt",
"value": "SELECT MIN(issue) FROM table_name_12 WHERE writer ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (points INTEGER, difference VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "What are the highest points that have a difference of 8, with a position less than 4?"
},
{
"from": "gpt",
"value": "SELECT MAX(points) FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (lost INTEGER, team VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "How many losses have corinthians as the team, with an against greater than 26?"
},
{
"from": "gpt",
"value": "SELECT SUM(lost) FROM table_name_32 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_62 (points VARCHAR, difference VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "How many points have a difference of 23, with a drawn less than 5?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_name_62 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (position INTEGER, points VARCHAR, drawn VARCHAR)"
},
{
"from": "human",
"value": "How many positions have 15 for the points, with a drawn less than 3?"
},
{
"from": "gpt",
"value": "SELECT SUM(position) FROM table_name_57 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (result VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was the result of the match held when his record was 7-0-0?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_31 WHERE record = \"7-0-0\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (notes VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What do the notes say for 1989 May 7?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_32 WHERE date = \"1989 may 7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (method VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "How did he beat Alberto Rodriguez?"
},
{
"from": "gpt",
"value": "SELECT method FROM table_name_55 WHERE opponent = \"alberto rodriguez\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was his record in 1987?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_79 WHERE date = \"1987\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (total INTEGER, nation VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest total that has barbados as the nation with a bronze greater than 0?"
},
{
"from": "gpt",
"value": "SELECT MIN(total) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (silver VARCHAR, total VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "How many silvers have a gold greater than 2, a bronze less than 35, china as the nation, with a total greater than 26?"
},
{... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (total INTEGER, gold INTEGER)"
},
{
"from": "human",
"value": "What is the largest total that has a gold less than 0?"
},
{
"from": "gpt",
"value": "SELECT MAX(total) FROM table_name_57 WHERE gold < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "How many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.