conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_92 (round VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "What round was the opponent Manny Gamburyan?"
},
{
"from": "gpt",
"value": "SELECT round FROM table_name_92 WHERE opponent = \"manny gamburyan\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (week INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What was the week of the game played December 6, 1964?"
},
{
"from": "gpt",
"value": "SELECT SUM(week) FROM table_name_75 WHERE date = \"december 6, 1964\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (losses INTEGER, against VARCHAR, draws VARCHAR)"
},
{
"from": "human",
"value": "What is the fewest losses that had an against score of 2190 and more than 0 draws?"
},
{
"from": "gpt",
"value": "SELECT MIN(losses) FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (draws INTEGER, byes INTEGER)"
},
{
"from": "human",
"value": "What is the fewest number of draws for teams with more than 0 byes?"
},
{
"from": "gpt",
"value": "SELECT MIN(draws) FROM table_name_75 WHERE byes > 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (losses INTEGER, bellarine_fl VARCHAR, byes VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of losses for Geelong Amateur, with 0 byes?"
},
{
"from": "gpt",
"value": "SELECT SUM(losses) FROM table_name_95 WHERE bellar... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (wins INTEGER, draws INTEGER)"
},
{
"from": "human",
"value": "What is the sum of the number of wins for teams with more than 0 draws?"
},
{
"from": "gpt",
"value": "SELECT SUM(wins) FROM table_name_51 WHERE draws > 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (stadium VARCHAR, host_team VARCHAR)"
},
{
"from": "human",
"value": "What is the Stadium that hosts the team Jacksonville Jaguars?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_1 WHERE host_team = \"jacksonville... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (stadium VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What stadium was used on November 13?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_45 WHERE date = \"november 13\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_70 (host_team VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "What is the host team with the stadium Lincoln Financial Field?"
},
{
"from": "gpt",
"value": "SELECT host_team FROM table_name_70 WHERE stadium = \"lincoln ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (visiting_team VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "What team visited the Cleveland Browns Stadium?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_22 WHERE stadium = \"cleveland browns... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (stadium VARCHAR, visiting_team VARCHAR)"
},
{
"from": "human",
"value": "What stadium did the Denver Broncos visit?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_60 WHERE visiting_team = \"denver broncos\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "What team visited the Jacksonville Municipal Stadium?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_10 WHERE stadium = \"jacksonvil... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_68 (boardings_and_deboardings VARCHAR, city VARCHAR)"
},
{
"from": "human",
"value": "How many people boarded and de-boarded the Amtrak in Linthicum?"
},
{
"from": "gpt",
"value": "SELECT COUNT(boardings_and_deboardings) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_86 (total VARCHAR, europe VARCHAR)"
},
{
"from": "human",
"value": "The Europe listing of 00 0 0 (0) also has what listed as the total?"
},
{
"from": "gpt",
"value": "SELECT total FROM table_name_86 WHERE europe = \"00 0 0 (0)\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR)"
},
{
"from": "human",
"value": "The league of 400 (21) has what years listed?"
},
{
"from": "gpt",
"value": "SELECT years FROM table_name_87 WHERE league = \"400 (21)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR)"
},
{
"from": "human",
"value": "With a FA Cup of 0 44 0 (0), the other [C] is listed as what?"
},
{
"from": "gpt",
"value": "SELECT other_[c_] FROM table_name_46 WHERE fa_cup = \"0 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR)"
},
{
"from": "human",
"value": "The Europe listing of 117 0 (8) belongs to what league?"
},
{
"from": "gpt",
"value": "SELECT league FROM table_name_5 WHERE europe = \"117 0 (8)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (fa_cup VARCHAR, other_ VARCHAR, c_ VARCHAR)"
},
{
"from": "human",
"value": "The other [C] of 0 12 0 (0) belongs to what FA Cup?"
},
{
"from": "gpt",
"value": "SELECT fa_cup FROM table_name_36 WHERE other_[c_] = \"0 12 0 (0)\"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (gold INTEGER, silver VARCHAR, edition VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest VIII Edition Gold with a Silver of 4?"
},
{
"from": "gpt",
"value": "SELECT MIN(gold) FROM table_name_33 WHERE silver = 4 AND e... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (bronze INTEGER, gold VARCHAR, silver VARCHAR, edition VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Edition I Bronze with a Gold higher than 9 and a Silver higher than 10?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (host_city VARCHAR, silver VARCHAR, total VARCHAR)"
},
{
"from": "human",
"value": "Which Host City has more than 6 Silver and a Total of 22?"
},
{
"from": "gpt",
"value": "SELECT host_city FROM table_name_74 WHERE silver > 6 A... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (time VARCHAR, release_date VARCHAR, track VARCHAR)"
},
{
"from": "human",
"value": "What was the time for tracks before 19 on 8/26/69?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_75 WHERE release_date = \"8/26/6... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (venue VARCHAR, notes VARCHAR)"
},
{
"from": "human",
"value": "Which venue has a note of AM?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_32 WHERE notes = \"am\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_12 (time VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the time associated with August 16, 2008?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_12 WHERE date = \"august 16, 2008\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (event VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which event was held in Beijing?"
},
{
"from": "gpt",
"value": "SELECT event FROM table_name_44 WHERE venue = \"beijing\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (notes VARCHAR, venue VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "For a venue of Rome on July 30, 2009, what are the notes?"
},
{
"from": "gpt",
"value": "SELECT notes FROM table_name_59 WHERE venue = \"rome\" AND d... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the score for october 9"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_35 WHERE date = \"october 9\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (loss VARCHAR, series VARCHAR)"
},
{
"from": "human",
"value": "Name the loss for series 2-2"
},
{
"from": "gpt",
"value": "SELECT loss FROM table_name_90 WHERE series = \"2-2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of attendance for october 8"
},
{
"from": "gpt",
"value": "SELECT COUNT(attendance) FROM table_name_52 WHERE date = \"october 8\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (engine VARCHAR, points VARCHAR, entrant VARCHAR)"
},
{
"from": "human",
"value": "Which engine did Élie Bayol use when they earned 0 points?"
},
{
"from": "gpt",
"value": "SELECT engine FROM table_name_74 WHERE points = 0 AND ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (season INTEGER, attendance_g INTEGER)"
},
{
"from": "human",
"value": "What season had the highest attendance/g than 3,289?"
},
{
"from": "gpt",
"value": "SELECT MAX(season) FROM table_name_98 WHERE attendance_g < 3 OFFSET 289... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (year VARCHAR, pts VARCHAR)"
},
{
"from": "human",
"value": "What year had 13 points?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_23 WHERE pts = 13"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)"
},
{
"from": "human",
"value": "Which chassis has a year later than 1964, a Ford engine, and 13 points?"
},
{
"from": "gpt",
"value": "SELECT chassis FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (entrant VARCHAR, chassis VARCHAR, pts VARCHAR, engine VARCHAR)"
},
{
"from": "human",
"value": "Which entrant has fewer than 12 points, a Climax engine, and a Lotus 24 chassis?"
},
{
"from": "gpt",
"value": "SELECT entrant FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (pts INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR)"
},
{
"from": "human",
"value": "In 1972, what was the highest number of points with a Ford engine and an entrant of Brooke Bond Oxo Team Surtees?"
},
{
"from": "gpt",
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (year VARCHAR, engine VARCHAR, pts VARCHAR)"
},
{
"from": "human",
"value": "What year had a Ford engine and 13 points?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_name_16 WHERE engine = \"ford\" AND pts = 13"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR)"
},
{
"from": "human",
"value": "What is the ERP for the Rockhampton region?"
},
{
"from": "gpt",
"value": "SELECT erp__analog__digital_ FROM table_name_27 WHERE region_ser... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (channels___analog___digital__ VARCHAR, first_air_date VARCHAR, region_served VARCHAR)"
},
{
"from": "human",
"value": "What channels first aired on 31 December 1990 in the Southern Downs region?"
},
{
"from": "gpt",
"value": "... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (transmitter_location VARCHAR, city VARCHAR)"
},
{
"from": "human",
"value": "What is the transmitter location for city of Maryborough?"
},
{
"from": "gpt",
"value": "SELECT transmitter_location FROM table_name_95 WHERE city = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR)"
},
{
"from": "human",
"value": "What is the ERP for the Mount Goonaneman transmitter?"
},
{
"from": "gpt",
"value": "SELECT erp__analog__digital_ FROM table_name_6 W... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR)"
},
{
"from": "human",
"value": "Which number has 11 males?"
},
{
"from": "gpt",
"value": "SELECT number FROM table_name_41 WHERE males = \"11\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)"
},
{
"from": "human",
"value": "What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_n... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_98 (heat INTEGER, time VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the largest heat with a time of 4:57.90, and a Rank larger than 22?"
},
{
"from": "gpt",
"value": "SELECT MAX(heat) FROM table_name_98 WHERE ti... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (time VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the time for Adi Bichman?"
},
{
"from": "gpt",
"value": "SELECT time FROM table_name_28 WHERE name = \"adi bichman\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What is the total attendance at games against the New York Mets with a record of 18-18?"
},
{
"from": "gpt",
"value": "SELECT COUNT(attenda... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the total attendance at games with a score of 4-2?"
},
{
"from": "gpt",
"value": "SELECT COUNT(attendance) FROM table_name_20 WHERE score = \"4-2\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR)"
},
{
"from": "human",
"value": "On what date did the New York Giants host a game?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_42 WHERE host_team = \"new york giants\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (host_team VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the host team for the game on December 27?"
},
{
"from": "gpt",
"value": "SELECT host_team FROM table_name_55 WHERE date = \"december 27\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "What was the final score of the game at Texas Stadium?"
},
{
"from": "gpt",
"value": "SELECT final_score FROM table_name_26 WHERE stadium = \"texas stadium... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "Who was the visiting team who played at the hubert h. humphrey metrodome stadium?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_67 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (date VARCHAR, visiting_team VARCHAR)"
},
{
"from": "human",
"value": "When did the New England Patriots play as the visiting team?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_23 WHERE visiting_team = \"new engla... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_85 (stadium VARCHAR, visiting_team VARCHAR)"
},
{
"from": "human",
"value": "At which stadium did the Los Angeles Raiders play as the visiting team?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_85 WHERE visiting_t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR)"
},
{
"from": "human",
"value": "Who is 1.92 m tall and a current club member of Montepaschi Siena"
},
{
"from": "gpt",
"value": "SELECT player FROM table_name_43 WHERE hei... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR)"
},
{
"from": "human",
"value": "Which date has a Tournament of la quinta?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_14 WHERE tournament = \"la quinta\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR)"
},
{
"from": "human",
"value": "Which date has a Surface of carpet (i)?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_44 WHERE surface = \"carpet (i)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which tournament has a Date of april 20, 1987?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_21 WHERE date = \"april 20, 1987\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_51 (opponent VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)"
},
{
"from": "human",
"value": "Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu?"
},
{
"from": "gpt",
"v... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (tournament VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which Tournament has a Score of 6–4, 6–4?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_75 WHERE score = \"6–4, 6–4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (score VARCHAR, surface VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which score has a Surface of hardcourt, and a Date of september 30, 1984?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_39 WHERE surf... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant lar... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (date VARCHAR, loss VARCHAR)"
},
{
"from": "human",
"value": "What was the date of the game with a loss of Wakefield (5-2)?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_26 WHERE loss = \"wakefield (5-2)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR)"
},
{
"from": "human",
"value": "What is the first year of the European Championships competition?"
},
{
"from": "gpt",
"value": "SELECT MIN(year) FROM table_name_52 WHERE competition = \"eur... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (position VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "Which position has a venue of Helsinki, Finland?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_40 WHERE venue = \"helsinki, finland\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_71 (date VARCHAR, where_sunk VARCHAR, ship_type VARCHAR)"
},
{
"from": "human",
"value": "What is the date that a hell ship sunk in the East China Sea?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_71 WHERE where_sunk... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (nat VARCHAR, ship_type VARCHAR, estimate VARCHAR)"
},
{
"from": "human",
"value": "Which nation had a battlecruiser with an estimate of 513?"
},
{
"from": "gpt",
"value": "SELECT nat FROM table_name_39 WHERE ship_type = \"batt... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_59 (date VARCHAR, where_sunk VARCHAR)"
},
{
"from": "human",
"value": "What is the date that a ship sank in the South Atlantic?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_59 WHERE where_sunk = \"south atlantic\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (ship_type VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What type of ship was the Shinano?"
},
{
"from": "gpt",
"value": "SELECT ship_type FROM table_name_77 WHERE name = \"shinano\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_24 (nat VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What nation had a ship named Roma?"
},
{
"from": "gpt",
"value": "SELECT nat FROM table_name_24 WHERE name = \"roma\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_6 (score VARCHAR, opponent VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "What was score of the Blue Jays' game versus the Indians when their record was 21-19?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (years_as_tallest VARCHAR, floors VARCHAR, street_address VARCHAR)"
},
{
"from": "human",
"value": "During what years did the tallest building, located at 211 Union Street, have less than 31 floors?"
},
{
"from": "gpt",
"value"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (floors INTEGER, street_address VARCHAR)"
},
{
"from": "human",
"value": "What is the average number of floors at 170 Fourth Avenue North?"
},
{
"from": "gpt",
"value": "SELECT AVG(floors) FROM table_name_76 WHERE street_addres... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_94 (street_address VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the address of the Life & Casualty Tower?"
},
{
"from": "gpt",
"value": "SELECT street_address FROM table_name_94 WHERE name = \"life & casualty to... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (tie_no VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is listed as the Tie no for Home team of Gillingham?"
},
{
"from": "gpt",
"value": "SELECT tie_no FROM table_name_43 WHERE home_team = \"gillingham\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (tie_no VARCHAR, away_team VARCHAR)"
},
{
"from": "human",
"value": "What is the Tie no listed for the Away team of Barnet?"
},
{
"from": "gpt",
"value": "SELECT tie_no FROM table_name_13 WHERE away_team = \"barnet\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (attendance VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "What is listed for the Attendance that has a Tie no of 5?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_97 WHERE tie_no = \"5\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (away_team VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "Which Away team has a Tie no of 4?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_38 WHERE tie_no = \"4\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_14 (home_team VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "Which Home Team has an Attendance of 1,859?"
},
{
"from": "gpt",
"value": "SELECT home_team FROM table_name_14 WHERE attendance = \"1,859\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "What is listed as the Away team for the Home team of the Bristol Rovers?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_8 WHERE home_team =... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (first_season_of_current_spell_in_segunda_división INTEGER, city VARCHAR)"
},
{
"from": "human",
"value": "What is the total of the first season in Segunda División that has a City of cañete?"
},
{
"from": "gpt",
"value": "SELE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (team VARCHAR, stadium VARCHAR, top_division_titles VARCHAR, founded VARCHAR)"
},
{
"from": "human",
"value": "Which team has Top division titles larger than 0, a Founded larger than 1927, and a Stadium of miguel grau?"
},
{
"from"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (city VARCHAR, first_season_of_current_spell_in_segunda_división INTEGER)"
},
{
"from": "human",
"value": "Which city has a First season of current spell in Segunda División smaller than 2013?"
},
{
"from": "gpt",
"value": "SEL... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest capacity for a First season in Segunda División of 2013, and Top division titles larger than 0?... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (enrollment VARCHAR, institution VARCHAR, capacity VARCHAR)"
},
{
"from": "human",
"value": "What's the total enrollment ofr Mcgill University that has a capacity less than 25,012?"
},
{
"from": "gpt",
"value": "SELECT COUNT(en... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR)"
},
{
"from": "human",
"value": "What's the smallest season for Montreal that's greater than 5,100 for capacity?"
},
{
"from": "gpt",
"value": "SELECT MIN(first_season) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (city VARCHAR, first_season VARCHAR)"
},
{
"from": "human",
"value": "What's the name of the city whose first season was in 1996?"
},
{
"from": "gpt",
"value": "SELECT city FROM table_name_32 WHERE first_season = 1996"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_55 (football_stadium VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What's the name of the carabins stadium?"
},
{
"from": "gpt",
"value": "SELECT football_stadium FROM table_name_55 WHERE team = \"carabins\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (best VARCHAR, qual_2 VARCHAR)"
},
{
"from": "human",
"value": "what team has the qual 2 of 1:44.050?"
},
{
"from": "gpt",
"value": "SELECT best FROM table_name_9 WHERE qual_2 = \"1:44.050\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (name VARCHAR, team VARCHAR, qual_2 VARCHAR)"
},
{
"from": "human",
"value": "what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_87 WHERE ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (team VARCHAR, qual_2 VARCHAR)"
},
{
"from": "human",
"value": "what team had the 1:44.027 qual 2?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_82 WHERE qual_2 = \"1:44.027\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (qual_1 VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "what is the qual 1 for alex tagliani?"
},
{
"from": "gpt",
"value": "SELECT qual_1 FROM table_name_25 WHERE name = \"alex tagliani\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_75 (team VARCHAR, best VARCHAR)"
},
{
"from": "human",
"value": "what is the team with the best of 1:43.134?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_name_75 WHERE best = \"1:43.134\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (visiting_team VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "Who was the visiting team at the matchup at the RCA Dome?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_99 WHERE stadium = \"rca do... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (final_score VARCHAR, host_team VARCHAR)"
},
{
"from": "human",
"value": "What was the final score in the game in which the Detroit Lions were the home team?"
},
{
"from": "gpt",
"value": "SELECT final_score FROM table_name_11 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (stadium VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Which stadium hosted the November 20 game?"
},
{
"from": "gpt",
"value": "SELECT stadium FROM table_name_11 WHERE date = \"november 20\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_13 (visiting_team VARCHAR, host_team VARCHAR)"
},
{
"from": "human",
"value": "Who was the visiting team against the Minnesota Vikings?"
},
{
"from": "gpt",
"value": "SELECT visiting_team FROM table_name_13 WHERE host_team = \"min... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (host_team VARCHAR, stadium VARCHAR)"
},
{
"from": "human",
"value": "Who was the host team at Candlestick Park?"
},
{
"from": "gpt",
"value": "SELECT host_team FROM table_name_22 WHERE stadium = \"candlestick park\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (date VARCHAR, final_score VARCHAR)"
},
{
"from": "human",
"value": "Which date had a final score of 20-27?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_58 WHERE final_score = \"20-27\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (year VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "How many years have had the position of 2nd?"
},
{
"from": "gpt",
"value": "SELECT COUNT(year) FROM table_name_66 WHERE position = \"2nd\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What position had notes of 20km and a year earlier than 2002?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_name_29 WHERE notes = \"20... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.