conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "what is the place for gary player?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_98 WHERE player = \"gary player\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "what is the place when the score is 70-72=142?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_48 WHERE score = 70 - 72 = 142"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "what is the place when the score is 70-70=140?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_53 WHERE score = 70 - 70 = 140"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (player VARCHAR, country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "who is the player when the country is united states and the score is 71-73=144?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_93 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR)"
},
{
"from": "human",
"value": "What school or team is in a round below 5 with a pick of 2?"
},
{
"from": "gpt",
"value": "SELECT school_club_team FROM table_name_57 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (player VARCHAR, pick VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Who is the player with a pick less than 234 and a quarterback position?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_55 WHERE pic... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Who is the player in tight end position in a round below 12 that has a pick greater than 17?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (pick VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "How many picks does Auburn have?"
},
{
"from": "gpt",
"value": "SELECT COUNT(pick) FROM table_name_47 WHERE school_club_team = \"auburn\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (career VARCHAR)"
},
{
"from": "human",
"value": "What is the career for 2007 3r, and 1999 1r?"
},
{
"from": "gpt",
"value": "SELECT career FROM table_name_80 WHERE 2007 = \"3r\" AND 1999 = \"1r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (career VARCHAR)"
},
{
"from": "human",
"value": "What is the career for the 2006 3r, and the 1999 2r?"
},
{
"from": "gpt",
"value": "SELECT career FROM table_name_70 WHERE 2006 = \"3r\" AND 1999 = \"2r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (Id VARCHAR)"
},
{
"from": "human",
"value": "Who in 2009, has a 2003 2r and a 2000 2r?"
},
{
"from": "gpt",
"value": "SELECT 2009 FROM table_name_64 WHERE 2003 = \"2r\" AND 2000 = \"2r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (result_score VARCHAR, year VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 Memphis?"
},
{
"from": "gpt",
"value": "SELECT re... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (year INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Year, when Opponent is #2 Syracuse?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_name_52 WHERE opponent = \"#2 syracuse\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (round VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is Round when Year is 1987?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_92 WHERE year = 1987"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (year INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Year, when Opponent is #3 UCONN?"
},
{
"from": "gpt",
"value": "SELECT SUM(year) FROM table_name_40 WHERE opponent = \"#3 uconn\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (longitude VARCHAR, name VARCHAR, year_named VARCHAR, diameter__km_ VARCHAR)"
},
{
"from": "human",
"value": "What's the longitude named zipaltonal fluctus in 1997 with a diameter smaller than 490?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (diameter__km_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What's the diameter of kaiwan fluctus?"
},
{
"from": "gpt",
"value": "SELECT diameter__km_ FROM table_name_30 WHERE name = \"kaiwan fluctus\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (game VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "In what game did the New York Rangers play against the Chicago Black Hawks?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_name_5 WHERE opponent = \"chicag... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (score VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE SCORE FOR GREG NORMAN?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_29 WHERE player = \"greg norman\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (player VARCHAR, to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_2 WHERE to_par = \"e\" ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_68 WHERE place = \"t5\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (release_date VARCHAR, socket VARCHAR, voltage VARCHAR, mult VARCHAR)"
},
{
"from": "human",
"value": "When was the microprocessor with 1.65β1.7 v, a mult of 4.5Γ, and a slot 1 socket released?"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (voltage VARCHAR, socket VARCHAR, model_number VARCHAR)"
},
{
"from": "human",
"value": "What is the voltage of the Pentiumiii866 microprocessor with a socket 370?"
},
{
"from": "gpt",
"value": "SELECT voltage FROM table_name_8 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (socket VARCHAR, part_number_s_ VARCHAR)"
},
{
"from": "human",
"value": "What kind of socket is on the microprocessor with a part number of 80526pz533256?"
},
{
"from": "gpt",
"value": "SELECT socket FROM table_name_28 WHERE p... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (date VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the match with Opponent in the final Kenneth Carlsen?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_41 WHERE oppone... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (date VARCHAR, score_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the match with a Score in the final of 6β3, 6β3, 2β6, 6β4?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_9 WHERE score_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (lost VARCHAR, draw INTEGER)"
},
{
"from": "human",
"value": "How many games did they lose when they tied less than 2 games?"
},
{
"from": "gpt",
"value": "SELECT lost FROM table_name_39 WHERE draw < 2"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)"
},
{
"from": "human",
"value": "What is the least ties when they played less than 14 games, and a lost less than 8 of them?"
},
{
"from": "gpt",
"value": "SELECT MIN(draw) FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (played INTEGER, draw INTEGER)"
},
{
"from": "human",
"value": "What is the lowest number of games played where they tied more than 7 of them?"
},
{
"from": "gpt",
"value": "SELECT MIN(played) FROM table_name_92 WHERE draw > 7"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11?"
},
{
"from"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (score VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE SCORE FOR 2010 fifa world cup qualification?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_28 WHERE competition = \"2010 fifa world... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (year INTEGER, australian_open VARCHAR, french_open VARCHAR, wimbledon VARCHAR)"
},
{
"from": "human",
"value": "What is the latest year rafael nadal was in the French Open, Roger Federer was in Wimbledon, and Roger Federer was in the Aust... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (year VARCHAR, wimbledon VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of years Andy Murray was at Wimbledon?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_27 WHERE wimbledon = \"andy mu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (australian_open VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the Australian open in 2010?"
},
{
"from": "gpt",
"value": "SELECT australian_open FROM table_name_71 WHERE year = 2010"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (loss INTEGER, long INTEGER)"
},
{
"from": "human",
"value": "What is the highest loss with a long more than 61?"
},
{
"from": "gpt",
"value": "SELECT MAX(loss) FROM table_name_1 WHERE long > 61"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR)"
},
{
"from": "human",
"value": "What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8?"
},
{
"from": "gpt",
"value": "SELECT AVG(long) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (network_brand_name VARCHAR, company_name VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "What is the network brand name of the company vodafone group in Germany?"
},
{
"from": "gpt",
"value": "SELECT network_brand_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (accreditation_level VARCHAR, network_brand_name VARCHAR)"
},
{
"from": "human",
"value": "What is the accreditation level of the network brand Movistar?"
},
{
"from": "gpt",
"value": "SELECT accreditation_level FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (date VARCHAR, network_brand_name VARCHAR)"
},
{
"from": "human",
"value": "What date was Movistar accredited?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_6 WHERE network_brand_name = \"movistar\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (accreditation_type VARCHAR, company_name VARCHAR)"
},
{
"from": "human",
"value": "What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)?"
},
{
"from": "gpt",
"value": "SELECT accreditation_type FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (accreditation_type VARCHAR, network_brand_name VARCHAR)"
},
{
"from": "human",
"value": "What is Deutsche Telekom's accreditation type?"
},
{
"from": "gpt",
"value": "SELECT accreditation_type FROM table_name_88 WHERE network_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (location_attendance VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What was the Location and Attendance of Game 6?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_51 WHERE game = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (inclination VARCHAR, semimajor_axis___au__ VARCHAR)"
},
{
"from": "human",
"value": "What inclination has a semimajor axis of 20 au?"
},
{
"from": "gpt",
"value": "SELECT inclination FROM table_name_16 WHERE semimajor_axis___a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (eccentricity VARCHAR, semimajor_axis___au__ VARCHAR)"
},
{
"from": "human",
"value": "What is the eccentricity when the semimajor axis is 20 au?"
},
{
"from": "gpt",
"value": "SELECT eccentricity FROM table_name_75 WHERE semim... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (score VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is Score, when Team is \"Indiana\"?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_7 WHERE team = \"indiana\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (date VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is Date, when Game is \"8\"?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_48 WHERE game = 8"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (high_assists VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is High Assists, when Date is \"November 1\"?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_name_18 WHERE date = \"november 1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (winner VARCHAR, surface VARCHAR, week VARCHAR)"
},
{
"from": "human",
"value": "Who was the winner on a hard surface on the week of November 13?"
},
{
"from": "gpt",
"value": "SELECT winner FROM table_name_30 WHERE surface = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (player VARCHAR, conf VARCHAR, pos VARCHAR)"
},
{
"from": "human",
"value": "Which player had a conference of PAC-10 and position of G?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_56 WHERE conf = \"pac-10\" AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (player VARCHAR, pos VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "Which player had a position of OL from Ohio State?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_65 WHERE pos = \"ol\" AND college =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (player VARCHAR, pos VARCHAR, college VARCHAR)"
},
{
"from": "human",
"value": "Which player had a position of QB for Texas Tech?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_84 WHERE pos = \"qb\" AND college = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (opponent VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Can you tell me the Opponent that has the Round of 3?"
},
{
"from": "gpt",
"value": "SELECT opponent FROM table_name_30 WHERE round = 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (main_use VARCHAR, town VARCHAR)"
},
{
"from": "human",
"value": "What is the main use for the structure listed in walker city, iowa?"
},
{
"from": "gpt",
"value": "SELECT main_use FROM table_name_25 WHERE town = \"walker city,... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (year VARCHAR, town VARCHAR)"
},
{
"from": "human",
"value": "What year was the structure in greensboro, north carolina considered tallest?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_16 WHERE town = \"greensboro... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (year INTEGER, town VARCHAR)"
},
{
"from": "human",
"value": "What was the earliest year that a structure was located in gray court, south carolina?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_63 WHERE town ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (main_use VARCHAR, year VARCHAR, town VARCHAR)"
},
{
"from": "human",
"value": "What is the main use of the structure that was in redfield, arkansas before 2004?"
},
{
"from": "gpt",
"value": "SELECT main_use FROM table_name_77... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR)"
},
{
"from": "human",
"value": "How far did the pilot go when averaging 124.1km/h?"
},
{
"from": "gpt",
"value": "SELECT distance FROM table_name_44 WHERE speed = \"124.1km/h\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (speed VARCHAR, glider VARCHAR, pilot VARCHAR)"
},
{
"from": "human",
"value": "What was sebastian kawa's average speed with Diana 2?"
},
{
"from": "gpt",
"value": "SELECT speed FROM table_name_36 WHERE glider = \"diana 2\" AND... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (glider VARCHAR, pilot VARCHAR)"
},
{
"from": "human",
"value": "What glider did thomas gostner pilot?"
},
{
"from": "gpt",
"value": "SELECT glider FROM table_name_84 WHERE pilot = \"thomas gostner\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (run_4 VARCHAR, final VARCHAR)"
},
{
"from": "human",
"value": "Which Run 4 has a Final of 8:16.28?"
},
{
"from": "gpt",
"value": "SELECT run_4 FROM table_name_22 WHERE final = \"8:16.28\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (run_4 VARCHAR, athletes VARCHAR)"
},
{
"from": "human",
"value": "Which Run 4 has Athletes of hubert stevens & curtis stevens?"
},
{
"from": "gpt",
"value": "SELECT run_4 FROM table_name_46 WHERE athletes = \"hubert stevens & ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (run_2 VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which Run 2 has a Rank of 4?"
},
{
"from": "gpt",
"value": "SELECT run_2 FROM table_name_9 WHERE rank = \"4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (athletes VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "Which Athletes have a Rank of bronze?"
},
{
"from": "gpt",
"value": "SELECT athletes FROM table_name_44 WHERE rank = \"bronze\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (athletes VARCHAR, run_2 VARCHAR)"
},
{
"from": "human",
"value": "Which Athletes have a Run 2 of 2:21.82?"
},
{
"from": "gpt",
"value": "SELECT athletes FROM table_name_39 WHERE run_2 = \"2:21.82\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (run_3 VARCHAR, run_1 VARCHAR)"
},
{
"from": "human",
"value": "Which Run 3 has a Run 1 of 2:20.10?"
},
{
"from": "gpt",
"value": "SELECT run_3 FROM table_name_13 WHERE run_1 = \"2:20.10\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (republican VARCHAR, lead_margin INTEGER)"
},
{
"from": "human",
"value": "What percentage did Republish Christopher Reed receive when the lead margin was smaller than 16?"
},
{
"from": "gpt",
"value": "SELECT republican AS :_c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (democrat VARCHAR, poll_source VARCHAR, lead_margin VARCHAR)"
},
{
"from": "human",
"value": "What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR)"
},
{
"from": "human",
"value": "What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000?"
},
{
"from": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (time_retired VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "What is Olivier Jacque's Time/Retired?"
},
{
"from": "gpt",
"value": "SELECT time_retired FROM table_name_43 WHERE rider = \"olivier jacque\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (manufacturer VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "Which manufacturer is grid 11?"
},
{
"from": "gpt",
"value": "SELECT manufacturer FROM table_name_93 WHERE grid = \"11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (manufacturer VARCHAR, rider VARCHAR)"
},
{
"from": "human",
"value": "Which manufacturer does Loris Capirossi ride for?"
},
{
"from": "gpt",
"value": "SELECT manufacturer FROM table_name_13 WHERE rider = \"loris capirossi\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (manufacturer VARCHAR, laps VARCHAR)"
},
{
"from": "human",
"value": "Which manufacturer has 8 laps?"
},
{
"from": "gpt",
"value": "SELECT manufacturer FROM table_name_18 WHERE laps = \"8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (laps VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "How many laps does grid 4 have?"
},
{
"from": "gpt",
"value": "SELECT laps FROM table_name_74 WHERE grid = \"4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)"
},
{
"from": "human",
"value": "Which rider's manufacturer is Honda and has 28 laps and a grid of 1?"
},
{
"from": "gpt",
"value": "SELECT rider FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (rank VARCHAR)"
},
{
"from": "human",
"value": "What is the 2006 sum with a rank 1 and more than 6758845 in 1996?"
},
{
"from": "gpt",
"value": "SELECT SUM(2006) FROM table_name_38 WHERE rank = 1 AND 1996 > 6758845"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (date_of_official_foundation_of_municipality VARCHAR)"
},
{
"from": "human",
"value": "What is the total number in 2006, which has an official foundation of municipality of 1918?"
},
{
"from": "gpt",
"value": "SELECT COUNT(2006... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (rank INTEGER, city VARCHAR)"
},
{
"from": "human",
"value": "What is teh average rank of the city of mashhad, which had less than 667770 in 1976?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) FROM table_name_97 WHERE city = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (rank INTEGER, province VARCHAR)"
},
{
"from": "human",
"value": "What is the average rank of the province alborz, which had more than 14526 in 1956?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) FROM table_name_95 WHERE prov... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which World Rank happened in 1977?"
},
{
"from": "gpt",
"value": "SELECT world_rank FROM table_name_81 WHERE year = 1977"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (rank VARCHAR, premiere VARCHAR)"
},
{
"from": "human",
"value": "What is the rank for the episode that premiered on September 12, 1979?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_41 WHERE premiere = \"september... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (finale VARCHAR, premiere VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the finale for the season that premiered on September 22, 1976?"
},
{
"from": "gpt",
"value": "SELECT finale FROM table_name_72 WHERE prem... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR)"
},
{
"from": "human",
"value": "What is the rank for the episode that premiered on September 13, 1978?"
},
{
"from": "gpt",
"value": "SELECT rank FROM table_name_21 WHERE premiere = \"september... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (finale VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the finale for Season 3?"
},
{
"from": "gpt",
"value": "SELECT finale FROM table_name_61 WHERE season = 3"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (premiere VARCHAR, rating VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the premiere that had a 20.9 rating?"
},
{
"from": "gpt",
"value": "SELECT premiere FROM table_name_38 WHERE rating = \"20.9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (points VARCHAR, team VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What was Herdez Competition's total points with a grid larger than 1?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_name_39 WHERE te... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "What was the highest lap count for Walker Racing with a grid larger than 15?"
},
{
"from": "gpt",
"value": "SELECT MAX(laps) FROM table_name_34 WHERE t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (driver VARCHAR, laps VARCHAR)"
},
{
"from": "human",
"value": "Which driver had 248 laps?"
},
{
"from": "gpt",
"value": "SELECT driver FROM table_name_9 WHERE laps = 248"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (driver VARCHAR, time_retired VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What driver had a time/retired of + 10 laps and more than 6 points?"
},
{
"from": "gpt",
"value": "SELECT driver FROM table_name_80 WHERE t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (record VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a Game of 61?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_56 WHERE game = 61"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (high_points VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "Which High points have a Record of 27β29?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_name_67 WHERE record = \"27β29\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)?"
},
{
"from": "gpt",
"value": "SELECT high_poi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which Location Attendance has a Date of february 27?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_46 WHERE date = \"febru... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (record VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "Which Record has a High rebounds of luc mbah a moute (11)?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_42 WHERE high_rebounds = \"luc mba... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (game INTEGER, record VARCHAR)"
},
{
"from": "human",
"value": "Which Game has a Record of 27β30?"
},
{
"from": "gpt",
"value": "SELECT SUM(game) FROM table_name_99 WHERE record = \"27β30\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (tournament VARCHAR, score_in_final VARCHAR)"
},
{
"from": "human",
"value": "What Tournament had a Score in Final of 5β7, 4β6?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_43 WHERE score_in_final = \"5β7, 4... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR)"
},
{
"from": "human",
"value": "What is the Opponents in Final in the match with a Score in Final of 4β6, 1β6 played on Clay Surface?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (date VARCHAR, score_in_final VARCHAR, partner VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the match with Partner Steffi Graf with a Score in Final of 4β6, 1β6?"
},
{
"from": "gpt",
"value": "SELECT date FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (partner VARCHAR, score_in_final VARCHAR)"
},
{
"from": "human",
"value": "What is the Partner of the match with a Score in Final of 5β7, 4β6?"
},
{
"from": "gpt",
"value": "SELECT partner FROM table_name_92 WHERE score_in_fina... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is 2001, when 1999 is \"2R\", and when 1992 is \"3R\"?"
},
{
"from": "gpt",
"value": "SELECT 2001 FROM table_name_12 WHERE 1999 = \"2r\" AND 1992 = \"3r\""
}
] | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.