conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_17103566_1 (man_of_the_match VARCHAR, team_1 VARCHAR)" }, { "from": "human", "value": "Who is man of the match when Team 1 is ICL Pakistan?" }, { "from": "gpt", "value": "SELECT man_of_the_match FROM table_17103566_1 WHERE team_1 = \"I...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17103566_1 (date VARCHAR, match_number VARCHAR)" }, { "from": "human", "value": "How many dates have a Match number of 5?" }, { "from": "gpt", "value": "SELECT COUNT(date) FROM table_17103566_1 WHERE match_number = 5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17103566_1 (man_of_the_match VARCHAR, match_number VARCHAR)" }, { "from": "human", "value": "Who is man of the match for match number 5?" }, { "from": "gpt", "value": "SELECT man_of_the_match FROM table_17103566_1 WHERE match_number = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17103729_7 (location_attendance VARCHAR, score VARCHAR)" }, { "from": "human", "value": "With a score of 68-85, what is the location and attendance?" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_17103729_7 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17103729_8 (location_attendance VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Name the location of 64-74" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_17103729_8 WHERE score = \"64-74\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17103729_8 (score VARCHAR, game VARCHAR)" }, { "from": "human", "value": "Name the score for game for 25" }, { "from": "gpt", "value": "SELECT score FROM table_17103729_8 WHERE game = 25" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17103729_8 (record VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "Name the record for attendance location of palace of auburn hills 15,210" }, { "from": "gpt", "value": "SELECT record FROM table_17103729_8 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17103729_8 (high_rebounds VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Name the high rebounds for score of 64-74" }, { "from": "gpt", "value": "SELECT COUNT(high_rebounds) FROM table_17103729_8 WHERE score = \"64-74\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17103729_8 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Namethe score for july 16" }, { "from": "gpt", "value": "SELECT score FROM table_17103729_8 WHERE date = \"July 16\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1710426_2 (best_10_year_period VARCHAR, best_15_year_period VARCHAR)" }, { "from": "human", "value": "Which people had the best 10-year period when Fischer had best 15-year period?" }, { "from": "gpt", "value": "SELECT best_10_year_per...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1710426_2 (best_10_year_period VARCHAR, best_15_year_period VARCHAR)" }, { "from": "human", "value": "Which people had the best 10-year period when Capablanca had the best 15-year period?" }, { "from": "gpt", "value": "SELECT best_10_y...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_9 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Name the record for june 7" }, { "from": "gpt", "value": "SELECT record FROM table_17104539_9 WHERE date = \"June 7\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_9 (date VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Name the date for the score of w 83-69" }, { "from": "gpt", "value": "SELECT date FROM table_17104539_9 WHERE score = \"W 83-69\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_9 (record VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Name the record for score of w 76-67" }, { "from": "gpt", "value": "SELECT record FROM table_17104539_9 WHERE score = \"W 76-67\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_12 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What are the scores for games played on september 9?" }, { "from": "gpt", "value": "SELECT score FROM table_17104539_12 WHERE date = \"September 9\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_12 (score VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What was the score of the game played when the team was 16-17?" }, { "from": "gpt", "value": "SELECT score FROM table_17104539_12 WHERE record = \"16-17\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_12 (location_attendance VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What was the location and where did the team play game number 32?" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_17104539_12...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_10 (high_rebounds VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Who had a high rebound where the associated record is 11-13?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_17104539_10 WHERE record =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_10 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "On July 8, what was the score?" }, { "from": "gpt", "value": "SELECT score FROM table_17104539_10 WHERE date = \"July 8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17104539_10 (opponent VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who was the oppenent what the score was L 68-60?" }, { "from": "gpt", "value": "SELECT opponent FROM table_17104539_10 WHERE score = \"L 68-60\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118657_10 (record VARCHAR, high_assists VARCHAR)" }, { "from": "human", "value": "If high assists are under Canty (6) how much would the record be?" }, { "from": "gpt", "value": "SELECT record FROM table_17118657_10 WHERE high_assist...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118657_10 (high_points VARCHAR, score VARCHAR)" }, { "from": "human", "value": "If the score is 62-70, what are the high points?" }, { "from": "gpt", "value": "SELECT high_points FROM table_17118657_10 WHERE score = \"62-70\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118657_10 (date VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "On which date was the location/attendance UIC Pavilion 3,829 respectively?" }, { "from": "gpt", "value": "SELECT date FROM table_17118657_10 WHERE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118657_10 (date VARCHAR, high_assists VARCHAR)" }, { "from": "human", "value": "On which date is high assists Dupree (6)?" }, { "from": "gpt", "value": "SELECT date FROM table_17118657_10 WHERE high_assists = \"Dupree (6)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118006_2 (local_investment__us$_ VARCHAR, bid_pronar_investment__us$_ VARCHAR)" }, { "from": "human", "value": "What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment?" }, { "from": "gp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118006_2 (farmers INTEGER, projects VARCHAR)" }, { "from": "human", "value": "How many farmers were included by the department with 32 projects?" }, { "from": "gpt", "value": "SELECT MAX(farmers) FROM table_17118006_2 WHERE projects ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118006_2 (department VARCHAR, irrigated_ha VARCHAR)" }, { "from": "human", "value": "What department irrigated 2170 Ha?" }, { "from": "gpt", "value": "SELECT department FROM table_17118006_2 WHERE irrigated_ha = 2170" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118006_2 (bid_pronar_investment__us$_ VARCHAR, farmers VARCHAR)" }, { "from": "human", "value": "What was the BID/PRONAR investment (in $) in the department that included 1326 farmers in its projects?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118006_2 (department VARCHAR, local_investment__us$_ VARCHAR)" }, { "from": "human", "value": "What was the department that got $626,798 in local investments?" }, { "from": "gpt", "value": "SELECT department FROM table_17118006_2 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118657_8 (game INTEGER, record VARCHAR)" }, { "from": "human", "value": "What number was the game resulting in a 5-11 record?" }, { "from": "gpt", "value": "SELECT MIN(game) FROM table_17118657_8 WHERE record = \"5-11\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118657_8 (high_assists VARCHAR, score VARCHAR)" }, { "from": "human", "value": "How many high assists are listed for the game with a score of 68-60?" }, { "from": "gpt", "value": "SELECT COUNT(high_assists) FROM table_17118657_8 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17118657_8 (high_rebounds VARCHAR, record VARCHAR)" }, { "from": "human", "value": "In the game resulting in a 5-11 record, who scored the high rebounds?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_17118657_8 WHERE r...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_8 (opponent VARCHAR, result VARCHAR)" }, { "from": "human", "value": "Who was the opponent of the game with final score won 4-1?" }, { "from": "gpt", "value": "SELECT opponent FROM table_17120964_8 WHERE result = \"Won 4-1\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_8 (attendance INTEGER, man_of_the_match VARCHAR)" }, { "from": "human", "value": "What was the attendance at the game where Neil Liddiard was Man of the Match?" }, { "from": "gpt", "value": "SELECT MIN(attendance) FROM table_1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_8 (venue VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What was the venue of the game that was lost 3-4?" }, { "from": "gpt", "value": "SELECT venue FROM table_17120964_8 WHERE result = \"Lost 3-4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_8 (venue VARCHAR, man_of_the_match VARCHAR)" }, { "from": "human", "value": "What is the venue of the game with Man of the Match Vaclav Zavoral?" }, { "from": "gpt", "value": "SELECT venue FROM table_17120964_8 WHERE man_of_th...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_8 (attendance VARCHAR, result VARCHAR)" }, { "from": "human", "value": "How many attendance figures are given for the game where the final score was lost 5-3?" }, { "from": "gpt", "value": "SELECT COUNT(attendance) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_5 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Name the opponent for 4th" }, { "from": "gpt", "value": "SELECT opponent FROM table_17120964_5 WHERE date = \"4th\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_5 (venue VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Name the venue for 19th date" }, { "from": "gpt", "value": "SELECT venue FROM table_17120964_5 WHERE date = \"19th\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_5 (result VARCHAR, man_of_the_match VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Name the result for lukas smital and home" }, { "from": "gpt", "value": "SELECT result FROM table_17120964_5 WHERE man_of_the_match =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Name the man of the match for 24th" }, { "from": "gpt", "value": "SELECT man_of_the_match FROM table_17120964_5 WHERE date = \"24th\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Name the man of the maatch for sheffield scimitars" }, { "from": "gpt", "value": "SELECT man_of_the_match FROM table_17120964_5 WHERE opponent = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_6 (venue VARCHAR, date VARCHAR)" }, { "from": "human", "value": "On the 19th, where was the venue?" }, { "from": "gpt", "value": "SELECT venue FROM table_17120964_6 WHERE date = \"19th\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_6 (attendance VARCHAR, opponent VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What was the total attendance during the home game against the Swindon Wildcats?" }, { "from": "gpt", "value": "SELECT attendance FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_6 (date VARCHAR, man_of_the_match VARCHAR)" }, { "from": "human", "value": "On what day was Stuart Potts the Man of the Match?" }, { "from": "gpt", "value": "SELECT date FROM table_17120964_6 WHERE man_of_the_match = \"Stuart ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_6 (venue VARCHAR, man_of_the_match VARCHAR)" }, { "from": "human", "value": "At what venue did Alex Mettam/Mark Williams be named Man of the Match?" }, { "from": "gpt", "value": "SELECT venue FROM table_17120964_6 WHERE man_of...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_7 (date VARCHAR, man_of_the_match VARCHAR)" }, { "from": "human", "value": "How many dates did David Savage get man of the match?" }, { "from": "gpt", "value": "SELECT COUNT(date) FROM table_17120964_7 WHERE man_of_the_match =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_7 (man_of_the_match VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "When the attendance was 1568, who was man of the match?" }, { "from": "gpt", "value": "SELECT man_of_the_match FROM table_17120964_7 WHERE atten...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_7 (man_of_the_match VARCHAR, result VARCHAR)" }, { "from": "human", "value": "Who was the man of the match when they lost 2-4?" }, { "from": "gpt", "value": "SELECT man_of_the_match FROM table_17120964_7 WHERE result = \"Lost ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_9 (competition VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "what was the competitoin where the opponent is sheffield scimitars?" }, { "from": "gpt", "value": "SELECT competition FROM table_17120964_9 WHERE oppon...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_9 (venue VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "where was the venue where the attendance was 702?" }, { "from": "gpt", "value": "SELECT venue FROM table_17120964_9 WHERE attendance = \"702\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_9 (venue VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what was the venue where the date was the 22nd?" }, { "from": "gpt", "value": "SELECT venue FROM table_17120964_9 WHERE date = \"22nd\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17120964_9 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "who was the opponent where the date was the 21st?" }, { "from": "gpt", "value": "SELECT opponent FROM table_17120964_9 WHERE date = \"21st\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17121262_5 (score VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is the score for Milwaukee? " }, { "from": "gpt", "value": "SELECT score FROM table_17121262_5 WHERE team = \"Milwaukee\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17121262_10 (record VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What was the record against Washington?" }, { "from": "gpt", "value": "SELECT COUNT(record) FROM table_17121262_10 WHERE team = \"Washington\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171236_1 (population VARCHAR, census_ranking VARCHAR)" }, { "from": "human", "value": "If the census ranking is 231 of 5,008, what was the population?" }, { "from": "gpt", "value": "SELECT population FROM table_171236_1 WHERE census_ra...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171236_1 (official_name VARCHAR, area_km_2 VARCHAR)" }, { "from": "human", "value": "If the area is 59.73, what is the official name?" }, { "from": "gpt", "value": "SELECT official_name FROM table_171236_1 WHERE area_km_2 = \"59.73\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171236_1 (status VARCHAR, census_ranking VARCHAR)" }, { "from": "human", "value": "If the census ranking is 693 of 5,008, what is the status?" }, { "from": "gpt", "value": "SELECT status FROM table_171236_1 WHERE census_ranking = \"693...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171236_1 (census_ranking VARCHAR, official_name VARCHAR)" }, { "from": "human", "value": "With the official name Quispamsis, what is the census ranking?" }, { "from": "gpt", "value": "SELECT census_ranking FROM table_171236_1 WHERE off...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171236_1 (population VARCHAR, census_ranking VARCHAR)" }, { "from": "human", "value": "What was the population for census ranking 782 of 5,008?" }, { "from": "gpt", "value": "SELECT population FROM table_171236_1 WHERE census_ranking =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171236_1 (census_ranking VARCHAR, area_km_2 VARCHAR)" }, { "from": "human", "value": "If the area is 34.73, what is the census ranking?" }, { "from": "gpt", "value": "SELECT census_ranking FROM table_171236_1 WHERE area_km_2 = \"34.73\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171250_2 (census_ranking VARCHAR, population VARCHAR)" }, { "from": "human", "value": "What are the census ranking(s) for a population of 284?" }, { "from": "gpt", "value": "SELECT census_ranking FROM table_171250_2 WHERE population = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171250_2 (census_ranking VARCHAR, area_km_2 VARCHAR)" }, { "from": "human", "value": "What are the census ranking(s) that have an area of 369.25 km2?" }, { "from": "gpt", "value": "SELECT census_ranking FROM table_171250_2 WHERE area_k...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171250_2 (population VARCHAR, area_km_2 VARCHAR)" }, { "from": "human", "value": "What is the population that has an area of 715.58?" }, { "from": "gpt", "value": "SELECT population FROM table_171250_2 WHERE area_km_2 = \"715.58\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171250_2 (status VARCHAR, official_name VARCHAR)" }, { "from": "human", "value": "What are that status(es) of saint-jacques?" }, { "from": "gpt", "value": "SELECT status FROM table_171250_2 WHERE official_name = \"Saint-Jacques\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171250_2 (area_km_2 VARCHAR, official_name VARCHAR)" }, { "from": "human", "value": "What are the area(s) (km2) for saint-joseph?" }, { "from": "gpt", "value": "SELECT area_km_2 FROM table_171250_2 WHERE official_name = \"Saint-Joseph\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171356_2 (census_ranking VARCHAR, area_km_2 VARCHAR)" }, { "from": "human", "value": "What rank is the parish with 482.81 km^2?" }, { "from": "gpt", "value": "SELECT census_ranking FROM table_171356_2 WHERE area_km_2 = \"482.81\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171356_2 (status VARCHAR, census_ranking VARCHAR)" }, { "from": "human", "value": "What status doe the area with a census ranking of 2,290 of 5,008 have?" }, { "from": "gpt", "value": "SELECT status FROM table_171356_2 WHERE census_ran...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171356_2 (status VARCHAR, official_name VARCHAR)" }, { "from": "human", "value": "How many statuses are listed for the parish officially named Gagetown?" }, { "from": "gpt", "value": "SELECT COUNT(status) FROM table_171356_2 WHERE offi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171356_2 (census_ranking VARCHAR, official_name VARCHAR)" }, { "from": "human", "value": "What is Petersville's census ranking?" }, { "from": "gpt", "value": "SELECT census_ranking FROM table_171356_2 WHERE official_name = \"Petersvill...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171361_1 (population VARCHAR, status VARCHAR)" }, { "from": "human", "value": "What is the population of each community with city status?" }, { "from": "gpt", "value": "SELECT population FROM table_171361_1 WHERE status = \"City\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171361_1 (official_name VARCHAR, area_km_2 VARCHAR)" }, { "from": "human", "value": "What is the name of the community with an area of 30.75 sq. km.?" }, { "from": "gpt", "value": "SELECT official_name FROM table_171361_1 WHERE area_km...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171361_1 (area_km_2 VARCHAR, population VARCHAR)" }, { "from": "human", "value": "What is the area of the community with a population of 1209?" }, { "from": "gpt", "value": "SELECT area_km_2 FROM table_171361_1 WHERE population = 1209"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171361_1 (population VARCHAR, area_km_2 VARCHAR)" }, { "from": "human", "value": "How many population values are listed for the community with an area of 10.25 sq.km.?" }, { "from": "gpt", "value": "SELECT COUNT(population) FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171320_3 (region_1 VARCHAR, region_4 VARCHAR)" }, { "from": "human", "value": "Name the region 1 where region 4 for april 2, 2009" }, { "from": "gpt", "value": "SELECT region_1 FROM table_171320_3 WHERE region_4 = \"April 2, 2009\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_171320_3 (region_1 VARCHAR, ep__number VARCHAR)" }, { "from": "human", "value": "Name the region 1 for episode number 13" }, { "from": "gpt", "value": "SELECT region_1 FROM table_171320_3 WHERE ep__number = 13" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17152787_3 (series__number VARCHAR, season__number VARCHAR)" }, { "from": "human", "value": "How many episodes have the season number of 1?" }, { "from": "gpt", "value": "SELECT COUNT(series__number) FROM table_17152787_3 WHERE season_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17155250_1 (director VARCHAR, original_title VARCHAR)" }, { "from": "human", "value": "Who was the director of the film with the original title of \"The Patience Stone\"? " }, { "from": "gpt", "value": "SELECT director FROM table_17155...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17155250_1 (year__ceremony_ VARCHAR, original_title VARCHAR)" }, { "from": "human", "value": "For what ceremony was \"Fire Dancer\" not nominated? " }, { "from": "gpt", "value": "SELECT year__ceremony_ FROM table_17155250_1 WHERE origi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17155250_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)" }, { "from": "human", "value": "What name was used for nomination for the film with an original title of \"The Black Tulip\"? " }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17155250_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)" }, { "from": "human", "value": "What languages were spoken in the film \"FireDancer\"?" }, { "from": "gpt", "value": "SELECT language_s_ FROM table_17155250_1 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17155250_1 (director VARCHAR, original_title VARCHAR)" }, { "from": "human", "value": "Who was the director of the film with an original title of \"16 Days in Afghanistan\"? " }, { "from": "gpt", "value": "SELECT director FROM table_17...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17157367_1 (model VARCHAR, method VARCHAR)" }, { "from": "human", "value": "what is the model where the method is ha?" }, { "from": "gpt", "value": "SELECT model FROM table_17157367_1 WHERE method = \"HA\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17157367_1 (model VARCHAR, name VARCHAR)" }, { "from": "human", "value": "what is the total number of model wehre the status is named geneva?" }, { "from": "gpt", "value": "SELECT COUNT(model) FROM table_17157367_1 WHERE \"status\" = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17157367_1 (max_fs VARCHAR)" }, { "from": "human", "value": "what is the max fs where the status is status and the method is method?" }, { "from": "gpt", "value": "SELECT max_fs FROM table_17157367_1 WHERE \"status\" = \"status\" AND \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17157367_1 (output VARCHAR, short_description VARCHAR)" }, { "from": "human", "value": "what ist he output where the short description is massive?" }, { "from": "gpt", "value": "SELECT output FROM table_17157367_1 WHERE short_descripti...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17156199_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)" }, { "from": "human", "value": "What was the nominated film title of শ্যামল ছায়া (shyamol chhaya)?" }, { "from": "gpt", "value": "SELECT film_title_used_in_no...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17156199_1 (year__ceremony_ VARCHAR, original_title VARCHAR)" }, { "from": "human", "value": "What year and ceremony was the original title বৃত্তের বাইরে (britter baire)?" }, { "from": "gpt", "value": "SELECT year__ceremony_ FROM tabl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_17156199_1 (year__ceremony_ VARCHAR, original_title VARCHAR)" }, { "from": "human", "value": "How many years was the original title was স্বপ্নডানায় (swopnodanay)?" }, { "from": "gpt", "value": "SELECT COUNT(year__ceremony_) FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1715730_2 (nickname VARCHAR, founded VARCHAR)" }, { "from": "human", "value": "what is the nickname founded in 1902?" }, { "from": "gpt", "value": "SELECT nickname FROM table_1715730_2 WHERE founded = 1902" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1715730_2 (location VARCHAR, enrollment VARCHAR)" }, { "from": "human", "value": "where is the enrollment 4259?" }, { "from": "gpt", "value": "SELECT location FROM table_1715730_2 WHERE enrollment = 4259" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1715730_2 (founded VARCHAR, institution VARCHAR)" }, { "from": "human", "value": "what is the year union university was founded?" }, { "from": "gpt", "value": "SELECT founded FROM table_1715730_2 WHERE institution = \"Union University\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, province VARCHAR)" }, { "from": "human", "value": "What was the percentage in Manitoba in 2011?" }, { "from": "gpt", "value": "SELECT _percentage_2011 FROM table_1717824_1 WHERE province = \"Manitob...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1717824_1 (province VARCHAR, south_asians_2001 VARCHAR)" }, { "from": "human", "value": "Which province had population of 210295 South Asians in 2001?" }, { "from": "gpt", "value": "SELECT province FROM table_1717824_1 WHERE south_asia...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, province VARCHAR)" }, { "from": "human", "value": "What was the South Asian population in Nova Scotia in 2001?" }, { "from": "gpt", "value": "SELECT south_asians_2001 FROM table_1717824_1 WHERE pro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1717824_1 (_percentage_2011 VARCHAR, _percentage_2001 VARCHAR)" }, { "from": "human", "value": "What was the percentage in 2011 of the province that had 2.4% population in 2001?" }, { "from": "gpt", "value": "SELECT _percentage_2011 FR...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, _percentage_2011 VARCHAR)" }, { "from": "human", "value": "How many figures are given for total number of South Asians in 2001 for the area where they were 4.4% of population in 2011?" }, { "from": "gp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1717824_3 (indians_admitted VARCHAR, year VARCHAR)" }, { "from": "human", "value": "How many Indians were admitted in 2001?" }, { "from": "gpt", "value": "SELECT indians_admitted FROM table_1717824_3 WHERE year = 2001" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1717824_3 (pakistanis_admitted INTEGER, nepalis_admitted VARCHAR)" }, { "from": "human", "value": "What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627?" }, { "from": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_1717824_3 (indians_admitted INTEGER, sri_lankans_admitted VARCHAR)" }, { "from": "human", "value": "What is the most number of Indians admitted to Canada when the number of Sri Lankans admitted was 3104?" }, { "from": "gpt", "value": "...
know_sql
chosen