conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (country VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Country has a Score of 79-68-74=212?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_49 WHERE score = 79 - 68 - 74 = 212"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which To par has a Country of united states, and a Player of duffy waldorf?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_22 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (opponent_in_final VARCHAR, date VARCHAR, surface VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is Opponent In Final, when Surface is Hard, when Location is Wellington, New Zealand, and when Date is 6 February 2000?"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is Surface, when Date is 2 May 1999?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_85 WHERE date = \"2 may 1999\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (team__number1 VARCHAR)"
},
{
"from": "human",
"value": "What is the 2nd leg when team #1 is Rubin Kazan?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_leg FROM table_name_44 WHERE team__number1 = \"rubin kazan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (agg VARCHAR, team__number2 VARCHAR)"
},
{
"from": "human",
"value": "What is the agg when team #2 is 2006 UEFA Intertoto Cup?"
},
{
"from": "gpt",
"value": "SELECT agg FROM table_name_24 WHERE team__number2 = \"2006 uefa inter... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)"
},
{
"from": "human",
"value": "What is the highest market value in billions of the company with profits of 20.96 billions and 166.99 billions in as... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (market_value__billion_ VARCHAR, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)"
},
{
"from": "human",
"value": "What is the total market value in billions of the company with 20.96 billion in profits and less than 166.99 billion... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (assets__billion_ INTEGER, company VARCHAR, sales__billion_$_ VARCHAR)"
},
{
"from": "human",
"value": "What is the average assets in billions of the company Bank of America, which has less than 49.01 billions in sales?"
},
{
"from... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR)"
},
{
"from": "human",
"value": "What is the highest profits in billions of the company headquartered in the USA with a market v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (total INTEGER, nation VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "Which Total has a Nation of japan, and a Silver larger than 2?"
},
{
"from": "gpt",
"value": "SELECT MIN(total) FROM table_name_55 WHERE nation = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6?"
},
{
"from": "gpt",
"value": "SELECT nation FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (silver INTEGER, rank VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "Which Silver has a Rank of 1, and a Total smaller than 11?"
},
{
"from": "gpt",
"value": "SELECT SUM(silver) FROM table_name_80 WHERE rank = \"1\" A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "Which Total has a Nation of united states, and a Bronze larger than 3?"
},
{
"from": "gpt",
"value": "SELECT MAX(total) FROM table_name_4 WHERE nat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (venue VARCHAR, opponent VARCHAR, batsmen VARCHAR)"
},
{
"from": "human",
"value": "Where did jamie cox & daniel marsh play against queensland?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_71 WHERE opponent = \"q... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (venue VARCHAR, batsmen VARCHAR)"
},
{
"from": "human",
"value": "Where were jamie cox & scott kremerskothen paired?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_24 WHERE batsmen = \"jamie cox & scott kremerskoth... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (batsmen VARCHAR, wicket VARCHAR)"
},
{
"from": "human",
"value": "Who were the batsmen paired for wicket 7?"
},
{
"from": "gpt",
"value": "SELECT batsmen FROM table_name_83 WHERE wicket = \"7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (runs VARCHAR, opponent VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "How many runs did they get against new south wales in 2002/03?"
},
{
"from": "gpt",
"value": "SELECT runs FROM table_name_13 WHERE opponent = \"n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (season VARCHAR, opponent VARCHAR, wicket VARCHAR)"
},
{
"from": "human",
"value": "What season did they play queensland at wicket 4?"
},
{
"from": "gpt",
"value": "SELECT season FROM table_name_81 WHERE opponent = \"queensland... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (peak_position VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the Peak Position on July 11, 2001?"
},
{
"from": "gpt",
"value": "SELECT peak_position FROM table_name_12 WHERE date = \"july 11, 2001\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (weeks VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "On December 12, 2001, how many weeks had the single been in its position?"
},
{
"from": "gpt",
"value": "SELECT weeks FROM table_name_18 WHERE date = \"december 12,... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (nationality VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "What is the nationality of the Team Purdue?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_73 WHERE school_club_team = \"purdue... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (nationality VARCHAR, school_club_team VARCHAR)"
},
{
"from": "human",
"value": "What is the nationality of the Team Georgia Tech?"
},
{
"from": "gpt",
"value": "SELECT nationality FROM table_name_47 WHERE school_club_team = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (nationality VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR)"
},
{
"from": "human",
"value": "What is the nationality of the forward position on the Grizzlies in 2011?"
},
{
"from": "gpt",
"value": "SELECT nationality F... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (runner_up VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Who was the runner-up at the event held in Tartu, Estonia?"
},
{
"from": "gpt",
"value": "SELECT runner_up FROM table_name_53 WHERE venue = \"tartu, estonia\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "For the event held in Tartu, Estonia, what is the name of the runner-up?"
},
{
"from": "gpt",
"value": "SELECT runner_up FROM table_name_90 WHERE venue = \"tar... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (third_place VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Who took third place in 2012?"
},
{
"from": "gpt",
"value": "SELECT third_place FROM table_name_82 WHERE year = 2012"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "In what year was this event held in Oslo, Norway?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_13 WHERE venue = \"oslo, norway\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (head_s__of_government VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the head of government for Don Stephen Senanayake?"
},
{
"from": "gpt",
"value": "SELECT head_s__of_government FROM table_name_77 WHERE name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (team VARCHAR, pos VARCHAR)"
},
{
"from": "human",
"value": "Which team is in 14th position?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_20 WHERE pos = \"14th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (team__number2 VARCHAR)"
},
{
"from": "human",
"value": "What is 2nd Leg, when Team #2 is \"San Lorenzo\"?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_leg FROM table_name_96 WHERE team__number2 = \"san lorenzo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (clock_speed VARCHAR, fsb_speed VARCHAR, model_number VARCHAR)"
},
{
"from": "human",
"value": "Which Clock Speed has a FSB Speed of 400 mhz, and a Model Number of c7-m 794?"
},
{
"from": "gpt",
"value": "SELECT clock_speed FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (socket VARCHAR, fsb_speed VARCHAR, voltage_range VARCHAR)"
},
{
"from": "human",
"value": "Which Socket has a FSB Speed of 400 mhz, and a Voltage Range of 1.004 v?"
},
{
"from": "gpt",
"value": "SELECT socket FROM table_name_1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR)"
},
{
"from": "human",
"value": "Which Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764?"
},
{
"from": "gpt",
"value": "SELECT c... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (fsb_speed VARCHAR, model_number VARCHAR)"
},
{
"from": "human",
"value": "Which FSB Speed has a Model Number of c7-m 765?"
},
{
"from": "gpt",
"value": "SELECT fsb_speed FROM table_name_46 WHERE model_number = \"c7-m 765\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (clock_multiplier VARCHAR, model_number VARCHAR)"
},
{
"from": "human",
"value": "Which Clock Multiplier has a Model Number of c7-m 764?"
},
{
"from": "gpt",
"value": "SELECT clock_multiplier FROM table_name_23 WHERE model_numb... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR)"
},
{
"from": "human",
"value": "Which Release Date has a Voltage Range of 1.148 v - 1.196 v?"
},
{
"from": "gpt",
"value": "SELECT release_date FROM table_name_34 WHERE voltage_ran... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "Who are the players that placed t2?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_33 WHERE place = \"t2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (country VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which country is Lee Trevino from?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_97 WHERE player = \"lee trevino\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (player VARCHAR, country VARCHAR)"
},
{
"from": "human",
"value": "Which player(s) is from South Africa?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_76 WHERE country = \"south africa\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (record VARCHAR, finish VARCHAR, year VARCHAR, manager VARCHAR)"
},
{
"from": "human",
"value": "what is the record when the year is after 1992, manager is tom kotchman and finish is 2nd?"
},
{
"from": "gpt",
"value": "SELECT r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (finish VARCHAR, manager VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "what is the finish when the manager is tom kotchman and record is 43-33?"
},
{
"from": "gpt",
"value": "SELECT finish FROM table_name_82 WHERE m... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (finish VARCHAR, manager VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "what is the finish when the manager is tom kotchman and the record is 40-36?"
},
{
"from": "gpt",
"value": "SELECT finish FROM table_name_50 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (manager VARCHAR, year VARCHAR, finish VARCHAR)"
},
{
"from": "human",
"value": "who is the manager when the year is before 1994 and finish is 5th?"
},
{
"from": "gpt",
"value": "SELECT manager FROM table_name_6 WHERE year < 199... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (record VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "what is the record when the year is 2011?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_name_45 WHERE year = 2011"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (player VARCHAR, total VARCHAR, year_s__won VARCHAR)"
},
{
"from": "human",
"value": "What is Player, when Total is \"294\", and when Year(s) Won is \"1955\"?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_61 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (player VARCHAR, to_par INTEGER)"
},
{
"from": "human",
"value": "What is Player, when To Par is less than 14?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_28 WHERE to_par < 14"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is To Par, when Player is \"Tommy Bolt\"?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_55 WHERE player = \"tommy bolt\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (total INTEGER, player VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Total, when Player is \"Tommy Bolt\"?"
},
{
"from": "gpt",
"value": "SELECT SUM(total) FROM table_name_4 WHERE player = \"tommy bolt\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (total VARCHAR, to_par VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Total, when To Par is \"7\"?"
},
{
"from": "gpt",
"value": "SELECT COUNT(total) FROM table_name_50 WHERE to_par = 7"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (award VARCHAR, result VARCHAR, nomination VARCHAR)"
},
{
"from": "human",
"value": "Which award was won when the nomination was Senses Around?"
},
{
"from": "gpt",
"value": "SELECT award FROM table_name_77 WHERE result = \"won... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (nomination VARCHAR, year INTEGER)"
},
{
"from": "human",
"value": "What was the nomination in a year earlier than 2009?"
},
{
"from": "gpt",
"value": "SELECT nomination FROM table_name_43 WHERE year < 2009"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR)"
},
{
"from": "human",
"value": "Which award is for the category Best New Artist?"
},
{
"from": "gpt",
"value": "SELECT award FROM table_name_55 WHERE category = \"best new artist\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (year INTEGER, category VARCHAR)"
},
{
"from": "human",
"value": "What is the earliest year with a category of Top 10 Selling Mandarin Albums of the Year?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_53 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (discipline VARCHAR, championship VARCHAR)"
},
{
"from": "human",
"value": "For the USAC National Championship, what is the Discipline?"
},
{
"from": "gpt",
"value": "SELECT discipline FROM table_name_31 WHERE championship = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (championship VARCHAR, session VARCHAR, event VARCHAR)"
},
{
"from": "human",
"value": "In the Indianapolis Sweepstakes race session, what is the championship?"
},
{
"from": "gpt",
"value": "SELECT championship FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (circuit VARCHAR, championship VARCHAR)"
},
{
"from": "human",
"value": "What circuit is the Sprint Cup series championship?"
},
{
"from": "gpt",
"value": "SELECT circuit FROM table_name_29 WHERE championship = \"sprint cup ser... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "What were the Results for 25,000 Attendance?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_91 WHERE attendance = \"25,000\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the result on 10/06/1934?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_80 WHERE date = \"10/06/1934\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (founded INTEGER, stadium VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What year was the team Club of atlético de san juan fc who plays at hiram bithorn stadium founded."
},
{
"from": "gpt",
"value": "SELECT SUM(foun... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (branding VARCHAR, power VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the Branding of the Iloilo City Frequency with a Power of 10 Kw?"
},
{
"from": "gpt",
"value": "SELECT branding FROM table_name_38 WHE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (power VARCHAR, callsign VARCHAR)"
},
{
"from": "human",
"value": "What is the Power of the Frequency with a Callsign of DXLL?"
},
{
"from": "gpt",
"value": "SELECT power FROM table_name_48 WHERE callsign = \"dxll\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (frequency VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "What is the Frequency in Davao City?"
},
{
"from": "gpt",
"value": "SELECT frequency FROM table_name_91 WHERE location = \"davao city\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (branding VARCHAR, callsign VARCHAR)"
},
{
"from": "human",
"value": "What is the Branding with a Callsign DWLL?"
},
{
"from": "gpt",
"value": "SELECT branding FROM table_name_99 WHERE callsign = \"dwll\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (branding VARCHAR, location VARCHAR, callsign VARCHAR)"
},
{
"from": "human",
"value": "What is the Branding of the Metro Manila Frequency with a Callsign of DWBL?"
},
{
"from": "gpt",
"value": "SELECT branding FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR)"
},
{
"from": "human",
"value": "What is the Location of the Frequency with a Callsign of DXBL?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_89 WHERE callsign = \"dxbl\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (name VARCHAR, year_named VARCHAR, longitude VARCHAR)"
},
{
"from": "human",
"value": "What name in a year after 1997 has a longitude of 213.0e?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_91 WHERE year_named > 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (year_named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR)"
},
{
"from": "human",
"value": "How many years correspond to longitude of 36.8e and diameter greater than 697?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (pick__number VARCHAR, position VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What was the pick # for a center picked before round 6?"
},
{
"from": "gpt",
"value": "SELECT COUNT(pick__number) FROM table_name_87 WHERE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (team VARCHAR, seed VARCHAR, notes VARCHAR)"
},
{
"from": "human",
"value": "What team with a seed value greater than 7 has a note that they were an NCRAA champion?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_75 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (oricon_peak VARCHAR, date_of_release VARCHAR, label VARCHAR, title VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE ORICON PEAK NUMBER WITH AN ATLANTIC LABEL, SUBHUMAN RACE, LATER THAN 1995?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (label VARCHAR, date_of_release VARCHAR)"
},
{
"from": "human",
"value": "WHAT LABEL HAD A RELEASE DATE OF 1991?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_80 WHERE date_of_release = 1991"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (date_of_release INTEGER, title VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN?"
},
{
"from": "gpt",
"value": "SELECT AVG(date_of_release) FROM table_name_33 WHERE title = \"thickski... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (enrollment INTEGER, left VARCHAR, current_conference VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest enrollment amount for a year left of 2012 and a current conference of Mid-South?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (season INTEGER, score VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which season was there a game with the score of 1:3 played at the venue of national stadium, maldives?"
},
{
"from": "gpt",
"value": "SELECT SUM(se... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR, team_2 VARCHAR)"
},
{
"from": "human",
"value": "What was the venue of the match where the score was 1:3 and team 2 was binh duong?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_61 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (score VARCHAR, team_2 VARCHAR)"
},
{
"from": "human",
"value": "What was the score of the game when team 2 was club valencia?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_70 WHERE team_2 = \"club valencia\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (venue VARCHAR, team_2 VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What was the venue of the match where team 2 was pea and the score was 1:3?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_59 WHERE te... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (solar VARCHAR, year VARCHAR, hydroelectricity VARCHAR)"
},
{
"from": "human",
"value": "In 2011 with a hydroelectricity less than 119.6, what was the solar?"
},
{
"from": "gpt",
"value": "SELECT solar FROM table_name_48 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (hydroelectricity INTEGER, total VARCHAR, solar VARCHAR)"
},
{
"from": "human",
"value": "What is the minimum hydroelectricity with a less than 116.4 total, and a greater than 18.637 solar?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (hydroelectricity INTEGER, year VARCHAR, wind_power VARCHAR)"
},
{
"from": "human",
"value": "In 2011 with a less than 13.333 wind power what is the mean hydroelectricity?"
},
{
"from": "gpt",
"value": "SELECT AVG(hydroelectric... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (country VARCHAR, total VARCHAR, solar VARCHAR)"
},
{
"from": "human",
"value": "What country has a less than 136.1 total and a 0.02 solar?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_38 WHERE total < 136.1 AN... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (home VARCHAR, away VARCHAR)"
},
{
"from": "human",
"value": "Home for away of hispano?"
},
{
"from": "gpt",
"value": "SELECT home FROM table_name_4 WHERE away = \"hispano\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (position VARCHAR, pick__number VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Which Position has a Pick # smaller than 23, and a Player of garrett sutherland?"
},
{
"from": "gpt",
"value": "SELECT position FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (cfl_team VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "Name the CFL Team which has a Player of chris evraire?"
},
{
"from": "gpt",
"value": "SELECT cfl_team FROM table_name_53 WHERE player = \"chris evraire\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (player VARCHAR, pick__number VARCHAR)"
},
{
"from": "human",
"value": "Name The Player who has a Pick # of 27?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_13 WHERE pick__number = 27"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (player VARCHAR, cfl_team VARCHAR)"
},
{
"from": "human",
"value": "Name the Player who has a CFL Team of toronto?"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_24 WHERE cfl_team = \"toronto\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (pick__number INTEGER, position VARCHAR, cfl_team VARCHAR)"
},
{
"from": "human",
"value": "Name the Pick # which has a Position of lb, and a CFL Team of winnipeg?"
},
{
"from": "gpt",
"value": "SELECT SUM(pick__number) FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (attendance INTEGER, home VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33?"
},
{
"from": "gpt",
"value": "SELECT SUM(attendance) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the location and attendance for the game on December 12?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_name_68 WHERE d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (touchdowns INTEGER, player VARCHAR, yards VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest Touchdowns, when Player is Andrew Glover, and when Yards is greater than 281?"
},
{
"from": "gpt",
"value": "SELECT MIN(tou... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR)"
},
{
"from": "human",
"value": "What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39?"
},
{
"from": "gpt",
"value": "SELECT AVG(touchdow... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (attempts VARCHAR, touchdowns VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Attempts, when Touchdowns is 6?"
},
{
"from": "gpt",
"value": "SELECT COUNT(attempts) FROM table_name_61 WHERE touchdowns = 6"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (venue VARCHAR, extra VARCHAR)"
},
{
"from": "human",
"value": "What is Venue, when Extra is Pentathlon?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_39 WHERE extra = \"pentathlon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (year INTEGER, extra VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Year, when Extra is Pentathlon?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_name_33 WHERE extra = \"pentathlon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (year INTEGER, result VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of Year, when Result is 9th?"
},
{
"from": "gpt",
"value": "SELECT SUM(year) FROM table_name_10 WHERE result = \"9th\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (tournament VARCHAR, result VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is Tournament, when Result is 2nd, and when Year is 2009?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_74 WHERE result... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (result VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What is Result, when Venue is Götzis , Austria?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_77 WHERE venue = \"götzis , austria\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (label VARCHAR, region VARCHAR)"
},
{
"from": "human",
"value": "What label does Germany have?"
},
{
"from": "gpt",
"value": "SELECT label FROM table_name_24 WHERE region = \"germany\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (region VARCHAR, label VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What region has the Chrysalis label, and a Catalog of chr 1047?"
},
{
"from": "gpt",
"value": "SELECT region FROM table_name_13 WHERE label = \"c... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.