conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "CREATE TABLE table_name_98 (home_team VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Home team of the game with a Score of 2 – 2?" }, { "from": "gpt", "value": "SELECT home_team FROM table_name_98 WHERE score = \"2 – 2\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (attendance VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What is the Attendance of the game with a Score of 0 – 0?" }, { "from": "gpt", "value": "SELECT attendance FROM table_name_94 WHERE score = \"0 – 0\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (year INTEGER, developer_s_ VARCHAR)" }, { "from": "human", "value": "What year had Nintendo EAD, Monolith Soft as developers?" }, { "from": "gpt", "value": "SELECT SUM(year) FROM table_name_36 WHERE developer_s_ = \"nintendo e...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_48 (location VARCHAR, designer VARCHAR, restaurant_name VARCHAR)" }, { "from": "human", "value": "what is the location when the designer is glen peloso and the restaurant is joe boo's cookoos?" }, { "from": "gpt", "value": "SELECT...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_57 (year_joined__or_joining_ INTEGER, city VARCHAR)" }, { "from": "human", "value": "What year did the team from City of Aurora join?" }, { "from": "gpt", "value": "SELECT AVG(year_joined__or_joining_) FROM table_name_57 WHERE cit...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (enrollment_08_09 VARCHAR, school VARCHAR)" }, { "from": "human", "value": "What was the total enrollment 08-09 of Franklin County?" }, { "from": "gpt", "value": "SELECT COUNT(enrollment_08_09) FROM table_name_93 WHERE school =...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR)" }, { "from": "human", "value": "What school has a team called the Pirates?" }, { "from": "gpt", "value": "SELECT school FROM table_name_79 WHERE team_name = \"pirates\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_1 (rank INTEGER, time VARCHAR)" }, { "from": "human", "value": "What is the rank of the team with a time of 1:00.61?" }, { "from": "gpt", "value": "SELECT AVG(rank) FROM table_name_1 WHERE time = \"1:00.61\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (lane INTEGER, time VARCHAR)" }, { "from": "human", "value": "What's the lane with a time of 1:00.66?" }, { "from": "gpt", "value": "SELECT AVG(lane) FROM table_name_93 WHERE time = \"1:00.66\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (rank VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What's the rank when the time was 59.65?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_43 WHERE time = \"59.65\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "What is the record when they played New York?" }, { "from": "gpt", "value": "SELECT record FROM table_name_64 WHERE opponent = \"new york\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR)" }, { "from": "human", "value": "Can you tell me the County that has the Year Joined of 1964, and the Location of montezuma?" }, { "from": "gpt", "value": "SELECT county F...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)" }, { "from": "human", "value": "Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears?" }, { "from": "gpt", "va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_70 (mascot VARCHAR, school VARCHAR)" }, { "from": "human", "value": "Can you tell me the Mascot that has the School of rosedale?" }, { "from": "gpt", "value": "SELECT mascot FROM table_name_70 WHERE school = \"rosedale\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (conference_joined VARCHAR, mascot VARCHAR)" }, { "from": "human", "value": "Can you tell me the Conference Joined that has the Mascot of little sycamores?" }, { "from": "gpt", "value": "SELECT conference_joined FROM table_name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR)" }, { "from": "human", "value": "Can you tell me the Location that has the Mascot of lakers?" }, { "from": "gpt", "value": "SELECT location FROM table_name_69 WHERE mascot = \"lakers\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_55 (time VARCHAR, team VARCHAR, speed VARCHAR)" }, { "from": "human", "value": "What is the time of the rider from the 348cc K4 Honda team with a speed of 97.743mph?" }, { "from": "gpt", "value": "SELECT time FROM table_name_55 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (lane VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the Lane of the swimmer with a Time of 8:34.25?" }, { "from": "gpt", "value": "SELECT lane FROM table_name_30 WHERE time = \"8:34.25\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (name VARCHAR, heat VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the Name of the swimmer with a Time of 9:04.86 in Heat 2?" }, { "from": "gpt", "value": "SELECT name FROM table_name_40 WHERE heat = 2 AND time...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_21 (location VARCHAR, round VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What is the Location of the Event in Round 1 with a Time of 1:25?" }, { "from": "gpt", "value": "SELECT location FROM table_name_21 WHERE round = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (goals INTEGER, position VARCHAR, first_appearance VARCHAR, last_appearance VARCHAR, appearances VARCHAR)" }, { "from": "human", "value": "What is the average goals when the last appearance was before 1984, there were more than 17 appearan...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (school VARCHAR, year_left VARCHAR)" }, { "from": "human", "value": "what is the school that left in 1966?" }, { "from": "gpt", "value": "SELECT school FROM table_name_18 WHERE year_left = 1966" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_19 (mascot VARCHAR, year_joined VARCHAR, school VARCHAR)" }, { "from": "human", "value": "what is the mascot for moores hill that joined later than 1952?" }, { "from": "gpt", "value": "SELECT mascot FROM table_name_19 WHERE year_j...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (conference_joined VARCHAR, location VARCHAR, county VARCHAR, year_joined VARCHAR)" }, { "from": "human", "value": "what is the conference joined for the county 69 ripley in 1952 in versailles?" }, { "from": "gpt", "value": "SE...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_91 (mascot VARCHAR, county VARCHAR)" }, { "from": "human", "value": "who is the mascot of the county 78 switzerland?" }, { "from": "gpt", "value": "SELECT mascot FROM table_name_91 WHERE county = \"78 switzerland\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_52 (time VARCHAR, rank VARCHAR, lane VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "What is the total time of the athlete from Canada with a lane less than 8 and a rank less than 8?" }, { "from": "gpt", "value": "S...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_53 (react VARCHAR, time VARCHAR, lane VARCHAR)" }, { "from": "human", "value": "What is the total react number with a time less than 20.05 and a lane less than 6?" }, { "from": "gpt", "value": "SELECT COUNT(react) FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (react INTEGER, name VARCHAR, lane VARCHAR)" }, { "from": "human", "value": "What is the average react of bryan barnett, who has a lane less than 2?" }, { "from": "gpt", "value": "SELECT AVG(react) FROM table_name_59 WHERE name...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR)" }, { "from": "human", "value": "What year did the Hornets leave the conference?" }, { "from": "gpt", "value": "SELECT year_left FROM table_name_68 WHERE team_name = \"hornets\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_65 (city VARCHAR, year_left VARCHAR)" }, { "from": "human", "value": "In what city was the team that left the conference in 1949 based?" }, { "from": "gpt", "value": "SELECT city FROM table_name_65 WHERE year_left = \"1949\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_6 (year_joined VARCHAR, city VARCHAR)" }, { "from": "human", "value": "What year did the team based in the city of Winamac join the conference?" }, { "from": "gpt", "value": "SELECT year_joined FROM table_name_6 WHERE city = \"win...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR)" }, { "from": "human", "value": "From what county was the team that left the conference in 1993?" }, { "from": "gpt", "value": "SELECT county FROM table_name_3 WHERE year_left = \"1993\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_63 (school VARCHAR, year_left VARCHAR)" }, { "from": "human", "value": "From what school was the team that left the conference in 1992?" }, { "from": "gpt", "value": "SELECT school FROM table_name_63 WHERE year_left = \"1992\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR)" }, { "from": "human", "value": "In what year did the team from the Western school join the conference?" }, { "from": "gpt", "value": "SELECT year_joined FROM table_name_10 WHERE school = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_77 (place INTEGER, points INTEGER)" }, { "from": "human", "value": "What is the place when less than 1 point is scored?" }, { "from": "gpt", "value": "SELECT AVG(place) FROM table_name_77 WHERE points < 1" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR)" }, { "from": "human", "value": "What is the highest draw number when 23 points are scored?" }, { "from": "gpt", "value": "SELECT MAX(draw) FROM table_name_36 WHERE points = 23" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (heat INTEGER, time VARCHAR, lane VARCHAR)" }, { "from": "human", "value": "What is the lowest heat that had a time of 1:02.85 in a lane larger than 7?" }, { "from": "gpt", "value": "SELECT MIN(heat) FROM table_name_40 WHERE ti...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_75 (lane INTEGER, heat VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the sum of the lanes before heat 7 that elizabeth simmonds swam?" }, { "from": "gpt", "value": "SELECT SUM(lane) FROM table_name_75 WHERE heat ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What's the Südbayern in 1928?" }, { "from": "gpt", "value": "SELECT südbayern FROM table_name_27 WHERE year = 1928" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (württemberg VARCHAR, baden VARCHAR, year VARCHAR)" }, { "from": "human", "value": "What's the Württemberg for Karlsruher FV happening after 1931?" }, { "from": "gpt", "value": "SELECT württemberg FROM table_name_51 WHERE baden...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_78 (year VARCHAR, baden VARCHAR)" }, { "from": "human", "value": "What's the year that has a Baden Freiburger FC?" }, { "from": "gpt", "value": "SELECT COUNT(year) FROM table_name_78 WHERE baden = \"freiburger fc\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (württemberg VARCHAR, year INTEGER)" }, { "from": "human", "value": "What's the Württemberg in the year before 1929?" }, { "from": "gpt", "value": "SELECT württemberg FROM table_name_42 WHERE year < 1929" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (nordbayern VARCHAR, year VARCHAR, württemberg VARCHAR)" }, { "from": "human", "value": "What's the Nordbayern with a Württemberg of Union Böckingen in the year before 1932?" }, { "from": "gpt", "value": "SELECT nordbayern FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_83 (high_rebounds VARCHAR, score VARCHAR)" }, { "from": "human", "value": "What was the high rebounds for the game that had a score of w 76-66?" }, { "from": "gpt", "value": "SELECT high_rebounds FROM table_name_83 WHERE score = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (location_attendance VARCHAR, record VARCHAR)" }, { "from": "human", "value": "What was the location/attendance for the game with a record of 16-6?" }, { "from": "gpt", "value": "SELECT location_attendance FROM table_name_79 WH...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is the nationality with a lane larger than 1, and a rank larger than 5, for Hsu Chi-Chieh?" }, { "from": "gpt", "value": "SEL...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (lane VARCHAR, time VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is the lane with a time of 1:56.64, and a tank smaller than 7?" }, { "from": "gpt", "value": "SELECT COUNT(lane) FROM table_name_31 WHERE time = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_84 (rank VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "What is the rank of Japan?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_84 WHERE nationality = \"japan\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "What is the time for Russia?" }, { "from": "gpt", "value": "SELECT time FROM table_name_54 WHERE nationality = \"russia\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What nation has more than 0 silver medals and is ranked 1?" }, { "from": "gpt", "value": "SELECT nation FROM table_name_27 WHERE silver > 0 AND ran...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR, silver VARCHAR)" }, { "from": "human", "value": "What is the rank of the country with total more than 3 and more than 6 silver?" }, { "from": "gpt", "value": "SELECT rank FROM table_name_66 WHERE t...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)" }, { "from": "human", "value": "What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)" }, { "from": "human", "value": "What nation has a total less than 11, more than 1 silver and less than 1 bronze?" }, { "from": "gpt", "value": "SELECT nation FROM...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_76 (silver INTEGER, nation VARCHAR)" }, { "from": "human", "value": "What is the most silver won by Norway?" }, { "from": "gpt", "value": "SELECT MAX(silver) FROM table_name_76 WHERE nation = \"norway\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR)" }, { "from": "human", "value": "What district has a constituency of 60?" }, { "from": "gpt", "value": "SELECT district FROM table_name_27 WHERE constituency_number = \"60\"" } ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_88 (district VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is district has a name of Rajnagar?" }, { "from": "gpt", "value": "SELECT district FROM table_name_88 WHERE name = \"rajnagar\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (score VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the score for the away team of Brentford?" }, { "from": "gpt", "value": "SELECT score FROM table_name_25 WHERE away_team = \"brentford\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the score of the tied game or the away team of Crewe Alexandra?" }, { "from": "gpt", "value": "SELECT tie_no FROM table_name_13 WHERE away_team = \"c...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR)" }, { "from": "human", "value": "What was the date of the game for the Wrexham away team?" }, { "from": "gpt", "value": "SELECT date FROM table_name_17 WHERE away_team = \"wrexham\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_27 (date VARCHAR, home_team VARCHAR)" }, { "from": "human", "value": "What was the date of the game for the HartlePool United team?" }, { "from": "gpt", "value": "SELECT date FROM table_name_27 WHERE home_team = \"hartlepool unite...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (tickets_sold___available VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "What is the number of tickets sold and available for the concert at Long Beach Arena?" }, { "from": "gpt", "value": "SELECT tickets_sold___avail...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_42 (city VARCHAR, venue VARCHAR)" }, { "from": "human", "value": "Which city has a venue of the Arco Arena?" }, { "from": "gpt", "value": "SELECT city FROM table_name_42 WHERE venue = \"arco arena\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_92 (round INTEGER, opponent VARCHAR)" }, { "from": "human", "value": "What is the lowest round that has kazushi sakuraba as the opponent?" }, { "from": "gpt", "value": "SELECT MIN(round) FROM table_name_92 WHERE opponent = \"kazus...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_51 (gold INTEGER, nation VARCHAR, total VARCHAR)" }, { "from": "human", "value": "Japan (JPN) with a total of less than 5, has what average gold medals?" }, { "from": "gpt", "value": "SELECT AVG(gold) FROM table_name_51 WHERE nati...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_86 (bronze INTEGER, gold VARCHAR, silver VARCHAR)" }, { "from": "human", "value": "What is the average bronze medal when gold is greater than 0, and there is less than 0 silver medals?" }, { "from": "gpt", "value": "SELECT AVG(bro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_2 (bronze VARCHAR, silver VARCHAR, rank VARCHAR, total VARCHAR)" }, { "from": "human", "value": "What is the sum of bronze medals when the rank is greater than 2, and less than 2 total medals with silver medals being more than 0?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR)" }, { "from": "human", "value": "With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total?" }, { "fro...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_49 (gold INTEGER, bronze INTEGER)" }, { "from": "human", "value": "What is the fewest gold medals when the bronze medals is greater than 5?" }, { "from": "gpt", "value": "SELECT MIN(gold) FROM table_name_49 WHERE bronze > 5" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What is the player when the team is oakland raiders?" }, { "from": "gpt", "value": "SELECT player FROM table_name_89 WHERE team = \"oakland raiders\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_30 (team VARCHAR, college VARCHAR)" }, { "from": "human", "value": "What is the team when the college is virginia tech?" }, { "from": "gpt", "value": "SELECT team FROM table_name_30 WHERE college = \"virginia tech\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (college VARCHAR, team VARCHAR)" }, { "from": "human", "value": "What college has a team of new york jets?" }, { "from": "gpt", "value": "SELECT college FROM table_name_74 WHERE team = \"new york jets\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (team VARCHAR, pick VARCHAR, college VARCHAR)" }, { "from": "human", "value": "What team has a pick larger than 30, when the college is saginaw valley state?" }, { "from": "gpt", "value": "SELECT team FROM table_name_74 WHERE p...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_61 (pick INTEGER, college VARCHAR)" }, { "from": "human", "value": "What is the highest pick when the college is saginaw valley state?" }, { "from": "gpt", "value": "SELECT MAX(pick) FROM table_name_61 WHERE college = \"saginaw va...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)" }, { "from": "human", "value": "what is the record when the opponent is akiko inoue?" }, { "from": "gpt", "value": "SELECT record FROM table_name_37 WHERE opponent = \"akiko inoue\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (event VARCHAR, location VARCHAR, record VARCHAR)" }, { "from": "human", "value": "what is the even when the location is tokyo, japan and the record is 6-1?" }, { "from": "gpt", "value": "SELECT event FROM table_name_7 WHERE loc...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_7 (range VARCHAR, name VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "Which range includes Mount Fukushima, and is ranked 38?" }, { "from": "gpt", "value": "SELECT range FROM table_name_7 WHERE name = \"mount fukushima\" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_93 (altitude__meters_ INTEGER, range VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains?" }, { "from": "gpt", "value...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_72 (altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What is the Altitude (meters) associated with a rank smaller than 10, and the range Mühlig-Hofmann Mountains?" }, { "from": "gpt", "value...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_79 (name VARCHAR, altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR)" }, { "from": "human", "value": "What name is associated with a rank greater than 69, an altitude (meters) smaller than 2154, and a range of Sivorgfjella?" }, { ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_41 (name VARCHAR, rank VARCHAR, altitude__meters_ VARCHAR)" }, { "from": "human", "value": "What name is associated with a rank of less than 24, and an altitude (meters) of 3085?" }, { "from": "gpt", "value": "SELECT name FROM tab...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_56 (primary_conference VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)" }, { "from": "human", "value": "What is the primary conference with a IHSAA Football Class of A, at South Decatur school?" }, { "from": "gpt", "value":...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_28 (location VARCHAR, county VARCHAR)" }, { "from": "human", "value": "What is the Location with a county of 30 Hancock?" }, { "from": "gpt", "value": "SELECT location FROM table_name_28 WHERE county = \"30 hancock\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_36 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR)" }, { "from": "human", "value": "What county has an IHSAA Football Class of A, and a Mascot of royals?" }, { "from": "gpt", "value": "SELECT county FROM table_name_...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_74 (school VARCHAR, county VARCHAR)" }, { "from": "human", "value": "What school has a county of 69 ripley?" }, { "from": "gpt", "value": "SELECT school FROM table_name_74 WHERE county = \"69 ripley\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_9 (enrollment VARCHAR, mascot VARCHAR)" }, { "from": "human", "value": "What is the enrollment for the school with the mascot of the Fighting '59ers?" }, { "from": "gpt", "value": "SELECT enrollment FROM table_name_9 WHERE mascot ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_32 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR)" }, { "from": "human", "value": "What nation has a total less than 2, silver of 1 and bronze less than 1?" }, { "from": "gpt", "value": "SELECT nation FROM table_n...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_25 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)" }, { "from": "human", "value": "What's the total with silver being less than 0, less than 1 gold, and 3 bronze?" }, { "from": "gpt", "value": "SELECT SUM(total) FRO...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (time VARCHAR, heat VARCHAR, nationality VARCHAR)" }, { "from": "human", "value": "What's Australia's time in the heat more than 4?" }, { "from": "gpt", "value": "SELECT time FROM table_name_43 WHERE heat > 4 AND nationality = ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_43 (lane INTEGER, heat VARCHAR, name VARCHAR)" }, { "from": "human", "value": "What's Sara Isakovič's lane number that had a heat of 3?" }, { "from": "gpt", "value": "SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = \...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_64 (heat VARCHAR, time VARCHAR)" }, { "from": "human", "value": "What's the heat that was timed 2:08.54?" }, { "from": "gpt", "value": "SELECT COUNT(heat) FROM table_name_64 WHERE time = \"2:08.54\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_94 (director VARCHAR, title VARCHAR)" }, { "from": "human", "value": "Who is the Director of Fish Tales?" }, { "from": "gpt", "value": "SELECT director FROM table_name_94 WHERE title = \"fish tales\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_40 (title VARCHAR, release_date VARCHAR)" }, { "from": "human", "value": "What was released on 1936-08-29?" }, { "from": "gpt", "value": "SELECT title FROM table_name_40 WHERE release_date = \"1936-08-29\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_50 (release_date VARCHAR, title VARCHAR)" }, { "from": "human", "value": "What is the release date of Milk and Money?" }, { "from": "gpt", "value": "SELECT release_date FROM table_name_50 WHERE title = \"milk and money\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_95 (release_date VARCHAR, title VARCHAR)" }, { "from": "human", "value": "What is the release date of I Wanna Play House?" }, { "from": "gpt", "value": "SELECT release_date FROM table_name_95 WHERE title = \"i wanna play house\"" ...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_31 (director VARCHAR, title VARCHAR)" }, { "from": "human", "value": "Who is the director of Little Beau Porky?" }, { "from": "gpt", "value": "SELECT director FROM table_name_31 WHERE title = \"little beau porky\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_59 (release_date VARCHAR, title VARCHAR)" }, { "from": "human", "value": "What is the release date of The Blow Out?" }, { "from": "gpt", "value": "SELECT release_date FROM table_name_59 WHERE title = \"the blow out\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (author VARCHAR, company VARCHAR)" }, { "from": "human", "value": "Who was the author for company Buzz Productions Theater?" }, { "from": "gpt", "value": "SELECT author FROM table_name_18 WHERE company = \"buzz productions thea...
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_15 (country VARCHAR, play VARCHAR)" }, { "from": "human", "value": "What country had the play Cyclops?" }, { "from": "gpt", "value": "SELECT country FROM table_name_15 WHERE play = \"cyclops\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_5 (country VARCHAR, play VARCHAR)" }, { "from": "human", "value": "What country had the play Medea?" }, { "from": "gpt", "value": "SELECT country FROM table_name_5 WHERE play = \"medea\"" } ]
know_sql
chosen
[ { "from": "system", "value": "CREATE TABLE table_name_18 (play VARCHAR, country VARCHAR)" }, { "from": "human", "value": "What play is from the country Belgium?" }, { "from": "gpt", "value": "SELECT play FROM table_name_18 WHERE country = \"belgium\"" } ]
know_sql
chosen