conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR, method VARCHAR, location VARCHAR)"
},
{
"from": "human",
"value": "Which Opponent has a Method of tko, and a Location of elgin, illinois, usa on 2001-02-11?"
},
{
"from": "gpt",
"value": "SELECT ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (round INTEGER, date VARCHAR, location VARCHAR, method VARCHAR)"
},
{
"from": "human",
"value": "Which Round has a Location of auckland, new zealand, and a Method of tko on 1994-11-24?"
},
{
"from": "gpt",
"value": "SELECT AVG(... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (round INTEGER, result VARCHAR)"
},
{
"from": "human",
"value": "Which highest Round has a Result of loss?"
},
{
"from": "gpt",
"value": "SELECT MAX(round) FROM table_name_27 WHERE result = \"loss\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (location VARCHAR, method VARCHAR)"
},
{
"from": "human",
"value": "Which Location has a Method of decision?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_40 WHERE method = \"decision\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_77 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What tournament has 1r as a 2004, and 1r as a 2007?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table_name_77 WHERE 2004 = \"1r\" AND 2007 = \"1r\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_31 (tournament VARCHAR)"
},
{
"from": "human",
"value": "What 2012 has q2 as the 2010, and wimbledon as the tournament?"
},
{
"from": "gpt",
"value": "SELECT 2012 FROM table_name_31 WHERE 2010 = \"q2\" AND tournament = \"wimbledon... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_95 (Id VARCHAR)"
},
{
"from": "human",
"value": "What 2006 has grand slam tournaments of 2010?"
},
{
"from": "gpt",
"value": "SELECT 2006 FROM table_name_95 WHERE 2010 = \"grand slam tournaments\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (Id VARCHAR)"
},
{
"from": "human",
"value": "What 2006 has grand slam tournaments of 2005?"
},
{
"from": "gpt",
"value": "SELECT 2006 FROM table_name_27 WHERE 2005 = \"grand slam tournaments\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (Id VARCHAR)"
},
{
"from": "human",
"value": "What 2006 has q2 as the 2007?"
},
{
"from": "gpt",
"value": "SELECT 2006 FROM table_name_34 WHERE 2007 = \"q2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_34 (losses VARCHAR, awards VARCHAR)"
},
{
"from": "human",
"value": "What are the losses where the award is Mike Miller (Smoy)?"
},
{
"from": "gpt",
"value": "SELECT losses FROM table_name_34 WHERE awards = \"mike miller (smoy)\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_9 (win_percentage VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "Where the wins are 46, what is the win%?"
},
{
"from": "gpt",
"value": "SELECT win_percentage FROM table_name_9 WHERE wins = \"46\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (conference VARCHAR, awards VARCHAR)"
},
{
"from": "human",
"value": "Where the Vancouver Grizzlies is the awards, what is the conference?"
},
{
"from": "gpt",
"value": "SELECT conference FROM table_name_29 WHERE awards = \"van... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_48 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the highest 1987 value with a 1995 value less than 1995 and a 1999 less than 9?"
},
{
"from": "gpt",
"value": "SELECT MAX(1987) FROM table_name_48 WHERE 1995 < 1995 AND 1999... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_84 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the highest 2003 value with a 1990 greater than 74, a 125 value in 1985, and a 1995 value greater than 130?"
},
{
"from": "gpt",
"value": "SELECT MAX(2003) FROM table_name_8... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_56 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the highest 2007 value with a 1985 value greater than 52, a 1987 value greater than 130, and a 1990 less than 1990?"
},
{
"from": "gpt",
"value": "SELECT MAX(2007) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_4 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?"
},
{
"from": "gpt",
"value": "SELECT MAX(1995) FROM table_name_4 WHERE 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_19 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is the highest 2003 value with a 2011 less than 107 and a 1995 value less than 17?"
},
{
"from": "gpt",
"value": "SELECT MAX(2003) FROM table_name_19 WHERE 2011 < 107 AND 1995 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_58 (tournament VARCHAR, top_25 VARCHAR, events VARCHAR, top_5 VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the tournament with 11 or more events a top-5 of 0 and a top-25 of 2?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_40 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR)"
},
{
"from": "human",
"value": "What is the most top-10 of the team with 8 cuts made and less than 11 events?"
},
{
"from": "gpt",
"value": "SELECT MAX(top_10) FROM table_nam... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_3 (american_labor_ticket VARCHAR, liberal_ticket VARCHAR)"
},
{
"from": "human",
"value": "What is the American Labor ticket when Henry Epstein is the liberal ticket?"
},
{
"from": "gpt",
"value": "SELECT american_labor_ticket FRO... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_63 (communist_ticket VARCHAR, office VARCHAR)"
},
{
"from": "human",
"value": "What is the name on the Communist ticket with an Office of judge of the court of appeals?"
},
{
"from": "gpt",
"value": "SELECT communist_ticket FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (office VARCHAR, liberal_ticket VARCHAR)"
},
{
"from": "human",
"value": "What is the Office when spencer c. young is on the liberal ticket??"
},
{
"from": "gpt",
"value": "SELECT office FROM table_name_74 WHERE liberal_ticket ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_43 (democratic_ticket VARCHAR, liberal_ticket VARCHAR)"
},
{
"from": "human",
"value": "What is the name on the Democratic ticket when the Liberal ticket is erastus corning 2nd?"
},
{
"from": "gpt",
"value": "SELECT democratic_tic... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_37 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)"
},
{
"from": "human",
"value": "What name is on the Republican ticket when the American Labor ticket was spencer c. young?"
},
{
"from": "gpt",
"value": "SELECT repub... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (entered VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the entered number for the person with a time of 29:28?"
},
{
"from": "gpt",
"value": "SELECT entered FROM table_name_74 WHERE time = \"29:28\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (eliminated VARCHAR, time VARCHAR)"
},
{
"from": "human",
"value": "What is the number eliminated for the person with a time of 12:38?"
},
{
"from": "gpt",
"value": "SELECT eliminated AS by FROM table_name_15 WHERE time = \"12:... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_50 (attendance INTEGER, result VARCHAR)"
},
{
"from": "human",
"value": "What is the highest Attendance with a Result that is w 24-21?"
},
{
"from": "gpt",
"value": "SELECT MAX(attendance) FROM table_name_50 WHERE result = \"w 24-... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_73 (date VARCHAR, time__seconds_ VARCHAR)"
},
{
"from": "human",
"value": "What Date has a time of (seconds) 42.172?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_73 WHERE time__seconds_ = 42.172"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR, time__seconds_ VARCHAR)"
},
{
"from": "human",
"value": "What is the Record for 23 january 2010, with a time smaller than 42.679 seconds?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (points VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Points that were in a Year that was 2005?"
},
{
"from": "gpt",
"value": "SELECT COUNT(points) FROM table_name_18 WHERE year = \"2005\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (shots INTEGER, points INTEGER)"
},
{
"from": "human",
"value": "What is the lowest Shots with a Point that is larger than 32?"
},
{
"from": "gpt",
"value": "SELECT MIN(shots) FROM table_name_38 WHERE points > 32"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_41 (category VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "Which category had a year of 1991?"
},
{
"from": "gpt",
"value": "SELECT category FROM table_name_41 WHERE year = 1991"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (score VARCHAR, runner_up VARCHAR)"
},
{
"from": "human",
"value": "What is the score having a runner-up of Magdalena Maleeva?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_45 WHERE runner_up = \"magdalena maleeva... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_74 (year_built VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What year was John m. Belk Arena built?"
},
{
"from": "gpt",
"value": "SELECT year_built FROM table_name_74 WHERE venue = \"john m. belk arena\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (environment VARCHAR, year_built VARCHAR)"
},
{
"from": "human",
"value": "What type of environment is the venue that was built in 2003?"
},
{
"from": "gpt",
"value": "SELECT environment FROM table_name_11 WHERE year_built = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_10 (year_built VARCHAR, venue VARCHAR)"
},
{
"from": "human",
"value": "What year was transamerica field built in?"
},
{
"from": "gpt",
"value": "SELECT year_built FROM table_name_10 WHERE venue = \"transamerica field\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_26 (location VARCHAR, owner VARCHAR)"
},
{
"from": "human",
"value": "What is the location of the venue owned by johnson c. smith university?"
},
{
"from": "gpt",
"value": "SELECT location FROM table_name_26 WHERE owner = \"johnso... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "What is the venue when the score was 8-2?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_61 WHERE score = \"8-2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_96 (score VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What is the Score for the 1999 fifa confederations cup?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_96 WHERE competition = \"1999 fifa confed... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_2 (result VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the result on 30 june 1995?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_name_2 WHERE date = \"30 june 1995\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_45 (date VARCHAR, competition VARCHAR)"
},
{
"from": "human",
"value": "What is the Date of the 1999 fifa confederations cup?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_45 WHERE competition = \"1999 fifa confederat... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_23 (venue VARCHAR, competition VARCHAR, result VARCHAR)"
},
{
"from": "human",
"value": "What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2?"
},
{
"from": "gpt",
"value": "SELECT venue FROM table_name_23 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the Score on 11 march 2001?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_76 WHERE date = \"11 march 2001\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_25 (symbol VARCHAR, empirical_† VARCHAR, calculated VARCHAR)"
},
{
"from": "human",
"value": "What is the symbol of the element with an empirical t of 190 and a calculated value of 135?"
},
{
"from": "gpt",
"value": "SELECT symbol... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (name VARCHAR, calculated VARCHAR)"
},
{
"from": "human",
"value": "What is the name of the element with a calculated value of 56?"
},
{
"from": "gpt",
"value": "SELECT name FROM table_name_57 WHERE calculated = \"56\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_21 (covalent__single_bond_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the covalent (single bond) value of sodium?"
},
{
"from": "gpt",
"value": "SELECT covalent__single_bond_ FROM table_name_21 WHERE name = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_65 (height__cm_ VARCHAR, birthdate VARCHAR)"
},
{
"from": "human",
"value": "What is the total height of the player with a birthdate on September 2, 1973?"
},
{
"from": "gpt",
"value": "SELECT COUNT(height__cm_) FROM table_name_65... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the birthdate of Robert Esche?"
},
{
"from": "gpt",
"value": "SELECT birthdate FROM table_name_39 WHERE name = \"robert esche\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_83 (position VARCHAR, jersey__number VARCHAR, birthdate VARCHAR)"
},
{
"from": "human",
"value": "What is the position of the player with a jersey # greater than 30 and a December 23, 1986 birthdate?"
},
{
"from": "gpt",
"value": ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (weight__kg_ VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is the weight of John-Michael Liles?"
},
{
"from": "gpt",
"value": "SELECT weight__kg_ FROM table_name_44 WHERE name = \"john-michael liles\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (first_leg VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "What was the first leg score during the quarter-final game?"
},
{
"from": "gpt",
"value": "SELECT first_leg FROM table_name_16 WHERE round = \"quarter-final\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_66 (aggregate_score VARCHAR, opposition VARCHAR)"
},
{
"from": "human",
"value": "What was the aggregate score for the game against Dynamo Dresden?"
},
{
"from": "gpt",
"value": "SELECT aggregate_score FROM table_name_66 WHERE opp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_69 (opposition VARCHAR, round VARCHAR)"
},
{
"from": "human",
"value": "Who was the opposing team in the 3rd round?"
},
{
"from": "gpt",
"value": "SELECT opposition FROM table_name_69 WHERE round = \"3rd\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_20 (nation VARCHAR, gold VARCHAR, silver VARCHAR)"
},
{
"from": "human",
"value": "Which nation has 0 golds and more than 1 silver?"
},
{
"from": "gpt",
"value": "SELECT nation FROM table_name_20 WHERE gold = 0 AND silver > 1"
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_36 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)"
},
{
"from": "human",
"value": "What is the smallest total that has under 3 golds, more than 0 silvers and bronzes?"
},
{
"from": "gpt",
"value": "SELECT MIN(total)... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_11 (silver VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of silvers associated with 3 bronzes, a total over 6, and a rank of 3?"
},
{
"from": "gpt",
"value": "SELEC... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_67 (bronze INTEGER, rank VARCHAR, gold VARCHAR)"
},
{
"from": "human",
"value": "What is the sum of bronzes associated with 0 golds and a rank of 10?"
},
{
"from": "gpt",
"value": "SELECT SUM(bronze) FROM table_name_67 WHERE rank ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_42 (silver INTEGER, gold INTEGER)"
},
{
"from": "human",
"value": "What is the largest silver value associated with 0 golds?"
},
{
"from": "gpt",
"value": "SELECT MAX(silver) FROM table_name_42 WHERE gold < 0"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of bronzes from the Netherlands?"
},
{
"from": "gpt",
"value": "SELECT COUNT(bronze) FROM table_name_44 WHERE nation = \"netherlands\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (earnings__ INTEGER, money_list_rank VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the average amount of earnings for years under 2004 and money list rankings of 6?"
},
{
"from": "gpt",
"value": "SELECT AVG(ea... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_60 (wins INTEGER, average VARCHAR, year VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of wins for years after 1999 with averages over 73.02?"
},
{
"from": "gpt",
"value": "SELECT MAX(wins) FROM table_name_60... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR)"
},
{
"from": "human",
"value": "Who was the away team when the home team Manchester United played?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_54 WHERE home_team = \"m... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (attendance VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "When there was a tie of 16 what was the attendance?"
},
{
"from": "gpt",
"value": "SELECT attendance FROM table_name_8 WHERE tie_no = \"16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_30 (score VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "Tell me the score when there was a Tie number of 6?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_30 WHERE tie_no = \"6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_46 (away_team VARCHAR, tie_no VARCHAR)"
},
{
"from": "human",
"value": "For the Tie number of 14 who was the away team?"
},
{
"from": "gpt",
"value": "SELECT away_team FROM table_name_46 WHERE tie_no = \"14\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_8 (catalog VARCHAR, format VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What Catalog released on June 29, 1999 has a Digipak Album Format?"
},
{
"from": "gpt",
"value": "SELECT catalog FROM table_name_8 WHERE format = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_39 (date VARCHAR, catalog VARCHAR)"
},
{
"from": "human",
"value": "What is the release Date of Catalog RR 8655-2?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_name_39 WHERE catalog = \"rr 8655-2\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_38 (score VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is Score, when Name is Nicole 赖淞凤?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_38 WHERE name = \"nicole 赖淞凤\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_99 (score VARCHAR, song VARCHAR)"
},
{
"from": "human",
"value": "What is Score, when Song is 第九夜?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_99 WHERE song = \"第九夜\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_80 (Group VARCHAR, song VARCHAR)"
},
{
"from": "human",
"value": "What is Group Song, when Song is 换季?"
},
{
"from": "gpt",
"value": "SELECT Group AS song FROM table_name_80 WHERE song = \"换季\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (Group VARCHAR, name VARCHAR)"
},
{
"from": "human",
"value": "What is Group Song, when Name is Alice 林芯糸?"
},
{
"from": "gpt",
"value": "SELECT Group AS song FROM table_name_29 WHERE name = \"alice 林芯糸\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_32 (surface VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "On what surface was the match played with a score of 2–6, 6–3, 6–4?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_32 WHERE score = \"2–6, 6–3, 6–... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_82 (surface VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "On what surface was the match played with a score of 4–6, 6–3, 6–1?"
},
{
"from": "gpt",
"value": "SELECT surface FROM table_name_82 WHERE score = \"4–6, 6–3, 6–... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_44 (score VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What was the score when the opponent in the final was iroda tulyaganova?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_name_44 WHERE oppon... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (tournament VARCHAR, opponent_in_the_final VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Which tournament has an opponent in the final of nadia petrova and a score of 6–3, 4–6, 6–1??"
},
{
"from": "gpt",
"value": "SE... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_61 (Id VARCHAR)"
},
{
"from": "human",
"value": "What is 01-02, when 03-04 is 03-04?"
},
{
"from": "gpt",
"value": "SELECT 01 AS _02 FROM table_name_61 WHERE \"03_04\" = \"03_04\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_33 (school_year VARCHAR)"
},
{
"from": "human",
"value": "What is 02-03, when School Year is % Learning In Latvian?"
},
{
"from": "gpt",
"value": "SELECT 02 AS _03 FROM table_name_33 WHERE school_year = \"% learning in latvian\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (choreographer_s_ VARCHAR, style VARCHAR)"
},
{
"from": "human",
"value": "Who was the choreographer for the dance style of Jazz?"
},
{
"from": "gpt",
"value": "SELECT choreographer_s_ FROM table_name_29 WHERE style = \"jazz\""... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_57 (music VARCHAR, results VARCHAR, choreographer_s_ VARCHAR)"
},
{
"from": "human",
"value": "Which music led to a safe result and was choreographed by Jason Gilkison?"
},
{
"from": "gpt",
"value": "SELECT music FROM table_name_5... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_27 (couple VARCHAR, style VARCHAR)"
},
{
"from": "human",
"value": "Which couple participated in the Contemporary style of dance?"
},
{
"from": "gpt",
"value": "SELECT couple FROM table_name_27 WHERE style = \"contemporary\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_91 (couple VARCHAR, results VARCHAR, style VARCHAR)"
},
{
"from": "human",
"value": "Which couple participated in the Paso Doble style and were safe?"
},
{
"from": "gpt",
"value": "SELECT couple FROM table_name_91 WHERE results = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_88 (week VARCHAR, date VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "How many weeks had a game on November 26, 1978, and an attendance higher than 26,248?"
},
{
"from": "gpt",
"value": "SELECT COUNT(week) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_90 (attendance INTEGER, week VARCHAR)"
},
{
"from": "human",
"value": "What was the lowest Attendance during Week 12?"
},
{
"from": "gpt",
"value": "SELECT MIN(attendance) FROM table_name_90 WHERE week = 12"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_89 (tournament VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "What was the name of the tournament that the final was played against Yi Jingqian?"
},
{
"from": "gpt",
"value": "SELECT tournament FROM table... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_93 (opponent_in_the_final VARCHAR, tournament VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the final opponent in the tournament in Taipei, Taiwan on November 14, 1994?"
},
{
"from": "gpt",
"value": "SELECT oppon... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_47 (opponent_in_the_final VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "On October 14, 1996 who was the opponent in the final?"
},
{
"from": "gpt",
"value": "SELECT opponent_in_the_final FROM table_name_47 WHERE date = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_29 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "When playing against Yi Jingqian in the final on a hard surface what was the score?"
},
{
"from": "gpt",
"value": "SELECT score FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_17 (opponent_in_the_final VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was played against in the final on November 14, 1994?"
},
{
"from": "gpt",
"value": "SELECT opponent_in_the_final FROM table_name_17 WHERE date ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR)"
},
{
"from": "human",
"value": "What is the total number of Entered when the eliminated number is 3?"
},
{
"from": "gpt",
"value": "SELECT COUNT(entered) FROM table_name_53 WHERE eliminate... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_28 (eliminated VARCHAR, entered VARCHAR, wrestler VARCHAR)"
},
{
"from": "human",
"value": "What is the Eliminated when there are less than 4 entered and the wrestler was shawn michaels?"
},
{
"from": "gpt",
"value": "SELECT elimi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_18 (frequency__per_hour_ VARCHAR, line VARCHAR, destination VARCHAR)"
},
{
"from": "human",
"value": "How many frequencies have a line of East London and destination of Crystal Palace?"
},
{
"from": "gpt",
"value": "SELECT COUNT(f... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_87 (line VARCHAR, operator VARCHAR, destination VARCHAR)"
},
{
"from": "human",
"value": "Which line has an operator of the London Overground and ends at the Crystal Palace?"
},
{
"from": "gpt",
"value": "SELECT line FROM table_na... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (song VARCHAR, artist VARCHAR)"
},
{
"from": "human",
"value": "Which song was by artist Gino Vannelli?"
},
{
"from": "gpt",
"value": "SELECT song FROM table_name_15 WHERE artist = \"gino vannelli\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_35 (tournament VARCHAR, top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)"
},
{
"from": "human",
"value": "What tournament did Bill Rogers play in when he had less than 7 Cuts, 0 Wins, and less than 1 Top-25?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (losses VARCHAR, ties VARCHAR, poll_wins VARCHAR)"
},
{
"from": "human",
"value": "What are the number of losses that have Ties of 1 and 3 or more poll wins?"
},
{
"from": "gpt",
"value": "SELECT COUNT(losses) FROM table_name_4... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_15 (poll_losses INTEGER, wins VARCHAR, ties VARCHAR, poll_wins VARCHAR)"
},
{
"from": "human",
"value": "What is the lowest poll losses of the 0 ties, poll wins greater than 1 and wins less than 2?"
},
{
"from": "gpt",
"value": "S... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_49 (poll_wins INTEGER, ties VARCHAR, poll_losses VARCHAR, advocate VARCHAR)"
},
{
"from": "human",
"value": "What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0?"
},
{
"from": "gp... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_16 (pba_titles INTEGER, tv_finals VARCHAR, events VARCHAR)"
},
{
"from": "human",
"value": "Which PBA Titles has a TV Finals larger than 6, and an Events larger than 20?"
},
{
"from": "gpt",
"value": "SELECT AVG(pba_titles) FROM t... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_22 (events INTEGER, earnings VARCHAR, average VARCHAR)"
},
{
"from": "human",
"value": "Which Events has Earnings of $113,259, and an Average larger than 229.5?"
},
{
"from": "gpt",
"value": "SELECT MAX(events) FROM table_name_22 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_name_97 (cashes VARCHAR, match_play VARCHAR, events VARCHAR)"
},
{
"from": "human",
"value": "Which Cashes has a Match Play smaller than 13, and a Events of 7?"
},
{
"from": "gpt",
"value": "SELECT COUNT(cashes) FROM table_name_97 WHER... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.