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_16388439_3 (away_team VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "Name the away team score for carlton", "role": "user" }, { "content": "SELECT away_team AS score FROM table_16388439_3 WHERE home_team = \"Carlton\"", "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_16388439_3 (away_team VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user Name the away team score for carlton<|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 (date VARCHAR, points VARCHAR, game__number VARCHAR)", "role": "system" }, { "content": "Which Date has Points smaller than 85 and a Game # of 74?", "role": "user" }, { "content": "SELECT date FROM table_name_36 WHERE points < 85 AND game__number = 74", "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 (date VARCHAR, points VARCHAR, game__number VARCHAR)<|im_end|> <|im_start|>user Which Date has Points smaller than 85 and a Game # of 74?<|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 (win__number INTEGER, year VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is the lowest Win #, when Year is \"2011-12\", and when Points is less than 97?", "role": "user" }, { "content": "SELECT MIN(win__number) FROM table_name_27 WHERE year = \"2011-12\" AND points < 97", "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 (win__number INTEGER, year VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user What is the lowest Win #, when Year is "2011-12", and when Points is less than 97?<|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 (total INTEGER, nation VARCHAR, gold VARCHAR)", "role": "system" }, { "content": "The nation of denmark has what average total nad more than 0 gold?", "role": "user" }, { "content": "SELECT AVG(total) FROM table_name_70 WHERE nation = \"denmark\" 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_70 (total INTEGER, nation VARCHAR, gold VARCHAR)<|im_end|> <|im_start|>user The nation of denmark has what average total nad more than 0 gold?<|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_17 (country VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What Country had a Player with a Score of 72-66-72=210?", "role": "user" }, { "content": "SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 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_17 (country VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What Country had a Player with a Score of 72-66-72=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 table_name_23 (branding VARCHAR, owner VARCHAR)", "role": "system" }, { "content": "What is the Branding of the Frequency owned by Sound of Faith Broadcasting Group?", "role": "user" }, { "content": "SELECT branding FROM table_name_23 WHERE owner = \"sound of faith broadcasting group\"", "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 (branding VARCHAR, owner VARCHAR)<|im_end|> <|im_start|>user What is the Branding of the Frequency owned by Sound of Faith Broadcasting Group?<|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 (laps VARCHAR, start VARCHAR)", "role": "system" }, { "content": "How many laps have 1 as the start?", "role": "user" }, { "content": "SELECT COUNT(laps) FROM table_name_25 WHERE start = \"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_25 (laps VARCHAR, start VARCHAR)<|im_end|> <|im_start|>user How many laps have 1 as the start?<|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 (player VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Who had a score of 68-67=135?", "role": "user" }, { "content": "SELECT player FROM table_name_98 WHERE score = 68 - 67 = 135", "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 (player VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user Who had a score of 68-67=135?<|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_13403120_1 (writer_s_ VARCHAR, prodcode VARCHAR)", "role": "system" }, { "content": "who is the writer of the episode with prod.code 30-17", "role": "user" }, { "content": "SELECT writer_s_ FROM table_13403120_1 WHERE prodcode = \"30-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_13403120_1 (writer_s_ VARCHAR, prodcode VARCHAR)<|im_end|> <|im_start|>user who is the writer of the episode with prod.code 30-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_36 (round INTEGER, overall VARCHAR, pick VARCHAR)", "role": "system" }, { "content": "What is the highest round that has an overall of 143 and a pick greater than 6?", "role": "user" }, { "content": "SELECT MAX(round) FROM table_name_36 WHERE overall = 143 AND pick > 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_36 (round INTEGER, overall VARCHAR, pick VARCHAR)<|im_end|> <|im_start|>user What is the highest round that has an overall of 143 and a pick greater 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_79 (event VARCHAR, year VARCHAR, athlete VARCHAR)", "role": "system" }, { "content": "What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?", "role": "user" }, { "content": "SELECT event FROM table_name_79 WHERE year < 1964 AND athlete = \"lászló tábori gunnar nielsen\"", "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 (event VARCHAR, year VARCHAR, athlete VARCHAR)<|im_end|> <|im_start|>user What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?<|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_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)", "role": "system" }, { "content": "What was the max character (per page row) of the encoding with a bit rate of 6.203?", "role": "user" }, { "content": "SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = \"6.203\"", "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_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)<|im_end|> <|im_start|>user What was the max character (per page row) of the encoding with a bit rate of 6.203?<|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_3 (k_league_classic VARCHAR, teams INTEGER)", "role": "system" }, { "content": "What K League classic had less than 10 teams?", "role": "user" }, { "content": "SELECT k_league_classic FROM table_name_3 WHERE teams < 10", "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_3 (k_league_classic VARCHAR, teams INTEGER)<|im_end|> <|im_start|>user What K League classic had less than 10 teams?<|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 CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)", "role": "system" }, { "content": "List all characteristics of product named \"sesame\" with type code \"Grade\".", "role": "user" }, { "content": "SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = \"sesame\" AND t3.characteristic_type_code = \"Grade\"", "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 CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)<|im_end|> <|im_start|>user List all characteristics of product named "sesame" with type code "Grade".<|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_2668378_5 (first_elected VARCHAR, district VARCHAR)", "role": "system" }, { "content": "Name the first elected for kentucky 1", "role": "user" }, { "content": "SELECT first_elected FROM table_2668378_5 WHERE district = \"Kentucky 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_2668378_5 (first_elected VARCHAR, district VARCHAR)<|im_end|> <|im_start|>user Name the first elected for kentucky 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_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR)", "role": "system" }, { "content": "What's the sales breakdown for Nintendo's Mario Kart DS?", "role": "user" }, { "content": "SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = \"Nintendo\" AND title = \"Mario Kart DS\"", "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_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR)<|im_end|> <|im_start|>user What's the sales breakdown for Nintendo's Mario Kart DS?<|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 (total INTEGER, player VARCHAR, to_par VARCHAR)", "role": "system" }, { "content": "What was Gary Player's highest total when his To par was over 15?", "role": "user" }, { "content": "SELECT MAX(total) FROM table_name_41 WHERE player = \"gary player\" AND to_par > 15", "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 (total INTEGER, player VARCHAR, to_par VARCHAR)<|im_end|> <|im_start|>user What was Gary Player's highest total when his To par was over 15?<|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 (frequency VARCHAR, branding VARCHAR)", "role": "system" }, { "content": "What is the frequency for the station with the branding of 94dot3 home radio Palawan?", "role": "user" }, { "content": "SELECT frequency FROM table_name_74 WHERE branding = \"94dot3 home radio palawan\"", "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 (frequency VARCHAR, branding VARCHAR)<|im_end|> <|im_start|>user What is the frequency for the station with the branding of 94dot3 home radio Palawan?<|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_48 (competition VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Name the competition that was on august 25, 2007", "role": "user" }, { "content": "SELECT competition FROM table_name_48 WHERE date = \"august 25, 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_name_48 (competition VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Name the competition that was on august 25, 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_10602294_1 (damage__usd_ VARCHAR, pressure VARCHAR)", "role": "system" }, { "content": "What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?", "role": "user" }, { "content": "SELECT damage__usd_ FROM table_10602294_1 WHERE pressure = \"1003hPa (29.62inHg)\"", "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_10602294_1 (damage__usd_ VARCHAR, pressure VARCHAR)<|im_end|> <|im_start|>user What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?<|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_42 (event VARCHAR, time VARCHAR)", "role": "system" }, { "content": "What event had a time of 6:37.73?", "role": "user" }, { "content": "SELECT event FROM table_name_42 WHERE time = \"6:37.73\"", "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_42 (event VARCHAR, time VARCHAR)<|im_end|> <|im_start|>user What event had a time of 6:37.73?<|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 (home VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the home team of the game on April 20?", "role": "user" }, { "content": "SELECT home FROM table_name_95 WHERE date = \"april 20\"", "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 (home VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is the home team of the game on April 20?<|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_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)", "role": "system" }, { "content": "what's the report with fastest lap being felipe massa and winning driver being jenson button", "role": "user" }, { "content": "SELECT report FROM table_12161822_5 WHERE fastest_lap = \"Felipe Massa\" AND winning_driver = \"Jenson Button\"", "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_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)<|im_end|> <|im_start|>user what's the report with fastest lap being felipe massa and winning driver being jenson button<|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 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)", "role": "system" }, { "content": "How many bronze medals has a total less than 3 with a silver less than 1 and gold more than 1?", "role": "user" }, { "content": "SELECT AVG(bronze) FROM table_name_66 WHERE total < 3 AND silver < 1 AND gold > 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_66 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)<|im_end|> <|im_start|>user How many bronze medals has a total less than 3 with a silver less than 1 and gold more 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_name_38 (label VARCHAR, format VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Which label had a CD format and a date of June 25, 2002?", "role": "user" }, { "content": "SELECT label FROM table_name_38 WHERE format = \"cd\" AND date = \"june 25, 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_38 (label VARCHAR, format VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Which label had a CD format and a date of June 25, 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_24912693_4 (points VARCHAR, steals VARCHAR)", "role": "system" }, { "content": "How many points does the player with 2 steals have?", "role": "user" }, { "content": "SELECT points FROM table_24912693_4 WHERE steals = 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_24912693_4 (points VARCHAR, steals VARCHAR)<|im_end|> <|im_start|>user How many points does the player with 2 steals 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_29960651_5 (episode VARCHAR, no_for_series VARCHAR)", "role": "system" }, { "content": "What is the episode name for series number 45?", "role": "user" }, { "content": "SELECT episode FROM table_29960651_5 WHERE no_for_series = 45", "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_29960651_5 (episode VARCHAR, no_for_series VARCHAR)<|im_end|> <|im_start|>user What is the episode name for series number 45?<|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 Employees (employee_id VARCHAR, role_code VARCHAR); CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR)", "role": "system" }, { "content": "Show the employee ids for all employees with role name \"Human Resource\" or \"Manager\".", "role": "user" }, { "content": "SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = \"Human Resource\" OR T2.role_name = \"Manager\"", "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 Employees (employee_id VARCHAR, role_code VARCHAR); CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR)<|im_end|> <|im_start|>user Show the employee ids for all employees with role name "Human Resource" or "Manager".<|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 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR)", "role": "system" }, { "content": "Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997?", "role": "user" }, { "content": "SELECT constituency FROM table_name_41 WHERE party = \"alliance\" AND election < 1997 AND position = 2 AND candidate = \"seamus close\"", "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 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR)<|im_end|> <|im_start|>user Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997?<|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 (catalog VARCHAR, region VARCHAR)", "role": "system" }, { "content": "What is the Catalog with a Region that is europe?", "role": "user" }, { "content": "SELECT catalog FROM table_name_56 WHERE region = \"europe\"", "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 (catalog VARCHAR, region VARCHAR)<|im_end|> <|im_start|>user What is the Catalog with a Region that is europe?<|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_88 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR, location VARCHAR, rna_segment__gene_ VARCHAR)", "role": "system" }, { "content": "What is the number of copies per particle having a nonstructural location, an RNA segment over 5 and a base pair size under 751?", "role": "user" }, { "content": "SELECT copies_per_particle FROM table_name_88 WHERE location = \"nonstructural\" AND rna_segment__gene_ > 5 AND size___s_base_pair__ < 751", "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_88 (copies_per_particle VARCHAR, size___s_base_pair__ VARCHAR, location VARCHAR, rna_segment__gene_ VARCHAR)<|im_end|> <|im_start|>user What is the number of copies per particle having a nonstructural location, an RNA segment over 5 and a base pair size under 751?<|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 (inclination VARCHAR, mass VARCHAR)", "role": "system" }, { "content": "What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕?", "role": "user" }, { "content": "SELECT inclination FROM table_name_9 WHERE mass = \"≥ 6.6 +1.1 −1.0 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_9 (inclination VARCHAR, mass VARCHAR)<|im_end|> <|im_start|>user What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 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_name_86 (score VARCHAR, competition VARCHAR)", "role": "system" }, { "content": "What is the Score of the Fifa World Cup 1986 Qualifying Competition?", "role": "user" }, { "content": "SELECT score FROM table_name_86 WHERE competition = \"fifa world cup 1986 qualifying\"", "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 (score VARCHAR, competition VARCHAR)<|im_end|> <|im_start|>user What is the Score of the Fifa World Cup 1986 Qualifying Competition?<|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_7 (player VARCHAR, place VARCHAR, score VARCHAR)", "role": "system" }, { "content": "Who is the player with a t6 place and a 72-68-72=212 score?", "role": "user" }, { "content": "SELECT player FROM table_name_7 WHERE place = \"t6\" AND score = 72 - 68 - 72 = 212", "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_7 (player VARCHAR, place VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user Who is the player with a t6 place and a 72-68-72=212 score?<|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 (moving_to VARCHAR, country VARCHAR)", "role": "system" }, { "content": "WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?", "role": "user" }, { "content": "SELECT moving_to FROM table_name_27 WHERE country = \"bel\"", "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 (moving_to VARCHAR, country VARCHAR)<|im_end|> <|im_start|>user WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?<|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_17928023_1 (result VARCHAR, game_site VARCHAR)", "role": "system" }, { "content": "For game site Schaefer Stadium, what were the results?", "role": "user" }, { "content": "SELECT result FROM table_17928023_1 WHERE game_site = \"Schaefer Stadium\"", "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_17928023_1 (result VARCHAR, game_site VARCHAR)<|im_end|> <|im_start|>user For game site Schaefer Stadium, what were the results?<|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 (suffix VARCHAR, prefix VARCHAR)", "role": "system" }, { "content": "Which item has the suffix containing thiocyanato- (-scn) as a prefix?", "role": "user" }, { "content": "SELECT suffix FROM table_name_77 WHERE prefix = \"thiocyanato- (-scn)\"", "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 (suffix VARCHAR, prefix VARCHAR)<|im_end|> <|im_start|>user Which item has the suffix containing thiocyanato- (-scn) as a prefix?<|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_28211988_1 (womens_singles VARCHAR, season VARCHAR)", "role": "system" }, { "content": "How many people are women's singles in the season of 2000/01?", "role": "user" }, { "content": "SELECT COUNT(womens_singles) FROM table_28211988_1 WHERE season = \"2000/01\"", "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_28211988_1 (womens_singles VARCHAR, season VARCHAR)<|im_end|> <|im_start|>user How many people are women's singles in the season of 2000/01?<|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 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)", "role": "system" }, { "content": "Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards", "role": "user" }, { "content": "SELECT cole FROM table_name_94 WHERE year < 2009 AND dylan = \"nominated\" AND work = \"big daddy\" AND award = \"mtv movie awards\"", "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 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)<|im_end|> <|im_start|>user Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards<|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 (visitor VARCHAR, decision VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who was the visitor on november 14 with leclaire recording the decision?", "role": "user" }, { "content": "SELECT visitor FROM table_name_43 WHERE decision = \"leclaire\" AND date = \"november 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_name_43 (visitor VARCHAR, decision VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who was the visitor on november 14 with leclaire recording the decision?<|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 (location VARCHAR, year VARCHAR)", "role": "system" }, { "content": "What is the location for 2012?", "role": "user" }, { "content": "SELECT location FROM table_name_13 WHERE year = 2012", "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 (location VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user What is the location for 2012?<|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_62 (partner VARCHAR, tournament_name VARCHAR)", "role": "system" }, { "content": "Who was the Partner in the United Airlines Tournament (1)?", "role": "user" }, { "content": "SELECT partner FROM table_name_62 WHERE tournament_name = \"united airlines tournament (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_62 (partner VARCHAR, tournament_name VARCHAR)<|im_end|> <|im_start|>user Who was the Partner in the United Airlines Tournament (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_88 (gold VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)", "role": "system" }, { "content": "How many gold medals were won by the nation that won over 4 silver medals, over 14 bronze, and 97 medals total?", "role": "user" }, { "content": "SELECT COUNT(gold) FROM table_name_88 WHERE silver > 4 AND bronze > 14 AND total = 97", "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_88 (gold VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)<|im_end|> <|im_start|>user How many gold medals were won by the nation that won over 4 silver medals, over 14 bronze, and 97 medals total?<|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 (cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR, labour_panel VARCHAR)", "role": "system" }, { "content": "How many in the cultural and educational panel have a university of Dublin of 3 & A labor panel larger than 11?", "role": "user" }, { "content": "SELECT COUNT(cultural_and_educational_panel) FROM table_name_41 WHERE university_of_dublin = 3 AND labour_panel > 11", "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 (cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR, labour_panel VARCHAR)<|im_end|> <|im_start|>user How many in the cultural and educational panel have a university of Dublin of 3 & A labor panel larger than 11?<|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 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)", "role": "system" }, { "content": "For the category of most popular star with a result of won for 2007, what was the award?", "role": "user" }, { "content": "SELECT award FROM table_name_27 WHERE result = \"won\" AND category = \"most popular star\" AND year = 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_name_27 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)<|im_end|> <|im_start|>user For the category of most popular star with a result of won for 2007, what was the award?<|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 (opponent VARCHAR, location VARCHAR)", "role": "system" }, { "content": "Who is the opponent at america west arena?", "role": "user" }, { "content": "SELECT opponent FROM table_name_24 WHERE location = \"america west arena\"", "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 (opponent VARCHAR, location VARCHAR)<|im_end|> <|im_start|>user Who is the opponent at america west arena?<|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 (venue VARCHAR, closed VARCHAR)", "role": "system" }, { "content": "Which venues closed in the 1990s?", "role": "user" }, { "content": "SELECT venue FROM table_name_76 WHERE closed = \"1990s\"", "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 (venue VARCHAR, closed VARCHAR)<|im_end|> <|im_start|>user Which venues closed in the 1990s?<|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 (position VARCHAR, team VARCHAR, played VARCHAR)", "role": "system" }, { "content": "How many positions have figueirense as the team, with a played greater than 38?", "role": "user" }, { "content": "SELECT COUNT(position) FROM table_name_39 WHERE team = \"figueirense\" AND played > 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_39 (position VARCHAR, team VARCHAR, played VARCHAR)<|im_end|> <|im_start|>user How many positions have figueirense as the team, with a played greater than 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_2419754_1 (location VARCHAR, nickname VARCHAR)", "role": "system" }, { "content": "List the number of locations for the team known as the billikens.", "role": "user" }, { "content": "SELECT COUNT(location) FROM table_2419754_1 WHERE nickname = \"Billikens\"", "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_2419754_1 (location VARCHAR, nickname VARCHAR)<|im_end|> <|im_start|>user List the number of locations for the team known as the billikens.<|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_19789597_6 (opponent VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who was the game on July 7 played against?", "role": "user" }, { "content": "SELECT opponent FROM table_19789597_6 WHERE date = \"July 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_19789597_6 (opponent VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who was the game on July 7 played against?<|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_19763199_3 (song VARCHAR, total_votes VARCHAR)", "role": "system" }, { "content": "What song has 24 votes?", "role": "user" }, { "content": "SELECT song FROM table_19763199_3 WHERE total_votes = 24", "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_19763199_3 (song VARCHAR, total_votes VARCHAR)<|im_end|> <|im_start|>user What song has 24 votes?<|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_3 (home_team VARCHAR, venue VARCHAR)", "role": "system" }, { "content": "What was the home team score for the game played at Princes Park?", "role": "user" }, { "content": "SELECT home_team AS score FROM table_name_3 WHERE venue = \"princes park\"", "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_3 (home_team VARCHAR, venue VARCHAR)<|im_end|> <|im_start|>user What was the home team score for the game played at Princes Park?<|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 (group_position VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the Group position for the date of 7 November 2007?", "role": "user" }, { "content": "SELECT group_position FROM table_name_9 WHERE date = \"7 november 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_name_9 (group_position VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is the Group position for the date of 7 November 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_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)", "role": "system" }, { "content": "What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?", "role": "user" }, { "content": "SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = \"middlesbrough\" AND result = \"3-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_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)<|im_end|> <|im_start|>user What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-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_9 (time VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "Tell me the time for buffalo bills", "role": "user" }, { "content": "SELECT time FROM table_name_9 WHERE opponent = \"buffalo bills\"", "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 (time VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user Tell me the time for buffalo bills<|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_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)", "role": "system" }, { "content": "If the just ratio is 11:8 and the cents size is 560, what is the interval name?", "role": "user" }, { "content": "SELECT interval_name FROM table_18955077_1 WHERE size__cents_ = 560 AND just_ratio = \"11: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_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)<|im_end|> <|im_start|>user If the just ratio is 11:8 and the cents size is 560, what is the interval name?<|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 (week VARCHAR, result VARCHAR)", "role": "system" }, { "content": "What is the week for Result of w 28-17?", "role": "user" }, { "content": "SELECT week FROM table_name_70 WHERE result = \"w 28-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_70 (week VARCHAR, result VARCHAR)<|im_end|> <|im_start|>user What is the week for Result of w 28-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_1886270_1 (hr_no VARCHAR, hr_name VARCHAR)", "role": "system" }, { "content": "When river ness is the hr name what is the hr number?", "role": "user" }, { "content": "SELECT hr_no FROM table_1886270_1 WHERE hr_name = \"River Ness\"", "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_1886270_1 (hr_no VARCHAR, hr_name VARCHAR)<|im_end|> <|im_start|>user When river ness is the hr name what is the hr 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_53 (district VARCHAR, location VARCHAR)", "role": "system" }, { "content": "What District has a Location of villupuram?", "role": "user" }, { "content": "SELECT district FROM table_name_53 WHERE location = \"villupuram\"", "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 (district VARCHAR, location VARCHAR)<|im_end|> <|im_start|>user What District has a Location of villupuram?<|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 (tennis VARCHAR, school VARCHAR, swimming VARCHAR, golf VARCHAR, soccer VARCHAR)", "role": "system" }, { "content": "What is the status for tennis at cleveland state who has yes for swimming, golf and soccer?", "role": "user" }, { "content": "SELECT tennis FROM table_name_78 WHERE golf = \"yes\" AND soccer = \"yes\" AND swimming = \"yes\" AND school = \"cleveland 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_name_78 (tennis VARCHAR, school VARCHAR, swimming VARCHAR, golf VARCHAR, soccer VARCHAR)<|im_end|> <|im_start|>user What is the status for tennis at cleveland state who has yes for swimming, golf and soccer?<|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_22683369_8 (league INTEGER)", "role": "system" }, { "content": "What was the lowest number of points scored in the league cup?", "role": "user" }, { "content": "SELECT MIN(league) AS Cup FROM table_22683369_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_22683369_8 (league INTEGER)<|im_end|> <|im_start|>user What was the lowest number of points scored in the league cup?<|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_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)", "role": "system" }, { "content": "What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?", "role": "user" }, { "content": "SELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 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_name_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)<|im_end|> <|im_start|>user What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?<|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_33 (money__ INTEGER, round_1 VARCHAR)", "role": "system" }, { "content": "Round 1 of 71 has how many highest money?", "role": "user" }, { "content": "SELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = \"71\"", "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_33 (money__ INTEGER, round_1 VARCHAR)<|im_end|> <|im_start|>user Round 1 of 71 has how many highest money?<|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 (distance__km_ VARCHAR, station VARCHAR)", "role": "system" }, { "content": "What is the distance to funao?", "role": "user" }, { "content": "SELECT distance__km_ FROM table_name_85 WHERE station = \"funao\"", "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 (distance__km_ VARCHAR, station VARCHAR)<|im_end|> <|im_start|>user What is the distance to funao?<|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 (away VARCHAR, ground VARCHAR)", "role": "system" }, { "content": "What is the Away with a Ground that is humber college north?", "role": "user" }, { "content": "SELECT away FROM table_name_9 WHERE ground = \"humber college 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_9 (away VARCHAR, ground VARCHAR)<|im_end|> <|im_start|>user What is the Away with a Ground that is humber college 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_name_82 (game VARCHAR, year VARCHAR, genre VARCHAR)", "role": "system" }, { "content": "What game was before 2010 and was a role-playing game?", "role": "user" }, { "content": "SELECT game FROM table_name_82 WHERE year < 2010 AND genre = \"role-playing game\"", "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 (game VARCHAR, year VARCHAR, genre VARCHAR)<|im_end|> <|im_start|>user What game was before 2010 and was a role-playing 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_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?", "role": "user" }, { "content": "SELECT visitor FROM table_name_97 WHERE home = \"boston bruins\" AND date = \"november 15\"", "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 (visitor VARCHAR, home VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?<|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 (time VARCHAR, country VARCHAR)", "role": "system" }, { "content": "What did Denmark time at?", "role": "user" }, { "content": "SELECT time FROM table_name_87 WHERE country = \"denmark\"", "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 (time VARCHAR, country VARCHAR)<|im_end|> <|im_start|>user What did Denmark time at?<|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 (date VARCHAR, sport VARCHAR, record VARCHAR, time__seconds_ VARCHAR)", "role": "system" }, { "content": "What is the Date, when the Record is, \"track\", when the Time (seconds) is longer than 43.564, and when the Sport is luge - women's singles?", "role": "user" }, { "content": "SELECT date FROM table_name_66 WHERE record = \"track\" AND time__seconds_ > 43.564 AND sport = \"luge - women's singles\"", "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 (date VARCHAR, sport VARCHAR, record VARCHAR, time__seconds_ VARCHAR)<|im_end|> <|im_start|>user What is the Date, when the Record is, "track", when the Time (seconds) is longer than 43.564, and when the Sport is luge - women's singles?<|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_19 (score VARCHAR, h_a_n VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What was the score of the game played on December 17, with a H/A/N of H?", "role": "user" }, { "content": "SELECT score FROM table_name_19 WHERE h_a_n = \"h\" AND date = \"december 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_19 (score VARCHAR, h_a_n VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What was the score of the game played on December 17, with a H/A/N of 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_21761882_4 (date VARCHAR, week VARCHAR)", "role": "system" }, { "content": "What was the date of the game in week 3?", "role": "user" }, { "content": "SELECT date FROM table_21761882_4 WHERE week = 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_21761882_4 (date VARCHAR, week VARCHAR)<|im_end|> <|im_start|>user What was the date of the game in week 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_34 (event VARCHAR, outcome VARCHAR)", "role": "system" }, { "content": "What Event has an Outcome of other open tournaments?", "role": "user" }, { "content": "SELECT event FROM table_name_34 WHERE outcome = \"other open tournaments\"", "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 (event VARCHAR, outcome VARCHAR)<|im_end|> <|im_start|>user What Event has an Outcome of other open tournaments?<|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 (year_s__won VARCHAR, total INTEGER)", "role": "system" }, { "content": "Which Year(s) won has a Total larger than 295?", "role": "user" }, { "content": "SELECT year_s__won FROM table_name_31 WHERE total > 295", "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 (year_s__won VARCHAR, total INTEGER)<|im_end|> <|im_start|>user Which Year(s) won has a Total larger than 295?<|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_88 (calls VARCHAR, frequency VARCHAR)", "role": "system" }, { "content": "Tell me the calls for frequency of 1290 khz", "role": "user" }, { "content": "SELECT calls FROM table_name_88 WHERE frequency = \"1290 khz\"", "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_88 (calls VARCHAR, frequency VARCHAR)<|im_end|> <|im_start|>user Tell me the calls for frequency of 1290 khz<|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 (english_title VARCHAR, romanization VARCHAR)", "role": "system" }, { "content": "What English title for the Romanization of lee jae-su-eui nan?", "role": "user" }, { "content": "SELECT english_title FROM table_name_96 WHERE romanization = \"lee jae-su-eui nan\"", "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 (english_title VARCHAR, romanization VARCHAR)<|im_end|> <|im_start|>user What English title for the Romanization of lee jae-su-eui nan?<|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_1 (college_junior_club_team VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is the college/junior/club team name of player Mats Lindgren?", "role": "user" }, { "content": "SELECT college_junior_club_team FROM table_2781227_1 WHERE player = \"Mats Lindgren\"", "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_1 (college_junior_club_team VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is the college/junior/club team name of player Mats Lindgren?<|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 (tournament VARCHAR, partnering VARCHAR)", "role": "system" }, { "content": "Partnering of franco ferreiro had what tournament?", "role": "user" }, { "content": "SELECT tournament FROM table_name_20 WHERE partnering = \"franco ferreiro\"", "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 (tournament VARCHAR, partnering VARCHAR)<|im_end|> <|im_start|>user Partnering of franco ferreiro had what tournament?<|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_24501530_1 (age VARCHAR, candidate VARCHAR)", "role": "system" }, { "content": "How many ages for player Amy Cato?", "role": "user" }, { "content": "SELECT COUNT(age) FROM table_24501530_1 WHERE candidate = \"Amy Cato\"", "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_24501530_1 (age VARCHAR, candidate VARCHAR)<|im_end|> <|im_start|>user How many ages for player Amy Cato?<|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_15190346_2 (_number INTEGER, attendance VARCHAR)", "role": "system" }, { "content": "What is the number of the bowl game when attendance was 79,280?", "role": "user" }, { "content": "SELECT MAX(_number) FROM table_15190346_2 WHERE attendance = \"79,280\"", "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_15190346_2 (_number INTEGER, attendance VARCHAR)<|im_end|> <|im_start|>user What is the number of the bowl game when attendance was 79,280?<|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_14623167_1 (virtual VARCHAR, network VARCHAR)", "role": "system" }, { "content": "Name the virtual for Fox", "role": "user" }, { "content": "SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = \"Fox\"", "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_14623167_1 (virtual VARCHAR, network VARCHAR)<|im_end|> <|im_start|>user Name the virtual for Fox<|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 (genre VARCHAR, station VARCHAR)", "role": "system" }, { "content": "What is the genre of the BBC World Service?", "role": "user" }, { "content": "SELECT genre FROM table_name_77 WHERE station = \"bbc world service\"", "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 (genre VARCHAR, station VARCHAR)<|im_end|> <|im_start|>user What is the genre of the BBC World Service?<|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, nominee VARCHAR, award VARCHAR)", "role": "system" }, { "content": "What year was Patricia Mcgourty nominated for a Tony award?", "role": "user" }, { "content": "SELECT year FROM table_name_41 WHERE nominee = \"patricia mcgourty\" AND award = \"tony award\"", "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, nominee VARCHAR, award VARCHAR)<|im_end|> <|im_start|>user What year was Patricia Mcgourty nominated for a Tony award?<|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_67 (standing_broad_jump__cm_ VARCHAR, grade VARCHAR)", "role": "system" }, { "content": "Which standing broad jump (cm) had the b grade?", "role": "user" }, { "content": "SELECT standing_broad_jump__cm_ FROM table_name_67 WHERE grade = \"b\"", "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_67 (standing_broad_jump__cm_ VARCHAR, grade VARCHAR)<|im_end|> <|im_start|>user Which standing broad jump (cm) had the b grade?<|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_27657925_1 (written_by VARCHAR, no_in_series VARCHAR)", "role": "system" }, { "content": "When 62 is the number in series who is the writer?", "role": "user" }, { "content": "SELECT written_by FROM table_27657925_1 WHERE no_in_series = \"62\"", "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_27657925_1 (written_by VARCHAR, no_in_series VARCHAR)<|im_end|> <|im_start|>user When 62 is the number in series who is the writer?<|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_14 (score VARCHAR, winner VARCHAR)", "role": "system" }, { "content": "What was the score of Ken Still (3) when he won first place?", "role": "user" }, { "content": "SELECT score FROM table_name_14 WHERE winner = \"ken still (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_14 (score VARCHAR, winner VARCHAR)<|im_end|> <|im_start|>user What was the score of Ken Still (3) when he won first 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_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR)", "role": "system" }, { "content": "What round pick was pick number 101 who plays defensive back?", "role": "user" }, { "content": "SELECT round FROM table_name_92 WHERE position = \"defensive back\" AND pick__number = \"101\"", "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 (round VARCHAR, position VARCHAR, pick__number VARCHAR)<|im_end|> <|im_start|>user What round pick was pick number 101 who plays defensive back?<|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_21 (entrants INTEGER, winner VARCHAR)", "role": "system" }, { "content": "How many entrants did the events won by Frank Gary average?", "role": "user" }, { "content": "SELECT AVG(entrants) FROM table_name_21 WHERE winner = \"frank gary\"", "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_21 (entrants INTEGER, winner VARCHAR)<|im_end|> <|im_start|>user How many entrants did the events won by Frank Gary average?<|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, arena VARCHAR)", "role": "system" }, { "content": "In what year was the competition at the Pepsi Arena?", "role": "user" }, { "content": "SELECT year FROM table_name_41 WHERE arena = \"pepsi arena\"", "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, arena VARCHAR)<|im_end|> <|im_start|>user In what year was the competition at the Pepsi Arena?<|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_52 (laps INTEGER, rider VARCHAR)", "role": "system" }, { "content": "How many laps did pere riba ride?", "role": "user" }, { "content": "SELECT SUM(laps) FROM table_name_52 WHERE rider = \"pere riba\"", "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_52 (laps INTEGER, rider VARCHAR)<|im_end|> <|im_start|>user How many laps did pere riba ride?<|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_12555835_1 (population__region_total_ VARCHAR, year VARCHAR)", "role": "system" }, { "content": "How many figures are given for the region's total in 1947?", "role": "user" }, { "content": "SELECT COUNT(population__region_total_) FROM table_12555835_1 WHERE year = 1947", "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_12555835_1 (population__region_total_ VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user How many figures are given for the region's total in 1947?<|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 (date VARCHAR, opponent VARCHAR, result VARCHAR)", "role": "system" }, { "content": "Which Date has an Opponent of newcastle united, and a Result of 2–1?", "role": "user" }, { "content": "SELECT date FROM table_name_66 WHERE opponent = \"newcastle united\" AND result = \"2–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_66 (date VARCHAR, opponent VARCHAR, result VARCHAR)<|im_end|> <|im_start|>user Which Date has an Opponent of newcastle united, and a Result of 2–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_96 (away_team VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "What was the away team that played against Melbourne?", "role": "user" }, { "content": "SELECT away_team FROM table_name_96 WHERE home_team = \"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_96 (away_team VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user What was the away team that played against Melbourne?<|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_28498999_4 (winnings__$_ VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What were the winnings for the score of 66-64-67-71=268?", "role": "user" }, { "content": "SELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268", "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_28498999_4 (winnings__$_ VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What were the winnings for the score of 66-64-67-71=268?<|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 (leading_scorer VARCHAR, date VARCHAR)", "role": "system" }, { "content": "Who was the leading scorer on the game played on February 25?", "role": "user" }, { "content": "SELECT leading_scorer FROM table_name_28 WHERE date = \"february 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_28 (leading_scorer VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user Who was the leading scorer on the game played on February 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_2522473_1 (home_city VARCHAR, home_ground VARCHAR)", "role": "system" }, { "content": "What Home city has the home ground Klepp stadion? ", "role": "user" }, { "content": "SELECT home_city FROM table_2522473_1 WHERE home_ground = \"Klepp Stadion\"", "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 (home_city VARCHAR, home_ground VARCHAR)<|im_end|> <|im_start|>user What Home city has the home ground Klepp stadion? <|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_14903841_1 (womens_doubles VARCHAR, year VARCHAR)", "role": "system" }, { "content": "Who are all the womens doubles for the year 2008/2009?", "role": "user" }, { "content": "SELECT womens_doubles FROM table_14903841_1 WHERE year = \"2008/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_14903841_1 (womens_doubles VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user Who are all the womens doubles for the year 2008/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_25085059_3 (cfl_team VARCHAR, college VARCHAR)", "role": "system" }, { "content": "What team got a draft pick player from McGill?", "role": "user" }, { "content": "SELECT cfl_team FROM table_25085059_3 WHERE college = \"McGill\"", "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_25085059_3 (cfl_team VARCHAR, college VARCHAR)<|im_end|> <|im_start|>user What team got a draft pick player from McGill?<|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 (name VARCHAR, length VARCHAR)", "role": "system" }, { "content": "Which name is 51.89 (2.043) long?", "role": "user" }, { "content": "SELECT name FROM table_name_57 WHERE length = \"51.89 (2.043)\"", "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 (name VARCHAR, length VARCHAR)<|im_end|> <|im_start|>user Which name is 51.89 (2.043) long?<|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 (size INTEGER, school VARCHAR)", "role": "system" }, { "content": "What is the size of the International school?", "role": "user" }, { "content": "SELECT MIN(size) FROM table_name_94 WHERE school = \"international\"", "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 (size INTEGER, school VARCHAR)<|im_end|> <|im_start|>user What is the size of the International 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_86 (method VARCHAR, time VARCHAR, round VARCHAR)", "role": "system" }, { "content": "What is the method when the time was 5:00, and the round higher than 4?", "role": "user" }, { "content": "SELECT method FROM table_name_86 WHERE time = \"5:00\" AND round > 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_86 (method VARCHAR, time VARCHAR, round VARCHAR)<|im_end|> <|im_start|>user What is the method when the time was 5:00, and the round higher than 4?<|im_end|>