messages
listlengths
3
3
text
stringlengths
266
592
[ { "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_24 (round INTEGER, player VARCHAR)", "role": "system" }, { "content": "What round was Joe Sims picked?", "role": "user" }, { "content": "SELECT AVG(round) FROM table_name_24 WHERE player = \"joe sims\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_24 (round INTEGER, player VARCHAR)<|im_end|> <|im_start|>user What round was Joe Sims picked?<|im_end|>
[ { "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_2267857_1 (report VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Name the total number for report july 23", "role": "user" }, { "content": "SELECT COUNT(report) FROM table_2267857_1 WHERE date = \"July 23\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_2267857_1 (report VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Name the total number for report july 23<|im_end|>
[ { "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_51 (date VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "What day is north melbourne the away side?", "role": "user" }, { "content": "SELECT date FROM table_name_51 WHERE away_team = \"north melbourne\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR)<|im_end|> <|im_start|>user What day is north melbourne the away side?<|im_end|>
[ { "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 (pick INTEGER, player VARCHAR)", "role": "system" }, { "content": "When was terry cook picked?", "role": "user" }, { "content": "SELECT AVG(pick) FROM table_name_92 WHERE player = \"terry cook\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR)<|im_end|> <|im_start|>user When was terry cook picked?<|im_end|>
[ { "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_21093403_1 (locale VARCHAR, shot_pct VARCHAR)", "role": "system" }, { "content": "Where was the shot pct 78?", "role": "user" }, { "content": "SELECT locale FROM table_21093403_1 WHERE shot_pct = 78", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_21093403_1 (locale VARCHAR, shot_pct VARCHAR)<|im_end|> <|im_start|>user Where was the shot pct 78?<|im_end|>
[ { "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_38 (attendance VARCHAR, record VARCHAR)", "role": "system" }, { "content": "How many people attended when the record was broken with 47–63?", "role": "user" }, { "content": "SELECT attendance FROM table_name_38 WHERE record = \"47–63\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_38 (attendance VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user How many people attended when the record was broken with 47–63?<|im_end|>
[ { "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_98 (us_rap VARCHAR, album VARCHAR)", "role": "system" }, { "content": "What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?", "role": "user" }, { "content": "SELECT us_rap FROM table_name_98 WHERE album = \"west coast bad boyz, vol. 3: poppin' collars\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)<|im_end|> <|im_start|>user What is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?<|im_end|>
[ { "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_2522473_1 (team VARCHAR, seasons VARCHAR)", "role": "system" }, { "content": "How many teams have been in Topperserien for 8 seasons? ", "role": "user" }, { "content": "SELECT COUNT(team) FROM table_2522473_1 WHERE seasons = 8", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_2522473_1 (team VARCHAR, seasons VARCHAR)<|im_end|> <|im_start|>user How many teams have been in Topperserien for 8 seasons? <|im_end|>
[ { "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_45 (player VARCHAR, position VARCHAR, team_from VARCHAR)", "role": "system" }, { "content": "Who is the player from Hotchkiss School with a position of d?", "role": "user" }, { "content": "SELECT player FROM table_name_45 WHERE position = \"d\" AND team_from = \"hotchkiss school\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_45 (player VARCHAR, position VARCHAR, team_from VARCHAR)<|im_end|> <|im_start|>user Who is the player from Hotchkiss School with a position of d?<|im_end|>
[ { "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_13018091_1 (drawn VARCHAR, club VARCHAR)", "role": "system" }, { "content": "How many teams drew the widnes vikings?", "role": "user" }, { "content": "SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = \"Widnes Vikings\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR)<|im_end|> <|im_start|>user How many teams drew the widnes vikings?<|im_end|>
[ { "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_38 (games INTEGER, name VARCHAR, rebounds VARCHAR)", "role": "system" }, { "content": "What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136?", "role": "user" }, { "content": "SELECT MIN(games) FROM table_name_38 WHERE name = \"travis watson\" AND rebounds < 136", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR)<|im_end|> <|im_start|>user What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136?<|im_end|>
[ { "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 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)", "role": "system" }, { "content": "What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS?", "role": "user" }, { "content": "SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_18 WHERE code__iata_icao_ = \"bkk/vtbs\" AND rank > 19", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_18 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)<|im_end|> <|im_start|>user What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS?<|im_end|>
[ { "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_1132568_3 (rd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)", "role": "system" }, { "content": "What are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position?", "role": "user" }, { "content": "SELECT rd FROM table_1132568_3 WHERE fastest_lap = \"Michael Schumacher\" AND constructor = \"Ferrari\" AND pole_position = \"Michael Schumacher\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_1132568_3 (rd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR)<|im_end|> <|im_start|>user What are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position?<|im_end|>
[ { "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_29612224_1 (institution VARCHAR, school_website VARCHAR)", "role": "system" }, { "content": "What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website?", "role": "user" }, { "content": "SELECT institution FROM table_29612224_1 WHERE school_website = \"http://www.mfschools.org/high/\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_29612224_1 (institution VARCHAR, school_website VARCHAR)<|im_end|> <|im_start|>user What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website?<|im_end|>
[ { "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_79 (draw VARCHAR, dance_styles VARCHAR)", "role": "system" }, { "content": "How many draws have rumba/tango dance styles?", "role": "user" }, { "content": "SELECT COUNT(draw) FROM table_name_79 WHERE dance_styles = \"rumba/tango\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_79 (draw VARCHAR, dance_styles VARCHAR)<|im_end|> <|im_start|>user How many draws have rumba/tango dance styles?<|im_end|>
[ { "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 (score VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the score for the game that was played on 29-Jun-2009?", "role": "user" }, { "content": "SELECT score FROM table_name_93 WHERE date = \"29-jun-2009\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is the score for the game that was played on 29-Jun-2009?<|im_end|>
[ { "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_10960039_6 (player VARCHAR, college VARCHAR)", "role": "system" }, { "content": "How many players played for adams state school?", "role": "user" }, { "content": "SELECT COUNT(player) FROM table_10960039_6 WHERE college = \"Adams State\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_10960039_6 (player VARCHAR, college VARCHAR)<|im_end|> <|im_start|>user How many players played for adams state school?<|im_end|>
[ { "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 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)", "role": "system" }, { "content": "When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter?", "role": "user" }, { "content": "SELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = \"exxon mobil 341,140.3\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)<|im_end|> <|im_start|>user When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter?<|im_end|>
[ { "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_20850527_1 (result VARCHAR, record VARCHAR)", "role": "system" }, { "content": "How many wins or losses were there when the record was 3-0?", "role": "user" }, { "content": "SELECT COUNT(result) FROM table_20850527_1 WHERE record = \"3-0\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_20850527_1 (result VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user How many wins or losses were there when the record was 3-0?<|im_end|>
[ { "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_31 (super_g VARCHAR, victories VARCHAR, country VARCHAR)", "role": "system" }, { "content": "What Super G has Victories of 26, and a Country of austria?", "role": "user" }, { "content": "SELECT super_g FROM table_name_31 WHERE victories = 26 AND country = \"austria\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_31 (super_g VARCHAR, victories VARCHAR, country VARCHAR)<|im_end|> <|im_start|>user What Super G has Victories of 26, and a Country of austria?<|im_end|>
[ { "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 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR)", "role": "system" }, { "content": "What is Player, when Previous Team (League) is \"Medicine Hat Tigers ( WHL )\", and when Year is less than 2002?", "role": "user" }, { "content": "SELECT player FROM table_name_90 WHERE previous_team__league_ = \"medicine hat tigers ( whl )\" AND year < 2002", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002?<|im_end|>
[ { "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_75 (home_team VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "What was the home team score for the game played at Western Oval?", "role": "user" }, { "content": "SELECT home_team AS score FROM table_name_75 WHERE venue = \"western oval\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_75 (home_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user What was the home team score for the game played at Western Oval?<|im_end|>
[ { "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_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)", "role": "system" }, { "content": "How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?", "role": "user" }, { "content": "SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = \"Washington Capitals\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)<|im_end|> <|im_start|>user How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?<|im_end|>
[ { "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_94 (d_46_√ VARCHAR, d_41_√ VARCHAR)", "role": "system" }, { "content": "What is the D 46 √ with a D 41 √ with d 38 √?", "role": "user" }, { "content": "SELECT d_46_√ FROM table_name_94 WHERE d_41_√ = \"d 38 √\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_94 (d_46_√ VARCHAR, d_41_√ VARCHAR)<|im_end|> <|im_start|>user What is the D 46 √ with a D 41 √ with d 38 √?<|im_end|>
[ { "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_2781227_10 (position VARCHAR, player VARCHAR)", "role": "system" }, { "content": "which part on the team does rick schuhwerk play", "role": "user" }, { "content": "SELECT position FROM table_2781227_10 WHERE player = \"Rick Schuhwerk\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_2781227_10 (position VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user which part on the team does rick schuhwerk play<|im_end|>
[ { "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_54 (hdi_2011 VARCHAR, di_2011 VARCHAR)", "role": "system" }, { "content": "What is the HDI 2011 of the country with a DI 2011 of 7.63?", "role": "user" }, { "content": "SELECT hdi_2011 FROM table_name_54 WHERE di_2011 = \"7.63\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_54 (hdi_2011 VARCHAR, di_2011 VARCHAR)<|im_end|> <|im_start|>user What is the HDI 2011 of the country with a DI 2011 of 7.63?<|im_end|>
[ { "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 (high_points VARCHAR, team VARCHAR)", "role": "system" }, { "content": "What is High Points, when Team is @ Phoenix?", "role": "user" }, { "content": "SELECT high_points FROM table_name_73 WHERE team = \"@ phoenix\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_73 (high_points VARCHAR, team VARCHAR)<|im_end|> <|im_start|>user What is High Points, when Team is @ Phoenix?<|im_end|>
[ { "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_47 (country VARCHAR, player VARCHAR)", "role": "system" }, { "content": "what country has tiger woods", "role": "user" }, { "content": "SELECT country FROM table_name_47 WHERE player = \"tiger woods\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_47 (country VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user what country has tiger woods<|im_end|>
[ { "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_2 (year VARCHAR, round VARCHAR)", "role": "system" }, { "content": "Which year has a Round of 17?", "role": "user" }, { "content": "SELECT year FROM table_name_2 WHERE round = \"17\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR)<|im_end|> <|im_start|>user Which year has a Round of 17?<|im_end|>
[ { "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 (height INTEGER, year_born VARCHAR, current_club VARCHAR)", "role": "system" }, { "content": "How tall was the member of Nymburk, who was born in 1982?", "role": "user" }, { "content": "SELECT MAX(height) FROM table_name_23 WHERE year_born = 1982 AND current_club = \"nymburk\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_23 (height INTEGER, year_born VARCHAR, current_club VARCHAR)<|im_end|> <|im_start|>user How tall was the member of Nymburk, who was born in 1982?<|im_end|>
[ { "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 (package_option VARCHAR, television_service VARCHAR, hdtv VARCHAR, language VARCHAR)", "role": "system" }, { "content": "What is Package/Option, when HDTV is no, when Language is Italian, and when Television service is cartello promozionale sky hd?", "role": "user" }, { "content": "SELECT package_option FROM table_name_43 WHERE hdtv = \"no\" AND language = \"italian\" AND television_service = \"cartello promozionale sky hd\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_43 (package_option VARCHAR, television_service VARCHAR, hdtv VARCHAR, language VARCHAR)<|im_end|> <|im_start|>user What is Package/Option, when HDTV is no, when Language is Italian, and when Television service is cartello promozionale sky hd?<|im_end|>
[ { "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_79 (price_in_usd VARCHAR, company VARCHAR)", "role": "system" }, { "content": "What is the USD price for Tealeaf?", "role": "user" }, { "content": "SELECT price_in_usd FROM table_name_79 WHERE company = \"tealeaf\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_79 (price_in_usd VARCHAR, company VARCHAR)<|im_end|> <|im_start|>user What is the USD price for Tealeaf?<|im_end|>
[ { "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_64 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR)", "role": "system" }, { "content": "Which Surname has Throws of r, and a Position of p, and a DOB of 26 april 1989?", "role": "user" }, { "content": "SELECT surname FROM table_name_64 WHERE throws = \"r\" AND position = \"p\" AND dob = \"26 april 1989\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_64 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR)<|im_end|> <|im_start|>user Which Surname has Throws of r, and a Position of p, and a DOB of 26 april 1989?<|im_end|>
[ { "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 (frequency VARCHAR, parent_magazine VARCHAR)", "role": "system" }, { "content": "How often does Dengeki girl's style come out?", "role": "user" }, { "content": "SELECT frequency FROM table_name_5 WHERE parent_magazine = \"dengeki girl's style\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_5 (frequency VARCHAR, parent_magazine VARCHAR)<|im_end|> <|im_start|>user How often does Dengeki girl's style come out?<|im_end|>
[ { "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_36 (opponent VARCHAR, venue VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who is the opponent of the match on 3 December 1898 in venue h?", "role": "user" }, { "content": "SELECT opponent FROM table_name_36 WHERE venue = \"h\" AND date = \"3 december 1898\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_36 (opponent VARCHAR, venue VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who is the opponent of the match on 3 December 1898 in venue h?<|im_end|>
[ { "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_57 (height VARCHAR, year_born INTEGER)", "role": "system" }, { "content": "What is the height of the person born before 1975?", "role": "user" }, { "content": "SELECT height FROM table_name_57 WHERE year_born < 1975", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_57 (height VARCHAR, year_born INTEGER)<|im_end|> <|im_start|>user What is the height of the person born before 1975?<|im_end|>
[ { "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_40 (to_par INTEGER, score VARCHAR)", "role": "system" }, { "content": "What is the average To Par, when Score is \"72-67-71-72=282\"?", "role": "user" }, { "content": "SELECT AVG(to_par) FROM table_name_40 WHERE score = 72 - 67 - 71 - 72 = 282", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_40 (to_par INTEGER, score VARCHAR)<|im_end|> <|im_start|>user What is the average To Par, when Score is "72-67-71-72=282"?<|im_end|>
[ { "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_11447995_2 (bello VARCHAR, ben_tahir VARCHAR)", "role": "system" }, { "content": "What is the Bello when Ben-Tahir is 296?", "role": "user" }, { "content": "SELECT bello FROM table_11447995_2 WHERE ben_tahir = \"296\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_11447995_2 (bello VARCHAR, ben_tahir VARCHAR)<|im_end|> <|im_start|>user What is the Bello when Ben-Tahir is 296?<|im_end|>
[ { "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_25716399_1 (written_by VARCHAR, original_air_date VARCHAR)", "role": "system" }, { "content": "Who wrote the episode where the original air date is july20,2007?", "role": "user" }, { "content": "SELECT written_by FROM table_25716399_1 WHERE original_air_date = \"July20,2007\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_25716399_1 (written_by VARCHAR, original_air_date VARCHAR)<|im_end|> <|im_start|>user Who wrote the episode where the original air date is july20,2007?<|im_end|>
[ { "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_24 (record VARCHAR, location VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is Record, when Location is \"Boston Garden\", and when Date is \"Fri. Nov. 9\"?", "role": "user" }, { "content": "SELECT record FROM table_name_24 WHERE location = \"boston garden\" AND date = \"fri. nov. 9\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"?<|im_end|>
[ { "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 songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)", "role": "system" }, { "content": "Find all the songs that do not have a back vocal.", "role": "user" }, { "content": "SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE TYPE = \"back\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)<|im_end|> <|im_start|>user Find all the songs that do not have a back vocal.<|im_end|>
[ { "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_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR)", "role": "system" }, { "content": "What comparable country has a national share of 1.08?", "role": "user" }, { "content": "SELECT comparable_country FROM table_171666_1 WHERE national_share___percentage_ = \"1.08\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR)<|im_end|> <|im_start|>user What comparable country has a national share of 1.08?<|im_end|>
[ { "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 (required_os VARCHAR, developer_s_ VARCHAR)", "role": "system" }, { "content": "What was the minimum operating system required by Stunlock Studios' game?", "role": "user" }, { "content": "SELECT required_os FROM table_name_91 WHERE developer_s_ = \"stunlock studios\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_91 (required_os VARCHAR, developer_s_ VARCHAR)<|im_end|> <|im_start|>user What was the minimum operating system required by Stunlock Studios' game?<|im_end|>
[ { "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_85 (stage VARCHAR, time__eest_ VARCHAR)", "role": "system" }, { "content": "Name the stage for 08:46", "role": "user" }, { "content": "SELECT stage FROM table_name_85 WHERE time__eest_ = \"08:46\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_85 (stage VARCHAR, time__eest_ VARCHAR)<|im_end|> <|im_start|>user Name the stage for 08:46<|im_end|>
[ { "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 (budget VARCHAR, film VARCHAR)", "role": "system" }, { "content": "WHAT IS THE BUDGET FOR THE INCREDIBLES?", "role": "user" }, { "content": "SELECT budget FROM table_name_28 WHERE film = \"the incredibles\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_28 (budget VARCHAR, film VARCHAR)<|im_end|> <|im_start|>user WHAT IS THE BUDGET FOR THE INCREDIBLES?<|im_end|>
[ { "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_30 (record VARCHAR, res VARCHAR, event VARCHAR)", "role": "system" }, { "content": "Which Record has the Res of win with the Event of extreme fighting 1?", "role": "user" }, { "content": "SELECT record FROM table_name_30 WHERE res = \"win\" AND event = \"extreme fighting 1\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_30 (record VARCHAR, res VARCHAR, event VARCHAR)<|im_end|> <|im_start|>user Which Record has the Res of win with the Event of extreme fighting 1?<|im_end|>
[ { "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 (nationality VARCHAR, school_club_team VARCHAR)", "role": "system" }, { "content": "What is the nationality of school/club team of barton cc (ks)?", "role": "user" }, { "content": "SELECT nationality FROM table_name_65 WHERE school_club_team = \"barton cc (ks)\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_65 (nationality VARCHAR, school_club_team VARCHAR)<|im_end|> <|im_start|>user What is the nationality of school/club team of barton cc (ks)?<|im_end|>
[ { "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_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)", "role": "system" }, { "content": "The episode with the no. 54, directed by Charles Haid, is written by who?", "role": "user" }, { "content": "SELECT written_by FROM table_26561509_1 WHERE directed_by = \"Charles Haid\" AND no = 54", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)<|im_end|> <|im_start|>user The episode with the no. 54, directed by Charles Haid, is written by who?<|im_end|>
[ { "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_40 (november INTEGER, game INTEGER)", "role": "system" }, { "content": "What is the sum of November, when Game is greater than 23?", "role": "user" }, { "content": "SELECT SUM(november) FROM table_name_40 WHERE game > 23", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_40 (november INTEGER, game INTEGER)<|im_end|> <|im_start|>user What is the sum of November, when Game is greater than 23?<|im_end|>
[ { "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_36 (tongyong VARCHAR, hanyu VARCHAR)", "role": "system" }, { "content": "Where in Tongyong is Hanyu Sanmin?", "role": "user" }, { "content": "SELECT tongyong FROM table_name_36 WHERE hanyu = \"sanmin\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR)<|im_end|> <|im_start|>user Where in Tongyong is Hanyu Sanmin?<|im_end|>
[ { "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_56 (constructor VARCHAR, team VARCHAR)", "role": "system" }, { "content": "Who is the Constructor for the Trac Racing Team?", "role": "user" }, { "content": "SELECT constructor FROM table_name_56 WHERE team = \"trac racing team\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_56 (constructor VARCHAR, team VARCHAR)<|im_end|> <|im_start|>user Who is the Constructor for the Trac Racing Team?<|im_end|>
[ { "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_70 (session VARCHAR, circuit VARCHAR)", "role": "system" }, { "content": "What was the session at the circuit of lowes motor speedway?", "role": "user" }, { "content": "SELECT session FROM table_name_70 WHERE circuit = \"lowes motor speedway\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_70 (session VARCHAR, circuit VARCHAR)<|im_end|> <|im_start|>user What was the session at the circuit of lowes motor speedway?<|im_end|>
[ { "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 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)", "role": "system" }, { "content": "What kind of Republican ticket has a Prohibition ticket of stephen mead wing?", "role": "user" }, { "content": "SELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = \"stephen mead wing\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)<|im_end|> <|im_start|>user What kind of Republican ticket has a Prohibition ticket of stephen mead wing?<|im_end|>
[ { "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_81 (team_2 VARCHAR, team_1 VARCHAR)", "role": "system" }, { "content": "Who was Team 2 when Stationery Stores was Team 1?", "role": "user" }, { "content": "SELECT team_2 FROM table_name_81 WHERE team_1 = \"stationery stores\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_81 (team_2 VARCHAR, team_1 VARCHAR)<|im_end|> <|im_start|>user Who was Team 2 when Stationery Stores was Team 1?<|im_end|>
[ { "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 (goals INTEGER, name VARCHAR)", "role": "system" }, { "content": "Name the most goals for josep samitier", "role": "user" }, { "content": "SELECT MAX(goals) FROM table_name_8 WHERE name = \"josep samitier\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR)<|im_end|> <|im_start|>user Name the most goals for josep samitier<|im_end|>
[ { "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_97 (high_rebounds VARCHAR, game VARCHAR)", "role": "system" }, { "content": "Which High rebounds has a Game of 76?", "role": "user" }, { "content": "SELECT high_rebounds FROM table_name_97 WHERE game = 76", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_97 (high_rebounds VARCHAR, game VARCHAR)<|im_end|> <|im_start|>user Which High rebounds has a Game of 76?<|im_end|>
[ { "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_89 (week VARCHAR, date VARCHAR)", "role": "system" }, { "content": "The game on September 2, 1979 was during which week of the season?", "role": "user" }, { "content": "SELECT COUNT(week) FROM table_name_89 WHERE date = \"september 2, 1979\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_89 (week VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user The game on September 2, 1979 was during which week of the season?<|im_end|>
[ { "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_36 (height VARCHAR, current_club VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is the height of Patrick Femerling, of the Alba Berlin club?", "role": "user" }, { "content": "SELECT COUNT(height) FROM table_name_36 WHERE current_club = \"alba berlin\" AND player = \"patrick femerling\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_36 (height VARCHAR, current_club VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is the height of Patrick Femerling, of the Alba Berlin club?<|im_end|>
[ { "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_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR)", "role": "system" }, { "content": "how many yes votes made up 43.18% yes?", "role": "user" }, { "content": "SELECT MAX(yes_votes) FROM table_256286_20 WHERE _percentage_yes = \"43.18%\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR)<|im_end|> <|im_start|>user how many yes votes made up 43.18% yes?<|im_end|>
[ { "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 (chassis VARCHAR, engine VARCHAR)", "role": "system" }, { "content": "What chassis did the BRM V8 engine have?", "role": "user" }, { "content": "SELECT chassis FROM table_name_92 WHERE engine = \"brm v8\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR)<|im_end|> <|im_start|>user What chassis did the BRM V8 engine have?<|im_end|>
[ { "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 (gpu_frequency VARCHAR, part_number_s_ VARCHAR)", "role": "system" }, { "content": "what is the gpu frequency when the part number is cw8064701470702?", "role": "user" }, { "content": "SELECT gpu_frequency FROM table_name_50 WHERE part_number_s_ = \"cw8064701470702\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_50 (gpu_frequency VARCHAR, part_number_s_ VARCHAR)<|im_end|> <|im_start|>user what is the gpu frequency when the part number is cw8064701470702?<|im_end|>
[ { "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_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR)", "role": "system" }, { "content": "Name the least fa cup goals with fa cup apps being 2 and fw ", "role": "user" }, { "content": "SELECT MIN(fa_cup_goals) FROM table_27086613_5 WHERE fa_cup_apps = 2 AND position = \"FW\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR)<|im_end|> <|im_start|>user Name the least fa cup goals with fa cup apps being 2 and fw <|im_end|>
[ { "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 (sport VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What sport was played on November 14, 2009?", "role": "user" }, { "content": "SELECT sport FROM table_name_27 WHERE date = \"november 14, 2009\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_27 (sport VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What sport was played on November 14, 2009?<|im_end|>
[ { "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_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)", "role": "system" }, { "content": "How many MotoGP winners were there when the circuit was Catalunya?", "role": "user" }, { "content": "SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = \"Catalunya\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)<|im_end|> <|im_start|>user How many MotoGP winners were there when the circuit was Catalunya?<|im_end|>
[ { "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, runs VARCHAR)", "role": "system" }, { "content": "Which player's runs are 270?", "role": "user" }, { "content": "SELECT player FROM table_name_43 WHERE runs = \"270\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_43 (player VARCHAR, runs VARCHAR)<|im_end|> <|im_start|>user Which player's runs are 270?<|im_end|>
[ { "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_56 (money___ INTEGER, to_par VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Which money is the highest one that has a To par of –1, and a Score of 73-70-73-71=287?", "role": "user" }, { "content": "SELECT MAX(money___) AS $__ FROM table_name_56 WHERE to_par = \"–1\" AND score = 73 - 70 - 73 - 71 = 287", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_56 (money___ INTEGER, to_par VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user Which money is the highest one that has a To par of –1, and a Score of 73-70-73-71=287?<|im_end|>
[ { "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_17 (period VARCHAR, name VARCHAR)", "role": "system" }, { "content": "Name the period for michel prost", "role": "user" }, { "content": "SELECT period FROM table_24565004_17 WHERE name = \"Michel Prost\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_24565004_17 (period VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user Name the period for michel prost<|im_end|>
[ { "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 (episode VARCHAR)", "role": "system" }, { "content": "What is the 1st Edition for the Episode 4?", "role": "user" }, { "content": "SELECT 1 AS st_edition FROM table_name_77 WHERE episode = \"4\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_77 (episode VARCHAR)<|im_end|> <|im_start|>user What is the 1st Edition for the Episode 4?<|im_end|>
[ { "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 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR)", "role": "system" }, { "content": "What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?", "role": "user" }, { "content": "SELECT fastest_lap FROM table_name_68 WHERE round = \"5\" AND winning_driver = \"james winslow\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR)<|im_end|> <|im_start|>user What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?<|im_end|>
[ { "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_16570286_4 (player VARCHAR, best_bowling VARCHAR)", "role": "system" }, { "content": "How many players Bowled 4/125?", "role": "user" }, { "content": "SELECT COUNT(player) FROM table_16570286_4 WHERE best_bowling = \"4/125\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_16570286_4 (player VARCHAR, best_bowling VARCHAR)<|im_end|> <|im_start|>user How many players Bowled 4/125?<|im_end|>
[ { "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 (date VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What date was the score of 6–3 6–4?", "role": "user" }, { "content": "SELECT date FROM table_name_53 WHERE score = \"6–3 6–4\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_53 (date VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What date was the score of 6–3 6–4?<|im_end|>
[ { "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_29556461_7 (high_assists VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who had the most assists and how many did they have on January 5?", "role": "user" }, { "content": "SELECT high_assists FROM table_29556461_7 WHERE date = \"January 5\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_29556461_7 (high_assists VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who had the most assists and how many did they have on January 5?<|im_end|>
[ { "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 Ref_Document_Types (document_type_code VARCHAR)", "role": "system" }, { "content": "What document type codes do we have?", "role": "user" }, { "content": "SELECT document_type_code FROM Ref_Document_Types", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE Ref_Document_Types (document_type_code VARCHAR)<|im_end|> <|im_start|>user What document type codes do we have?<|im_end|>
[ { "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_25 (date VARCHAR, result VARCHAR)", "role": "system" }, { "content": "What date has aus by 382 runs as the result?", "role": "user" }, { "content": "SELECT date FROM table_name_25 WHERE result = \"aus by 382 runs\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_25 (date VARCHAR, result VARCHAR)<|im_end|> <|im_start|>user What date has aus by 382 runs as the result?<|im_end|>
[ { "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_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)", "role": "system" }, { "content": "What is friday day six when thursday day five is پچھمبے pachhambey?", "role": "user" }, { "content": "SELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = \"پچھمبے pachhambey\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)<|im_end|> <|im_start|>user What is friday day six when thursday day five is پچھمبے pachhambey?<|im_end|>
[ { "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 (record VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Which Record has a Date of january 31?", "role": "user" }, { "content": "SELECT record FROM table_name_18 WHERE date = \"january 31\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_18 (record VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Which Record has a Date of january 31?<|im_end|>
[ { "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_2009095_2 (year INTEGER, opponents VARCHAR)", "role": "system" }, { "content": "Name the least year for evonne goolagong helen gourlay", "role": "user" }, { "content": "SELECT MIN(year) FROM table_2009095_2 WHERE opponents = \"Evonne Goolagong Helen Gourlay\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR)<|im_end|> <|im_start|>user Name the least year for evonne goolagong helen gourlay<|im_end|>
[ { "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_1013129_8 (nhl_team VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is the NHL team that has Peter Strom?", "role": "user" }, { "content": "SELECT nhl_team FROM table_1013129_8 WHERE player = \"Peter Strom\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is the NHL team that has Peter Strom?<|im_end|>
[ { "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_87 (score VARCHAR, tournament VARCHAR)", "role": "system" }, { "content": "What was the score for the match at the tournament in canada f7, toronto?", "role": "user" }, { "content": "SELECT score FROM table_name_87 WHERE tournament = \"canada f7, toronto\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_87 (score VARCHAR, tournament VARCHAR)<|im_end|> <|im_start|>user What was the score for the match at the tournament in canada f7, toronto?<|im_end|>
[ { "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 (loss INTEGER, name VARCHAR, long VARCHAR)", "role": "system" }, { "content": "Which Loss has a Name of bullock, chris, and a Long smaller than 36?", "role": "user" }, { "content": "SELECT SUM(loss) FROM table_name_72 WHERE name = \"bullock, chris\" AND long < 36", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_72 (loss INTEGER, name VARCHAR, long VARCHAR)<|im_end|> <|im_start|>user Which Loss has a Name of bullock, chris, and a Long smaller than 36?<|im_end|>
[ { "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_13498403_1 (barrier INTEGER, trainer VARCHAR)", "role": "system" }, { "content": "How old is Daniel Morton", "role": "user" }, { "content": "SELECT MAX(barrier) FROM table_13498403_1 WHERE trainer = \"Daniel Morton\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_13498403_1 (barrier INTEGER, trainer VARCHAR)<|im_end|> <|im_start|>user How old is Daniel Morton<|im_end|>
[ { "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_82 (winner VARCHAR, prize VARCHAR, runner_up VARCHAR)", "role": "system" }, { "content": "What is Winner, when Prize is \"£50,000\", and when Runner-Up is \"Korosh Nejad\"?", "role": "user" }, { "content": "SELECT winner FROM table_name_82 WHERE prize = \"£50,000\" AND runner_up = \"korosh nejad\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_82 (winner VARCHAR, prize VARCHAR, runner_up VARCHAR)<|im_end|> <|im_start|>user What is Winner, when Prize is "£50,000", and when Runner-Up is "Korosh Nejad"?<|im_end|>
[ { "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_36 (trial_start_date VARCHAR, candidate_name VARCHAR)", "role": "system" }, { "content": "What is Trial Start Date, when Candidate Name is Notes?", "role": "user" }, { "content": "SELECT trial_start_date FROM table_name_36 WHERE candidate_name = \"notes\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_36 (trial_start_date VARCHAR, candidate_name VARCHAR)<|im_end|> <|im_start|>user What is Trial Start Date, when Candidate Name is Notes?<|im_end|>
[ { "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_70 (grid INTEGER, time_retired VARCHAR, qual VARCHAR)", "role": "system" }, { "content": "What is the smallest grid with a Time/Retired of engine, and a qual of less than 138.75?", "role": "user" }, { "content": "SELECT MIN(grid) FROM table_name_70 WHERE time_retired = \"engine\" AND qual < 138.75", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_70 (grid INTEGER, time_retired VARCHAR, qual VARCHAR)<|im_end|> <|im_start|>user What is the smallest grid with a Time/Retired of engine, and a qual of less than 138.75?<|im_end|>
[ { "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 (horse VARCHAR, athlete VARCHAR, result VARCHAR)", "role": "system" }, { "content": "What horse was shown by with Britta Näpel and got less than 71.909?", "role": "user" }, { "content": "SELECT horse FROM table_name_61 WHERE athlete = \"britta näpel\" AND result < 71.909", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR)<|im_end|> <|im_start|>user What horse was shown by with Britta Näpel and got less than 71.909?<|im_end|>
[ { "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_85 (decision VARCHAR, visitor VARCHAR)", "role": "system" }, { "content": "What was the decision when Chicago was the visiting team?", "role": "user" }, { "content": "SELECT decision FROM table_name_85 WHERE visitor = \"chicago\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_85 (decision VARCHAR, visitor VARCHAR)<|im_end|> <|im_start|>user What was the decision when Chicago was the visiting team?<|im_end|>
[ { "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_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)", "role": "system" }, { "content": "What is the print resolution (FPI) for December 2002?", "role": "user" }, { "content": "SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = \"December 2002\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)<|im_end|> <|im_start|>user What is the print resolution (FPI) for December 2002?<|im_end|>
[ { "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 (opponent VARCHAR, loss VARCHAR)", "role": "system" }, { "content": "Name the opponent with loss of sanderson (9-8)", "role": "user" }, { "content": "SELECT opponent FROM table_name_80 WHERE loss = \"sanderson (9-8)\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_80 (opponent VARCHAR, loss VARCHAR)<|im_end|> <|im_start|>user Name the opponent with loss of sanderson (9-8)<|im_end|>
[ { "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 (show VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Which Show is dated 9 June?", "role": "user" }, { "content": "SELECT show FROM table_name_39 WHERE date = \"9 june\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_39 (show VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Which Show is dated 9 June?<|im_end|>
[ { "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_60 (english_transliteration VARCHAR, english_translation VARCHAR)", "role": "system" }, { "content": "What is the english transliteration of late dew?", "role": "user" }, { "content": "SELECT english_transliteration FROM table_name_60 WHERE english_translation = \"late dew\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_60 (english_transliteration VARCHAR, english_translation VARCHAR)<|im_end|> <|im_start|>user What is the english transliteration of late dew?<|im_end|>
[ { "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_71 (surface VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Name the surface for score of 7–6(4), 6–1", "role": "user" }, { "content": "SELECT surface FROM table_name_71 WHERE score = \"7–6(4), 6–1\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user Name the surface for score of 7–6(4), 6–1<|im_end|>
[ { "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_2668387_18 (incumbent VARCHAR, district VARCHAR)", "role": "system" }, { "content": "Name the incumbent for virginia 4", "role": "user" }, { "content": "SELECT incumbent FROM table_2668387_18 WHERE district = \"Virginia 4\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)<|im_end|> <|im_start|>user Name the incumbent for virginia 4<|im_end|>
[ { "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_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR)", "role": "system" }, { "content": "How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere?", "role": "user" }, { "content": "SELECT MIN(_number) FROM table_19982699_1 WHERE producer = \"Charles Salmon\" AND television_premiere = \"January 27, 2007\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR)<|im_end|> <|im_start|>user How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere?<|im_end|>
[ { "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_97 (nationality VARCHAR, elevator VARCHAR)", "role": "system" }, { "content": "What's the nationality for Nicholas III?", "role": "user" }, { "content": "SELECT nationality FROM table_name_97 WHERE elevator = \"nicholas iii\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR)<|im_end|> <|im_start|>user What's the nationality for Nicholas III?<|im_end|>
[ { "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 (accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR)", "role": "system" }, { "content": "What is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Nokia 700?", "role": "user" }, { "content": "SELECT accreditation_type FROM table_name_72 WHERE accreditation_level = \"joyn\" AND hardware_model = \"nokia 700\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_72 (accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR)<|im_end|> <|im_start|>user What is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Nokia 700?<|im_end|>
[ { "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 (score VARCHAR, place VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What score did Jack Nicklaus have when he placed t6?", "role": "user" }, { "content": "SELECT score FROM table_name_92 WHERE place = \"t6\" AND player = \"jack nicklaus\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_92 (score VARCHAR, place VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What score did Jack Nicklaus have when he placed t6?<|im_end|>
[ { "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 (gold VARCHAR, silver VARCHAR, total VARCHAR)", "role": "system" }, { "content": "What is the total number of Gold, when Silver is 2, and when Total is less than 7?", "role": "user" }, { "content": "SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR)<|im_end|> <|im_start|>user What is the total number of Gold, when Silver is 2, and when Total is less than 7?<|im_end|>
[ { "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_10592536_8 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)", "role": "system" }, { "content": "What is the date of appointment when the date of vacancy is 21 december 2007?", "role": "user" }, { "content": "SELECT date_of_appointment FROM table_10592536_8 WHERE date_of_vacancy = \"21 December 2007\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_10592536_8 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)<|im_end|> <|im_start|>user What is the date of appointment when the date of vacancy is 21 december 2007?<|im_end|>
[ { "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_81 (Id VARCHAR)", "role": "system" }, { "content": "Which 1989's 1991 and 1994 stats were 1r?", "role": "user" }, { "content": "SELECT 1989 FROM table_name_81 WHERE 1991 = \"1r\" AND 1994 = \"1r\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_81 (Id VARCHAR)<|im_end|> <|im_start|>user Which 1989's 1991 and 1994 stats were 1r?<|im_end|>
[ { "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 (description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR)", "role": "system" }, { "content": "What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, and a date prior to 1897?", "role": "user" }, { "content": "SELECT description FROM table_name_49 WHERE livery = \"black\" AND date < 1897 AND number_ & _name = \"scottish tar distillers no. 78\"", "role": "assistant" } ]
<|im_start|>system 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. SCHEMA: CREATE TABLE table_name_49 (description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR)<|im_end|> <|im_start|>user What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, and a date prior to 1897?<|im_end|>
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
65
Edit dataset card