messages listlengths 3 3 |
|---|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_1 (opponent_number VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "Who was the opponent when the result was w24-7?",
"role": "user"
},
{
"content": "SELECT opponent_number FROM table_name_1 WHERE result = \"w24-7\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (games INTEGER, season VARCHAR, red_cards VARCHAR)",
"role": "system"
},
{
"content": "Which Games has a Season of 2003/2004, and a Red Cards smaller than 5?",
"role": "user"
},
{
"content": "SELECT AVG(games) FROM table_name_65 WHERE season = \"2003/2004\" AND red_cards < 5",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27786562_1 (starts VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "Name the starts for bobby labonte",
"role": "user"
},
{
"content": "SELECT starts FROM table_27786562_1 WHERE driver = \"Bobby Labonte\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "When was there a Result of 8–0 and a Score of 1–0?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_48 WHERE result = \"8–0\" AND score = \"1–0\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (laps INTEGER, grid VARCHAR)",
"role": "system"
},
{
"content": "What is the sum of laps for grid 20?",
"role": "user"
},
{
"content": "SELECT SUM(laps) FROM table_name_53 WHERE grid = 20",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_50 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR)",
"role": "system"
},
{
"content": "Which Perth has Auckland yes and Gold Coast yes?",
"role": "user"
},
{
"content": "SELECT perth FROM table_name_50 WHERE auckland = \"yes\" AND gold_coast = \"yes\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (band VARCHAR, ratio VARCHAR)",
"role": "system"
},
{
"content": "Which Band has a Ratio of 9/9?",
"role": "user"
},
{
"content": "SELECT band FROM table_name_76 WHERE ratio = \"9/9\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (title VARCHAR, recorded VARCHAR, track VARCHAR)",
"role": "system"
},
{
"content": "Which track 7 title was recorded in 1959-09-15?",
"role": "user"
},
{
"content": "SELECT title FROM table_name_23 WHERE recorded = \"1959-09-15\" AND track = 7",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1165048_1 (captain VARCHAR, coach VARCHAR)",
"role": "system"
},
{
"content": " who is the captain where coach is geoff miles",
"role": "user"
},
{
"content": "SELECT captain FROM table_1165048_1 WHERE coach = \"Geoff Miles\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_96 (position VARCHAR, pick VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What was the position of the player picked after 94, by the Boston Patriots?",
"role": "user"
},
{
"content": "SELECT position FROM table_name_96 WHERE pick > 94 AND team = \"boston patriots\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_49 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What is the earliest year with less than 45 points for Yamaha team in 21st rank?",
"role": "user"
},
{
"content": "SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = \"yamaha\" AND rank = \"21st\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_95 (against INTEGER, team VARCHAR, lost VARCHAR)",
"role": "system"
},
{
"content": "Which Against is the highest one that has a Team of flamengo, and a Lost smaller than 1?",
"role": "user"
},
{
"content": "SELECT MAX(against) FROM table_name_95 WHERE team = \"flamengo\" AND lost < 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_7 (Id VARCHAR)",
"role": "system"
},
{
"content": "2005 of 3r, and a 2000 of lq, and a 2002 of 3r is in what 2004?",
"role": "user"
},
{
"content": "SELECT 2004 FROM table_name_7 WHERE 2005 = \"3r\" AND 2000 = \"lq\" AND 2002 = \"3r\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "Name the venue for eng by 6 wkts",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_46 WHERE result = \"eng by 6 wkts\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_78 (date VARCHAR, performer_2 VARCHAR, performer_4 VARCHAR, episode VARCHAR)",
"role": "system"
},
{
"content": "What day was wayne brady performer 2, ryan stiles performer 4, and an episode number greater than 5?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_78 WHERE performer_4 = \"ryan stiles\" AND episode > 5 AND performer_2 = \"wayne brady\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (imperfect_stem VARCHAR, meaning VARCHAR)",
"role": "system"
},
{
"content": "What is the imperfect stem of the word that means 'take away, remove'?",
"role": "user"
},
{
"content": "SELECT imperfect_stem FROM table_name_74 WHERE meaning = \"'take away, remove'\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2923917_4 (melbourne VARCHAR, distance VARCHAR)",
"role": "system"
},
{
"content": "How many listings under Melbourne has a distance at 15km?",
"role": "user"
},
{
"content": "SELECT COUNT(melbourne) FROM table_2923917_4 WHERE distance = \"15km\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1015914_24 (them_two__the_two_ VARCHAR, we_two VARCHAR)",
"role": "system"
},
{
"content": "What is them two (the two) when we two is ngalbelpa?",
"role": "user"
},
{
"content": "SELECT them_two__the_two_ FROM table_1015914_24 WHERE we_two = \"ngalbelpa\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (mascot VARCHAR, _number___county VARCHAR)",
"role": "system"
},
{
"content": "What is the mascot with a #/County of 34 Howard?",
"role": "user"
},
{
"content": "SELECT mascot FROM table_name_41 WHERE _number___county = \"34 howard\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Person (name VARCHAR, age VARCHAR)",
"role": "system"
},
{
"content": "Find the names of all person sorted in the descending order using age.",
"role": "user"
},
{
"content": "SELECT name FROM Person ORDER BY age DESC",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (game VARCHAR, score VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "Which Game has a Score of 4–0 and Points of 44?",
"role": "user"
},
{
"content": "SELECT game FROM table_name_3 WHERE score = \"4–0\" AND points = 44",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_127511_1 (ion_torrent_pgm VARCHAR, sanger_3730xl VARCHAR)",
"role": "system"
},
{
"content": "How many times was Sanger 3730xl $2400 usd?",
"role": "user"
},
{
"content": "SELECT COUNT(ion_torrent_pgm) FROM table_127511_1 WHERE sanger_3730xl = \"$2400 USD\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_80 (position INTEGER, goal_difference VARCHAR, wins VARCHAR)",
"role": "system"
},
{
"content": "What is the average Position, when Goal Difference is \"17\", and when Wins is greater than 13?",
"role": "user"
},
{
"content": "SELECT AVG(position) FROM table_name_80 WHERE goal_difference = 17 AND wins > 13",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_35 (athlete VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "Which athlete represented the country of egypt?",
"role": "user"
},
{
"content": "SELECT athlete FROM table_name_35 WHERE country = \"egypt\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (gold INTEGER, nation VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What amount of Gold does Russia have and have a rank larger than 1?",
"role": "user"
},
{
"content": "SELECT SUM(gold) FROM table_name_8 WHERE nation = \"russia\" AND rank > 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_5 (total VARCHAR, silver VARCHAR, bronze VARCHAR)",
"role": "system"
},
{
"content": "What is the total number of Total, when Silver is 1, and when Bronze is 7?",
"role": "user"
},
{
"content": "SELECT COUNT(total) FROM table_name_5 WHERE silver = \"1\" AND bronze = \"7\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (partial_thromboplastin_time VARCHAR, condition VARCHAR)",
"role": "system"
},
{
"content": "which Partial thromboplastin time has a Condition of liver failure , early?",
"role": "user"
},
{
"content": "SELECT partial_thromboplastin_time FROM table_name_61 WHERE condition = \"liver failure , early\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_14 (births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR)",
"role": "system"
},
{
"content": "What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5?",
"role": "user"
},
{
"content": "SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = \"na\" AND natural_growth < 2.5",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR)",
"role": "system"
},
{
"content": "How many seats were there in 2001 when there were 11 seats in 2006?",
"role": "user"
},
{
"content": "SELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = 11",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19722233_5 (field_goals INTEGER, assists VARCHAR)",
"role": "system"
},
{
"content": "what is the highest number of goals did the player with 27 asists score",
"role": "user"
},
{
"content": "SELECT MAX(field_goals) FROM table_19722233_5 WHERE assists = 27",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1601027_2 (headphone_model VARCHAR, succeeded_by VARCHAR)",
"role": "system"
},
{
"content": "Name the headphone model for succeeded by sr125",
"role": "user"
},
{
"content": "SELECT headphone_model FROM table_1601027_2 WHERE succeeded_by = \"SR125\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_9 (record VARCHAR, game VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_9 WHERE game > 15 AND opponent = \"edmonton oilers\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR)",
"role": "system"
},
{
"content": "What are the network(s) for tv1?",
"role": "user"
},
{
"content": "SELECT network FROM table_1601792_4 WHERE television_station = \"TV1\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_90 (team VARCHAR, outgoing_manager VARCHAR)",
"role": "system"
},
{
"content": "What team did gonzalo arconada manage?",
"role": "user"
},
{
"content": "SELECT team FROM table_name_90 WHERE outgoing_manager = \"gonzalo arconada\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (language VARCHAR, network VARCHAR)",
"role": "system"
},
{
"content": "What is the Language for Network PTC Punjabi?",
"role": "user"
},
{
"content": "SELECT language FROM table_name_28 WHERE network = \"ptc punjabi\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (games INTEGER, debut_year VARCHAR, goals VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "How many games for keith j. miller, who debuted after 1974 with less than 1 goal?",
"role": "user"
},
{
"content": "SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = \"keith j. miller\" AND debut_year > 1974",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (Giant VARCHAR, overall VARCHAR, super_g VARCHAR)",
"role": "system"
},
{
"content": "What was her Giant Slalom score when her Overall was greater than 3 and her Super G score was 12?",
"role": "user"
},
{
"content": "SELECT Giant AS slalom FROM table_name_28 WHERE overall > 3 AND super_g = 12",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR)",
"role": "system"
},
{
"content": "What is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards?",
"role": "user"
},
{
"content": "SELECT AVG(year) FROM table_name_92 WHERE result = \"nominated\" AND film_series = \"thirst\" AND award = \"best actress\" AND group = \"baeksang arts awards\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_10 (player VARCHAR, total VARCHAR, to_par VARCHAR)",
"role": "system"
},
{
"content": "Which player has a total bigger than 285 and a to par of +14?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_10 WHERE total > 285 AND to_par = \"+14\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2429942_2 (third_place VARCHAR, champions VARCHAR)",
"role": "system"
},
{
"content": "Who had third place when the champions is baník ostrava (1)?",
"role": "user"
},
{
"content": "SELECT third_place FROM table_2429942_2 WHERE champions = \"Baník Ostrava (1)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_33 (livery VARCHAR, serial_no VARCHAR)",
"role": "system"
},
{
"content": "What is the livery of the locomotive with a serial number 83-1010?",
"role": "user"
},
{
"content": "SELECT livery FROM table_name_33 WHERE serial_no = \"83-1010\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1597866_3 (host VARCHAR, first_premiere VARCHAR)",
"role": "system"
},
{
"content": "Name the host when first premiere is august 3, 2007",
"role": "user"
},
{
"content": "SELECT host FROM table_1597866_3 WHERE first_premiere = \"August 3, 2007\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (set_2 VARCHAR, set_1 VARCHAR)",
"role": "system"
},
{
"content": "What shows for set 2 when Set 1 is 29–27?",
"role": "user"
},
{
"content": "SELECT set_2 FROM table_name_61 WHERE set_1 = \"29–27\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_15 (actual_title VARCHAR, writer VARCHAR, artist VARCHAR, issue VARCHAR)",
"role": "system"
},
{
"content": "What was the actual title of the show that had an issue number less than 508, was written by Desmond Devlin, and for which Tom Richmond was the artist?",
"role": "user"
},
{
"content": "SELECT actual_title FROM table_name_15 WHERE artist = \"tom richmond\" AND issue < 508 AND writer = \"desmond devlin\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE cars_data (mpg INTEGER, cylinders VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What is the maximum miles per gallon of the car with 8 cylinders or produced before 1980 ?",
"role": "user"
},
{
"content": "SELECT MAX(mpg) FROM cars_data WHERE cylinders = 8 OR year < 1980",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (attendance VARCHAR, tie_no VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "Away team Swindon Town had a Tie no listing of Replay with what as an Attendance?",
"role": "user"
},
{
"content": "SELECT attendance FROM table_name_74 WHERE tie_no = \"replay\" AND away_team = \"swindon town\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_228973_5 (directed_by VARCHAR, original_air_date VARCHAR)",
"role": "system"
},
{
"content": "Who directed the episode that originally aired on February 16, 1999?",
"role": "user"
},
{
"content": "SELECT directed_by FROM table_228973_5 WHERE original_air_date = \"February 16, 1999\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (weight__kg_ INTEGER, height__cm_ VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "What is the average weight of the player with a height of 180 cm and plays the d position?",
"role": "user"
},
{
"content": "SELECT AVG(weight__kg_) FROM table_name_53 WHERE height__cm_ = 180 AND position = \"d\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (record VARCHAR, location VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record?",
"role": "user"
},
{
"content": "SELECT record FROM table_name_68 WHERE location = \"boston garden\" AND score = \"118-110\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What date has new england patriots as the opponent?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_26 WHERE opponent = \"new england patriots\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_93 (win__percentage VARCHAR, conference VARCHAR, _number_of_bids VARCHAR)",
"role": "system"
},
{
"content": "For the Hockey East conference, what is the total number of win percentages when there are less than 4 bids?",
"role": "user"
},
{
"content": "SELECT COUNT(win__percentage) FROM table_name_93 WHERE conference = \"hockey east\" AND _number_of_bids < 4",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_96 (country VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "In what country is Aberdeen?",
"role": "user"
},
{
"content": "SELECT country FROM table_name_96 WHERE location = \"aberdeen\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_73 (goals_for INTEGER, tied INTEGER)",
"role": "system"
},
{
"content": "What's the least amount of goals for a game that had a tied bigger than 15?",
"role": "user"
},
{
"content": "SELECT MIN(goals_for) FROM table_name_73 WHERE tied > 15",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "With 8 as the rank, and a total of more than 2 medals what is the average bronze medals?",
"role": "user"
},
{
"content": "SELECT AVG(bronze) FROM table_name_34 WHERE rank = \"8\" AND total > 2",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "what was the score on november 3?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_39 WHERE date = \"november 3\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_14 (original_air_date VARCHAR, season_no VARCHAR, series_no VARCHAR, production_code VARCHAR)",
"role": "system"
},
{
"content": "What date did the show with a series larger than 40, production code smaller than 213, and a season number larger than 11 air?",
"role": "user"
},
{
"content": "SELECT original_air_date FROM table_name_14 WHERE series_no > 40 AND production_code < 213 AND season_no > 11",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341973_3 (candidates VARCHAR, district VARCHAR)",
"role": "system"
},
{
"content": "Which candidates ran in the Alabama 6 district?",
"role": "user"
},
{
"content": "SELECT candidates FROM table_1341973_3 WHERE district = \"Alabama 6\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (tries_against VARCHAR, points_against VARCHAR)",
"role": "system"
},
{
"content": "How many tries against did the club with 383 points against have?",
"role": "user"
},
{
"content": "SELECT tries_against FROM table_name_39 WHERE points_against = \"383\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_10 (silver VARCHAR, bronze INTEGER)",
"role": "system"
},
{
"content": "What is the number of silver when bronze is less than 0?",
"role": "user"
},
{
"content": "SELECT COUNT(silver) FROM table_name_10 WHERE bronze < 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_43 (player VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What player is from the Denver Broncos?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_43 WHERE team = \"denver broncos\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_69 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)",
"role": "system"
},
{
"content": "Frequency MHz smaller than 95.3, and a Call sign of k234ag is what class?",
"role": "user"
},
{
"content": "SELECT class FROM table_name_69 WHERE frequency_mhz < 95.3 AND call_sign = \"k234ag\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE manufacturer (Num_of_Factories INTEGER, num_of_shops INTEGER)",
"role": "system"
},
{
"content": "Find the average number of factories for the manufacturers that have more than 20 shops.",
"role": "user"
},
{
"content": "SELECT AVG(Num_of_Factories) FROM manufacturer WHERE num_of_shops > 20",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26914076_4 (teleplay_by VARCHAR, directed_by VARCHAR)",
"role": "system"
},
{
"content": "Who wrote the teleplay for the episode directed by Tim Robbins? ",
"role": "user"
},
{
"content": "SELECT teleplay_by FROM table_26914076_4 WHERE directed_by = \"Tim Robbins\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (season VARCHAR, downhill VARCHAR, overall VARCHAR)",
"role": "system"
},
{
"content": "What season had a downhill of 35 and overall greater than 21?",
"role": "user"
},
{
"content": "SELECT COUNT(season) FROM table_name_53 WHERE downhill = \"35\" AND overall > 21",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)",
"role": "system"
},
{
"content": "What are the years when the grizzles had a player who attended Villanova?",
"role": "user"
},
{
"content": "SELECT years_for_grizzlies FROM table_name_37 WHERE school_club_team = \"villanova\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (total VARCHAR, nation VARCHAR, silver VARCHAR)",
"role": "system"
},
{
"content": "What is the total number for a total when the nation is netherlands and silver is larger than 0?",
"role": "user"
},
{
"content": "SELECT COUNT(total) FROM table_name_12 WHERE nation = \"netherlands\" AND silver > 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25042332_27 (region VARCHAR, vehicle VARCHAR)",
"role": "system"
},
{
"content": "Name the region for 39.2% vehicle",
"role": "user"
},
{
"content": "SELECT region FROM table_25042332_27 WHERE vehicle = \"39.2%\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_26 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR)",
"role": "system"
},
{
"content": "Decision of parent, and a Visitor of Philadelphia, and a Date of January 27 had what score?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_26 WHERE decision = \"parent\" AND visitor = \"philadelphia\" AND date = \"january 27\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26561498_1 (directed_by VARCHAR, production_code VARCHAR)",
"role": "system"
},
{
"content": "who directed and produced 176452?",
"role": "user"
},
{
"content": "SELECT directed_by FROM table_26561498_1 WHERE production_code = 176452",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_96 (col__m_ INTEGER, island VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What's the lowest Col ranked less than 6 with an Island of Molokaʻi?",
"role": "user"
},
{
"content": "SELECT MIN(col__m_) FROM table_name_96 WHERE island = \"island of molokaʻi\" AND rank < 6",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_72 (college VARCHAR, round INTEGER)",
"role": "system"
},
{
"content": "The draft pick that was taken before round 4 went to what college?",
"role": "user"
},
{
"content": "SELECT college FROM table_name_72 WHERE round < 4",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_67 (visitor VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "Which visiting team had a record of 31–31–8?",
"role": "user"
},
{
"content": "SELECT visitor FROM table_name_67 WHERE record = \"31–31–8\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12419515_4 (total_viewers__in_millions_ VARCHAR, season__number VARCHAR)",
"role": "system"
},
{
"content": "How many millions of total viewers watched season #8?",
"role": "user"
},
{
"content": "SELECT total_viewers__in_millions_ FROM table_12419515_4 WHERE season__number = 8",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_55 (wins INTEGER, team VARCHAR, draws VARCHAR)",
"role": "system"
},
{
"content": "What is the average number of wins for Runcorn Highfield with more than 0 draws?",
"role": "user"
},
{
"content": "SELECT AVG(wins) FROM table_name_55 WHERE team = \"runcorn highfield\" AND draws > 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_77 (date VARCHAR, circuit VARCHAR)",
"role": "system"
},
{
"content": "On what Date is there a race on the Circuit of brands hatch?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_77 WHERE circuit = \"brands hatch\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_84 (location VARCHAR, event VARCHAR)",
"role": "system"
},
{
"content": "What is the location when the event was November reign?",
"role": "user"
},
{
"content": "SELECT location FROM table_name_84 WHERE event = \"november reign\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_49 (score VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "What was the score in the match against Kim Tiilikainen?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_49 WHERE opponent = \"kim tiilikainen\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_33 (province_of_silla VARCHAR, modern_equivalent VARCHAR, administrative_district VARCHAR)",
"role": "system"
},
{
"content": "WHich Province of Silla has a Modern equivalent of south jeolla, and a Administrative district of seungju?",
"role": "user"
},
{
"content": "SELECT province_of_silla FROM table_name_33 WHERE modern_equivalent = \"south jeolla\" AND administrative_district = \"seungju\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What is Player, when To Par is \"+1\", and when Score is \"75-68=143\"?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_32 WHERE to_par = \"+1\" AND score = 75 - 68 = 143",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (ceremony VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Which award ceremony took place on May 15, 1965?",
"role": "user"
},
{
"content": "SELECT ceremony FROM table_name_91 WHERE date = \"may 15, 1965\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (released VARCHAR, series_sorted VARCHAR)",
"role": "system"
},
{
"content": "what is the released when the series is sorted 6y/ai?",
"role": "user"
},
{
"content": "SELECT released FROM table_name_68 WHERE series_sorted = \"6y/ai\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE people (Party VARCHAR, Age VARCHAR)",
"role": "system"
},
{
"content": "What is the party of the youngest people?",
"role": "user"
},
{
"content": "SELECT Party FROM people ORDER BY Age LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_5 (tournament VARCHAR)",
"role": "system"
},
{
"content": "What tournament was at the 2011 Cincinnati Masters?",
"role": "user"
},
{
"content": "SELECT 2011 FROM table_name_5 WHERE tournament = \"cincinnati masters\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR)",
"role": "system"
},
{
"content": "What model number has part number cl8064701510101?",
"role": "user"
},
{
"content": "SELECT model_number FROM table_name_69 WHERE part_number_s_ = \"cl8064701510101\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE journal_committee (journal_ID VARCHAR, work_type VARCHAR); CREATE TABLE journal (sales INTEGER, journal_ID VARCHAR)",
"role": "system"
},
{
"content": "What is the average sales of the journals that have an editor whose work type is 'Photo'?",
"role": "user"
},
{
"content": "SELECT AVG(T1.sales) FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID WHERE T2.work_type = 'Photo'",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_14 (format VARCHAR, frequency VARCHAR)",
"role": "system"
},
{
"content": "What format is at frequency 99.5 FM?",
"role": "user"
},
{
"content": "SELECT format FROM table_name_14 WHERE frequency = \"99.5 fm\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23255941_1 (viewers__in_millions_ VARCHAR, directed_by VARCHAR)",
"role": "system"
},
{
"content": "How many millions of viewers watched the episode directed by Christine Moore?",
"role": "user"
},
{
"content": "SELECT viewers__in_millions_ FROM table_23255941_1 WHERE directed_by = \"Christine Moore\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE LOCATIONS (Location_Name VARCHAR)",
"role": "system"
},
{
"content": "Which location names contain the word \"film\"?",
"role": "user"
},
{
"content": "SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE \"%film%\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR)",
"role": "system"
},
{
"content": "Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.",
"role": "user"
},
{
"content": "SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (eliminated VARCHAR, entered VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "Who was eliminated that entered after number 3 and lasted 35:55?",
"role": "user"
},
{
"content": "SELECT eliminated FROM table_name_74 WHERE entered > 3 AND time = \"35:55\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_34 (stage VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Which stage was being played in Romania?",
"role": "user"
},
{
"content": "SELECT stage FROM table_name_34 WHERE venue = \"romania\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24565004_20 (appearances¹ VARCHAR, nationality² VARCHAR)",
"role": "system"
},
{
"content": "Name the number of appearances for yugoslavia",
"role": "user"
},
{
"content": "SELECT COUNT(appearances¹) FROM table_24565004_20 WHERE nationality² = \"Yugoslavia\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_83 (round INTEGER, pick__number INTEGER)",
"role": "system"
},
{
"content": "What is the highest round of the player with a pick number lower than 34?",
"role": "user"
},
{
"content": "SELECT MAX(round) FROM table_name_83 WHERE pick__number > 34",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_50 (round INTEGER, position VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson?",
"role": "user"
},
{
"content": "SELECT MIN(round) FROM table_name_50 WHERE position = \"linebacker\" AND player = \"thomas henderson\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_58 (tournament VARCHAR, top_25 VARCHAR, events VARCHAR, top_5 VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the tournament with 11 or more events a top-5 of 0 and a top-25 of 2?",
"role": "user"
},
{
"content": "SELECT tournament FROM table_name_58 WHERE events > 11 AND top_5 = 0 AND top_25 = 2",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE orchestra (Record_Company VARCHAR)",
"role": "system"
},
{
"content": "List the record company shared by the most number of orchestras.",
"role": "user"
},
{
"content": "SELECT Record_Company FROM orchestra GROUP BY Record_Company ORDER BY COUNT(*) DESC LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_59 (class_a VARCHAR, school_year VARCHAR)",
"role": "system"
},
{
"content": "Name the class A with school year of 2004-05",
"role": "user"
},
{
"content": "SELECT class_a FROM table_name_59 WHERE school_year = \"2004-05\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (eliminated VARCHAR, tag_team VARCHAR)",
"role": "system"
},
{
"content": "Which Eliminated has a Tag Team of jindrak and cade?",
"role": "user"
},
{
"content": "SELECT eliminated AS by FROM table_name_18 WHERE tag_team = \"jindrak and cade\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_52 (result VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What was the end result for 28 February 2001?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_52 WHERE date = \"28 february 2001\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_197638_7 (australian_open INTEGER)",
"role": "system"
},
{
"content": "When was the Australian open?",
"role": "user"
},
{
"content": "SELECT MAX(australian_open) FROM table_197638_7",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.