conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_13 (place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What place did bobby wadkins come in?" }, { "from": "gpt", "value": "SELECT place FROM table_name_13 WHERE player = \"bobby wadkins\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (lane INTEGER, mark VARCHAR)" }, { "from": "human", "value": "What is the lowest Lane, when Mark is 7.66?" }, { "from": "gpt", "value": "SELECT MIN(lane) FROM table_name_21 WHERE mark = \"7.66\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (mark VARCHAR, react INTEGER)" }, { "from": "human", "value": "What is Mark, when React is less than 0.148?" }, { "from": "gpt", "value": "SELECT mark FROM table_name_59 WHERE react < 0.148" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (lane INTEGER, react VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the sum of Land, when React is greater than 0.217, and when Name is Yoel Hernández?" }, { "from": "gpt", "value": "SELECT SUM(lane) FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (mark VARCHAR, lane VARCHAR, react VARCHAR)" }, { "from": "human", "value": "What is Mark, when Lane is less than 5, and when React is 0.217?" }, { "from": "gpt", "value": "SELECT mark FROM table_name_88 WHERE lane < 5 AND reac...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (record VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What was the record following game 67?" }, { "from": "gpt", "value": "SELECT record FROM table_name_37 WHERE game = 67" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (february INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "What day in February had an opponent of @ Colorado Rockies?" }, { "from": "gpt", "value": "SELECT SUM(february) FROM table_name_57 WHERE opponent = \"@ color...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What was the score of the game with a record of 18-22-13?" }, { "from": "gpt", "value": "SELECT score FROM table_name_18 WHERE record = \"18-22-13\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (opponent_in_the_final VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Which Opponent in the final has a Score of 6–3, 3–6, 6–8?" }, { "from": "gpt", "value": "SELECT opponent_in_the_final FROM table_name_29 WHERE scor...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (tournament VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which Tournament has a Surface of carpet, and a Date smaller than 1995, and an Opponent in the final of ken flach robert se...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (time_in_office VARCHAR, branch VARCHAR)" }, { "from": "human", "value": "What time in office does the U.S. Navy have?" }, { "from": "gpt", "value": "SELECT time_in_office FROM table_name_59 WHERE branch = \"u.s. navy\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (term_ended VARCHAR, branch VARCHAR)" }, { "from": "human", "value": "When did the term end for the U.S. Marine Corps?" }, { "from": "gpt", "value": "SELECT term_ended FROM table_name_5 WHERE branch = \"u.s. marine corps\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (country VARCHAR)" }, { "from": "human", "value": "What is the 2006 figure for Argentina when 2007 is less than 0,15?" }, { "from": "gpt", "value": "SELECT COUNT(2006) FROM table_name_47 WHERE country = \"argentina\" AND 2007 <...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (Id VARCHAR)" }, { "from": "human", "value": "What is the 2009 average when the 2007 average is more than 0,18?" }, { "from": "gpt", "value": "SELECT AVG(2009) FROM table_name_4 WHERE 2007 > 0 OFFSET 18" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (gain VARCHAR, loss VARCHAR, long VARCHAR)" }, { "from": "human", "value": "How many gains were there for the player who had a loss greater than 57 and a long less than 55?" }, { "from": "gpt", "value": "SELECT COUNT(gain) FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (loss INTEGER, name VARCHAR, long VARCHAR)" }, { "from": "human", "value": "What is the lowest Loss for the player named total that has a long greater than 55?" }, { "from": "gpt", "value": "SELECT MIN(loss) FROM table_name_95 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (nationality VARCHAR, school_club_team VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What nationality is Kentucky and the player Tayshaun Prince?" }, { "from": "gpt", "value": "SELECT nationality FROM table_name_58 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (nationality VARCHAR, school_club_team VARCHAR)" }, { "from": "human", "value": "What is the nationality of Duke?" }, { "from": "gpt", "value": "SELECT nationality FROM table_name_95 WHERE school_club_team = \"duke\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (nationality VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR)" }, { "from": "human", "value": "What was the nationality of a point guard position in 1999-2001?" }, { "from": "gpt", "value": "SELECT nationality FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is the position of Tayshaun Prince?" }, { "from": "gpt", "value": "SELECT position FROM table_name_69 WHERE player = \"tayshaun prince\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (parent VARCHAR, order VARCHAR)" }, { "from": "human", "value": "Who was the parent on the order of 6?" }, { "from": "gpt", "value": "SELECT parent FROM table_name_96 WHERE order = 6" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (husband_dates VARCHAR, date_married VARCHAR)" }, { "from": "human", "value": "Who was the husband date that was married in 1858?" }, { "from": "gpt", "value": "SELECT husband_dates FROM table_name_54 WHERE date_married = \"185...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Can you tell me the Record that has the Opponent of vs. hamilton tiger cats?" }, { "from": "gpt", "value": "SELECT record FROM table_name_55 WHERE opponent = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Can you tell me the Opponent that has the Date of sun, sept 9?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_89 WHERE date = \"sun, sept 9\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (country VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Which country is Scott Hoch from?" }, { "from": "gpt", "value": "SELECT country FROM table_name_65 WHERE player = \"scott hoch\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What is the place of the player from Spain?" }, { "from": "gpt", "value": "SELECT place FROM table_name_64 WHERE country = \"spain\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (score VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What is Score, when Record is 12-57?" }, { "from": "gpt", "value": "SELECT score FROM table_name_53 WHERE record = \"12-57\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (date VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What is Date, when Record is 12-58?" }, { "from": "gpt", "value": "SELECT date FROM table_name_31 WHERE record = \"12-58\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_85 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Score, when Date is February 5?" }, { "from": "gpt", "value": "SELECT score FROM table_name_85 WHERE date = \"february 5\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (h_a_n VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is H/A/N, when Score is 104-109?" }, { "from": "gpt", "value": "SELECT h_a_n FROM table_name_10 WHERE score = \"104-109\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What is Score, when Opponent is Portland Trail Blazers, and when Record is 12-58?" }, { "from": "gpt", "value": "SELECT score FROM table_name_35...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (h_a_n VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is H/A/N when Date is February 24?" }, { "from": "gpt", "value": "SELECT h_a_n FROM table_name_55 WHERE date = \"february 24\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (game INTEGER, record VARCHAR)" }, { "from": "human", "value": "What is the last game of the season that has the record 0-1-0?" }, { "from": "gpt", "value": "SELECT MIN(game) FROM table_name_92 WHERE record = \"0-1-0\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (decision VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Who had the decision goal when the date was 1?" }, { "from": "gpt", "value": "SELECT decision FROM table_name_73 WHERE date = 1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (decision VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Who had the decision goal when the record was 7-7-2?" }, { "from": "gpt", "value": "SELECT decision FROM table_name_83 WHERE record = \"7-7-2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (game INTEGER, decision VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What was the first game in which Weekes scored the decision goal and the record was 7-4-2?" }, { "from": "gpt", "value": "SELECT MIN(game) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (points VARCHAR, details VARCHAR)" }, { "from": "human", "value": "What's the total number of points scored during the 1951 NSWRFL Grand Final?" }, { "from": "gpt", "value": "SELECT COUNT(points) FROM table_name_3 WHERE details ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (premiers VARCHAR, details VARCHAR)" }, { "from": "human", "value": "Which premier team played the 1951 NSWRFL Grand Final?" }, { "from": "gpt", "value": "SELECT premiers FROM table_name_17 WHERE details = \"1951 nswrfl grand f...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (details VARCHAR, points VARCHAR)" }, { "from": "human", "value": "During which competition were a total of 36 points scored?" }, { "from": "gpt", "value": "SELECT details FROM table_name_31 WHERE points = 36" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (points INTEGER, premiers VARCHAR)" }, { "from": "human", "value": "What's the total sum of points scored by the Brisbane Broncos?" }, { "from": "gpt", "value": "SELECT SUM(points) FROM table_name_80 WHERE premiers = \"brisbane...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (premiers VARCHAR, points VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the premier team that has 38 points and won with a score of 38-0?" }, { "from": "gpt", "value": "SELECT premiers FROM table_name_16 WHER...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the tie no when the away team was northwich victoria?" }, { "from": "gpt", "value": "SELECT tie_no FROM table_name_21 WHERE away_team = \"northwich v...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (attendance VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was the attendance for the match where cambridge united was the home team?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_55 WHERE ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (year VARCHAR, award VARCHAR)" }, { "from": "human", "value": "How many times was the award inte awards?" }, { "from": "gpt", "value": "SELECT COUNT(year) FROM table_name_90 WHERE award = \"inte awards\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (work VARCHAR, result VARCHAR, year VARCHAR)" }, { "from": "human", "value": "what is the work when the result is won and the year is after 2002?" }, { "from": "gpt", "value": "SELECT work FROM table_name_91 WHERE result = \"wo...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (work VARCHAR, result VARCHAR, year VARCHAR)" }, { "from": "human", "value": "what is the work when the result is won and the year is before 2003?" }, { "from": "gpt", "value": "SELECT work FROM table_name_36 WHERE result = \"w...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (venue VARCHAR, opposing_team VARCHAR)" }, { "from": "human", "value": "Which venue had the opposing team Natal?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_16 WHERE opposing_team = \"natal\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (date VARCHAR, status VARCHAR, against VARCHAR)" }, { "from": "human", "value": "What day was the against 22 and the status tour match?" }, { "from": "gpt", "value": "SELECT date FROM table_name_51 WHERE status = \"tour match\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (attendance INTEGER, week VARCHAR)" }, { "from": "human", "value": "Which Attendance has a Week of 8?" }, { "from": "gpt", "value": "SELECT AVG(attendance) FROM table_name_25 WHERE week = 8" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (opponent VARCHAR, week VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which Opponent that has a Week smaller than 7 on september 12, 1988?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_41 WHERE week <...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR)" }, { "from": "human", "value": "When has a Result of w 41-27?" }, { "from": "gpt", "value": "SELECT date FROM table_name_23 WHERE result = \"w 41-27\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (weight__kg_ INTEGER, manufacturer VARCHAR, model VARCHAR)" }, { "from": "human", "value": "Which Weight (kg) has a Manufacturer of fujitsu, and a Model of lifebook p1610?" }, { "from": "gpt", "value": "SELECT AVG(weight__kg_) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (display_size__in_ INTEGER, model VARCHAR)" }, { "from": "human", "value": "Which Display size (in) has a Model of versapro vy10f/bh-l?" }, { "from": "gpt", "value": "SELECT MIN(display_size__in_) FROM table_name_10 WHERE model...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (display_size__in_ VARCHAR, model VARCHAR)" }, { "from": "human", "value": "Which Display size (in) has a Model of vaio pcg-u3?" }, { "from": "gpt", "value": "SELECT COUNT(display_size__in_) FROM table_name_29 WHERE model = \"v...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (method VARCHAR, round VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What method was used in the match that went to round 1, and had a 6-3-1 record?" }, { "from": "gpt", "value": "SELECT method FROM table_name_13 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (res VARCHAR, method VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "In the match against Marcus Aurélio with a method of decision (unanimous), what was the results?" }, { "from": "gpt", "value": "SELECT res FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR)" }, { "from": "human", "value": "Where was the Deep - 30 Impact event held?" }, { "from": "gpt", "value": "SELECT location FROM table_name_55 WHERE event = \"deep - 30 impact\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (diameter__km_ INTEGER, latitude VARCHAR)" }, { "from": "human", "value": "COunt the sum of Diameter (km) which has a Latitude of 62.7n?" }, { "from": "gpt", "value": "SELECT SUM(diameter__km_) FROM table_name_25 WHERE latitude...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (name VARCHAR, longitude VARCHAR)" }, { "from": "human", "value": "WHich Name origin has a Longitude of 332.5e?" }, { "from": "gpt", "value": "SELECT name AS origin FROM table_name_94 WHERE longitude = \"332.5e\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (round VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "In which round was Dustin Hazelett the opponent?" }, { "from": "gpt", "value": "SELECT round FROM table_name_63 WHERE opponent = \"dustin hazelett\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (tv_time VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is TV Time, when Opponent is At Cincinnati Bengals?" }, { "from": "gpt", "value": "SELECT tv_time FROM table_name_89 WHERE opponent = \"at cincinnati ben...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (tv_time VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is TV Time, when Date is December 22, 1996?" }, { "from": "gpt", "value": "SELECT tv_time FROM table_name_91 WHERE date = \"december 22, 1996\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (result VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is Result, when Opponent is Cincinnati Bengals?" }, { "from": "gpt", "value": "SELECT result FROM table_name_32 WHERE opponent = \"cincinnati bengals\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (record VARCHAR, game VARCHAR)" }, { "from": "human", "value": "What was their record bfore game 54?" }, { "from": "gpt", "value": "SELECT record FROM table_name_66 WHERE game = 54" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (high_rebounds VARCHAR, team VARCHAR)" }, { "from": "human", "value": "Who had the most rebounds in the game against Chicago?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_name_52 WHERE team = \"chicago\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (attendance INTEGER, decision VARCHAR, visitor VARCHAR)" }, { "from": "human", "value": "What was the lowest attendance at the game against chicago when conklin made the decision?" }, { "from": "gpt", "value": "SELECT MIN(atten...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (home_team VARCHAR, tie_no VARCHAR)" }, { "from": "human", "value": "For Tie #2, who was the home team?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_33 WHERE tie_no = \"2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was the final score for the match where Hereford United was the home team?" }, { "from": "gpt", "value": "SELECT score FROM table_name_57 WHERE home_team ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (away_team VARCHAR, tie_no VARCHAR)" }, { "from": "human", "value": "In Tie #18, who was the away team?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_76 WHERE tie_no = \"18\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (away_team VARCHAR, tie_no VARCHAR)" }, { "from": "human", "value": "In Tie #19, what was the name of the away team?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_27 WHERE tie_no = \"19\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (tie_no VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What is the Tie number for the match where Dartford was the hone team?" }, { "from": "gpt", "value": "SELECT tie_no FROM table_name_31 WHERE home_team = \"dar...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "In the match played against Telford United, who was the home team?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_9 WHERE away_team = \"tel...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (position VARCHAR, class VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articles With hCards?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (player VARCHAR, school VARCHAR, class VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What is Player, when Class is \"senior\", when Position is \"shooting guard\", and when School is \"Bradley\"?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (position VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What is Position, when Player is \"Kevin Durant category:articles with hCards\"?" }, { "from": "gpt", "value": "SELECT position FROM table_name_71 WHERE player...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the Score of the match on August 23, 2004?" }, { "from": "gpt", "value": "SELECT score FROM table_name_71 WHERE date = \"august 23, 2004\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (score VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What was the Score of the Spain F32, Gran Canaria Tournament?" }, { "from": "gpt", "value": "SELECT score FROM table_name_70 WHERE tournament = \"spain f32, g...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (surface VARCHAR, outcome VARCHAR, score VARCHAR)" }, { "from": "human", "value": "On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played?" }, { "from": "gpt", "value": "SELECT surface FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (outcome VARCHAR, partner VARCHAR)" }, { "from": "human", "value": "What is the Outcome of the match with Partner Andoni Vivanco?" }, { "from": "gpt", "value": "SELECT outcome FROM table_name_7 WHERE partner = \"andoni vivanco\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (Leading VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who was the Leading Scorer in the Game with a Score of 96-87?" }, { "from": "gpt", "value": "SELECT Leading AS scorer FROM table_name_90 WHERE score = \"96-87\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (country VARCHAR, label VARCHAR, format VARCHAR)" }, { "from": "human", "value": "What Country with a MC Format has a ATCO Records Label?" }, { "from": "gpt", "value": "SELECT country FROM table_name_98 WHERE label = \"atco rec...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_22 (team VARCHAR, location_attendance VARCHAR)" }, { "from": "human", "value": "What team has a location and attendance at the Seattle Center Coliseum 12,591?" }, { "from": "gpt", "value": "SELECT team FROM table_name_22 WHERE loc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (team__number2 VARCHAR)" }, { "from": "human", "value": "What is 1st Leg, when Team #2 is \"Emelec\"?" }, { "from": "gpt", "value": "SELECT 1 AS st_leg FROM table_name_76 WHERE team__number2 = \"emelec\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (team__number1 VARCHAR)" }, { "from": "human", "value": "What is 1st Leg, when Team #1 is \"San Lorenzo\"?" }, { "from": "gpt", "value": "SELECT 1 AS st_leg FROM table_name_58 WHERE team__number1 = \"san lorenzo\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (muzzle_energy VARCHAR, bullet_weight VARCHAR, max_pressure VARCHAR)" }, { "from": "human", "value": "What is the muzzle energy with grains (g) bullet weight and a max pressure of 35,000 psi?" }, { "from": "gpt", "value": "SELE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (bullet_weight VARCHAR, max_pressure VARCHAR)" }, { "from": "human", "value": "What is the bullet weight with a 12,000 cup max pressure?" }, { "from": "gpt", "value": "SELECT bullet_weight FROM table_name_98 WHERE max_pressure ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (max_pressure VARCHAR, muzzle_energy VARCHAR)" }, { "from": "human", "value": "What is the max pressure for the 468ft•lbf (634 j) muzzle energy?" }, { "from": "gpt", "value": "SELECT max_pressure FROM table_name_99 WHERE muzzle...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (muzzle_velocity VARCHAR, muzzle_energy VARCHAR)" }, { "from": "human", "value": "What is the muzzle velocity for the muzzle energy 351ft•lbf (476 j)?" }, { "from": "gpt", "value": "SELECT muzzle_velocity FROM table_name_60 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (muzzle_velocity VARCHAR, cartridge VARCHAR)" }, { "from": "human", "value": "What is the muzzle velocity for the .38 long colt cartridge?" }, { "from": "gpt", "value": "SELECT muzzle_velocity FROM table_name_32 WHERE cartridge...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (muzzle_energy VARCHAR, max_pressure VARCHAR)" }, { "from": "human", "value": "What is the muzzle energy with 40,000 psi max pressure?" }, { "from": "gpt", "value": "SELECT muzzle_energy FROM table_name_40 WHERE max_pressure = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (country VARCHAR, place VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the home country of the player who placed t5 and had a score of 69-71=140?" }, { "from": "gpt", "value": "SELECT country FROM table_name_2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (place VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What was the place for the player whose final score was 71-69=140?" }, { "from": "gpt", "value": "SELECT place FROM table_name_78 WHERE score = 71 - 69 = 140" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (to_par VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What was the To par for the player whose final score was 67-71=138?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_26 WHERE score = 67 - 71 = 138" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What was Nolan Henke's To par when he placed in t3?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_96 WHERE place = \"t3\" AND playe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (meaning VARCHAR, pīnyīn VARCHAR)" }, { "from": "human", "value": "WHAT IS THE MEANING WITH Pīnyīn of chē?" }, { "from": "gpt", "value": "SELECT meaning FROM table_name_61 WHERE pīnyīn = \"chē\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (radical__variants_ VARCHAR, pīnyīn VARCHAR, stroke_count VARCHAR)" }, { "from": "human", "value": "WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7?" }, { "from": "gpt", "value": "SELECT radical__variants_ FROM table_name_81...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (stroke_count VARCHAR, radical__variants_ VARCHAR, frequency VARCHAR)" }, { "from": "human", "value": "WHAT IS THE STROKE COUNT WITH RADICAL OF 生, FRQUENCY SMALLER THAN 22?" }, { "from": "gpt", "value": "SELECT COUNT(stroke_cou...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (stroke_count INTEGER, radical__variants_ VARCHAR, frequency VARCHAR)" }, { "from": "human", "value": "WHAT IS THE STROKE COUNT WITH RADICAL 皿 FREQUENCY SMALLER THAN 129?" }, { "from": "gpt", "value": "SELECT AVG(stroke_count) ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (flagship VARCHAR, host_s_ VARCHAR)" }, { "from": "human", "value": "What is the Flagship of the Show Hosted by Rover (Shane French)?" }, { "from": "gpt", "value": "SELECT flagship FROM table_name_33 WHERE host_s_ = \"rover (sh...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (host_s_ VARCHAR, market VARCHAR)" }, { "from": "human", "value": "What is the Host of the Show with a Market of New York?" }, { "from": "gpt", "value": "SELECT host_s_ FROM table_name_78 WHERE market = \"new york\"" } ]
know_sql
chosen