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_27003186_3 (other VARCHAR, registered_voters VARCHAR)", "role": "system" }, { "content": "What is other when registered voters is 50.7%?", "role": "user" }, { "content": "SELECT other FROM table_27003186_3 WHERE registered_voters = \"50.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_27003186_3 (other VARCHAR, registered_voters VARCHAR)<|im_end|> <|im_start|>user What is other when registered voters is 50.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_name_10 (team VARCHAR, races VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is the Team that has a Races of 4, and a Points of 0?", "role": "user" }, { "content": "SELECT team FROM table_name_10 WHERE races = \"4\" AND points = \"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_10 (team VARCHAR, races VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user What is the Team that has a Races of 4, and a Points of 0?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (player VARCHAR, nationality VARCHAR, league_from VARCHAR)", "role": "system" }, { "content": "What player from the United States played in the western collegiate hockey association?", "role": "user" }, { "content": "SELECT player FROM table_name_40 WHERE nationality = \"united states\" AND league_from = \"western collegiate hockey association\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_40 (player VARCHAR, nationality VARCHAR, league_from VARCHAR)<|im_end|> <|im_start|>user What player from the United States played in the western collegiate hockey association?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)", "role": "system" }, { "content": "How many totals have golds of 3, silvers of 3, and bronzes under 3?", "role": "user" }, { "content": "SELECT SUM(total) FROM table_name_37 WHERE gold = \"3\" AND bronze < \"3\" AND silver = \"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_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)<|im_end|> <|im_start|>user How many totals have golds of 3, silvers of 3, and bronzes under 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_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)", "role": "system" }, { "content": "What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?", "role": "user" }, { "content": "SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = \"theodoros baev\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)<|im_end|> <|im_start|>user What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (venue VARCHAR, position VARCHAR)", "role": "system" }, { "content": "Name the Venue which has a Position of 5th?", "role": "user" }, { "content": "SELECT venue FROM table_name_39 WHERE position = \"5th\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (venue VARCHAR, position VARCHAR)<|im_end|> <|im_start|>user Name the Venue which has a Position of 5th?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_10 (driver VARCHAR, grid VARCHAR)", "role": "system" }, { "content": "Which driver's grid was 24?", "role": "user" }, { "content": "SELECT driver FROM table_name_10 WHERE grid = 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_name_10 (driver VARCHAR, grid VARCHAR)<|im_end|> <|im_start|>user Which driver's grid was 24?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)", "role": "system" }, { "content": "Name the object type with an NGC number more than 6638 and right ascensions being 18h25m37.8s", "role": "user" }, { "content": "SELECT object_type FROM table_name_72 WHERE ngc_number > 6638 AND right_ascension___j2000__ = \"18h25m37.8s\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)<|im_end|> <|im_start|>user Name the object type with an NGC number more than 6638 and right ascensions being 18h25m37.8s<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1140085_2 (race VARCHAR, pole_position VARCHAR, date VARCHAR)", "role": "system" }, { "content": "what is the race where the pole position is niki lauda and the date is 27 april?", "role": "user" }, { "content": "SELECT race FROM table_1140085_2 WHERE pole_position = \"Niki Lauda\" AND date = \"27 April\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1140085_2 (race VARCHAR, pole_position VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user what is the race where the pole position is niki lauda and the date is 27 april?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_55 (term VARCHAR, hometown VARCHAR)", "role": "system" }, { "content": "What is the term for hometown Ester Creek?", "role": "user" }, { "content": "SELECT term FROM table_name_55 WHERE hometown = \"ester creek\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_55 (term VARCHAR, hometown VARCHAR)<|im_end|> <|im_start|>user What is the term for hometown Ester Creek?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (class_aA VARCHAR, class_a VARCHAR, school_year VARCHAR)", "role": "system" }, { "content": "Name the class AA with class A of rule and school year of 1995-96", "role": "user" }, { "content": "SELECT class_aA FROM table_name_52 WHERE class_a = \"rule\" AND school_year = \"1995-96\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (class_aA VARCHAR, class_a VARCHAR, school_year VARCHAR)<|im_end|> <|im_start|>user Name the class AA with class A of rule and school year of 1995-96<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (points INTEGER, tyres VARCHAR, year VARCHAR)", "role": "system" }, { "content": "What is the total points listed that includes P listed Tyres after 1986?", "role": "user" }, { "content": "SELECT SUM(points) FROM table_name_76 WHERE tyres = \"p\" AND year > 1986", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (points INTEGER, tyres VARCHAR, year VARCHAR)<|im_end|> <|im_start|>user What is the total points listed that includes P listed Tyres after 1986?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_45 (party VARCHAR, member VARCHAR)", "role": "system" }, { "content": "What party is Mick Young a member of?", "role": "user" }, { "content": "SELECT party FROM table_name_45 WHERE member = \"mick young\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_45 (party VARCHAR, member VARCHAR)<|im_end|> <|im_start|>user What party is Mick Young a member of?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22771048_4 (city_neighborhood VARCHAR, station VARCHAR)", "role": "system" }, { "content": "How many neighborhoods have a station proposed at a Hospital?", "role": "user" }, { "content": "SELECT COUNT(city_neighborhood) FROM table_22771048_4 WHERE station = \"Hospital\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_22771048_4 (city_neighborhood VARCHAR, station VARCHAR)<|im_end|> <|im_start|>user How many neighborhoods have a station proposed at a Hospital?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_84 (away_team VARCHAR, score VARCHAR)", "role": "system" }, { "content": "What away team scored 107-104?", "role": "user" }, { "content": "SELECT away_team FROM table_name_84 WHERE score = \"107-104\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_84 (away_team VARCHAR, score VARCHAR)<|im_end|> <|im_start|>user What away team scored 107-104?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_1__us_ VARCHAR)", "role": "system" }, { "content": "What is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007?", "role": "user" }, { "content": "SELECT region_1__can_ FROM table_240936_2 WHERE region_1__us_ = \"January 16, 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_240936_2 (region_1__can_ VARCHAR, region_1__us_ VARCHAR)<|im_end|> <|im_start|>user What is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 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_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ VARCHAR, tourism_competitiveness__2011___ttci_ VARCHAR)", "role": "system" }, { "content": "Name the tourism receipts 2003 for tourism competitiveness 3.26", "role": "user" }, { "content": "SELECT COUNT(tourism_receipts__2003___as__percentage_of_exports_) FROM table_18524_6 WHERE tourism_competitiveness__2011___ttci_ = \"3.26\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ VARCHAR, tourism_competitiveness__2011___ttci_ VARCHAR)<|im_end|> <|im_start|>user Name the tourism receipts 2003 for tourism competitiveness 3.26<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (number VARCHAR, males VARCHAR)", "role": "system" }, { "content": "Which number has 11 males?", "role": "user" }, { "content": "SELECT number FROM table_name_41 WHERE males = \"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 (number VARCHAR, males VARCHAR)<|im_end|> <|im_start|>user Which number has 11 males?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22355_23 (total_min_2_medals_ INTEGER)", "role": "system" }, { "content": "What is the least amount of total medals won?", "role": "user" }, { "content": "SELECT MIN(total_min_2_medals_) FROM table_22355_23", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_22355_23 (total_min_2_medals_ INTEGER)<|im_end|> <|im_start|>user What is the least amount of total medals 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_54 (visitor VARCHAR, record VARCHAR)", "role": "system" }, { "content": "Who is the visitor with a record of 14–17–5?", "role": "user" }, { "content": "SELECT visitor FROM table_name_54 WHERE record = \"14–17–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_name_54 (visitor VARCHAR, record VARCHAR)<|im_end|> <|im_start|>user Who is the visitor with a record of 14–17–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_17 (capacity__mw_ VARCHAR, notes VARCHAR)", "role": "system" }, { "content": "What is the total capacity (MW) of the farm that is noted as being under construction?", "role": "user" }, { "content": "SELECT COUNT(capacity__mw_) FROM table_name_17 WHERE notes = \"under construction\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (capacity__mw_ VARCHAR, notes VARCHAR)<|im_end|> <|im_start|>user What is the total capacity (MW) of the farm that is noted as being under construction?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_20906175_3 (qb_rating VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What was the QB rating for Neil lomax?", "role": "user" }, { "content": "SELECT qb_rating FROM table_20906175_3 WHERE name = \"Neil Lomax\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_20906175_3 (qb_rating VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What was the QB rating for Neil lomax?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (ihsaa_class VARCHAR, location VARCHAR)", "role": "system" }, { "content": "Which IHSAA Class has a Location of brazil?", "role": "user" }, { "content": "SELECT ihsaa_class FROM table_name_96 WHERE location = \"brazil\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (ihsaa_class VARCHAR, location VARCHAR)<|im_end|> <|im_start|>user Which IHSAA Class has a Location of brazil?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR)", "role": "system" }, { "content": "Who won Stage 7?", "role": "user" }, { "content": "SELECT winner FROM table_22917458_15 WHERE stage = 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_22917458_15 (winner VARCHAR, stage VARCHAR)<|im_end|> <|im_start|>user Who won Stage 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_name_17 (wins INTEGER, ties VARCHAR, win__percentage VARCHAR, name VARCHAR)", "role": "system" }, { "content": "Which Wins have a Win % smaller than 0.8270000000000001, and a Name of rick mirer, and Ties smaller than 1?", "role": "user" }, { "content": "SELECT SUM(wins) FROM table_name_17 WHERE win__percentage < 0.8270000000000001 AND name = \"rick mirer\" AND ties < 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_17 (wins INTEGER, ties VARCHAR, win__percentage VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user Which Wins have a Win % smaller than 0.8270000000000001, and a Name of rick mirer, and Ties smaller 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_13 (launched VARCHAR, completed VARCHAR)", "role": "system" }, { "content": "What is the launched date of the destroyer completed 25 February 1936?", "role": "user" }, { "content": "SELECT launched FROM table_name_13 WHERE completed = \"25 february 1936\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (launched VARCHAR, completed VARCHAR)<|im_end|> <|im_start|>user What is the launched date of the destroyer completed 25 February 1936?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)", "role": "system" }, { "content": "Which FIS Nordic World Ski Championships has Winter Olympics of 1960?", "role": "user" }, { "content": "SELECT fis_nordic_world_ski_championships FROM table_name_44 WHERE winter_olympics = \"1960\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)<|im_end|> <|im_start|>user Which FIS Nordic World Ski Championships has Winter Olympics of 1960?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR)", "role": "system" }, { "content": "How many opponents are at Minnesota Vikings?", "role": "user" }, { "content": "SELECT MAX(opponents) FROM table_18847736_2 WHERE opponent = \"at Minnesota Vikings\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR)<|im_end|> <|im_start|>user How many opponents are at Minnesota Vikings?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_62 (position VARCHAR, round VARCHAR, team VARCHAR)", "role": "system" }, { "content": "What was the position of the team Minneapolis Lakers during round T?", "role": "user" }, { "content": "SELECT position FROM table_name_62 WHERE round = \"t\" AND team = \"minneapolis lakers\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (position VARCHAR, round VARCHAR, team VARCHAR)<|im_end|> <|im_start|>user What was the position of the team Minneapolis Lakers during round T?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (appointed_by VARCHAR, judge VARCHAR)", "role": "system" }, { "content": "Who appointed Judge Edward E. Cushman?", "role": "user" }, { "content": "SELECT appointed_by FROM table_name_73 WHERE judge = \"edward e. cushman\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (appointed_by VARCHAR, judge VARCHAR)<|im_end|> <|im_start|>user Who appointed Judge Edward E. Cushman?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_13619027_10 (game INTEGER)", "role": "system" }, { "content": "What is the highest game number?", "role": "user" }, { "content": "SELECT MAX(game) FROM table_13619027_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_13619027_10 (game INTEGER)<|im_end|> <|im_start|>user What is the highest game 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_38 (points INTEGER, name VARCHAR, drawn VARCHAR)", "role": "system" }, { "content": "What's the most points for Ea Schongau with more than 1 drawn?", "role": "user" }, { "content": "SELECT MAX(points) FROM table_name_38 WHERE name = \"ea schongau\" AND drawn > 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_38 (points INTEGER, name VARCHAR, drawn VARCHAR)<|im_end|> <|im_start|>user What's the most points for Ea Schongau with more than 1 drawn?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25352324_5 (points VARCHAR, rebounds VARCHAR, blocks VARCHAR)", "role": "system" }, { "content": "What is every value for points if rebounds is 6 and blocks is 0?", "role": "user" }, { "content": "SELECT points FROM table_25352324_5 WHERE rebounds = 6 AND blocks = 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_25352324_5 (points VARCHAR, rebounds VARCHAR, blocks VARCHAR)<|im_end|> <|im_start|>user What is every value for points if rebounds is 6 and blocks is 0?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_72 (first_performance VARCHAR, name VARCHAR, style VARCHAR, status VARCHAR)", "role": "system" }, { "content": "when was the first performance for the ballet with peter mazurowski in the final cast?", "role": "user" }, { "content": "SELECT first_performance FROM table_name_72 WHERE style = \"ballet\" AND status = \"final cast\" AND name = \"peter mazurowski\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (first_performance VARCHAR, name VARCHAR, style VARCHAR, status VARCHAR)<|im_end|> <|im_start|>user when was the first performance for the ballet with peter mazurowski in the final cast?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR)", "role": "system" }, { "content": "What is the assists for the Team of Florida and the total points of 75?", "role": "user" }, { "content": "SELECT assists FROM table_name_29 WHERE team = \"florida\" AND total_points = \"75\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_29 (assists VARCHAR, team VARCHAR, total_points VARCHAR)<|im_end|> <|im_start|>user What is the assists for the Team of Florida and the total points of 75?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11589522_3 (title VARCHAR, original_air_date VARCHAR)", "role": "system" }, { "content": " what's the title where original air date is january18,2009", "role": "user" }, { "content": "SELECT title FROM table_11589522_3 WHERE original_air_date = \"January18,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_11589522_3 (title VARCHAR, original_air_date VARCHAR)<|im_end|> <|im_start|>user what's the title where original air date is january18,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_2 (college VARCHAR, name VARCHAR)", "role": "system" }, { "content": "What college did Ray Graves attend?", "role": "user" }, { "content": "SELECT college FROM table_name_2 WHERE name = \"ray graves\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (college VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user What college did Ray Graves attend?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (power_plant VARCHAR, year_of_commission VARCHAR)", "role": "system" }, { "content": "What power plant was commissioned in 2008?", "role": "user" }, { "content": "SELECT power_plant FROM table_name_97 WHERE year_of_commission = 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_97 (power_plant VARCHAR, year_of_commission VARCHAR)<|im_end|> <|im_start|>user What power plant was commissioned in 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_3 (loss VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the lost On August 20", "role": "user" }, { "content": "SELECT loss FROM table_name_3 WHERE date = \"august 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_3 (loss VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is the lost On August 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_name_64 (performer_1 VARCHAR, episode VARCHAR)", "role": "system" }, { "content": "Episode of 16 involves which performer 1?", "role": "user" }, { "content": "SELECT performer_1 FROM table_name_64 WHERE episode = 16", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (performer_1 VARCHAR, episode VARCHAR)<|im_end|> <|im_start|>user Episode of 16 involves which performer 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_90 (games INTEGER, season VARCHAR, average VARCHAR)", "role": "system" }, { "content": "What is the maximum number of games when the season is more recent than 2001 and the average is less than 10,838?", "role": "user" }, { "content": "SELECT MAX(games) FROM table_name_90 WHERE season > 2001 AND average < 10 OFFSET 838", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_90 (games INTEGER, season VARCHAR, average VARCHAR)<|im_end|> <|im_start|>user What is the maximum number of games when the season is more recent than 2001 and the average is less than 10,838?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (events INTEGER, tournament VARCHAR, top_25 VARCHAR)", "role": "system" }, { "content": "What is the total of events when the tournament was U.S. Open and the Top-25 was less than 1?", "role": "user" }, { "content": "SELECT SUM(events) FROM table_name_47 WHERE tournament = \"u.s. open\" AND top_25 < 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_47 (events INTEGER, tournament VARCHAR, top_25 VARCHAR)<|im_end|> <|im_start|>user What is the total of events when the tournament was U.S. Open and the Top-25 was 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_name_15 (power VARCHAR, torque VARCHAR)", "role": "system" }, { "content": "What is the power of the engine with a torque of n·m (lb·ft) at1,500rpm?", "role": "user" }, { "content": "SELECT power FROM table_name_15 WHERE torque = \"n·m (lb·ft) at1,500rpm\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_15 (power VARCHAR, torque VARCHAR)<|im_end|> <|im_start|>user What is the power of the engine with a torque of n·m (lb·ft) at1,500rpm?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (short_stem VARCHAR, perfect_stem VARCHAR)", "role": "system" }, { "content": "What is the short stem for the word that has a perfect stem of poztu?", "role": "user" }, { "content": "SELECT short_stem FROM table_name_56 WHERE perfect_stem = \"poztu\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (short_stem VARCHAR, perfect_stem VARCHAR)<|im_end|> <|im_start|>user What is the short stem for the word that has a perfect stem of poztu?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (revenue_per_capita VARCHAR, state VARCHAR)", "role": "system" }, { "content": "What is the Revenue per capita for Vermont?", "role": "user" }, { "content": "SELECT revenue_per_capita FROM table_name_2 WHERE state = \"vermont\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (revenue_per_capita VARCHAR, state VARCHAR)<|im_end|> <|im_start|>user What is the Revenue per capita for Vermont?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (date VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "On what day is geelong the home team?", "role": "user" }, { "content": "SELECT date FROM table_name_37 WHERE home_team = \"geelong\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_37 (date VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user On what day is geelong the home team?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_19 (match VARCHAR, competition VARCHAR, location VARCHAR)", "role": "system" }, { "content": "Which Match played in a Location of San Francisco has a Competition of Semifinal?", "role": "user" }, { "content": "SELECT match FROM table_name_19 WHERE competition = \"semifinal\" AND location = \"san francisco\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (match VARCHAR, competition VARCHAR, location VARCHAR)<|im_end|> <|im_start|>user Which Match played in a Location of San Francisco has a Competition of Semifinal?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)", "role": "system" }, { "content": "Who replaced when position in table is pre-season?", "role": "user" }, { "content": "SELECT replaced_by FROM table_10592536_8 WHERE position_in_table = \"Pre-season\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_10592536_8 (replaced_by VARCHAR, position_in_table VARCHAR)<|im_end|> <|im_start|>user Who replaced when position in table is pre-season?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR)", "role": "system" }, { "content": "Name the driver for race time being 2:34:21", "role": "user" }, { "content": "SELECT driver FROM table_16493961_1 WHERE race_time = \"2:34:21\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR)<|im_end|> <|im_start|>user Name the driver for race time being 2:34:21<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12094609_1 (average VARCHAR, evening_gown VARCHAR)", "role": "system" }, { "content": "what is the total number of average where evening gown is 8.988", "role": "user" }, { "content": "SELECT COUNT(average) FROM table_12094609_1 WHERE evening_gown = \"8.988\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_12094609_1 (average VARCHAR, evening_gown VARCHAR)<|im_end|> <|im_start|>user what is the total number of average where evening gown is 8.988<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (attendance INTEGER, visitor VARCHAR)", "role": "system" }, { "content": "For all games with los angeles as visitor, what is the highest attendance of all?", "role": "user" }, { "content": "SELECT MAX(attendance) FROM table_name_12 WHERE visitor = \"los angeles\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (attendance INTEGER, visitor VARCHAR)<|im_end|> <|im_start|>user For all games with los angeles as visitor, what is the highest attendance of all?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (population__2004_ INTEGER, moroccan_population INTEGER)", "role": "system" }, { "content": "Which Population (2004) has a Moroccan population larger than 234506?", "role": "user" }, { "content": "SELECT AVG(population__2004_) FROM table_name_38 WHERE moroccan_population > 234506", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (population__2004_ INTEGER, moroccan_population INTEGER)<|im_end|> <|im_start|>user Which Population (2004) has a Moroccan population larger than 234506?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (away_team VARCHAR, home_team VARCHAR)", "role": "system" }, { "content": "What was the away team's score when Collingwood was the home team?", "role": "user" }, { "content": "SELECT away_team AS score FROM table_name_17 WHERE home_team = \"collingwood\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (away_team VARCHAR, home_team VARCHAR)<|im_end|> <|im_start|>user What was the away team's score when Collingwood was the home team?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_35 (laps INTEGER, time_retired VARCHAR)", "role": "system" }, { "content": "What is the low lap total that has a Time or Retired of accident?", "role": "user" }, { "content": "SELECT MIN(laps) FROM table_name_35 WHERE time_retired = \"accident\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_35 (laps INTEGER, time_retired VARCHAR)<|im_end|> <|im_start|>user What is the low lap total that has a Time or Retired of accident?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (target_version VARCHAR, last_release VARCHAR)", "role": "system" }, { "content": "What is Target Version, when Last Release is 2009-08-09, 1.2.9?", "role": "user" }, { "content": "SELECT target_version FROM table_name_91 WHERE last_release = \"2009-08-09, 1.2.9\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_91 (target_version VARCHAR, last_release VARCHAR)<|im_end|> <|im_start|>user What is Target Version, when Last Release is 2009-08-09, 1.2.9?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (losses INTEGER, club VARCHAR, points VARCHAR)", "role": "system" }, { "content": "What is the top losses that with Club of cd toledo and Points more than 56?", "role": "user" }, { "content": "SELECT MAX(losses) FROM table_name_23 WHERE club = \"cd toledo\" AND points > 56", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (losses INTEGER, club VARCHAR, points VARCHAR)<|im_end|> <|im_start|>user What is the top losses that with Club of cd toledo and Points more than 56?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_44 (class VARCHAR, call_sign VARCHAR)", "role": "system" }, { "content": "Which class's call sign is wokg?", "role": "user" }, { "content": "SELECT class FROM table_name_44 WHERE call_sign = \"wokg\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_44 (class VARCHAR, call_sign VARCHAR)<|im_end|> <|im_start|>user Which class's call sign is wokg?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR)", "role": "system" }, { "content": "Parts Plus sponsors what driver?", "role": "user" }, { "content": "SELECT driver_s_ FROM table_name_21 WHERE primary_sponsor_s_ = \"parts plus\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR)<|im_end|> <|im_start|>user Parts Plus sponsors what driver?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)", "role": "system" }, { "content": "How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent?", "role": "user" }, { "content": "SELECT attendance FROM table_name_78 WHERE game_site = \"griffith stadium\" AND opponent = \"philadelphia eagles\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)<|im_end|> <|im_start|>user How many were in attendance at Griffith Stadium with Philadelphia Eagles as an 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_45 (hardness VARCHAR, liquid_at__°c_ VARCHAR)", "role": "system" }, { "content": "What is the hardness for the alloy that is liquid at 243 degrees C?", "role": "user" }, { "content": "SELECT hardness FROM table_name_45 WHERE liquid_at__°c_ = \"243\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_45 (hardness VARCHAR, liquid_at__°c_ VARCHAR)<|im_end|> <|im_start|>user What is the hardness for the alloy that is liquid at 243 degrees C?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_22360_3 (discipline VARCHAR, bronze VARCHAR)", "role": "system" }, { "content": "Name the discipline for bronze being 0", "role": "user" }, { "content": "SELECT discipline FROM table_22360_3 WHERE bronze = 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_22360_3 (discipline VARCHAR, bronze VARCHAR)<|im_end|> <|im_start|>user Name the discipline for bronze being 0<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_83 (rank VARCHAR, floors INTEGER)", "role": "system" }, { "content": "Which rank is above floor 47?", "role": "user" }, { "content": "SELECT rank FROM table_name_83 WHERE floors > 47", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (rank VARCHAR, floors INTEGER)<|im_end|> <|im_start|>user Which rank is above floor 47?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (mongolian VARCHAR, tamil_தமிழ் VARCHAR)", "role": "system" }, { "content": "Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?", "role": "user" }, { "content": "SELECT mongolian FROM table_name_78 WHERE tamil_தமிழ் = \"pūrāṭam பூராடம்\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (mongolian VARCHAR, tamil_தமிழ் VARCHAR)<|im_end|> <|im_start|>user Which Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (tournament VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What is the tournament on Apr 6?", "role": "user" }, { "content": "SELECT tournament FROM table_name_13 WHERE date = \"apr 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_13 (tournament VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What is the tournament on Apr 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_27 (winning_driver VARCHAR, constructor VARCHAR)", "role": "system" }, { "content": "Who is the winning driver that has a construction of brm?", "role": "user" }, { "content": "SELECT winning_driver FROM table_name_27 WHERE constructor = \"brm\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (winning_driver VARCHAR, constructor VARCHAR)<|im_end|> <|im_start|>user Who is the winning driver that has a construction of brm?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (record VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "What is the record from the 2,500 in attendance?", "role": "user" }, { "content": "SELECT record FROM table_name_12 WHERE attendance = \"2,500\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (record VARCHAR, attendance VARCHAR)<|im_end|> <|im_start|>user What is the record from the 2,500 in attendance?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (bats VARCHAR, uni_number VARCHAR)", "role": "system" }, { "content": "Which batter has a uni# of 31?", "role": "user" }, { "content": "SELECT bats FROM table_name_17 WHERE uni_number = 31", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_17 (bats VARCHAR, uni_number VARCHAR)<|im_end|> <|im_start|>user Which batter has a uni# of 31?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR)", "role": "system" }, { "content": "How many matches were drawn by a team with 447 points?", "role": "user" }, { "content": "SELECT drawn FROM table_name_1 WHERE points_for = \"447\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (drawn VARCHAR, points_for VARCHAR)<|im_end|> <|im_start|>user How many matches were drawn by a team with 447 points?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE device (Carrier VARCHAR)", "role": "system" }, { "content": "List the carriers of devices in ascending alphabetical order.", "role": "user" }, { "content": "SELECT Carrier FROM device ORDER BY Carrier", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE device (Carrier VARCHAR)<|im_end|> <|im_start|>user List the carriers of devices in ascending alphabetical order.<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (video VARCHAR, aspect VARCHAR)", "role": "system" }, { "content": "Which Video has an Aspect of 16:9?", "role": "user" }, { "content": "SELECT video FROM table_name_14 WHERE aspect = \"16:9\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_14 (video VARCHAR, aspect VARCHAR)<|im_end|> <|im_start|>user Which Video has an Aspect of 16:9?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10710364_2 (literacy___percentage_ VARCHAR, growth__1991_2001_ VARCHAR)", "role": "system" }, { "content": "What is the literacy rate for groups that grew 103.1% between 1991 and 2001?", "role": "user" }, { "content": "SELECT literacy___percentage_ FROM table_10710364_2 WHERE growth__1991_2001_ = \"103.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_10710364_2 (literacy___percentage_ VARCHAR, growth__1991_2001_ VARCHAR)<|im_end|> <|im_start|>user What is the literacy rate for groups that grew 103.1% between 1991 and 2001?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (track INTEGER, song_title VARCHAR)", "role": "system" }, { "content": "Name the least track with song of little sister", "role": "user" }, { "content": "SELECT MIN(track) FROM table_name_67 WHERE song_title = \"little sister\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (track INTEGER, song_title VARCHAR)<|im_end|> <|im_start|>user Name the least track with song of little sister<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341640_11 (first_elected INTEGER, district VARCHAR)", "role": "system" }, { "content": "What is the earliest first elected for district georgia 1?", "role": "user" }, { "content": "SELECT MIN(first_elected) FROM table_1341640_11 WHERE district = \"Georgia 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_1341640_11 (first_elected INTEGER, district VARCHAR)<|im_end|> <|im_start|>user What is the earliest first elected for district georgia 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_72 (vs_all VARCHAR, vs_terran VARCHAR)", "role": "system" }, { "content": "What is the score vs. all when the score vs. Terran is 159?", "role": "user" }, { "content": "SELECT vs_all FROM table_name_72 WHERE vs_terran = \"159\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (vs_all VARCHAR, vs_terran VARCHAR)<|im_end|> <|im_start|>user What is the score vs. all when the score vs. Terran is 159?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_89 (position VARCHAR, years_for_grizzlies VARCHAR)", "role": "system" }, { "content": "What position did the player who was with the grizzlies from 2007-2009 play?", "role": "user" }, { "content": "SELECT position FROM table_name_89 WHERE years_for_grizzlies = \"2007-2009\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_89 (position VARCHAR, years_for_grizzlies VARCHAR)<|im_end|> <|im_start|>user What position did the player who was with the grizzlies from 2007-2009 play?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_59 (college VARCHAR, player VARCHAR)", "role": "system" }, { "content": "What is Reuben Foster's college?", "role": "user" }, { "content": "SELECT college FROM table_name_59 WHERE player = \"reuben foster\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (college VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user What is Reuben Foster's college?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10023387_1 (doubles_w_l VARCHAR, player VARCHAR)", "role": "system" }, { "content": "what's the doubles w-l for player seol jae-min (none)", "role": "user" }, { "content": "SELECT doubles_w_l FROM table_10023387_1 WHERE player = \"Seol Jae-Min (none)\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_10023387_1 (doubles_w_l VARCHAR, player VARCHAR)<|im_end|> <|im_start|>user what's the doubles w-l for player seol jae-min (none)<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (aspect_ratio VARCHAR, release_date VARCHAR)", "role": "system" }, { "content": "What is the aspect ratio for the September 1, 2009 release?", "role": "user" }, { "content": "SELECT aspect_ratio FROM table_name_56 WHERE release_date = \"september 1, 2009\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_56 (aspect_ratio VARCHAR, release_date VARCHAR)<|im_end|> <|im_start|>user What is the aspect ratio for the September 1, 2009 release?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)", "role": "system" }, { "content": "What is the category Anuya Bhagvath was nominated for at vijay award?", "role": "user" }, { "content": "SELECT ceremony FROM table_name_39 WHERE award = \"vijay award\" AND outcome = \"nominated\" AND name = \"anuya bhagvath\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)<|im_end|> <|im_start|>user What is the category Anuya Bhagvath was nominated for at vijay 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_73 (opponent_number VARCHAR, attendance VARCHAR)", "role": "system" }, { "content": "Who was the opponent at the game attended by 45,000?", "role": "user" }, { "content": "SELECT opponent_number FROM table_name_73 WHERE attendance = \"45,000\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (opponent_number VARCHAR, attendance VARCHAR)<|im_end|> <|im_start|>user Who was the opponent at the game attended by 45,000?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (weight VARCHAR, club VARCHAR)", "role": "system" }, { "content": "What is Weight, when Club is \"Maadi\"?", "role": "user" }, { "content": "SELECT weight FROM table_name_86 WHERE club = \"maadi\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (weight VARCHAR, club VARCHAR)<|im_end|> <|im_start|>user What is Weight, when Club is "Maadi"?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (political_party VARCHAR, monarchs_served VARCHAR, birth_place VARCHAR)", "role": "system" }, { "content": "To which political party did the prime minister who served under George V and was born in Manchester belong?", "role": "user" }, { "content": "SELECT political_party FROM table_name_5 WHERE monarchs_served = \"george v\" AND birth_place = \"manchester\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (political_party VARCHAR, monarchs_served VARCHAR, birth_place VARCHAR)<|im_end|> <|im_start|>user To which political party did the prime minister who served under George V and was born in Manchester belong?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341453_34 (party VARCHAR, results VARCHAR)", "role": "system" }, { "content": "How many elections have resulted in retired democratic hold?", "role": "user" }, { "content": "SELECT COUNT(party) FROM table_1341453_34 WHERE results = \"Retired Democratic hold\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_1341453_34 (party VARCHAR, results VARCHAR)<|im_end|> <|im_start|>user How many elections have resulted in retired democratic hold?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (losses INTEGER, team VARCHAR, draws VARCHAR)", "role": "system" }, { "content": "What is the highest number of losses for Presidente Hayes, when the draws were more than 4?", "role": "user" }, { "content": "SELECT MAX(losses) FROM table_name_61 WHERE team = \"presidente hayes\" AND draws > 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_61 (losses INTEGER, team VARCHAR, draws VARCHAR)<|im_end|> <|im_start|>user What is the highest number of losses for Presidente Hayes, when the draws were more 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_44 (tie_no VARCHAR, away_team VARCHAR)", "role": "system" }, { "content": "Which tie number had an away team of the Tranmere Rovers?", "role": "user" }, { "content": "SELECT tie_no FROM table_name_44 WHERE away_team = \"tranmere rovers\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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_44 (tie_no VARCHAR, away_team VARCHAR)<|im_end|> <|im_start|>user Which tie number had an away team of the Tranmere Rovers?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15187735_19 (segment_c VARCHAR, segment_b VARCHAR)", "role": "system" }, { "content": "What is the segment C of the episode where segment B is Film Digitization?", "role": "user" }, { "content": "SELECT segment_c FROM table_15187735_19 WHERE segment_b = \"Film Digitization\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_15187735_19 (segment_c VARCHAR, segment_b VARCHAR)<|im_end|> <|im_start|>user What is the segment C of the episode where segment B is Film Digitization?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (surface VARCHAR, date VARCHAR)", "role": "system" }, { "content": "What Surface has a Date of 1 september 2008?", "role": "user" }, { "content": "SELECT surface FROM table_name_18 WHERE date = \"1 september 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_18 (surface VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user What Surface has a Date of 1 september 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_96 (purpose VARCHAR, location VARCHAR, name VARCHAR)", "role": "system" }, { "content": "Which Purpose has a Location of enewetak, runit (yvonne) and the Name of cactus?", "role": "user" }, { "content": "SELECT purpose FROM table_name_96 WHERE location = \"enewetak, runit (yvonne)\" AND name = \"cactus\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (purpose VARCHAR, location VARCHAR, name VARCHAR)<|im_end|> <|im_start|>user Which Purpose has a Location of enewetak, runit (yvonne) and the Name of cactus?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (score VARCHAR, tie_no VARCHAR)", "role": "system" }, { "content": "What was the score in Tie number 16?", "role": "user" }, { "content": "SELECT score FROM table_name_16 WHERE tie_no = \"16\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (score VARCHAR, tie_no VARCHAR)<|im_end|> <|im_start|>user What was the score in Tie number 16?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (attendance VARCHAR, date VARCHAR)", "role": "system" }, { "content": "On September 10, 1989 how many people attended the game?", "role": "user" }, { "content": "SELECT attendance FROM table_name_65 WHERE date = \"september 10, 1989\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR)<|im_end|> <|im_start|>user On September 10, 1989 how many people attended the 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_1 (location VARCHAR, circuit VARCHAR)", "role": "system" }, { "content": "What is Location, when Circuit is August 16?", "role": "user" }, { "content": "SELECT location FROM table_name_1 WHERE circuit = \"august 16\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (location VARCHAR, circuit VARCHAR)<|im_end|> <|im_start|>user What is Location, when Circuit is August 16?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (gold INTEGER, nation VARCHAR, bronze VARCHAR)", "role": "system" }, { "content": "What is the average Gold entry for the Netherlands that also has a Bronze entry that is greater than 0?", "role": "user" }, { "content": "SELECT AVG(gold) FROM table_name_19 WHERE nation = \"netherlands\" AND bronze > 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_19 (gold INTEGER, nation VARCHAR, bronze VARCHAR)<|im_end|> <|im_start|>user What is the average Gold entry for the Netherlands that also has a Bronze entry that is greater 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 country (Country_name VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR)", "role": "system" }, { "content": "What are the names of countries that have both players with position forward and players with position defender?", "role": "user" }, { "content": "SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = \"Forward\" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = \"Defender\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR)<|im_end|> <|im_start|>user What are the names of countries that have both players with position forward and players with position defender?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (venue VARCHAR, event VARCHAR, competition VARCHAR)", "role": "system" }, { "content": "Where was the London Marathon held?", "role": "user" }, { "content": "SELECT venue FROM table_name_19 WHERE event = \"marathon\" AND competition = \"london marathon\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (venue VARCHAR, event VARCHAR, competition VARCHAR)<|im_end|> <|im_start|>user Where was the London Marathon held?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (Id VARCHAR)", "role": "system" }, { "content": "What is the maximum 1985 GDP for the region where 1990 GDP is less than 267, 2000 GDP is 333 and 2005 GDP is less than 658?", "role": "user" }, { "content": "SELECT MAX(1985) FROM table_name_88 WHERE 1990 < 267 AND 2000 = 333 AND 2005 < 658", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (Id VARCHAR)<|im_end|> <|im_start|>user What is the maximum 1985 GDP for the region where 1990 GDP is less than 267, 2000 GDP is 333 and 2005 GDP is less than 658?<|im_end|>
[ { "content": "You are an text to SQL query translator. 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 (year INTEGER, round VARCHAR, winner VARCHAR)", "role": "system" }, { "content": "What year did Ivanovic win with Ivanovic greater than 4 and round of R16?", "role": "user" }, { "content": "SELECT SUM(year) FROM table_name_95 WHERE winner = \"ivanovic\" AND \"ivanovic\" > 4 AND round = \"r16\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query 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 (year INTEGER, round VARCHAR, winner VARCHAR)<|im_end|> <|im_start|>user What year did Ivanovic win with Ivanovic greater than 4 and round of R16?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE songs (title VARCHAR)", "role": "system" }, { "content": "Find all the songs whose name contains the word \"the\".", "role": "user" }, { "content": "SELECT title FROM songs WHERE title LIKE '% the %'", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE songs (title VARCHAR)<|im_end|> <|im_start|>user Find all the songs whose name contains the word "the".<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (game INTEGER, opponent VARCHAR)", "role": "system" }, { "content": "What is the maximum game that was played against the New York Knickerbockers?", "role": "user" }, { "content": "SELECT MAX(game) FROM table_name_40 WHERE opponent = \"new york knickerbockers\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_name_40 (game INTEGER, opponent VARCHAR)<|im_end|> <|im_start|>user What is the maximum game that was played against the New York Knickerbockers?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR)", "role": "system" }, { "content": "What was the location and attendance when lebron james (10) had the high assists?", "role": "user" }, { "content": "SELECT location_attendance FROM table_27713030_16 WHERE high_assists = \"LeBron James (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_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR)<|im_end|> <|im_start|>user What was the location and attendance when lebron james (10) had the high assists?<|im_end|>
[ { "content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11734041_7 (height_in_ft VARCHAR, school_club_team_country VARCHAR)", "role": "system" }, { "content": "What is the height of the school club team members in clemson?", "role": "user" }, { "content": "SELECT height_in_ft FROM table_11734041_7 WHERE school_club_team_country = \"Clemson\"", "role": "assistant" } ]
<|im_start|>system You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA. SCHEMA: CREATE TABLE table_11734041_7 (height_in_ft VARCHAR, school_club_team_country VARCHAR)<|im_end|> <|im_start|>user What is the height of the school club team members in clemson?<|im_end|>