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_69 (round INTEGER, school VARCHAR, pick VARCHAR)", "role": "system" }, { "content": "What was the highest round for Bowling Green with a pick smaller than 210?", "role": "user" }, { "content": "SELECT MAX(round) FROM table_name_69 WHERE school = \"bowling green\" AND pick < 210", "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_69 (round INTEGER, school VARCHAR, pick VARCHAR)<|im_end|> <|im_start|>user What was the highest round for Bowling Green with a pick smaller than 210?<|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 medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)", "role": "system" }, { "content": "What is the id and trade name of the medicines can interact with at least 3 enzymes?", "role": "user" }, { "content": "SELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 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 medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)<|im_end|> <|im_start|>user What is the id and trade name of the medicines can interact with at least 3 enzymes?<|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_86 (population_estimate_2005 VARCHAR, capital VARCHAR)", "role": "system" }, { "content": "how many population estimate 2005 are for majene?", "role": "user" }, { "content": "SELECT COUNT(population_estimate_2005) FROM table_name_86 WHERE capital = \"majene\"", "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_86 (population_estimate_2005 VARCHAR, capital VARCHAR)<|im_end|> <|im_start|>user how many population estimate 2005 are for majene?<|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 view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR)", "role": "system" }, { "content": "What are the names of products whose availability equals to 1?", "role": "user" }, { "content": "SELECT T2.product_name FROM view_product_availability AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.available_yn = 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 view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR)<|im_end|> <|im_start|>user What are the names of products whose availability equals to 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_64 (date VARCHAR, opponent_in_final VARCHAR)", "role": "system" }, { "content": "What is Date, when Opponent in Final is \"Guy Forget\"?", "role": "user" }, { "content": "SELECT date FROM table_name_64 WHERE opponent_in_final = \"guy forget\"", "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 (date VARCHAR, opponent_in_final VARCHAR)<|im_end|> <|im_start|>user What is Date, when Opponent in Final is "Guy Forget"?<|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_95 (founded VARCHAR, suburb VARCHAR)", "role": "system" }, { "content": "What year was the Beaudesert suburb club founded", "role": "user" }, { "content": "SELECT founded FROM table_name_95 WHERE suburb = \"beaudesert\"", "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_95 (founded VARCHAR, suburb VARCHAR)<|im_end|> <|im_start|>user What year was the Beaudesert suburb club founded<|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 (builder VARCHAR, order_year VARCHAR)", "role": "system" }, { "content": "What builder has a 2001-02 order year?", "role": "user" }, { "content": "SELECT builder FROM table_name_93 WHERE order_year = \"2001-02\"", "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 (builder VARCHAR, order_year VARCHAR)<|im_end|> <|im_start|>user What builder has a 2001-02 order year?<|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 (draw INTEGER, artist VARCHAR, place VARCHAR)", "role": "system" }, { "content": "What is the average draw for Desi Dobreva, was it less than 6?", "role": "user" }, { "content": "SELECT AVG(draw) FROM table_name_64 WHERE artist = \"desi dobreva\" AND place < 6", "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 (draw INTEGER, artist VARCHAR, place VARCHAR)<|im_end|> <|im_start|>user What is the average draw for Desi Dobreva, was it less than 6?<|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_83 (date VARCHAR, record VARCHAR)", "role": "system" }, { "content": "what team scored 65-87", "role": "user" }, { "content": "SELECT date FROM table_name_83 WHERE record = \"65-87\"", "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_83 (date VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user what team scored 65-87<|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_95 (total INTEGER, silver VARCHAR, gold VARCHAR)", "role": "system" }, { "content": "What's the total when the gold is less than 0 and silver is less than 1?", "role": "user" }, { "content": "SELECT AVG(total) FROM table_name_95 WHERE silver = 1 AND gold < 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_name_95 (total INTEGER, silver VARCHAR, gold VARCHAR)<|im_end|> <|im_start|>user What's the total when the gold is less than 0 and silver is less than 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_14951643_1 (result VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": " how many result with opponent being cleveland browns", "role": "user" }, { "content": "SELECT COUNT(result) FROM table_14951643_1 WHERE opponent = \"Cleveland Browns\"", "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_14951643_1 (result VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user how many result with opponent being cleveland browns<|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_12 (total INTEGER, country VARCHAR, player VARCHAR)", "role": "system" }, { "content": "Which Total has a Country of united states, and a Player of andy north?", "role": "user" }, { "content": "SELECT AVG(total) FROM table_name_12 WHERE country = \"united states\" AND player = \"andy north\"", "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_12 (total INTEGER, country VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user Which Total has a Country of united states, and a Player of andy north?<|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_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)", "role": "system" }, { "content": "What's the center of the Artsakh province?", "role": "user" }, { "content": "SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = \"Artsakh\"", "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_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)<|im_end|> <|im_start|>user What's the center of the Artsakh province?<|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 images (image_name VARCHAR, image_url VARCHAR)", "role": "system" }, { "content": "List all the image name and URLs in the order of their names.", "role": "user" }, { "content": "SELECT image_name, image_url FROM images ORDER BY image_name", "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 images (image_name VARCHAR, image_url VARCHAR)<|im_end|> <|im_start|>user List all the image name and URLs in the order of their names.<|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 (year INTEGER, position VARCHAR)", "role": "system" }, { "content": "What is the most recent year with a position of 3rd?", "role": "user" }, { "content": "SELECT MAX(year) FROM table_name_68 WHERE position = \"3rd\"", "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 (year INTEGER, position VARCHAR)<|im_end|> <|im_start|>user What is the most recent year with a position of 3rd?<|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 player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR)", "role": "system" }, { "content": "What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?", "role": "user" }, { "content": "SELECT MAX(T1.HS), pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos", "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 player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR)<|im_end|> <|im_start|>user What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?<|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_25572118_1 (date VARCHAR, series VARCHAR)", "role": "system" }, { "content": "When emt 9 is the series what is the date?", "role": "user" }, { "content": "SELECT date FROM table_25572118_1 WHERE series = \"EMT 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_25572118_1 (date VARCHAR, series VARCHAR)<|im_end|> <|im_start|>user When emt 9 is the series what is the date?<|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 (rookie_of_the_year VARCHAR, season VARCHAR)", "role": "system" }, { "content": "Who was the Rookie of the Year for the Season in 2000?", "role": "user" }, { "content": "SELECT rookie_of_the_year FROM table_name_72 WHERE season = 2000", "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 (rookie_of_the_year VARCHAR, season VARCHAR)<|im_end|> <|im_start|>user Who was the Rookie of the Year for the Season in 2000?<|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 film_category (category_id VARCHAR, film_id VARCHAR); CREATE TABLE film (film_id VARCHAR, title VARCHAR); CREATE TABLE category (name VARCHAR, category_id VARCHAR)", "role": "system" }, { "content": "What is the genre name of the film HUNGER ROOF?", "role": "user" }, { "content": "SELECT T1.name FROM category AS T1 JOIN film_category AS T2 ON T1.category_id = T2.category_id JOIN film AS T3 ON T2.film_id = T3.film_id WHERE T3.title = 'HUNGER ROOF'", "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 film_category (category_id VARCHAR, film_id VARCHAR); CREATE TABLE film (film_id VARCHAR, title VARCHAR); CREATE TABLE category (name VARCHAR, category_id VARCHAR)<|im_end|> <|im_start|>user What is the genre name of the film HUNGER ROOF?<|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 (played VARCHAR, drawn VARCHAR, position VARCHAR)", "role": "system" }, { "content": "How many played have 3 as the drawn, and a position greater than 4?", "role": "user" }, { "content": "SELECT COUNT(played) FROM table_name_25 WHERE drawn = 3 AND position > 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_25 (played VARCHAR, drawn VARCHAR, position VARCHAR)<|im_end|> <|im_start|>user How many played have 3 as the drawn, and a position greater than 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_92 (losses INTEGER, wins INTEGER)", "role": "system" }, { "content": "Which Losses is the lowest one that has Wins smaller than 0?", "role": "user" }, { "content": "SELECT MIN(losses) FROM table_name_92 WHERE wins < 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_name_92 (losses INTEGER, wins INTEGER)<|im_end|> <|im_start|>user Which Losses is the lowest one that has Wins smaller than 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_1965650_8 (nhl_team VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What NHL team does Denis Desgagnes play for?", "role": "user" }, { "content": "SELECT nhl_team FROM table_1965650_8 WHERE player = \"Denis Desgagnes\"", "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_1965650_8 (nhl_team VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What NHL team does Denis Desgagnes play for?<|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_16 (race VARCHAR, replica VARCHAR)", "role": "system" }, { "content": "Which race has a replica of DNF?", "role": "user" }, { "content": "SELECT race FROM table_name_16 WHERE replica = \"dnf\"", "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_16 (race VARCHAR, replica VARCHAR)<|im_end|> <|im_start|>user Which race has a replica of DNF?<|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 (podium INTEGER, pole INTEGER)", "role": "system" }, { "content": "Pole smaller than 0 had what lowest podium?", "role": "user" }, { "content": "SELECT MIN(podium) FROM table_name_92 WHERE pole < 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_name_92 (podium INTEGER, pole INTEGER)<|im_end|> <|im_start|>user Pole smaller than 0 had what lowest podium?<|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 (to_par VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is To Par, when Player is Greg Norman?", "role": "user" }, { "content": "SELECT to_par FROM table_name_65 WHERE player = \"greg norman\"", "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 (to_par VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is To Par, when Player is Greg Norman?<|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_95 (hdtv VARCHAR, television_service VARCHAR)", "role": "system" }, { "content": "What is HDTV, when Television service is cartello promozionale sky hd?", "role": "user" }, { "content": "SELECT hdtv FROM table_name_95 WHERE 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_95 (hdtv VARCHAR, television_service VARCHAR)<|im_end|> <|im_start|>user What is HDTV, 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_1341577_43 (incumbent VARCHAR, candidates VARCHAR)", "role": "system" }, { "content": "Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?", "role": "user" }, { "content": "SELECT incumbent FROM table_1341577_43 WHERE candidates = \"Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%\"", "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_1341577_43 (incumbent VARCHAR, candidates VARCHAR)<|im_end|> <|im_start|>user Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?<|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_26919_7 (akkadian VARCHAR, geez VARCHAR)", "role": "system" }, { "content": "if the geez is libb, what is the akkadian?", "role": "user" }, { "content": "SELECT akkadian FROM table_26919_7 WHERE geez = \"libb\"", "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_26919_7 (akkadian VARCHAR, geez VARCHAR)<|im_end|> <|im_start|>user if the geez is libb, what is the akkadian?<|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 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR, long VARCHAR)", "role": "system" }, { "content": "How much Loss has a Gain smaller than 1571, and a Long smaller than 47, and an Avg/G of 36.4?", "role": "user" }, { "content": "SELECT COUNT(loss) FROM table_name_27 WHERE gain < 1571 AND long < 47 AND avg_g = 36.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_27 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR, long VARCHAR)<|im_end|> <|im_start|>user How much Loss has a Gain smaller than 1571, and a Long smaller than 47, and an Avg/G of 36.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 artist (name VARCHAR, year_join VARCHAR, country VARCHAR)", "role": "system" }, { "content": "Show all artist names and the year joined who are not from United States.", "role": "user" }, { "content": "SELECT name, year_join FROM artist WHERE country <> 'United States'", "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 artist (name VARCHAR, year_join VARCHAR, country VARCHAR)<|im_end|> <|im_start|>user Show all artist names and the year joined who are not from United States.<|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_24431348_18 (points VARCHAR, seed VARCHAR)", "role": "system" }, { "content": "What the total amount of points won during seed 25?", "role": "user" }, { "content": "SELECT COUNT(points) AS won FROM table_24431348_18 WHERE seed = 25", "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_24431348_18 (points VARCHAR, seed VARCHAR)<|im_end|> <|im_start|>user What the total amount of points won during seed 25?<|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_20 (play VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Name the play for 1976", "role": "user" }, { "content": "SELECT play FROM table_name_20 WHERE year = 1976", "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_20 (play VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Name the play for 1976<|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_20061872_1 (year__ceremony_ VARCHAR, original_title VARCHAR)", "role": "system" }, { "content": "When was the film Här har du ditt liv used in nomination?", "role": "user" }, { "content": "SELECT year__ceremony_ FROM table_20061872_1 WHERE original_title = \"Här har du ditt liv\"", "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_20061872_1 (year__ceremony_ VARCHAR, original_title VARCHAR)<|im_end|> <|im_start|>user When was the film Här har du ditt liv used in nomination?<|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_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)", "role": "system" }, { "content": "What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?", "role": "user" }, { "content": "SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = \"santa cruz\" AND s_barangay > 82", "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_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)<|im_end|> <|im_start|>user What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?<|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_18733814_2 (general_classification VARCHAR, winner VARCHAR)", "role": "system" }, { "content": "When danilo di luca is the winner who is the general classification? ", "role": "user" }, { "content": "SELECT general_classification FROM table_18733814_2 WHERE winner = \"Danilo Di Luca\"", "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_18733814_2 (general_classification VARCHAR, winner VARCHAR)<|im_end|> <|im_start|>user When danilo di luca is the winner who is the general classification? <|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_25177625_1 (height VARCHAR, position VARCHAR, year VARCHAR)", "role": "system" }, { "content": "What was the height of this Freshman with a forward position?", "role": "user" }, { "content": "SELECT height FROM table_25177625_1 WHERE position = \"Forward\" AND year = \"Freshman\"", "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_25177625_1 (height VARCHAR, position VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user What was the height of this Freshman with a forward 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_name_73 (island VARCHAR, age___ma__ VARCHAR)", "role": "system" }, { "content": "Name the island with age ma of 1.0", "role": "user" }, { "content": "SELECT island FROM table_name_73 WHERE age___ma__ = \"1.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_name_73 (island VARCHAR, age___ma__ VARCHAR)<|im_end|> <|im_start|>user Name the island with age ma of 1.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_2508633_4 (position VARCHAR, nfl_team VARCHAR)", "role": "system" }, { "content": "What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?", "role": "user" }, { "content": "SELECT position FROM table_2508633_4 WHERE nfl_team = \"New Orleans Saints\"", "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_2508633_4 (position VARCHAR, nfl_team VARCHAR)<|im_end|> <|im_start|>user What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?<|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_41 (year VARCHAR, producer VARCHAR, title VARCHAR)", "role": "system" }, { "content": "Which Year has a Producer of viva films, and a Title of magkapatid?", "role": "user" }, { "content": "SELECT year FROM table_name_41 WHERE producer = \"viva films\" AND title = \"magkapatid\"", "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_41 (year VARCHAR, producer VARCHAR, title VARCHAR)<|im_end|> <|im_start|>user Which Year has a Producer of viva films, and a Title of magkapatid?<|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_9 (class VARCHAR, year VARCHAR, road_number VARCHAR)", "role": "system" }, { "content": "Which class starts after 1939 and has a road number smaller than 3508?", "role": "user" }, { "content": "SELECT class FROM table_name_9 WHERE year > 1939 AND road_number < 3508", "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_9 (class VARCHAR, year VARCHAR, road_number VARCHAR)<|im_end|> <|im_start|>user Which class starts after 1939 and has a road number smaller than 3508?<|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_69 (date VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What date did the International Gold Cup take place?", "role": "user" }, { "content": "SELECT date FROM table_name_69 WHERE name = \"international gold cup\"", "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_69 (date VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What date did the International Gold Cup take place?<|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_22892217_4 (nightly_rank INTEGER)", "role": "system" }, { "content": "What is the highest numbered nightly rank for any episode? ", "role": "user" }, { "content": "SELECT MAX(nightly_rank) FROM table_22892217_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_22892217_4 (nightly_rank INTEGER)<|im_end|> <|im_start|>user What is the highest numbered nightly rank for any episode? <|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 (year VARCHAR, english_title VARCHAR)", "role": "system" }, { "content": "English title of amélie had what year?", "role": "user" }, { "content": "SELECT year FROM table_name_87 WHERE english_title = \"amélie\"", "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 (year VARCHAR, english_title VARCHAR)<|im_end|> <|im_start|>user English title of amélie had what year?<|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_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR)", "role": "system" }, { "content": "What was the date of the away game that they lost to Accrington?", "role": "user" }, { "content": "SELECT date FROM table_name_6 WHERE venue = \"away\" AND win_draw_lose = \"lost\" AND team = \"accrington\"", "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_6 (date VARCHAR, team VARCHAR, venue VARCHAR, win_draw_lose VARCHAR)<|im_end|> <|im_start|>user What was the date of the away game that they lost to Accrington?<|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_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)", "role": "system" }, { "content": "When is the date of vacancy of Davy Fitzgerald being a replacement?", "role": "user" }, { "content": "SELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = \"Davy FitzGerald\"", "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_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)<|im_end|> <|im_start|>user When is the date of vacancy of Davy Fitzgerald being a replacement?<|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_99 (competition VARCHAR, notes VARCHAR)", "role": "system" }, { "content": "In which competition(s) did Iljuštšenko jump 1.90 m?", "role": "user" }, { "content": "SELECT competition FROM table_name_99 WHERE notes = \"1.90 m\"", "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_99 (competition VARCHAR, notes VARCHAR)<|im_end|> <|im_start|>user In which competition(s) did Iljuštšenko jump 1.90 m?<|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_2899987_2 (region VARCHAR, owner VARCHAR)", "role": "system" }, { "content": "Which regions are owned by estado de tabasco?", "role": "user" }, { "content": "SELECT region FROM table_2899987_2 WHERE owner = \"Estado de Tabasco\"", "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_2899987_2 (region VARCHAR, owner VARCHAR)<|im_end|> <|im_start|>user Which regions are owned by estado de tabasco?<|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 (away_team VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "Who was the Away team at Arden Street Oval?", "role": "user" }, { "content": "SELECT away_team FROM table_name_98 WHERE venue = \"arden street 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_98 (away_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user Who was the Away team at Arden Street 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 station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)", "role": "system" }, { "content": "show the train name and station name for each train.", "role": "user" }, { "content": "SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id", "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 station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)<|im_end|> <|im_start|>user show the train name and station name for each train.<|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_27021001_1 (district VARCHAR, incumbent VARCHAR)", "role": "system" }, { "content": "What is the district with the incumbent Charlie Norwood?", "role": "user" }, { "content": "SELECT district FROM table_27021001_1 WHERE incumbent = \"Charlie Norwood\"", "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_27021001_1 (district VARCHAR, incumbent VARCHAR)<|im_end|> <|im_start|>user What is the district with the incumbent Charlie Norwood?<|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 (attendance INTEGER, date VARCHAR)", "role": "system" }, { "content": "What was the attendance on August 2?", "role": "user" }, { "content": "SELECT MAX(attendance) FROM table_name_28 WHERE date = \"august 2\"", "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 (attendance INTEGER, date VARCHAR)<|im_end|> <|im_start|>user What was the attendance on August 2?<|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_1180228_1 (aspect_ratio VARCHAR, released VARCHAR)", "role": "system" }, { "content": "What is the aspect ratio of the DVD released on 12/10/2009?", "role": "user" }, { "content": "SELECT aspect_ratio FROM table_1180228_1 WHERE released = \"12/10/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_1180228_1 (aspect_ratio VARCHAR, released VARCHAR)<|im_end|> <|im_start|>user What is the aspect ratio of the DVD released on 12/10/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_name_5 (college VARCHAR, position VARCHAR, school VARCHAR)", "role": "system" }, { "content": "What college has a position of defensive line and Grant high school?", "role": "user" }, { "content": "SELECT college FROM table_name_5 WHERE position = \"defensive line\" AND school = \"grant high 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_5 (college VARCHAR, position VARCHAR, school VARCHAR)<|im_end|> <|im_start|>user What college has a position of defensive line and Grant high 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_24565004_2 (appearances¹ INTEGER, name VARCHAR)", "role": "system" }, { "content": "Name the most appearances for bernard allou", "role": "user" }, { "content": "SELECT MAX(appearances¹) FROM table_24565004_2 WHERE name = \"Bernard Allou\"", "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_2 (appearances¹ INTEGER, name VARCHAR)<|im_end|> <|im_start|>user Name the most appearances for bernard allou<|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 Rooms (beds INTEGER, bedtype VARCHAR)", "role": "system" }, { "content": "How many king beds are there?", "role": "user" }, { "content": "SELECT SUM(beds) FROM Rooms WHERE bedtype = 'King'", "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 Rooms (beds INTEGER, bedtype VARCHAR)<|im_end|> <|im_start|>user How many king beds are there?<|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_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)", "role": "system" }, { "content": "During which years was Marcus Banks in Toronto?", "role": "user" }, { "content": "SELECT years_in_toronto FROM table_10015132_2 WHERE player = \"Marcus Banks\"", "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_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user During which years was Marcus Banks in 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_36 (away_team VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "Who was the away team at Lake Oval?", "role": "user" }, { "content": "SELECT away_team FROM table_name_36 WHERE venue = \"lake 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_36 (away_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user Who was the away team at Lake 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_17802778_1 (team VARCHAR, average_speed__mph_ VARCHAR)", "role": "system" }, { "content": "What team(s) enjoyed an average spped (mph) of 138.14?", "role": "user" }, { "content": "SELECT team FROM table_17802778_1 WHERE average_speed__mph_ = \"138.14\"", "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_17802778_1 (team VARCHAR, average_speed__mph_ VARCHAR)<|im_end|> <|im_start|>user What team(s) enjoyed an average spped (mph) of 138.14?<|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 (mascot VARCHAR, enrollment INTEGER)", "role": "system" }, { "content": "What Mascot has an Enrollment greater than 2,464?", "role": "user" }, { "content": "SELECT mascot FROM table_name_23 WHERE enrollment > 2 OFFSET 464", "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 (mascot VARCHAR, enrollment INTEGER)<|im_end|> <|im_start|>user What Mascot has an Enrollment greater than 2,464?<|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 (tier INTEGER, postseason VARCHAR, season VARCHAR)", "role": "system" }, { "content": "What is the average Tier when the postseason shows -, and the season is 2012–13?", "role": "user" }, { "content": "SELECT AVG(tier) FROM table_name_56 WHERE postseason = \"–\" AND season = \"2012–13\"", "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 (tier INTEGER, postseason VARCHAR, season VARCHAR)<|im_end|> <|im_start|>user What is the average Tier when the postseason shows -, and the season is 2012–13?<|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 (score VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "What was the score in Hampden Park, Glasgow?", "role": "user" }, { "content": "SELECT score FROM table_name_68 WHERE venue = \"hampden park, glasgow\"", "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 (score VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user What was the score in Hampden Park, Glasgow?<|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_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR)", "role": "system" }, { "content": "Which Set 1 has a Time of 14:00, and a Set 3 of 19–25?", "role": "user" }, { "content": "SELECT set_1 FROM table_name_22 WHERE time = \"14:00\" AND set_3 = \"19–25\"", "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_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR)<|im_end|> <|im_start|>user Which Set 1 has a Time of 14:00, and a Set 3 of 19–25?<|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 (track VARCHAR, recorded VARCHAR)", "role": "system" }, { "content": "How many tracks were Recorded 1964-01-08?", "role": "user" }, { "content": "SELECT COUNT(track) FROM table_name_75 WHERE recorded = \"1964-01-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_name_75 (track VARCHAR, recorded VARCHAR)<|im_end|> <|im_start|>user How many tracks were Recorded 1964-01-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_46 (enrollment INTEGER, location VARCHAR)", "role": "system" }, { "content": "What is the lowest enrollment that has Lafayette as the location?", "role": "user" }, { "content": "SELECT MIN(enrollment) FROM table_name_46 WHERE location = \"lafayette\"", "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_46 (enrollment INTEGER, location VARCHAR)<|im_end|> <|im_start|>user What is the lowest enrollment that has Lafayette as the location?<|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_12303563_1 (winners INTEGER, nation VARCHAR)", "role": "system" }, { "content": "How many times did kingfisher east bengal fc win?", "role": "user" }, { "content": "SELECT MIN(winners) FROM table_12303563_1 WHERE nation = \"Kingfisher East Bengal FC\"", "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_12303563_1 (winners INTEGER, nation VARCHAR)<|im_end|> <|im_start|>user How many times did kingfisher east bengal fc win?<|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 (club VARCHAR, result VARCHAR, competition VARCHAR, nation VARCHAR, year VARCHAR)", "role": "system" }, { "content": "What is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0–1?", "role": "user" }, { "content": "SELECT club FROM table_name_8 WHERE nation = \"mexico\" AND year = 2010 AND competition = \"preseason\" AND result = \"w 0–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_8 (club VARCHAR, result VARCHAR, competition VARCHAR, nation VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user What is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0–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_28 (away VARCHAR, time VARCHAR)", "role": "system" }, { "content": "What is the Away with a Time that is 14:00?", "role": "user" }, { "content": "SELECT away FROM table_name_28 WHERE time = \"14:00\"", "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 (away VARCHAR, time VARCHAR)<|im_end|> <|im_start|>user What is the Away with a Time that is 14:00?<|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 Albums (label VARCHAR)", "role": "system" }, { "content": "What are all the labels?", "role": "user" }, { "content": "SELECT DISTINCT label FROM Albums", "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 Albums (label VARCHAR)<|im_end|> <|im_start|>user What are all the labels?<|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_1341897_6 (incumbent VARCHAR, district VARCHAR)", "role": "system" }, { "content": "Who was the incumbent in the Arkansas 2 district election? ", "role": "user" }, { "content": "SELECT incumbent FROM table_1341897_6 WHERE district = \"Arkansas 2\"", "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_1341897_6 (incumbent VARCHAR, district VARCHAR)<|im_end|> <|im_start|>user Who was the incumbent in the Arkansas 2 district election? <|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_11497980_1 (power_kw VARCHAR, model VARCHAR)", "role": "system" }, { "content": "What is the power kw@RPM of the 13.180 model?", "role": "user" }, { "content": "SELECT COUNT(power_kw) AS @rpm FROM table_11497980_1 WHERE model = \"13.180\"", "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_11497980_1 (power_kw VARCHAR, model VARCHAR)<|im_end|> <|im_start|>user What is the power kw@RPM of the 13.180 model?<|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 (height_ft___m__ VARCHAR, floors VARCHAR)", "role": "system" }, { "content": "Which height, in meters, has 36 floors?", "role": "user" }, { "content": "SELECT height_ft___m__ FROM table_name_93 WHERE floors = 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_93 (height_ft___m__ VARCHAR, floors VARCHAR)<|im_end|> <|im_start|>user Which height, in meters, has 36 floors?<|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_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR)", "role": "system" }, { "content": "What city had a rank before 3 and primary carrier JetBlue Airways?", "role": "user" }, { "content": "SELECT city FROM table_name_78 WHERE rank < 3 AND carriers = \"jetblue airways\"", "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_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR)<|im_end|> <|im_start|>user What city had a rank before 3 and primary carrier JetBlue Airways?<|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 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)", "role": "system" }, { "content": "Which Source has a Clinton of 39% and a Undecided of 7%?", "role": "user" }, { "content": "SELECT source FROM table_name_94 WHERE clinton = \"39%\" AND undecided = \"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_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)<|im_end|> <|im_start|>user Which Source has a Clinton of 39% and a Undecided of 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_24101118_1 (processor VARCHAR, model__list_ VARCHAR)", "role": "system" }, { "content": "what is the name of the processor for model x33x0?", "role": "user" }, { "content": "SELECT processor FROM table_24101118_1 WHERE model__list_ = \"X33x0\"", "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_24101118_1 (processor VARCHAR, model__list_ VARCHAR)<|im_end|> <|im_start|>user what is the name of the processor for model x33x0?<|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_1930857_1 (language VARCHAR, year_founded VARCHAR)", "role": "system" }, { "content": "What's the language of classes in the school founded in 1874?", "role": "user" }, { "content": "SELECT language FROM table_1930857_1 WHERE year_founded = \"1874\"", "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_1930857_1 (language VARCHAR, year_founded VARCHAR)<|im_end|> <|im_start|>user What's the language of classes in the school founded in 1874?<|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_59 (round INTEGER, player VARCHAR)", "role": "system" }, { "content": "What round of the draft was Stan Adams selected?", "role": "user" }, { "content": "SELECT AVG(round) FROM table_name_59 WHERE player = \"stan adams\"", "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_59 (round INTEGER, player VARCHAR)<|im_end|> <|im_start|>user What round of the draft was Stan Adams selected?<|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 (runner_up VARCHAR, city VARCHAR)", "role": "system" }, { "content": "Who is the runner-up from Milwaukee?", "role": "user" }, { "content": "SELECT runner_up FROM table_name_27 WHERE city = \"milwaukee\"", "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 (runner_up VARCHAR, city VARCHAR)<|im_end|> <|im_start|>user Who is the runner-up from Milwaukee?<|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_19852975_4 (season__number INTEGER, writer_s_ VARCHAR)", "role": "system" }, { "content": "From writer Denne Bart Petitclerc, what is the maximum season number?", "role": "user" }, { "content": "SELECT MAX(season__number) FROM table_19852975_4 WHERE writer_s_ = \"Denne Bart Petitclerc\"", "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_19852975_4 (season__number INTEGER, writer_s_ VARCHAR)<|im_end|> <|im_start|>user From writer Denne Bart Petitclerc, what is the maximum season number?<|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 (pick VARCHAR, college VARCHAR, overall VARCHAR)", "role": "system" }, { "content": "How many Picks have a College of hawaii, and an Overall smaller than 122?", "role": "user" }, { "content": "SELECT COUNT(pick) FROM table_name_51 WHERE college = \"hawaii\" AND overall < 122", "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 (pick VARCHAR, college VARCHAR, overall VARCHAR)<|im_end|> <|im_start|>user How many Picks have a College of hawaii, and an Overall smaller than 122?<|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_27961684_1 (team_name VARCHAR, city VARCHAR)", "role": "system" }, { "content": "What team is in the city of Rock Island?", "role": "user" }, { "content": "SELECT team_name FROM table_27961684_1 WHERE city = \"Rock Island\"", "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_27961684_1 (team_name VARCHAR, city VARCHAR)<|im_end|> <|im_start|>user What team is in the city of Rock Island?<|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_23281862_10 (date VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Name the total number of date for score being l 106–116 (ot)", "role": "user" }, { "content": "SELECT COUNT(date) FROM table_23281862_10 WHERE score = \"L 106–116 (OT)\"", "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_23281862_10 (date VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user Name the total number of date for score being l 106–116 (ot)<|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_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)", "role": "system" }, { "content": "Who was the vacator when the successor was formally installed on February 1, 1871?", "role": "user" }, { "content": "SELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = \"February 1, 1871\"", "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_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)<|im_end|> <|im_start|>user Who was the vacator when the successor was formally installed on February 1, 1871?<|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_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)", "role": "system" }, { "content": "If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?", "role": "user" }, { "content": "SELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = \"yamaha\"", "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_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)<|im_end|> <|im_start|>user If the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?<|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_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR)", "role": "system" }, { "content": "what's the frequency mhz with city of license being chattanooga, tennessee", "role": "user" }, { "content": "SELECT frequency_mhz FROM table_13998897_1 WHERE city_of_license = \"Chattanooga, Tennessee\"", "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_13998897_1 (frequency_mhz VARCHAR, city_of_license VARCHAR)<|im_end|> <|im_start|>user what's the frequency mhz with city of license being chattanooga, tennessee<|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 (director VARCHAR, title VARCHAR, result VARCHAR)", "role": "system" }, { "content": "Who is the director with the Min Dally Nseek title, and won?", "role": "user" }, { "content": "SELECT director FROM table_name_57 WHERE title = \"min dally nseek\" AND result = \"won\"", "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 (director VARCHAR, title VARCHAR, result VARCHAR)<|im_end|> <|im_start|>user Who is the director with the Min Dally Nseek title, and won?<|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 (surface VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Which Surface has a Date of january 2, 2006?", "role": "user" }, { "content": "SELECT surface FROM table_name_68 WHERE date = \"january 2, 2006\"", "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 (surface VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Which Surface has a Date of january 2, 2006?<|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_41 (gold INTEGER, bronze VARCHAR, silver VARCHAR, event VARCHAR)", "role": "system" }, { "content": "what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?", "role": "user" }, { "content": "SELECT AVG(gold) FROM table_name_41 WHERE silver = 1 AND event = \"2000 summer paralympics\" AND bronze > 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_41 (gold INTEGER, bronze VARCHAR, silver VARCHAR, event VARCHAR)<|im_end|> <|im_start|>user what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?<|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_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was Saskatoon Accelerators score on January 6, 2008?", "role": "user" }, { "content": "SELECT score FROM table_name_66 WHERE home_team = \"saskatoon accelerators\" AND date = \"january 6, 2008\"", "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_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What was Saskatoon Accelerators score on January 6, 2008?<|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_58 (city VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What city did Yugoslavia play against Poland in?", "role": "user" }, { "content": "SELECT city FROM table_name_58 WHERE opponent = \"poland\"", "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_58 (city VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user What city did Yugoslavia play against Poland in?<|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_24521345_1 (composer VARCHAR, conductor VARCHAR)", "role": "system" }, { "content": "Who composed the work conducted by jaroslav Vogel? ", "role": "user" }, { "content": "SELECT composer FROM table_24521345_1 WHERE conductor = \"Jaroslav Vogel\"", "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_24521345_1 (composer VARCHAR, conductor VARCHAR)<|im_end|> <|im_start|>user Who composed the work conducted by jaroslav Vogel? <|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_74 (lost INTEGER, points VARCHAR, difference VARCHAR)", "role": "system" }, { "content": "What is the most lost games for the team with a difference smaller than 86 and points of 32?", "role": "user" }, { "content": "SELECT MAX(lost) FROM table_name_74 WHERE points = 32 AND difference < 86", "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_74 (lost INTEGER, points VARCHAR, difference VARCHAR)<|im_end|> <|im_start|>user What is the most lost games for the team with a difference smaller than 86 and points of 32?<|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 (area INTEGER, population VARCHAR, density VARCHAR, rank VARCHAR)", "role": "system" }, { "content": "What is the lowest area when the density is greater than 234.77, the population is less than 965,040, and the rank is 32?", "role": "user" }, { "content": "SELECT MIN(area) FROM table_name_75 WHERE density > 234.77 AND rank = 32 AND population < 965 OFFSET 040", "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 (area INTEGER, population VARCHAR, density VARCHAR, rank VARCHAR)<|im_end|> <|im_start|>user What is the lowest area when the density is greater than 234.77, the population is less than 965,040, and the rank is 32?<|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_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "What game has valiquette as the decision, with @ los angeles kings as the opponent?", "role": "user" }, { "content": "SELECT game FROM table_name_96 WHERE decision = \"valiquette\" AND opponent = \"@ los angeles kings\"", "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_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user What game has valiquette as the decision, with @ los angeles kings as the opponent?<|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 (engine VARCHAR, entrant VARCHAR)", "role": "system" }, { "content": "What engine does Garvey Team Lotus use?", "role": "user" }, { "content": "SELECT engine FROM table_name_50 WHERE entrant = \"garvey team lotus\"", "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 (engine VARCHAR, entrant VARCHAR)<|im_end|> <|im_start|>user What engine does Garvey Team Lotus use?<|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_1341577_10 (incumbent VARCHAR, district VARCHAR)", "role": "system" }, { "content": "what's incumbent with district being florida 5", "role": "user" }, { "content": "SELECT incumbent FROM table_1341577_10 WHERE district = \"Florida 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_1341577_10 (incumbent VARCHAR, district VARCHAR)<|im_end|> <|im_start|>user what's incumbent with district being florida 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 table_name_77 (home VARCHAR, record VARCHAR)", "role": "system" }, { "content": "What team was home, when the record was 24–16–6?", "role": "user" }, { "content": "SELECT home FROM table_name_77 WHERE record = \"24–16–6\"", "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 (home VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user What team was home, when the record was 24–16–6?<|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_24786958_2 (game_site VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Where was the game played that was on Sunday, May 27?", "role": "user" }, { "content": "SELECT game_site FROM table_24786958_2 WHERE date = \"Sunday, May 27\"", "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_24786958_2 (game_site VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Where was the game played that was on Sunday, May 27?<|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_2013618_1 (traditional VARCHAR, simplified VARCHAR)", "role": "system" }, { "content": "Name the traditional for 屏南县", "role": "user" }, { "content": "SELECT traditional FROM table_2013618_1 WHERE simplified = \"屏南县\"", "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_2013618_1 (traditional VARCHAR, simplified VARCHAR)<|im_end|> <|im_start|>user Name the traditional for 屏南县<|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_1157867_2 (date_built VARCHAR, wheel_arrangement VARCHAR, builder VARCHAR)", "role": "system" }, { "content": "On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?", "role": "user" }, { "content": "SELECT date_built FROM table_1157867_2 WHERE wheel_arrangement = \"0-6-0 ST\" AND builder = \"Hudswell Clarke\"", "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_1157867_2 (date_built VARCHAR, wheel_arrangement VARCHAR, builder VARCHAR)<|im_end|> <|im_start|>user On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?<|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_13 (place INTEGER, lost INTEGER)", "role": "system" }, { "content": "what is the average place when lost is more than 12?", "role": "user" }, { "content": "SELECT AVG(place) FROM table_name_13 WHERE lost > 12", "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_13 (place INTEGER, lost INTEGER)<|im_end|> <|im_start|>user what is the average place when lost is more than 12?<|im_end|>