conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What is the home team's score at glenferrie oval?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_66 WHERE venue = \"glenferrie oval\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (best INTEGER, qual_2 VARCHAR)" }, { "from": "human", "value": "Who had the lowest Best time that also had a Qual 2 of 49.887?" }, { "from": "gpt", "value": "SELECT MIN(best) FROM table_name_13 WHERE qual_2 = \"49.887\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (best VARCHAR, team VARCHAR, qual_2 VARCHAR)" }, { "from": "human", "value": "What was CTE Racing-hvm's Best with a Qual 2 of 50.312?" }, { "from": "gpt", "value": "SELECT best FROM table_name_77 WHERE team = \"cte racing-hvm\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the home team score when essendon was the away team?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_51 WHERE away_team =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "When richmond was the Away team what was the score of the home team?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_37 WHERE away...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (service VARCHAR, network VARCHAR)" }, { "from": "human", "value": "Which service does the network of atn urdu offer?" }, { "from": "gpt", "value": "SELECT service FROM table_name_74 WHERE network = \"atn urdu\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_12 (origin_of_programming VARCHAR, service VARCHAR, genre VARCHAR, network VARCHAR)" }, { "from": "human", "value": "Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable?" }, { "fro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (service VARCHAR, network VARCHAR, language VARCHAR, genre VARCHAR)" }, { "from": "human", "value": "Which service has a hindi language, general genre and zee tv network?" }, { "from": "gpt", "value": "SELECT service FROM table...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (network VARCHAR, language VARCHAR, service VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)" }, { "from": "human", "value": "Which network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)" }, { "from": "human", "value": "Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)" }, { "from": "human", "value": "What is the average number of bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal?" }, { "from": "gpt...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)" }, { "from": "human", "value": "What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?" }, { "from": "gp...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (allegiance VARCHAR, name VARCHAR)" }, { "from": "human", "value": "Who did Winfield Scott have an allegiance with?" }, { "from": "gpt", "value": "SELECT allegiance FROM table_name_28 WHERE name = \"winfield scott\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (population_density___km_2__ INTEGER)" }, { "from": "human", "value": "What was the July 2013 population estimate of the location which had a population density larger than 14.1?" }, { "from": "gpt", "value": "SELECT COUNT(2013...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (rank INTEGER, population_density___km_2__ VARCHAR, _percentage_growth__2006_11_ VARCHAR)" }, { "from": "human", "value": "What was the highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_38 (population___2011_census__ INTEGER, land_area__km²_ INTEGER)" }, { "from": "human", "value": "What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²?" }, { "from": "gpt", "value": "SE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (rider VARCHAR, speed VARCHAR)" }, { "from": "human", "value": "Which rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph?" }, { "from": "gpt", "value": "SELECT rider FROM table_name_78...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_60 (rider VARCHAR, points VARCHAR)" }, { "from": "human", "value": "Which rider had a points score equal to 10?" }, { "from": "gpt", "value": "SELECT rider FROM table_name_60 WHERE points = 10" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (start VARCHAR, tries VARCHAR, conv VARCHAR, pens VARCHAR)" }, { "from": "human", "value": "Which Start has a 0 Conv, 0 Pens and 8 Tries?" }, { "from": "gpt", "value": "SELECT start FROM table_name_54 WHERE conv = \"0\" AND pen...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (player VARCHAR, pens VARCHAR, start VARCHAR)" }, { "from": "human", "value": "Which Player has 0 Pens and 12 Starts?" }, { "from": "gpt", "value": "SELECT player FROM table_name_42 WHERE pens = \"0\" AND start = \"12\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (start VARCHAR, tries VARCHAR, conv VARCHAR)" }, { "from": "human", "value": "Which Start has 8 Tries and 0 Convs?" }, { "from": "gpt", "value": "SELECT start FROM table_name_58 WHERE tries = \"8\" AND conv = \"0\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Who was the away team for the game at Victoria Park?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_47 WHERE venue = \"victoria park\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (overall INTEGER, round VARCHAR)" }, { "from": "human", "value": "What was round 7's lowest overall?" }, { "from": "gpt", "value": "SELECT MIN(overall) FROM table_name_72 WHERE round = 7" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (player VARCHAR, overall INTEGER)" }, { "from": "human", "value": "Who had the smallest overall under 22?" }, { "from": "gpt", "value": "SELECT player FROM table_name_51 WHERE overall < 22" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (position VARCHAR, overall VARCHAR, school_club_team VARCHAR)" }, { "from": "human", "value": "What was Cal State-Los Angeles' position with an Overall above 22?" }, { "from": "gpt", "value": "SELECT position FROM table_name_77...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (player VARCHAR, school_club_team VARCHAR)" }, { "from": "human", "value": "Who played for Memphis State?" }, { "from": "gpt", "value": "SELECT player FROM table_name_47 WHERE school_club_team = \"memphis state\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_26 (crowd INTEGER, away_team VARCHAR)" }, { "from": "human", "value": "What is the largest crowd for the St Kilda as the away team?" }, { "from": "gpt", "value": "SELECT MAX(crowd) FROM table_name_26 WHERE away_team = \"st kilda\"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was the crowd size when Essendon was the home team?" }, { "from": "gpt", "value": "SELECT crowd FROM table_name_98 WHERE home_team = \"essendon\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (venue VARCHAR, crowd INTEGER)" }, { "from": "human", "value": "Which venue had a crowd larger than 20,000?" }, { "from": "gpt", "value": "SELECT venue FROM table_name_68 WHERE crowd > 20 OFFSET 000" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Which away team played at Lake Oval?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_50 WHERE venue = \"lake oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What is the total number of the crowd at Glenferrie Oval?" }, { "from": "gpt", "value": "SELECT COUNT(crowd) FROM table_name_28 WHERE venue = \"glenferrie oval\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "The Western Oval venue has what date?" }, { "from": "gpt", "value": "SELECT date FROM table_name_37 WHERE venue = \"western oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_81 (kickoff VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the kickoff time for the Miami Dolphins?" }, { "from": "gpt", "value": "SELECT kickoff FROM table_name_81 WHERE opponent = \"miami dolphins\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (result VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What was the final of the New England Patriots game?" }, { "from": "gpt", "value": "SELECT result FROM table_name_66 WHERE opponent = \"new england patriots\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR, week VARCHAR)" }, { "from": "human", "value": "What is the largest attendance on august 10, 1963, and a week larger than 1?" }, { "from": "gpt", "value": "SELECT MAX(attendance) FROM table_nam...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was the score of the away team when the home team was south melbourne?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_79 WHE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (crowd INTEGER, venue VARCHAR)" }, { "from": "human", "value": "What is the smallest crowd at princes park?" }, { "from": "gpt", "value": "SELECT MIN(crowd) FROM table_name_57 WHERE venue = \"princes park\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (rank INTEGER, silver VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the highest ranked nation with 15 silver medals and no more than 47 total?" }, { "from": "gpt", "value": "SELECT MAX(rank) FROM table_name_5...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (rank_by_average INTEGER, average VARCHAR, number_of_dances VARCHAR)" }, { "from": "human", "value": "What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances?" }, { "from": "gpt", ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR)" }, { "from": "human", "value": "What is the example with the associative type?" }, { "from": "gpt", "value": "SELECT example FROM table_name_56 WHERE type = \"associative\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (suffix VARCHAR, valency_change VARCHAR, type VARCHAR)" }, { "from": "human", "value": "What is the Suffix of the intensive and valency change of 0?" }, { "from": "gpt", "value": "SELECT suffix FROM table_name_21 WHERE valency_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (valency_change VARCHAR, type VARCHAR)" }, { "from": "human", "value": "WHat is the Valency change of associative type?" }, { "from": "gpt", "value": "SELECT valency_change FROM table_name_1 WHERE type = \"associative\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "Who is the home team when hawthorn is the away side?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_66 WHERE away_team = \"hawthorn\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_29 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What was the away team that played at Windy Hill?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_29 WHERE venue = \"windy hill\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER)" }, { "from": "human", "value": "What was the away team at the match where the crowd was larger than 30,000?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_3 WHERE crowd > 30 O...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_44 (crowd INTEGER, away_team VARCHAR)" }, { "from": "human", "value": "What is the smallest crowd when richmond is away?" }, { "from": "gpt", "value": "SELECT MIN(crowd) FROM table_name_44 WHERE away_team = \"richmond\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (home_team VARCHAR)" }, { "from": "human", "value": "What is melbourne's home team score?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_48 WHERE home_team = \"melbourne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (color_commentator_s_ VARCHAR, year VARCHAR)" }, { "from": "human", "value": "Who is the color commentator in 2008?" }, { "from": "gpt", "value": "SELECT color_commentator_s_ FROM table_name_16 WHERE year = 2008" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (member VARCHAR, party VARCHAR, electorate VARCHAR)" }, { "from": "human", "value": "Which member of the National Party is from the Hinkler electorate?" }, { "from": "gpt", "value": "SELECT member FROM table_name_6 WHERE party =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (member VARCHAR, state VARCHAR, electorate VARCHAR)" }, { "from": "human", "value": "Which member is from the state of SA and the grey electorate?" }, { "from": "gpt", "value": "SELECT member FROM table_name_74 WHERE state = \"...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_39 (state VARCHAR, electorate VARCHAR)" }, { "from": "human", "value": "In which state is the Petrie electorate?" }, { "from": "gpt", "value": "SELECT state FROM table_name_39 WHERE electorate = \"petrie\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (round VARCHAR, position VARCHAR, overall VARCHAR)" }, { "from": "human", "value": "What round was the draft pick of tight end with an Overall larger than 21?" }, { "from": "gpt", "value": "SELECT COUNT(round) FROM table_name_6...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (player VARCHAR, position VARCHAR, round VARCHAR)" }, { "from": "human", "value": "Which player is a wide receiver picked in round 7?" }, { "from": "gpt", "value": "SELECT player FROM table_name_77 WHERE position = \"wide recei...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (player VARCHAR, position VARCHAR)" }, { "from": "human", "value": "What is the name of the running back pick?" }, { "from": "gpt", "value": "SELECT player FROM table_name_3 WHERE position = \"running back\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (date VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "When did the VFL pay at Victoria Park?" }, { "from": "gpt", "value": "SELECT date FROM table_name_17 WHERE venue = \"victoria park\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (date VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "When did South Melbourne play as the away team?" }, { "from": "gpt", "value": "SELECT date FROM table_name_45 WHERE away_team = \"south melbourne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was home team Essendon's opponents score?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_9 WHERE home_team = \"essendon\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (year VARCHAR, title VARCHAR)" }, { "from": "human", "value": "When was The Love Eterne released?" }, { "from": "gpt", "value": "SELECT year FROM table_name_2 WHERE title = \"the love eterne\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "How many heats had 5 lanes and a rank less than 110 for the nationality of Honduras?" }, { "from": "gpt", "value": "SELECT COUNT(h...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "How many heats had 2 lanes, a rank above 75, and nationality of Madagascar?" }, { "from": "gpt", "value": "SELECT COUNT(heat) FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (heat INTEGER, nationality VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is the sum of every heat for the nationality of Macedonia with a rank less than 114?" }, { "from": "gpt", "value": "SELECT SUM(heat) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (heat INTEGER, nationality VARCHAR, lane VARCHAR)" }, { "from": "human", "value": "What was the least number of heats with more than 8 lanes for the Nationality of Germany?" }, { "from": "gpt", "value": "SELECT MIN(heat) FROM t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "When the VFL played Victoria Park what was the home team score?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_11 WHERE venue = \"vic...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (driver VARCHAR, points VARCHAR, grid VARCHAR)" }, { "from": "human", "value": "What driver has over 19 points and a grid of over 2?" }, { "from": "gpt", "value": "SELECT driver FROM table_name_65 WHERE points > 19 AND grid > 2...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_4 (away_team VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was the score for the away team when geelong was the home team?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_4 WHERE home_t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the score of the home team when they played footscray?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_8 WHERE away_team =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_45 (home_team VARCHAR)" }, { "from": "human", "value": "What was the score for the home team of essendon?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_45 WHERE home_team = \"essendon\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (home_team VARCHAR)" }, { "from": "human", "value": "What was the score for the Essendon home team?" }, { "from": "gpt", "value": "SELECT home_team AS score FROM table_name_31 WHERE home_team = \"essendon\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (crowd INTEGER, home_team VARCHAR)" }, { "from": "human", "value": "What was the smallest crowd for the Richmond home team?" }, { "from": "gpt", "value": "SELECT MIN(crowd) FROM table_name_56 WHERE home_team = \"richmond\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (crowd INTEGER, venue VARCHAR)" }, { "from": "human", "value": "What was the largest crowd at the Brunswick Street Oval?" }, { "from": "gpt", "value": "SELECT MAX(crowd) FROM table_name_75 WHERE venue = \"brunswick street oval\...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Who was the home team when VFL played at Windy Hill?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_16 WHERE venue = \"windy hill\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_82 (crowd INTEGER, venue VARCHAR)" }, { "from": "human", "value": "What was the attendance when the VFL played Glenferrie Oval?" }, { "from": "gpt", "value": "SELECT SUM(crowd) FROM table_name_82 WHERE venue = \"glenferrie oval\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR)" }, { "from": "human", "value": "What was the attendance when North Melbourne was the away team?" }, { "from": "gpt", "value": "SELECT AVG(crowd) FROM table_name_77 WHERE away_team = \"north m...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (date VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "When did Essendon play as the home team?" }, { "from": "gpt", "value": "SELECT date FROM table_name_70 WHERE home_team = \"essendon\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_47 (approximate_age VARCHAR, virtues VARCHAR)" }, { "from": "human", "value": "Can you give me the age of the Virtues of Wisdom?" }, { "from": "gpt", "value": "SELECT approximate_age FROM table_name_47 WHERE virtues = \"wisdom\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (virtues VARCHAR, psycho_social_crisis VARCHAR)" }, { "from": "human", "value": "What Virtue looks at the intimacy vs. isolation crisis?" }, { "from": "gpt", "value": "SELECT virtues FROM table_name_48 WHERE psycho_social_crisi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (approximate_age VARCHAR, significant_relationship VARCHAR)" }, { "from": "human", "value": "Can you give me the age of the Significant Relationship of Family?" }, { "from": "gpt", "value": "SELECT approximate_age FROM table_na...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (virtues VARCHAR, significant_relationship VARCHAR)" }, { "from": "human", "value": "The Significant Relationship of Parents belongs with what Virtue?" }, { "from": "gpt", "value": "SELECT virtues FROM table_name_84 WHERE signi...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Who is the away side at windy hill?" }, { "from": "gpt", "value": "SELECT away_team FROM table_name_35 WHERE venue = \"windy hill\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (overall VARCHAR, player VARCHAR)" }, { "from": "human", "value": "How many drafts featured fred hoaglin?" }, { "from": "gpt", "value": "SELECT COUNT(overall) FROM table_name_42 WHERE player = \"fred hoaglin\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR)" }, { "from": "human", "value": "What round did the player from delta st. get picked?" }, { "from": "gpt", "value": "SELECT round FROM table_name_84 WHERE school_club_team = \"delta st....
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (overall INTEGER, round VARCHAR)" }, { "from": "human", "value": "What is the highest overall number for someone from round 16?" }, { "from": "gpt", "value": "SELECT MAX(overall) FROM table_name_51 WHERE round = 16" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)" }, { "from": "human", "value": "What was the average crowd size when Melbourne was the home team?" }, { "from": "gpt", "value": "SELECT AVG(crowd) FROM table_name_9 WHERE home_team = \"melbour...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (away_team VARCHAR)" }, { "from": "human", "value": "What was North Melbourne's score when they were the home team?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_52 WHERE away_team = \"north melbourne...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_96 (away_team VARCHAR)" }, { "from": "human", "value": "What was Hawthorn's score as the away team?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_96 WHERE away_team = \"hawthorn\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Who was the away team at the game at Lake Oval?" }, { "from": "gpt", "value": "SELECT away_team AS score FROM table_name_57 WHERE venue = \"lake oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (stadium VARCHAR, attendance VARCHAR)" }, { "from": "human", "value": "Which stadium held the game that 65,677 people attended?" }, { "from": "gpt", "value": "SELECT stadium FROM table_name_21 WHERE attendance = \"65,677\"" }...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR)" }, { "from": "human", "value": "What was the attendance of the game on October 17, 2004?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_41 WHERE date = \"october 17, 2004\""...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (week VARCHAR, date VARCHAR)" }, { "from": "human", "value": "Which week was the October 17, 2004 game played?" }, { "from": "gpt", "value": "SELECT week FROM table_name_76 WHERE date = \"october 17, 2004\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (record VARCHAR, stadium VARCHAR)" }, { "from": "human", "value": "What was the Browns record after they played the game at the Paul Brown stadium?" }, { "from": "gpt", "value": "SELECT record FROM table_name_41 WHERE stadium =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR)" }, { "from": "human", "value": "Which player went to Gonzaga?" }, { "from": "gpt", "value": "SELECT player FROM table_name_80 WHERE school_country = \"gonzaga\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR)" }, { "from": "human", "value": "Which Rams opponent had a record of 2-3?" }, { "from": "gpt", "value": "SELECT opponent FROM table_name_87 WHERE record = \"2-3\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_97 (podiums VARCHAR, races_† VARCHAR)" }, { "from": "human", "value": "What is the number of podiums for the races of 13/15?" }, { "from": "gpt", "value": "SELECT podiums FROM table_name_97 WHERE races_† = \"13/15\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (wins VARCHAR, races_† VARCHAR)" }, { "from": "human", "value": "How many wins are there for the Races of 12/12?" }, { "from": "gpt", "value": "SELECT wins FROM table_name_36 WHERE races_† = \"12/12\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_99 (fastest_laps VARCHAR, season INTEGER)" }, { "from": "human", "value": "What is the fastest lap for a season smaller than 1979?" }, { "from": "gpt", "value": "SELECT fastest_laps FROM table_name_99 WHERE season < 1979" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (fastest_laps VARCHAR, races_† VARCHAR)" }, { "from": "human", "value": "For the 12/12 races, what is the fastest lap?" }, { "from": "gpt", "value": "SELECT fastest_laps FROM table_name_95 WHERE races_† = \"12/12\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR)" }, { "from": "human", "value": "What was the largest crowd where Carlton was the away team?" }, { "from": "gpt", "value": "SELECT MAX(crowd) FROM table_name_64 WHERE away_team = \"carlton\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Which team's home is the Arden Street Oval?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_56 WHERE venue = \"arden street oval\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (crowd INTEGER, home_team VARCHAR)" }, { "from": "human", "value": "What was the lowest attendance at a Fitzroy match?" }, { "from": "gpt", "value": "SELECT MIN(crowd) FROM table_name_68 WHERE home_team = \"fitzroy\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR)" }, { "from": "human", "value": "What is the current club with more than 368 apps and a debut year earlier than 1994?" }, { "from": "gpt", "value": "SELECT current_club F...
know_sql
chosen