conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_49 (residence VARCHAR, representative VARCHAR)" }, { "from": "human", "value": "What residence has representative Quincy Murphy?" }, { "from": "gpt", "value": "SELECT residence FROM table_name_49 WHERE representative = \"quincy mu...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (home_captain VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Who is the home captain when the venue is adelaide oval?" }, { "from": "gpt", "value": "SELECT home_captain FROM table_name_81 WHERE venue = \"adelaide oval...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the score in the September 20 game?" }, { "from": "gpt", "value": "SELECT score FROM table_name_57 WHERE date = \"september 20\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (location VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Where was the September 22 game played?" }, { "from": "gpt", "value": "SELECT location FROM table_name_23 WHERE date = \"september 22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the score in the September 26 game?" }, { "from": "gpt", "value": "SELECT score FROM table_name_76 WHERE date = \"september 26\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (opponent VARCHAR, time VARCHAR)" }, { "from": "human", "value": "Who was the opposing team in the game(s) that started at 7:30pm?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_97 WHERE time = \"7:30pm\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (score VARCHAR, opponent VARCHAR, time VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers?" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the attendance of the match on October 26?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_16 WHERE date = \"october 26\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (opponent_number VARCHAR, result VARCHAR)" }, { "from": "human", "value": "What is the opponent number of the match with a w27-16 result?" }, { "from": "gpt", "value": "SELECT opponent_number FROM table_name_78 WHERE result = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (result VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "What is the result of the match with an attendance of 73,855?" }, { "from": "gpt", "value": "SELECT result FROM table_name_9 WHERE attendance = \"73,855\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (rank__number VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the rank of the match on October 19?" }, { "from": "gpt", "value": "SELECT rank__number FROM table_name_72 WHERE date = \"october 19\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (scorers VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "Who was the scorer when the opponent was aberdeen?" }, { "from": "gpt", "value": "SELECT scorers FROM table_name_63 WHERE opponent = \"aberdeen\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (date VARCHAR, scorers VARCHAR)" }, { "from": "human", "value": "When was the scorer mccoist (3), johnston, butcher, steven?" }, { "from": "gpt", "value": "SELECT date FROM table_name_48 WHERE scorers = \"mccoist (3), johnston,...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (score VARCHAR, visitor VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What is Score, when Visitor is \"Pittsburgh\", and when Points is greater than 18?" }, { "from": "gpt", "value": "SELECT score FROM table_name_7 W...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (points INTEGER, attendance VARCHAR, home VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is the sum of Points, when Home is \"Pittsburgh\", when Date is \"December 21\", and when Attendance is greater than 5,307?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (points INTEGER, home VARCHAR)" }, { "from": "human", "value": "What is the lowest Points, when Home is \"Boston\"?" }, { "from": "gpt", "value": "SELECT MIN(points) FROM table_name_81 WHERE home = \"boston\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (team VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "what is the team when the high points is by charlie villanueva (24)?" }, { "from": "gpt", "value": "SELECT team FROM table_name_48 WHERE high_points = \"charl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (location_attendance VARCHAR, high_assists VARCHAR, date VARCHAR)" }, { "from": "human", "value": "what is the location attendance when the high assists is by ramon sessions (8) on march 30?" }, { "from": "gpt", "value": "SELEC...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (high_rebounds VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who had the high rebounds when the score was l 85–102 (ot)?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_name_55 WHERE score = \"l 85–102...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (location_attendance VARCHAR, score VARCHAR)" }, { "from": "human", "value": "what is the location attendance when the score is w 86–77 (ot)?" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_name_42 WHERE sc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (date VARCHAR, score VARCHAR, high_assists VARCHAR, high_points VARCHAR)" }, { "from": "human", "value": "what is the date when ramon sessions (8) had the high assists, richard jefferson (29) had the high points and the score was w 107–78 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (high_rebounds VARCHAR, team VARCHAR)" }, { "from": "human", "value": "who had the high rebounds when the team was @ toronto?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_name_9 WHERE team = \"@ toronto\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (pole INTEGER, flap VARCHAR, race VARCHAR)" }, { "from": "human", "value": "What is the lowest pole with a Flap larger than 5, and a before race 155?" }, { "from": "gpt", "value": "SELECT MIN(pole) FROM table_name_49 WHERE flap...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What was Fred Couples' score?" }, { "from": "gpt", "value": "SELECT COUNT(score) FROM table_name_15 WHERE player = \"fred couples\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (to_par VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)" }, { "from": "human", "value": "When Payne Stewart of the United States scored higher than 69, what was the To Par?" }, { "from": "gpt", "value": "SELECT to_par ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (population__2008_ INTEGER, korean VARCHAR)" }, { "from": "human", "value": "What is the 2008 population in 함흥 (Ham Hyung)?" }, { "from": "gpt", "value": "SELECT SUM(population__2008_) FROM table_name_55 WHERE korean = \"함흥\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (mountain_peak VARCHAR, location VARCHAR)" }, { "from": "human", "value": "what is the mountain peak when the location is 53.1370°n 119.2667°w?" }, { "from": "gpt", "value": "SELECT mountain_peak FROM table_name_74 WHERE locati...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (region VARCHAR, location VARCHAR)" }, { "from": "human", "value": "what is the region when the location is 49.7462°n 117.1419°w?" }, { "from": "gpt", "value": "SELECT region FROM table_name_96 WHERE location = \"49.7462°n 117....
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (rank VARCHAR, mountain_peak VARCHAR)" }, { "from": "human", "value": "what is the rank when the mountain peak is isthmus peak?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_63 WHERE mountain_peak = \"isthmus peak\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (mountain_range VARCHAR, region VARCHAR, mountain_peak VARCHAR)" }, { "from": "human", "value": "what is the mountain range when the region is british columbia and mountain pea is mount edziza?" }, { "from": "gpt", "value": "SE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (born_died VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the Born-Died dates of Xhafer Bej Ypi?" }, { "from": "gpt", "value": "SELECT born_died FROM table_name_39 WHERE name = \"xhafer bej ypi\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_34 (name VARCHAR, born_died VARCHAR)" }, { "from": "human", "value": "What is the Name of the Prime Minister with a Born-Died of 1873–1933?" }, { "from": "gpt", "value": "SELECT name FROM table_name_34 WHERE born_died = \"1873–193...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (term_start VARCHAR, political_party VARCHAR)" }, { "from": "human", "value": "What is the Term Start date of the Progressive Party Prime Minister?" }, { "from": "gpt", "value": "SELECT term_start FROM table_name_45 WHERE polit...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (republican VARCHAR, lead_margin VARCHAR)" }, { "from": "human", "value": "What is the percentage for Brown when the lead margin is 26?" }, { "from": "gpt", "value": "SELECT republican AS :_roy_brown FROM table_name_35 WHERE le...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (democrat VARCHAR, lead_margin VARCHAR)" }, { "from": "human", "value": "What is the percentage for Schweitzer when the lead margin is 29?" }, { "from": "gpt", "value": "SELECT democrat AS :_brian_schweitzer FROM table_name_12 ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Record, when Date is \"November 22\"?" }, { "from": "gpt", "value": "SELECT record FROM table_name_72 WHERE date = \"november 22\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (attendance VARCHAR, week INTEGER)" }, { "from": "human", "value": "What is the attendance before week 1?" }, { "from": "gpt", "value": "SELECT COUNT(attendance) FROM table_name_75 WHERE week < 1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (date VARCHAR, winning_score VARCHAR)" }, { "from": "human", "value": "What was the date of the match with a winning score of –7 (67-72-69-69=277)?" }, { "from": "gpt", "value": "SELECT date FROM table_name_10 WHERE winning_sco...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "Who was the home team in the match with an away team of Millwall?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_6 WHERE away_team = \"mill...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (score VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What is the score for the match that had a home team of Kidderminster Harriers?" }, { "from": "gpt", "value": "SELECT score FROM table_name_42 WHERE home_team ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (date VARCHAR, tie_no VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What is the date of the match with a home team of Huddersfield Town and was a replay tie?" }, { "from": "gpt", "value": "SELECT date FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (home_team VARCHAR, tie_no VARCHAR)" }, { "from": "human", "value": "Who was the home team for tie number 11?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_26 WHERE tie_no = \"11\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (rider VARCHAR, speed VARCHAR)" }, { "from": "human", "value": "Who was the rider with 120.953 mph speed?" }, { "from": "gpt", "value": "SELECT rider FROM table_name_79 WHERE speed = \"120.953 mph\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (time VARCHAR, rider VARCHAR)" }, { "from": "human", "value": "What time did rider steve plater have?" }, { "from": "gpt", "value": "SELECT time FROM table_name_27 WHERE rider = \"steve plater\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (rank VARCHAR, speed VARCHAR, rider VARCHAR)" }, { "from": "human", "value": "What is the rank of rider gary johnson, who had a speed of 120.979 mph?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_28 WHERE speed = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (club VARCHAR, goals_for VARCHAR, draws VARCHAR, points VARCHAR)" }, { "from": "human", "value": "What club has less than 8 draws, 37 points, and less than 71 goals?" }, { "from": "gpt", "value": "SELECT club FROM table_name_88...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (goals_for VARCHAR, played VARCHAR, draws VARCHAR, losses VARCHAR)" }, { "from": "human", "value": "What is the total number of goals when there are 3 draws, more than 18 losses, and played is smaller than 38?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (goals_against VARCHAR, played INTEGER)" }, { "from": "human", "value": "What is the number of goals against when the played is more than 38?" }, { "from": "gpt", "value": "SELECT COUNT(goals_against) FROM table_name_19 WHERE p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (draws VARCHAR, played INTEGER)" }, { "from": "human", "value": "What is the number of draws when played is less than 38?" }, { "from": "gpt", "value": "SELECT COUNT(draws) FROM table_name_53 WHERE played < 38" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (points INTEGER, played INTEGER)" }, { "from": "human", "value": "What is the points when played is less than 38?" }, { "from": "gpt", "value": "SELECT SUM(points) FROM table_name_6 WHERE played < 38" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (transfer_window VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Which Transfer window has a Name of tofas?" }, { "from": "gpt", "value": "SELECT transfer_window FROM table_name_27 WHERE name = \"tofas\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (type VARCHAR, transfer_fee VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Which Type has a Transfer fee of free, and a Name of kapetanos?" }, { "from": "gpt", "value": "SELECT type FROM table_name_63 WHERE transfer_fe...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (type VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Which Type has a Name of edson ratinho?" }, { "from": "gpt", "value": "SELECT type FROM table_name_14 WHERE name = \"edson ratinho\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (name VARCHAR, type VARCHAR, moving_to VARCHAR)" }, { "from": "human", "value": "Which Name has a Type of loan, and a Moving to of apollon kalamaria?" }, { "from": "gpt", "value": "SELECT name FROM table_name_97 WHERE type = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (location VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "What is Location, when Circuit is August 16?" }, { "from": "gpt", "value": "SELECT location FROM table_name_1 WHERE circuit = \"august 16\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (location VARCHAR, date VARCHAR, winner VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)" }, { "from": "human", "value": "What is Location, when Fastest Lap is Ben Spies, when Pole Position is Ben Spies, when Winner is Ben Spies, and w...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (fastest_lap VARCHAR, date VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "What is Fastest Lap, when Date is Leeds, Alabama, and when Circuit is April 19?" }, { "from": "gpt", "value": "SELECT fastest_lap FROM table_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_33 (winner VARCHAR, circuit VARCHAR)" }, { "from": "human", "value": "What is Winner, when Circuit is June 8?" }, { "from": "gpt", "value": "SELECT winner FROM table_name_33 WHERE circuit = \"june 8\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)" }, { "from": "human", "value": "What is Pole Position, when Fastest Lap is Ben Spies, and when Location is Barber Motorsports Park?" }, { "from": "gpt", "value": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (winner VARCHAR, pole_position VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wisconsin?" }, { "from": "gpt", "value": "SELECT winner FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (surface VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Surface of the court in the match with a Score of 4–6, 6–4, 3–6?" }, { "from": "gpt", "value": "SELECT surface FROM table_name_16 WHERE score = \"4–6...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (team VARCHAR, year INTEGER)" }, { "from": "human", "value": "Which Team has a Year larger than 2010?" }, { "from": "gpt", "value": "SELECT team FROM table_name_47 WHERE year > 2010" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (laps INTEGER, year VARCHAR)" }, { "from": "human", "value": "Which Laps has a Year of 2007?" }, { "from": "gpt", "value": "SELECT AVG(laps) FROM table_name_80 WHERE year = 2007" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (tie_no VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was the tie number with the home team of Swindon Town?" }, { "from": "gpt", "value": "SELECT tie_no FROM table_name_13 WHERE home_team = \"swindon town\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (tie_no VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the tie number with the away team of Sheffield Wednesday?" }, { "from": "gpt", "value": "SELECT tie_no FROM table_name_63 WHERE away_team = \"sheffie...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (score VARCHAR, tie_no VARCHAR)" }, { "from": "human", "value": "What was the score for the match with tie number 23?" }, { "from": "gpt", "value": "SELECT score FROM table_name_76 WHERE tie_no = \"23\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "Who was the home team for the match against Arsenal?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_2 WHERE away_team = \"arsenal\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "Which place is payne stewart, the player in?" }, { "from": "gpt", "value": "SELECT place FROM table_name_40 WHERE player = \"payne stewart\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (player VARCHAR, to_par VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What player has +7 as the to par, and 69-69-75-74=287 as the score?" }, { "from": "gpt", "value": "SELECT player FROM table_name_55 WHERE to_par =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (tournament VARCHAR, runner_s__up VARCHAR)" }, { "from": "human", "value": "Which tournaments was Ryan Palmer in as a runner-up?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_40 WHERE runner_s__up = \"ryan pa...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (margin_of_victory VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What was the margin of victory for the Players Championship tournament?" }, { "from": "gpt", "value": "SELECT margin_of_victory FROM table_name_70...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR)" }, { "from": "human", "value": "What tournament was Kirk Triplett a runner-up in?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_38 WHERE runner_s__up = \"kirk tripl...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (winning_score VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What is the winning score for the B.C. Open 1 tournament?" }, { "from": "gpt", "value": "SELECT winning_score FROM table_name_40 WHERE tournament = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_46 (country VARCHAR, player VARCHAR)" }, { "from": "human", "value": "What country is Lee Janzen from?" }, { "from": "gpt", "value": "SELECT country FROM table_name_46 WHERE player = \"lee janzen\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (to_par VARCHAR, place VARCHAR, player VARCHAR)" }, { "from": "human", "value": "When Tom Watson placed t6, what was the 2 par?" }, { "from": "gpt", "value": "SELECT to_par FROM table_name_35 WHERE place = \"t6\" AND player = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (player VARCHAR, score VARCHAR)" }, { "from": "human", "value": "Who had a score of 70-69-70=209?" }, { "from": "gpt", "value": "SELECT player FROM table_name_50 WHERE score = 70 - 69 - 70 = 209" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (opponent VARCHAR, tournament VARCHAR)" }, { "from": "human", "value": "What was the Opponent in the Tarragona Tournament?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_9 WHERE tournament = \"tarragona\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_14 (tournament VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What Tournament's Score was 6–2, 4–6, 6–4?" }, { "from": "gpt", "value": "SELECT tournament FROM table_name_14 WHERE score = \"6–2, 4–6, 6–4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (date VARCHAR, score VARCHAR)" }, { "from": "human", "value": "On what Date was the match with a Score of 6-2, 6-4?" }, { "from": "gpt", "value": "SELECT date FROM table_name_64 WHERE score = \"6-2, 6-4\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (year VARCHAR, category VARCHAR)" }, { "from": "human", "value": "How many years had the best actress in a Revival category?" }, { "from": "gpt", "value": "SELECT COUNT(year) FROM table_name_9 WHERE category = \"best actress in ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (category VARCHAR, year VARCHAR, nominated_work VARCHAR)" }, { "from": "human", "value": "What categories had a Nominated work of yerma before 1992?" }, { "from": "gpt", "value": "SELECT category FROM table_name_99 WHERE year <...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (shot_diameter__cm_ VARCHAR, shot_volume__cm_3__ INTEGER)" }, { "from": "human", "value": "How many times is the shot volume (cm3) less than 172.76?" }, { "from": "gpt", "value": "SELECT COUNT(shot_diameter__cm_) FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (shot_volume__cm_3__ INTEGER, shot_diameter__cm_ INTEGER)" }, { "from": "human", "value": "what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.04?" }, { "from": "gpt", "value": "SELECT AVG(shot_vol...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (role VARCHAR, festival_organization VARCHAR)" }, { "from": "human", "value": "What role was nominated at the Sydney Film Festival?" }, { "from": "gpt", "value": "SELECT role FROM table_name_56 WHERE festival_organization = \"s...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (award_category VARCHAR, nominated_won VARCHAR, year VARCHAR)" }, { "from": "human", "value": "In what category was an award won in 2007?" }, { "from": "gpt", "value": "SELECT award_category FROM table_name_92 WHERE nominated_w...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (year INTEGER, festival_organization VARCHAR)" }, { "from": "human", "value": "What is the first year that there was a Satellite Award?" }, { "from": "gpt", "value": "SELECT MIN(year) FROM table_name_90 WHERE festival_organizat...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (role VARCHAR, year VARCHAR, festival_organization VARCHAR)" }, { "from": "human", "value": "What role was at the Sydney Film Festival in 2008?" }, { "from": "gpt", "value": "SELECT role FROM table_name_4 WHERE year = 2008 AND f...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (nominated_won VARCHAR, award_category VARCHAR)" }, { "from": "human", "value": "What was nominated for the Jury Award?" }, { "from": "gpt", "value": "SELECT nominated_won FROM table_name_57 WHERE award_category = \"jury award\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (released VARCHAR, series_sorted VARCHAR)" }, { "from": "human", "value": "what is the released when the series is sorted 6y/ai?" }, { "from": "gpt", "value": "SELECT released FROM table_name_68 WHERE series_sorted = \"6y/ai\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (featuring VARCHAR, doctor VARCHAR, series_sorted VARCHAR)" }, { "from": "human", "value": "who is the featuring when the doctor is the 6th and the series sorted is 6y/ak?" }, { "from": "gpt", "value": "SELECT featuring FROM ta...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_73 (series_sorted VARCHAR, released VARCHAR)" }, { "from": "human", "value": "what is the series sorted when the released is may 2012?" }, { "from": "gpt", "value": "SELECT series_sorted FROM table_name_73 WHERE released = \"may 2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (featuring VARCHAR, series_sorted VARCHAR)" }, { "from": "human", "value": "who is the featuring when the series sorted is 6eb/b?" }, { "from": "gpt", "value": "SELECT featuring FROM table_name_38 WHERE series_sorted = \"6eb/b\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (country VARCHAR, year_s__won VARCHAR)" }, { "from": "human", "value": "Which Country has a Year(s) won of 1977?" }, { "from": "gpt", "value": "SELECT country FROM table_name_60 WHERE year_s__won = \"1977\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_90 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Which To par is the lowest one that has a Year(s) won of 1962, 1967, 1972, 1980, and a Total larger than 149?" }, { "from": "gpt", "value": "...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (country VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Which Country has a Total of 148?" }, { "from": "gpt", "value": "SELECT country FROM table_name_74 WHERE total = 148" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (year_s__won VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Which Year(s) won has a Total of 147?" }, { "from": "gpt", "value": "SELECT year_s__won FROM table_name_57 WHERE total = 147" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (to_par INTEGER, total INTEGER)" }, { "from": "human", "value": "Which To par is the highest one that has a Total smaller than 148?" }, { "from": "gpt", "value": "SELECT MAX(to_par) FROM table_name_89 WHERE total < 148" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (candidate VARCHAR, election VARCHAR)" }, { "from": "human", "value": "Who is the candidate in the 2008 (2) election?" }, { "from": "gpt", "value": "SELECT candidate FROM table_name_20 WHERE election = \"2008 (2)\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (share_of_votes VARCHAR, election VARCHAR)" }, { "from": "human", "value": "What is the share of votes in the 2008 (1) election?" }, { "from": "gpt", "value": "SELECT share_of_votes FROM table_name_99 WHERE election = \"2008 (1...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_20 (share_of_votes VARCHAR, election VARCHAR)" }, { "from": "human", "value": "What is the share of votes in the 2000 (2nd) election?" }, { "from": "gpt", "value": "SELECT share_of_votes FROM table_name_20 WHERE election = \"2000 ...
know_sql
chosen