conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (fa_trophy VARCHAR, player VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "How many FA trophies did Ceri Williams get with a smaller total than 19?"
},
{
"from": "gpt",
"value": "SELECT COUNT(fa_trophy) FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (city VARCHAR, average VARCHAR)"
},
{
"from": "human",
"value": "Which City has an Average of 6.85?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_27 WHERE average = 6.85"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_81 (average INTEGER, city VARCHAR)"
},
{
"from": "human",
"value": "What is the Average of bergen, norway?"
},
{
"from": "gpt",
"value": "SELECT MIN(average) FROM table_name_81 WHERE city = \"bergen, norway\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (comprehension_of_danish VARCHAR, average VARCHAR, comprehension_of_norwegian VARCHAR)"
},
{
"from": "human",
"value": "Which Comprehension of Danish has an Average smaller than 6.85, and a Comprehension of Norwegian of 4.13?"
},
{
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What are the Attendance numbers for november 18, 1990?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_38 WHERE date = \"november 18, 1990\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (date VARCHAR, week VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the Date for a week higher than 7 with a record of 9β1?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_68 WHERE week > 7 AND reco... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (week INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the average week of a game on November 12, 1989?"
},
{
"from": "gpt",
"value": "SELECT AVG(week) FROM table_name_26 WHERE date = \"november 12, 1989\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (set_5 VARCHAR, set_3 VARCHAR, set_4 VARCHAR)"
},
{
"from": "human",
"value": "What is the Set 5 with a Set 3 that is 25-23 and a Set 4 that is 23-25?"
},
{
"from": "gpt",
"value": "SELECT set_5 FROM table_name_15 WHERE set_3 =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (game INTEGER, set_4 VARCHAR, set_3 VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of the Game with a Set 4 of 25-21 and a Set 3 of 25-23?"
},
{
"from": "gpt",
"value": "SELECT SUM(game) FROM table_name_24 WHERE set_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (set_5 VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What is the Set 5 with a Game that is 59?"
},
{
"from": "gpt",
"value": "SELECT set_5 FROM table_name_9 WHERE game = 59"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (nation VARCHAR, club VARCHAR, competition VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What shows for nation when the Competition is preseason, Year less than 2011, and a Club of chivas de guadalajara?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (result VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What was the Result for the club universidad de guadalajara?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_11 WHERE club = \"club universidad de gua... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (nation VARCHAR, result VARCHAR, year VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w 0β3?"
},
{
"from": "gpt",
"value":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (year INTEGER, competition VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What is the average Year when the Competition was friendly, and a Club of everton?"
},
{
"from": "gpt",
"value": "SELECT AVG(year) FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (competition VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "What is the Competition when the Club was costa rica u-20?"
},
{
"from": "gpt",
"value": "SELECT competition FROM table_name_94 WHERE club = \"costa rica u-20... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (club VARCHAR, result VARCHAR, competition VARCHAR, nation VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0β1?"
},
{
"from": "gpt",... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (total INTEGER, nation VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest total when the nation is Sweden?"
},
{
"from": "gpt",
"value": "SELECT MIN(total) FROM table_name_23 WHERE nation = \"sweden\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (total INTEGER, silver VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the average Total when silver is less than 1, and the rank is 15?"
},
{
"from": "gpt",
"value": "SELECT AVG(total) FROM table_name_12 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (bronze VARCHAR, rank VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Bronze when rank is 11, and the total is less than 1?"
},
{
"from": "gpt",
"value": "SELECT COUNT(bronze) FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (year INTEGER, director VARCHAR)"
},
{
"from": "human",
"value": "What year is the latest year that has no under director?"
},
{
"from": "gpt",
"value": "SELECT MAX(year) FROM table_name_18 WHERE director = \"no\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (director VARCHAR, year VARCHAR, writer VARCHAR)"
},
{
"from": "human",
"value": "With yes under writer and in 2014, what is the director?"
},
{
"from": "gpt",
"value": "SELECT director FROM table_name_77 WHERE year = 2014 AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (writer VARCHAR, film VARCHAR)"
},
{
"from": "human",
"value": "Who is the writer of the film Run?"
},
{
"from": "gpt",
"value": "SELECT writer FROM table_name_14 WHERE film = \"run\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the most goals made for a person with less than 208 matches and ranked lower than 12?"
},
{
"from": "gpt",
"value": "SELECT MAX(goals) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (years VARCHAR, goals VARCHAR, matches VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "In what years was there a rank lower than 9, under 84 goals, and more than 158 matches?"
},
{
"from": "gpt",
"value": "SELECT years ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (hdtv VARCHAR, television_service VARCHAR)"
},
{
"from": "human",
"value": "What is the HDTV status of the r-light television service?"
},
{
"from": "gpt",
"value": "SELECT hdtv FROM table_name_12 WHERE television_service = \"r... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (television_service VARCHAR, content VARCHAR, hdtv VARCHAR)"
},
{
"from": "human",
"value": "Which television service has programmi per adulti 24h/24 content and no HDTV?"
},
{
"from": "gpt",
"value": "SELECT television_service... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (television_service VARCHAR, package_option VARCHAR)"
},
{
"from": "human",
"value": "Which television service has a qualsiasi package/option?"
},
{
"from": "gpt",
"value": "SELECT television_service FROM table_name_27 WHERE pa... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of wins for Darley of Ballarat FL against larger than 1055?"
},
{
"from": "gpt",
"value": "SELECT COUNT(wins) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (draws INTEGER, against VARCHAR, wins VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest draw that has less than 4 wins, 14 losses, and against more than 1836?"
},
{
"from": "gpt",
"value": "SELECT MIN(... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (byes INTEGER, ballarat_fl VARCHAR, against VARCHAR)"
},
{
"from": "human",
"value": "What is the average Byes that has Ballarat FL of Sunbury against more than 1167?"
},
{
"from": "gpt",
"value": "SELECT AVG(byes) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (draws INTEGER, against VARCHAR, wins VARCHAR, losses VARCHAR)"
},
{
"from": "human",
"value": "What is the average draws with more than 1 win, 14 losses, and against less than 1836?"
},
{
"from": "gpt",
"value": "SELECT AVG(dr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (draws INTEGER, ballarat_fl VARCHAR, byes VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest draw from Ballarat FL of sunbury, and byes larger than 2?"
},
{
"from": "gpt",
"value": "SELECT MIN(draws) FROM table_name_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (away VARCHAR, club VARCHAR)"
},
{
"from": "human",
"value": "Which away has apoel as the club?"
},
{
"from": "gpt",
"value": "SELECT away FROM table_name_41 WHERE club = \"apoel\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (away VARCHAR, club VARCHAR, competition VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Which away has uefa cup as the competition, group f as the round, with espanyol as the club?"
},
{
"from": "gpt",
"value": "SELECT... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (location VARCHAR, fatalities VARCHAR, aircraft VARCHAR)"
},
{
"from": "human",
"value": "In what location were the fatalities unknown for the Ju-52 aircraft?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_12 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (location VARCHAR, tail_number VARCHAR)"
},
{
"from": "human",
"value": "In what location was the tail number ZS-SPF?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_83 WHERE tail_number = \"zs-spf\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (location VARCHAR, aircraft VARCHAR)"
},
{
"from": "human",
"value": "What was the location of the Ju-52 aircraft?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_61 WHERE aircraft = \"ju-52\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (fatalities VARCHAR, tail_number VARCHAR)"
},
{
"from": "human",
"value": "How many fatalities occurred for an unknown tail number?"
},
{
"from": "gpt",
"value": "SELECT fatalities FROM table_name_60 WHERE tail_number = \"unkno... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (tail_number VARCHAR, fatalities VARCHAR)"
},
{
"from": "human",
"value": "What was the tail number with 3/3 fatalities?"
},
{
"from": "gpt",
"value": "SELECT tail_number FROM table_name_32 WHERE fatalities = \"3/3\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (fatalities VARCHAR, aircraft VARCHAR)"
},
{
"from": "human",
"value": "How many fatalities occurred for the Ju-52 aircraft?"
},
{
"from": "gpt",
"value": "SELECT fatalities FROM table_name_18 WHERE aircraft = \"ju-52\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (score VARCHAR, goal VARCHAR)"
},
{
"from": "human",
"value": "What was the score for a goal of 6?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_57 WHERE goal = 6"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Where was the match held on July 17, 1999?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_43 WHERE date = \"july 17, 1999\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (democratic_ticket VARCHAR, office VARCHAR)"
},
{
"from": "human",
"value": "Who was on the Democratic ticket for the Office of Attorney General?"
},
{
"from": "gpt",
"value": "SELECT democratic_ticket FROM table_name_70 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (name VARCHAR, novelty VARCHAR)"
},
{
"from": "human",
"value": "What name has gen et sp nov as the novelty?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_56 WHERE novelty = \"gen et sp nov\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (authors VARCHAR, unit VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What authors have clarno formation as the unit, actinidia oregonensis as the name?"
},
{
"from": "gpt",
"value": "SELECT authors FROM table_name_55 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (novelty VARCHAR, location VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What novelty has USA as the location, and coryloides as the name?"
},
{
"from": "gpt",
"value": "SELECT novelty FROM table_name_70 WHERE locatio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (status VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What status has paleopanax as the name?"
},
{
"from": "gpt",
"value": "SELECT status FROM table_name_78 WHERE name = \"paleopanax\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (unit VARCHAR, novelty VARCHAR)"
},
{
"from": "human",
"value": "What unit has gen et sp nov as the novelty?"
},
{
"from": "gpt",
"value": "SELECT unit FROM table_name_51 WHERE novelty = \"gen et sp nov\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR)"
},
{
"from": "human",
"value": "Which date was the Memorial Tournament held on, when Payne Stewart was runner-up?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (event VARCHAR)"
},
{
"from": "human",
"value": "What is the 2007-08 result when the event was Colonial Square?"
},
{
"from": "gpt",
"value": "SELECT 2007 AS _08 FROM table_name_74 WHERE event = \"colonial square\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (event VARCHAR)"
},
{
"from": "human",
"value": "What is the 2008-09 result has Masters as the event?"
},
{
"from": "gpt",
"value": "SELECT 2008 AS _09 FROM table_name_58 WHERE event = \"masters\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (year VARCHAR, result VARCHAR, series VARCHAR)"
},
{
"from": "human",
"value": "What year gave a nominated result for the room 222 series?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_66 WHERE result = \"no... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (series VARCHAR, year VARCHAR, actor VARCHAR)"
},
{
"from": "human",
"value": "What was actor Teresa Graves's series before the year 1993?"
},
{
"from": "gpt",
"value": "SELECT series FROM table_name_82 WHERE year < 1993 AND ac... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (motor VARCHAR, quantity VARCHAR, class VARCHAR)"
},
{
"from": "human",
"value": "Which motor's quantity was more than 8, and a class of bs 1915?"
},
{
"from": "gpt",
"value": "SELECT motor FROM table_name_57 WHERE quantity > 8... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (motor VARCHAR, class VARCHAR)"
},
{
"from": "human",
"value": "Which motor's class was bs 1910?"
},
{
"from": "gpt",
"value": "SELECT motor FROM table_name_84 WHERE class = \"bs 1910\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (quantity VARCHAR, seats VARCHAR, class VARCHAR)"
},
{
"from": "human",
"value": "What is the quantity when the seats number was 16 and the class was kss 1913?"
},
{
"from": "gpt",
"value": "SELECT quantity FROM table_name_67 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (root_of_all_evil VARCHAR, original_air_date VARCHAR)"
},
{
"from": "human",
"value": "What is the Root of All Evil with an Original air date that is september 3, 2008?"
},
{
"from": "gpt",
"value": "SELECT root_of_all_evil FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (goals_conceded__gc_ INTEGER, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR)"
},
{
"from": "human",
"value": "Goals Conceded (GC) that has a Draw (PE) larger than 2, and a Goals Scored (GF) larger than 19?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (university_of_dublin VARCHAR, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)"
},
{
"from": "human",
"value": "What is the number for the University of Dublin with their Cultural and Educational Panel of 5... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_79 (rank VARCHAR, losing_semi__finalist VARCHAR, winner VARCHAR)"
},
{
"from": "human",
"value": "Which Rank has a Losing Semi- finalist larger than 1, and a Winner smaller than 5?"
},
{
"from": "gpt",
"value": "SELECT rank FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (rank INTEGER, country VARCHAR, losing_semi__finalist VARCHAR)"
},
{
"from": "human",
"value": "Which Rank has a Country of costa rica, and a Losing Semi- finalist larger than 1?"
},
{
"from": "gpt",
"value": "SELECT AVG(rank) ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (rank INTEGER, runner__up INTEGER)"
},
{
"from": "human",
"value": "Which Rank has a Runner -up smaller than 0?"
},
{
"from": "gpt",
"value": "SELECT MAX(rank) FROM table_name_31 WHERE runner__up < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_64 (year VARCHAR, country VARCHAR, dates VARCHAR)"
},
{
"from": "human",
"value": "What Year was the United States the country for aug 3β5?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_64 WHERE country = \"united sta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (purse__ INTEGER, dates VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Purse for aug 3β5?"
},
{
"from": "gpt",
"value": "SELECT MAX(purse__) AS $_ FROM table_name_80 WHERE dates = \"aug 3β5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (country VARCHAR, package_option VARCHAR)"
},
{
"from": "human",
"value": "Which country has a qualsiasi tranne sky hd package/option?"
},
{
"from": "gpt",
"value": "SELECT country FROM table_name_21 WHERE package_option = \"qu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (package_option VARCHAR, television_service VARCHAR)"
},
{
"from": "human",
"value": "Which package/option has sky wwe 24/7 television service?"
},
{
"from": "gpt",
"value": "SELECT package_option FROM table_name_99 WHERE telev... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (package_option VARCHAR, content VARCHAR)"
},
{
"from": "human",
"value": "What is the package/option for the calcio content?"
},
{
"from": "gpt",
"value": "SELECT package_option FROM table_name_53 WHERE content = \"calcio\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (language VARCHAR, television_service VARCHAR)"
},
{
"from": "human",
"value": "What is the language of the television service cartello promozionale sky hd?"
},
{
"from": "gpt",
"value": "SELECT language FROM table_name_50 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (bike VARCHAR, rider VARCHAR, grid VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider?"
},
{
"from": "gpt",
"value": "SELECT b... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385?"
},
{
"from": "gpt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (rider VARCHAR, grid VARCHAR)"
},
{
"from": "human",
"value": "Who was the rider with a grid of 36?"
},
{
"from": "gpt",
"value": "SELECT rider FROM table_name_39 WHERE grid = 36"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (bike VARCHAR, grid VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "Which bike had a grid less than 35 and time at 37:58.607?"
},
{
"from": "gpt",
"value": "SELECT bike FROM table_name_13 WHERE grid < 35 AND time = \"37... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (result VARCHAR, director VARCHAR, original_title VARCHAR)"
},
{
"from": "human",
"value": "What is Result, when Director is Veljko BulajiΔ category:articles with hcards, and when Original title is Sarajevski Atentat?"
},
{
"from":... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_78 (result VARCHAR, director VARCHAR)"
},
{
"from": "human",
"value": "What is Result, when Director is Mirza IdrizoviΔ category:articles with hcards?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_78 WHERE director ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "What is Original title, when Film title used in nomination is Train Without A Timetable?"
},
{
"from": "gpt",
"value": "SELECT ori... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (original_title VARCHAR, director VARCHAR, film_title_used_in_nomination VARCHAR)"
},
{
"from": "human",
"value": "What is Original title, when Director is Veljko BulajiΔ category:articles with hcards, and when Film title used in nominatio... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)"
},
{
"from": "human",
"value": "What is Film title used in nomination, when Year (Ceremony) is 1968 (41st)?"
},
{
"from": "gpt",
"value": "SELECT film_title_used... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (director VARCHAR, result VARCHAR, year__ceremony_ VARCHAR)"
},
{
"from": "human",
"value": "What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)?"
},
{
"from": "gpt",
"value": "SELECT director FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (name VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)"
},
{
"from": "human",
"value": "Which name's height in centimeters is 178 when its weight in kilograms is less than 91?"
},
{
"from": "gpt",
"value": "SELECT name FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (high_points VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the player with the High points when there was a Record of 31β48?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_name_66 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (high_rebounds VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the player with the High rebounds when there was a Score of l 108β114 (ot)?"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM ta... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (lead VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the Lead for the 1999β00 season?"
},
{
"from": "gpt",
"value": "SELECT lead FROM table_name_87 WHERE season = \"1999β00\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (second VARCHAR, third VARCHAR)"
},
{
"from": "human",
"value": "What is the Second when the third is don walchuk?"
},
{
"from": "gpt",
"value": "SELECT second FROM table_name_91 WHERE third = \"don walchuk\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (season VARCHAR, second VARCHAR, lead VARCHAR, third VARCHAR)"
},
{
"from": "human",
"value": "What is the Season when the Lead was don bartlett, and the third was don walchuk, and a Second of carter rycroft?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (skip VARCHAR, third VARCHAR)"
},
{
"from": "human",
"value": "What is the Skip when the Third was john morris?"
},
{
"from": "gpt",
"value": "SELECT skip FROM table_name_61 WHERE third = \"john morris\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (third VARCHAR, season VARCHAR, lead VARCHAR, second VARCHAR)"
},
{
"from": "human",
"value": "What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003β04?"
},
{
"from": "gpt",
"valu... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (lead VARCHAR, second VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "What is the Lead when the Second was marc kennedy, in the 2012β13 season?"
},
{
"from": "gpt",
"value": "SELECT lead FROM table_name_66 WHERE secon... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (city VARCHAR, capacity VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the city with a capacity of 41,311?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_97 WHERE capacity = \"41,311\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (state VARCHAR, city VARCHAR)"
},
{
"from": "human",
"value": "What is the State with Suwon as the city"
},
{
"from": "gpt",
"value": "SELECT state FROM table_name_37 WHERE city = \"suwon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (state VARCHAR, home_venue VARCHAR)"
},
{
"from": "human",
"value": "What is the State with a home venue of suwon sports complex?"
},
{
"from": "gpt",
"value": "SELECT state FROM table_name_43 WHERE home_venue = \"suwon sports ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (team VARCHAR, city VARCHAR)"
},
{
"from": "human",
"value": "What is the team name for Chungju?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_11 WHERE city = \"chungju\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (team VARCHAR, home_venue VARCHAR)"
},
{
"from": "human",
"value": "What is the Team with a venue of Anyang Stadium?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_96 WHERE home_venue = \"anyang stadium\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (state VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What is the State with Gwangju Fc as the team?"
},
{
"from": "gpt",
"value": "SELECT state FROM table_name_10 WHERE team = \"gwangju fc\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the To par, when the Player is Loren Roberts?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_72 WHERE player = \"loren roberts\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (to_par VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the To par, when the Score is 68-71-69=208?"
},
{
"from": "gpt",
"value": "SELECT to_par FROM table_name_1 WHERE score = 68 - 71 - 69 = 208"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the Place, when the Score is 68-70-71=209?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_19 WHERE score = 68 - 70 - 71 = 209"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (place VARCHAR, player VARCHAR)"
},
{
"from": "human",
"value": "What is the Place, when the Player is Chris Dimarco?"
},
{
"from": "gpt",
"value": "SELECT place FROM table_name_8 WHERE player = \"chris dimarco\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)"
},
{
"from": "human",
"value": "What is the Score, when the Country is United States, when the Place is T3, and when the Player is Chris Riley?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (score VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What is the score where the opponent was Mardy Fish?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_68 WHERE opponent = \"mardy fish\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (surface VARCHAR, score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What surface was played on with a score of 6β4, 6β3 and on 4 May 1992?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_36 WHERE score... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.