conversations listlengths 3 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CREATE TABLE table_17176509_4 (driver___passenger VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Name the driver/passenger for 30"
},
{
"from": "gpt",
"value": "SELECT COUNT(driver___passenger) FROM table_17176509_4 WHERE position = 30"
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17176509_4 (bike_no INTEGER, position VARCHAR)"
},
{
"from": "human",
"value": "Name the max bike number of position for 30"
},
{
"from": "gpt",
"value": "SELECT MAX(bike_no) FROM table_17176509_4 WHERE position = 30"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17190012_12 (high_points VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "Who had the most points in game 4?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_17190012_12 WHERE game = 4"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17200372_2 (going_to VARCHAR, calling_at VARCHAR, departure VARCHAR)"
},
{
"from": "human",
"value": "Name the number of going to for thurlby, braceborough spa at departure being 16.50"
},
{
"from": "gpt",
"value": "SELECT COUNT(going... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17200372_2 (departure VARCHAR, going_to VARCHAR)"
},
{
"from": "human",
"value": "Name the departure for spalding"
},
{
"from": "gpt",
"value": "SELECT departure FROM table_17200372_2 WHERE going_to = \"Spalding\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17190012_7 (high_points VARCHAR, record VARCHAR)"
},
{
"from": "human",
"value": "who scored highest points on the game with record 27–5"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_17190012_7 WHERE record = \"27–5\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17190012_7 (high_rebounds VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "who did highest rebounds in the game with score w 105–88 (ot)"
},
{
"from": "gpt",
"value": "SELECT high_rebounds FROM table_17190012_7 WHERE score = \"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17190012_7 (record VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "how many records were made on the game that ended with score w 121–119 (ot)"
},
{
"from": "gpt",
"value": "SELECT COUNT(record) FROM table_17190012_7 WHERE sco... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17201869_3 (position_in_table VARCHAR, replaced_by VARCHAR)"
},
{
"from": "human",
"value": "What was the team's position when the new manager was Lucas Alcaraz?"
},
{
"from": "gpt",
"value": "SELECT position_in_table FROM table_172018... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17201869_3 (replaced_by VARCHAR, outgoing_manager VARCHAR)"
},
{
"from": "human",
"value": "Who replaced outgoing manager José Ángel Ziganda?"
},
{
"from": "gpt",
"value": "SELECT replaced_by FROM table_17201869_3 WHERE outgoing_manage... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17244483_1 (grid VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "What grid did the driver who earned 19 points start at?"
},
{
"from": "gpt",
"value": "SELECT grid FROM table_17244483_1 WHERE points = \"19\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17244483_1 (grid VARCHAR, driver VARCHAR)"
},
{
"from": "human",
"value": "Scott Dixon had how many Grid positions?"
},
{
"from": "gpt",
"value": "SELECT COUNT(grid) FROM table_17244483_1 WHERE driver = \"Scott Dixon\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17244483_1 (time_retired VARCHAR, car_no VARCHAR)"
},
{
"from": "human",
"value": "Car number 15 earned what time?"
},
{
"from": "gpt",
"value": "SELECT time_retired FROM table_17244483_1 WHERE car_no = 15"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17244483_1 (fin_pos VARCHAR, time_retired VARCHAR)"
},
{
"from": "human",
"value": "How many positions did the car with a final time of +10.8098 finish in?"
},
{
"from": "gpt",
"value": "SELECT COUNT(fin_pos) FROM table_17244483_1 WHER... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17244483_1 (fin_pos INTEGER, driver VARCHAR)"
},
{
"from": "human",
"value": "Darren Manning finished in what position?"
},
{
"from": "gpt",
"value": "SELECT MIN(fin_pos) FROM table_17244483_1 WHERE driver = \"Darren Manning\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17246160_1 (position VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the position for the Josef Kaufmann Racing team?"
},
{
"from": "gpt",
"value": "SELECT position FROM table_17246160_1 WHERE team = \"Josef Kaufmann R... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17246160_1 (poles INTEGER, series VARCHAR)"
},
{
"from": "human",
"value": "How many poles did the player have during the Formula BMW Pacific race?"
},
{
"from": "gpt",
"value": "SELECT MAX(poles) FROM table_17246160_1 WHERE series = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17246160_1 (season INTEGER, points VARCHAR, position VARCHAR)"
},
{
"from": "human",
"value": "Which season did he have 0 points and 31st position?"
},
{
"from": "gpt",
"value": "SELECT MAX(season) FROM table_17246160_1 WHERE points = ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR)"
},
{
"from": "human",
"value": "How many wins did the player have in the Formula BMW World Final?"
},
{
"from": "gpt",
"value": "SELECT wins FROM table_17246160_1 WHERE series = \"Formula BMW ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17257687_1 (air_date VARCHAR, event_2 VARCHAR)"
},
{
"from": "human",
"value": "On what date was the episode aired where event 2 was Hang Tough?"
},
{
"from": "gpt",
"value": "SELECT air_date FROM table_17257687_1 WHERE event_2 = \"Han... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17257687_1 (event_2 VARCHAR, event_4 VARCHAR)"
},
{
"from": "human",
"value": "When event 4 was Whiplash, what was event 2?"
},
{
"from": "gpt",
"value": "SELECT event_2 FROM table_17257687_1 WHERE event_4 = \"Whiplash\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17257687_1 (air_date VARCHAR, event_1 VARCHAR)"
},
{
"from": "human",
"value": "On how many different dates was event 1 Suspension Bridge?"
},
{
"from": "gpt",
"value": "SELECT COUNT(air_date) FROM table_17257687_1 WHERE event_1 = \"Su... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17257687_1 (episode_number VARCHAR, event_4 VARCHAR, event_1 VARCHAR)"
},
{
"from": "human",
"value": "On which episode number is event 4 The Wall and event 1 the Pendulum?"
},
{
"from": "gpt",
"value": "SELECT COUNT(episode_number) FR... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17257687_1 (event_2 VARCHAR, event_1 VARCHAR)"
},
{
"from": "human",
"value": "What was event 2 when event 1 was Atlasphere?"
},
{
"from": "gpt",
"value": "SELECT event_2 FROM table_17257687_1 WHERE event_1 = \"Atlasphere\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17256857_1 (car_no VARCHAR, driver VARCHAR)"
},
{
"from": "human",
"value": "What is the car number driven by Darren Manning?"
},
{
"from": "gpt",
"value": "SELECT car_no FROM table_17256857_1 WHERE driver = \"Darren Manning\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17256857_1 (fin_pos INTEGER, points VARCHAR)"
},
{
"from": "human",
"value": "Which position earned 50 points?"
},
{
"from": "gpt",
"value": "SELECT MAX(fin_pos) FROM table_17256857_1 WHERE points = \"50\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17256857_1 (grid VARCHAR, driver VARCHAR)"
},
{
"from": "human",
"value": "How many drivers on the grid are called Vitor Meira?"
},
{
"from": "gpt",
"value": "SELECT COUNT(grid) FROM table_17256857_1 WHERE driver = \"Vitor Meira\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17265535_7 (result INTEGER, equation VARCHAR)"
},
{
"from": "human",
"value": "If the equation is 0 × 9² + 3 × 9 + 3, what is the result?"
},
{
"from": "gpt",
"value": "SELECT MIN(result) FROM table_17265535_7 WHERE equation = \"0 × 9²... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17265535_7 (equation VARCHAR)"
},
{
"from": "human",
"value": "If the equation is 6 × 9² + 6 × 9 + 6, what is the 3rd throw?"
},
{
"from": "gpt",
"value": "SELECT MAX(3 AS rd_throw) FROM table_17265535_7 WHERE equation = \"6 × 9² + 6 ×... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17265535_7 (equation VARCHAR)"
},
{
"from": "human",
"value": "If the equation is 8 × 9² + 8 × 9 + 8, what is the 2nd throw?"
},
{
"from": "gpt",
"value": "SELECT MIN(2 AS nd_throw) FROM table_17265535_7 WHERE equation = \"8 × 9² + 8 ×... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17265535_7 (equation VARCHAR)"
},
{
"from": "human",
"value": "If the equation is 1 × 9² + 4 × 9 + 0, what is the 2nd throw?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_throw FROM table_17265535_7 WHERE equation = \"1 × 9² + 4 × 9 + ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17265535_7 (equation VARCHAR)"
},
{
"from": "human",
"value": "If the equation is 6 × 9² + 6 × 9 + 6, what is the 2nd throw?"
},
{
"from": "gpt",
"value": "SELECT MAX(2 AS nd_throw) FROM table_17265535_7 WHERE equation = \"6 × 9² + 6 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17282875_3 (team__number1 VARCHAR)"
},
{
"from": "human",
"value": "When they played San Lorenzo, what was the score of the second leg?"
},
{
"from": "gpt",
"value": "SELECT 2 AS nd_leg FROM table_17282875_3 WHERE team__number1 = \"San... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17282875_3 (team__number2 VARCHAR)"
},
{
"from": "human",
"value": "When they played Universidad de Chile, what was the score of the first leg?"
},
{
"from": "gpt",
"value": "SELECT COUNT(1 AS st_leg) FROM table_17282875_3 WHERE team__... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)"
},
{
"from": "human",
"value": "Who played San Lorenzo?"
},
{
"from": "gpt",
"value": "SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = \"San Lorenzo\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)"
},
{
"from": "human",
"value": "Who played River Plate?"
},
{
"from": "gpt",
"value": "SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = \"River Plate\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17282875_2 (team__number2 VARCHAR)"
},
{
"from": "human",
"value": "What was the score on the 1st leg if the team 2 is botafogo?"
},
{
"from": "gpt",
"value": "SELECT COUNT(1 AS st_leg) FROM table_17282875_2 WHERE team__number2 = \"Bot... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17282875_2 (team__number2 VARCHAR, team__number1 VARCHAR)"
},
{
"from": "human",
"value": "Who played against team 1 Vitória?"
},
{
"from": "gpt",
"value": "SELECT team__number2 FROM table_17282875_2 WHERE team__number1 = \"Vitória\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17282875_2 (team__number2 VARCHAR, team__number1 VARCHAR)"
},
{
"from": "human",
"value": "Who played against team 1 Liverpool? "
},
{
"from": "gpt",
"value": "SELECT team__number2 FROM table_17282875_2 WHERE team__number1 = \"Liverpoo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17282875_2 (points VARCHAR, team__number2 VARCHAR)"
},
{
"from": "human",
"value": "What was the game's points against Team 2 Deportivo Anzoátegui?"
},
{
"from": "gpt",
"value": "SELECT points FROM table_17282875_2 WHERE team__number2 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288825_10 (high_points VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "How many different items appear in the high points column when the location attendance was US Airways Center 18,422?"
},
{
"from": "gpt",
"... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288825_10 (high_assists VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What was the high assists on April 7?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_17288825_10 WHERE date = \"April 7\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288825_7 (score VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the score for the game played on January 25?"
},
{
"from": "gpt",
"value": "SELECT score FROM table_17288825_7 WHERE date = \"January 25\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288825_7 (record VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the record for the team on January 19?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_17288825_7 WHERE date = \"January 19\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288825_7 (record VARCHAR, high_points VARCHAR)"
},
{
"from": "human",
"value": "How many times did Ron Artest (24) receive the record for high points?"
},
{
"from": "gpt",
"value": "SELECT COUNT(record) FROM table_17288825_7 WHERE hi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288825_7 (location_attendance VARCHAR, high_assists VARCHAR)"
},
{
"from": "human",
"value": "At what location and what was the attendance when Rafer Alston (10) achieved high assists? "
},
{
"from": "gpt",
"value": "SELECT location_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288825_7 (game INTEGER, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "At what game number was the attendance at Conseco Fieldhouse 14,486?"
},
{
"from": "gpt",
"value": "SELECT MAX(game) FROM table_17288825_7 WHERE lo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288845_7 (game INTEGER, date VARCHAR)"
},
{
"from": "human",
"value": "What is the number of the game that was played on January 19?"
},
{
"from": "gpt",
"value": "SELECT MAX(game) FROM table_17288845_7 WHERE date = \"January 19\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288845_8 (record VARCHAR, location_attendance VARCHAR)"
},
{
"from": "human",
"value": "Name the record for verizon center 20,173"
},
{
"from": "gpt",
"value": "SELECT record FROM table_17288845_8 WHERE location_attendance = \"Verizo... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288845_8 (date VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Name the date for score l 89–91 (ot)"
},
{
"from": "gpt",
"value": "SELECT date FROM table_17288845_8 WHERE score = \"L 89–91 (OT)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288861_5 (record VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What was the team record when the team was Cleveland?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_17288861_5 WHERE team = \"Cleveland\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288861_9 (high_assists VARCHAR, score VARCHAR)"
},
{
"from": "human",
"value": "Name the high assists for l 93–103 (ot)"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_17288861_9 WHERE score = \"L 93–103 (OT)\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288869_6 (date VARCHAR, game VARCHAR)"
},
{
"from": "human",
"value": "What was the date of game 21?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_17288869_6 WHERE game = 21"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17289604_38 (round_of_32 VARCHAR, athlete VARCHAR)"
},
{
"from": "human",
"value": "What were the results for round of 32 for Nicole Vaidišová?"
},
{
"from": "gpt",
"value": "SELECT round_of_32 FROM table_17289604_38 WHERE athlete = \... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17289604_38 (athlete VARCHAR, round_of_64 VARCHAR)"
},
{
"from": "human",
"value": "How many number of athletes were in round of 64 was llagostera Vives ( esp ) l 6–2, 3–6, 5–7?"
},
{
"from": "gpt",
"value": "SELECT COUNT(athlete) FROM... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)"
},
{
"from": "human",
"value": "What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?"
},
{
"from": "gpt",
"value": "SELECT round_of_16 FROM table_1728... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17289604_38 (round_of_64 VARCHAR, athlete VARCHAR, event VARCHAR, round_of_16 VARCHAR)"
},
{
"from": "human",
"value": "What was round of 64 of the singles event when the result of round 16 was did not advance and the athlete was Iveta Benešová?"
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17289604_38 (quarterfinals VARCHAR, round_of_32 VARCHAR)"
},
{
"from": "human",
"value": "What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6–4, 5–7, 1–6?"
},
{
"from": "gpt",
"value": "SELECT quarte... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288869_7 (date VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "On what day did Dirk Nowitzki (14) have a high rebound? "
},
{
"from": "gpt",
"value": "SELECT date FROM table_17288869_7 WHERE high_rebounds = \"Dirk No... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288869_7 (high_rebounds VARCHAR, high_points VARCHAR)"
},
{
"from": "human",
"value": "High points earned by Josh Howard (19) resulted in how many high rebounds?"
},
{
"from": "gpt",
"value": "SELECT COUNT(high_rebounds) FROM table_1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288869_7 (high_assists VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "Who had the high assists while Erick Dampier (8) had the high rebounds?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_17288869_7 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288869_7 (high_points VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "Who had the high points while Dirk Nowitzki (13) had the high rebounds?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_17288869_7 WH... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR)"
},
{
"from": "human",
"value": "What was the final record for the game in which Dirk Nowitzki (19) had the high points?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_17288869_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_1729366_2 (championship VARCHAR, opponents_in_the_final VARCHAR)"
},
{
"from": "human",
"value": "Which championship had the final opponents of nathalie dechy andy ram?"
},
{
"from": "gpt",
"value": "SELECT championship FROM table_1729... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17304621_14 (upstream VARCHAR, price_tl VARCHAR)"
},
{
"from": "human",
"value": "What is the upstream speed of the network that costs 39 tl?"
},
{
"from": "gpt",
"value": "SELECT upstream FROM table_17304621_14 WHERE price_tl = \"39 T... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17304621_14 (upstream VARCHAR, downstream VARCHAR, bandwidth VARCHAR)"
},
{
"from": "human",
"value": "How many upstream speeds are there for downstream of 20 mbit/s and bandwidth of 40 gb?"
},
{
"from": "gpt",
"value": "SELECT COUNT(u... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17304621_14 (upstream VARCHAR, price_tl VARCHAR)"
},
{
"from": "human",
"value": "What is the upstream speed that you get for 89 tl?"
},
{
"from": "gpt",
"value": "SELECT upstream FROM table_17304621_14 WHERE price_tl = \"89 TL\""
}
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17304621_14 (bandwidth VARCHAR, downstream VARCHAR, price_tl VARCHAR)"
},
{
"from": "human",
"value": "What is the bandwidth for downstream of 20 mbit/s for 69 tl?"
},
{
"from": "gpt",
"value": "SELECT bandwidth FROM table_17304621_14 ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17302440_1 (year VARCHAR, west_manila VARCHAR)"
},
{
"from": "human",
"value": "What was the year when West Manila has a tariff increase of 6.5?"
},
{
"from": "gpt",
"value": "SELECT year FROM table_17302440_1 WHERE west_manila = \"6.5... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17294353_1 (attendance INTEGER, opponent VARCHAR)"
},
{
"from": "human",
"value": "Of the times the Broncos played the Cincinnati Bengals, what was the highest attendance?"
},
{
"from": "gpt",
"value": "SELECT MAX(attendance) FROM tabl... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17294353_1 (date VARCHAR, opponent VARCHAR)"
},
{
"from": "human",
"value": "When did the Broncos play the Miami Dolphins?"
},
{
"from": "gpt",
"value": "SELECT date FROM table_17294353_1 WHERE opponent = \"Miami Dolphins\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17294353_1 (result VARCHAR, attendance VARCHAR)"
},
{
"from": "human",
"value": "In the game with an attendance of 18304, what was the final score?"
},
{
"from": "gpt",
"value": "SELECT result FROM table_17294353_1 WHERE attendance = 1... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)"
},
{
"from": "human",
"value": "How many pressure figures are given for the .380 acp cartridge?"
},
{
"from": "gpt",
"value": "SELECT COUNT(max_pressure) FROM table_173103_1 WHERE car... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_173103_1 (max_pressure VARCHAR, muzzle_energy VARCHAR)"
},
{
"from": "human",
"value": "What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)?"
},
{
"from": "gpt",
"value": "SELECT max_pressure FROM tab... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)"
},
{
"from": "human",
"value": "What is the max pressure of the .38 long colt cartridge?"
},
{
"from": "gpt",
"value": "SELECT max_pressure FROM table_173103_1 WHERE cartridge = \".38... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_173103_1 (bullet_weight VARCHAR, max_pressure VARCHAR)"
},
{
"from": "human",
"value": "What is the bullet weight when the max pressure is 12,000 cup?"
},
{
"from": "gpt",
"value": "SELECT bullet_weight FROM table_173103_1 WHERE max_pr... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311759_4 (score VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "What are the scores made by Charlotte team"
},
{
"from": "gpt",
"value": "SELECT score FROM table_17311759_4 WHERE team = \"Charlotte\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311759_4 (high_assists VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "Who made highest assists when high rebounds was Al Horford (17)"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_17311759_4 WHERE hi... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311759_4 (score VARCHAR, high_rebounds VARCHAR)"
},
{
"from": "human",
"value": "Give the score when high rebounds was zaza pachulia (8)"
},
{
"from": "gpt",
"value": "SELECT score FROM table_17311759_4 WHERE high_rebounds = \"Zaza P... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17309500_1 (gs VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "Name the gs for points being 12.1"
},
{
"from": "gpt",
"value": "SELECT gs FROM table_17309500_1 WHERE points = \"12.1\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17309500_1 (assists VARCHAR, games VARCHAR)"
},
{
"from": "human",
"value": "Name the assists for 157 games"
},
{
"from": "gpt",
"value": "SELECT assists FROM table_17309500_1 WHERE games = 157"
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17309500_1 (steals VARCHAR, season VARCHAR)"
},
{
"from": "human",
"value": "Name the steals for season 2007/2008"
},
{
"from": "gpt",
"value": "SELECT steals FROM table_17309500_1 WHERE season = \"2007/2008\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17309500_1 (assists VARCHAR, blocks VARCHAR)"
},
{
"from": "human",
"value": "Name the total number of assists for 77 blocks"
},
{
"from": "gpt",
"value": "SELECT COUNT(assists) FROM table_17309500_1 WHERE blocks = \"77\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311759_9 (record VARCHAR, high_assists VARCHAR)"
},
{
"from": "human",
"value": "When mike bibby (8) had the highest amount of assists what is the record?"
},
{
"from": "gpt",
"value": "SELECT record FROM table_17311759_9 WHERE high_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311759_9 (location_attendance VARCHAR, high_assists VARCHAR)"
},
{
"from": "human",
"value": "When mike bibby (9) has the highest amount of assists what is the location and attendance?"
},
{
"from": "gpt",
"value": "SELECT location_a... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311759_6 (team VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who was the team played on January 23?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_17311759_6 WHERE date = \"January 23\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311759_6 (location_attendance VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Where was the game held and what was the attendance when they played Orlando?"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311783_8 (game INTEGER, team VARCHAR)"
},
{
"from": "human",
"value": "In what game did Miami play Charlotte? "
},
{
"from": "gpt",
"value": "SELECT MAX(game) FROM table_17311783_8 WHERE team = \"Charlotte\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311797_8 (high_points VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Who had the high points on February 6?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_17311797_8 WHERE date = \"February 6\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17319931_1 (laps INTEGER, points VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of laps led with 16 points?"
},
{
"from": "gpt",
"value": "SELECT MAX(laps) AS Led FROM table_17319931_1 WHERE points = \"16\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17319931_1 (driver VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "How many drivers were there for Samax Motorsport?"
},
{
"from": "gpt",
"value": "SELECT COUNT(driver) FROM table_17319931_1 WHERE team = \"SAMAX Motorsport\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17319931_1 (team VARCHAR, driver VARCHAR)"
},
{
"from": "human",
"value": "What is the team whose driver Jeff Simmons?"
},
{
"from": "gpt",
"value": "SELECT team FROM table_17319931_1 WHERE driver = \"Jeff Simmons\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR)"
},
{
"from": "human",
"value": "How many drivers where there when the time/retired +3 laps and points were 24?"
},
{
"from": "gpt",
"value": "SELECT COUNT(driver) FROM ... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17319931_1 (laps INTEGER, driver VARCHAR)"
},
{
"from": "human",
"value": "What is the highest number of laps for Darren Manning?"
},
{
"from": "gpt",
"value": "SELECT MAX(laps) FROM table_17319931_1 WHERE driver = \"Darren Manning\""
... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17319931_1 (car_no VARCHAR, time_retired VARCHAR)"
},
{
"from": "human",
"value": "How many car numbers were recorded when the time/retired is +4.0019?"
},
{
"from": "gpt",
"value": "SELECT COUNT(car_no) FROM table_17319931_1 WHERE tim... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311812_7 (game VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What game number was played on January 28?"
},
{
"from": "gpt",
"value": "SELECT game FROM table_17311812_7 WHERE date = \"January 28\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311812_8 (high_points VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "What is the high amount of points on February 11?"
},
{
"from": "gpt",
"value": "SELECT high_points FROM table_17311812_8 WHERE date = \"February 11\""
}... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17311812_8 (high_assists VARCHAR, team VARCHAR)"
},
{
"from": "human",
"value": "Who has the most assists on Denver?"
},
{
"from": "gpt",
"value": "SELECT high_assists FROM table_17311812_8 WHERE team = \"Denver\""
}
] | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the location attendance for april 13"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_17322817_10 WHERE date = \"April 13... | know_sql | chosen |
[
{
"from": "system",
"value": "CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)"
},
{
"from": "human",
"value": "Name the location attendance for april 5"
},
{
"from": "gpt",
"value": "SELECT location_attendance FROM table_17322817_10 WHERE date = \"April 5\"... | know_sql | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.