messages listlengths 3 3 |
|---|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_83 (rank VARCHAR, year_opened VARCHAR, state VARCHAR)",
"role": "system"
},
{
"content": "What is the rank for the year opened in 1959 in Pennsylvania?",
"role": "user"
},
{
"content": "SELECT rank FROM table_name_83 WHERE year_opened = \"1959\" AND state = \"pennsylvania\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_32 (crowd INTEGER, venue VARCHAR)",
"role": "system"
},
{
"content": "How many people were present in a total of every crowd at the MCG venue?",
"role": "user"
},
{
"content": "SELECT SUM(crowd) FROM table_name_32 WHERE venue = \"mcg\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1818254_1 (property_crime VARCHAR, burglary VARCHAR)",
"role": "system"
},
{
"content": "How many cities were there in 2012 where the rate of burglary was 224.8?",
"role": "user"
},
{
"content": "SELECT COUNT(property_crime) FROM table_1818254_1 WHERE burglary = \"224.8\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_99 (team_1 VARCHAR)",
"role": "system"
},
{
"content": "What is the 2nd leg of team 1 Dolphins?",
"role": "user"
},
{
"content": "SELECT 2 AS nd_leg FROM table_name_99 WHERE team_1 = \"dolphins\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (pick INTEGER, player VARCHAR, nationality VARCHAR, draft VARCHAR)",
"role": "system"
},
{
"content": "What was the lowest Pick number of Player Brian Bradley from Canada, in a Draft year before 1985?",
"role": "user"
},
{
"content": "SELECT MIN(pick) FROM table_name_29 WHERE nationality = \"canada\" AND draft < 1985 AND player = \"brian bradley\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_48 (pilot VARCHAR, weapon VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is Pilot, when Weapon is \"35mm fire\", and when Date is \"4 May 1982\"?",
"role": "user"
},
{
"content": "SELECT pilot FROM table_name_48 WHERE weapon = \"35mm fire\" AND date = \"4 may 1982\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_79 (extras INTEGER, name VARCHAR, wickets VARCHAR)",
"role": "system"
},
{
"content": "What is the highest Extras for Farveez Maharoof, with more than 4 wickets?",
"role": "user"
},
{
"content": "SELECT MAX(extras) FROM table_name_79 WHERE name = \"farveez maharoof\" AND wickets > 4",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE tv_channel (Pixel_aspect_ratio_PAR VARCHAR, country VARCHAR, LANGUAGE VARCHAR)",
"role": "system"
},
{
"content": "find the pixel aspect ratio and nation of the tv channels that do not use English.",
"role": "user"
},
{
"content": "SELECT Pixel_aspect_ratio_PAR, country FROM tv_channel WHERE LANGUAGE <> 'English'",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23399481_2 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)",
"role": "system"
},
{
"content": "What is the director name is the U.S. viewers is 2.22 million?",
"role": "user"
},
{
"content": "SELECT directed_by FROM table_23399481_2 WHERE us_viewers__in_millions_ = \"2.22\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (previous_conference VARCHAR, size VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "What's the previous conference of Fountain City with a size more than 287?",
"role": "user"
},
{
"content": "SELECT previous_conference FROM table_name_88 WHERE size > 287 AND location = \"fountain city\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_81 (station VARCHAR, genre VARCHAR, language VARCHAR)",
"role": "system"
},
{
"content": "What station has a genre of talk music and is in Malay English language?",
"role": "user"
},
{
"content": "SELECT station FROM table_name_81 WHERE genre = \"talk music\" AND language = \"malay english\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (cap_hour INTEGER, type VARCHAR, vertical VARCHAR)",
"role": "system"
},
{
"content": "Tell me the sum of cap/hor for double chair and vertical less than 479",
"role": "user"
},
{
"content": "SELECT SUM(cap_hour) FROM table_name_8 WHERE type = \"double chair\" AND vertical < 479",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_55 (score VARCHAR, december VARCHAR)",
"role": "system"
},
{
"content": "Can you tell me the Score that has the December of 10?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_55 WHERE december = 10",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17311759_8 (high_rebounds VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "Who scored the most rebounds in game 64?",
"role": "user"
},
{
"content": "SELECT high_rebounds FROM table_17311759_8 WHERE game = 64",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_31 (year VARCHAR, engine VARCHAR)",
"role": "system"
},
{
"content": "Which year has has a Engine of maserati straight-6?",
"role": "user"
},
{
"content": "SELECT COUNT(year) FROM table_name_31 WHERE engine = \"maserati straight-6\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (crowd INTEGER, venue VARCHAR)",
"role": "system"
},
{
"content": "How big is the Venue of Brunswick Street Oval?",
"role": "user"
},
{
"content": "SELECT SUM(crowd) FROM table_name_47 WHERE venue = \"brunswick street oval\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27823359_1 (written_by VARCHAR, season__number VARCHAR)",
"role": "system"
},
{
"content": "Who wrote episode 23 in the season?",
"role": "user"
},
{
"content": "SELECT written_by FROM table_27823359_1 WHERE season__number = \"23\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)",
"role": "system"
},
{
"content": "How many medals under total when silver is less than 2, gold is 3, and bronze is less than 0?",
"role": "user"
},
{
"content": "SELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_5 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR)",
"role": "system"
},
{
"content": "What shows as the Diameter (km) when the Diameter (mi) is 5mi?",
"role": "user"
},
{
"content": "SELECT diameter__km_ FROM table_name_5 WHERE diameter__mi_ = \"5mi\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE medication (name VARCHAR, brand VARCHAR, code VARCHAR); CREATE TABLE prescribes (medication VARCHAR)",
"role": "system"
},
{
"content": "Find the number of medications prescribed for each brand.",
"role": "user"
},
{
"content": "SELECT COUNT(*), T1.name FROM medication AS T1 JOIN prescribes AS T2 ON T1.code = T2.medication GROUP BY T1.brand",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR)",
"role": "system"
},
{
"content": "Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled?",
"role": "user"
},
{
"content": "SELECT area FROM table_name_61 WHERE authority = \"state\" AND decile > 6 AND gender = \"coed\" AND roll = 26",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (school VARCHAR, hometown VARCHAR)",
"role": "system"
},
{
"content": "Which school is in Riverside, CA?",
"role": "user"
},
{
"content": "SELECT school FROM table_name_76 WHERE hometown = \"riverside, ca\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29743928_4 (games VARCHAR, years VARCHAR)",
"role": "system"
},
{
"content": "When 2010 is the year what is the game?",
"role": "user"
},
{
"content": "SELECT games FROM table_29743928_4 WHERE years = \"2010\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (date VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "On what Date was Wales the Opponent?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_76 WHERE opponent = \"wales\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (flap INTEGER, pole VARCHAR, podiums VARCHAR)",
"role": "system"
},
{
"content": "Can you tell me the sum of FLap that has the Pole larger than 0, and the Podiums of 6?",
"role": "user"
},
{
"content": "SELECT SUM(flap) FROM table_name_40 WHERE pole > 0 AND podiums = 6",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_92 (superlative VARCHAR, year VARCHAR, actress VARCHAR)",
"role": "system"
},
{
"content": "Which award was won by Gloria Stuart after 1984?",
"role": "user"
},
{
"content": "SELECT superlative FROM table_name_92 WHERE year > 1984 AND actress = \"gloria stuart\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_34 (best INTEGER, qual_2 VARCHAR, team VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best?",
"role": "user"
},
{
"content": "SELECT MIN(best) FROM table_name_34 WHERE team = \"n/h/l racing\" AND name = \"graham rahal\" AND qual_2 > 59.384",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26400438_1 (f_laps VARCHAR, poles VARCHAR)",
"role": "system"
},
{
"content": "How many times did he hold 12 poles?",
"role": "user"
},
{
"content": "SELECT COUNT(f_laps) FROM table_26400438_1 WHERE poles = 12",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_78 (team_1 VARCHAR)",
"role": "system"
},
{
"content": "What is the 2nd leg of the Comunicaciones team?",
"role": "user"
},
{
"content": "SELECT 2 AS nd_leg FROM table_name_78 WHERE team_1 = \"comunicaciones\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29626583_1 (pick__number INTEGER, mls_team VARCHAR)",
"role": "system"
},
{
"content": "how many pick# does the chivas usa mls team have",
"role": "user"
},
{
"content": "SELECT MAX(pick__number) FROM table_29626583_1 WHERE mls_team = \"Chivas USA\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR)",
"role": "system"
},
{
"content": "Who is the player from United States who play in year 2003-06 in Toronto?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_8 WHERE nationality = \"united states\" AND years_in_toronto = \"2003-06\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (vacator VARCHAR, reason_for_change VARCHAR)",
"role": "system"
},
{
"content": "which Vacator has a Reason for change of resigned november 10, 1965?",
"role": "user"
},
{
"content": "SELECT vacator FROM table_name_6 WHERE reason_for_change = \"resigned november 10, 1965\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_32 (pick VARCHAR, round VARCHAR, player VARCHAR, nationality VARCHAR, draft VARCHAR)",
"role": "system"
},
{
"content": "What is the total pick number of player curt bennett from canada with a draft before 1976 and a round less than 2?",
"role": "user"
},
{
"content": "SELECT COUNT(pick) FROM table_name_32 WHERE nationality = \"canada\" AND draft < 1976 AND player = \"curt bennett\" AND round < 2",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_67 (player VARCHAR, country VARCHAR)",
"role": "system"
},
{
"content": "What player is from Fiji?",
"role": "user"
},
{
"content": "SELECT player FROM table_name_67 WHERE country = \"fiji\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26267607_2 (winning_team VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "In Round 6, who is the winning team?",
"role": "user"
},
{
"content": "SELECT winning_team FROM table_26267607_2 WHERE round = \"6\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27409644_1 (ground VARCHAR, club VARCHAR)",
"role": "system"
},
{
"content": "What is the home location for team flora tallinn?",
"role": "user"
},
{
"content": "SELECT ground FROM table_27409644_1 WHERE club = \"Flora Tallinn\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23192661_3 (cardinal_points INTEGER, record VARCHAR)",
"role": "system"
},
{
"content": "Name the cardinal points for 19-4 record",
"role": "user"
},
{
"content": "SELECT MIN(cardinal_points) FROM table_23192661_3 WHERE record = \"19-4\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (score VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the score when the home team is queens park rangers?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_29 WHERE home_team = \"queens park rangers\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_26 (year INTEGER, venue VARCHAR)",
"role": "system"
},
{
"content": "What year was in Aigburth?",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_name_26 WHERE venue = \"aigburth\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_85 (route VARCHAR, elevation VARCHAR)",
"role": "system"
},
{
"content": "Elevation of 11,158 feet 3401 m had what route?",
"role": "user"
},
{
"content": "SELECT route FROM table_name_85 WHERE elevation = \"11,158 feet 3401 m\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2668374_13 (district VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "What district had an election with incumbent john smilie?",
"role": "user"
},
{
"content": "SELECT district FROM table_2668374_13 WHERE incumbent = \"John Smilie\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_8 (points_classification_navy_blue_jersey VARCHAR, general_classification_yellow_jersey VARCHAR)",
"role": "system"
},
{
"content": "Which Points Classification Navy Blue Jersey that has a Jersey of Graeme Brown",
"role": "user"
},
{
"content": "SELECT points_classification_navy_blue_jersey FROM table_name_8 WHERE general_classification_yellow_jersey = \"graeme brown\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15621965_8 (no INTEGER, player VARCHAR)",
"role": "system"
},
{
"content": "What jersey number did Al Harrington wear",
"role": "user"
},
{
"content": "SELECT MAX(no) FROM table_15621965_8 WHERE player = \"Al Harrington\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_39 (date VARCHAR, catalog VARCHAR)",
"role": "system"
},
{
"content": "What is the release Date of Catalog RR 8655-2?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_39 WHERE catalog = \"rr 8655-2\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_62 (attendance INTEGER, home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest Attendance when the home team was slough town?",
"role": "user"
},
{
"content": "SELECT MIN(attendance) FROM table_name_62 WHERE home_team = \"slough town\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_56 (date VARCHAR, away_team VARCHAR)",
"role": "system"
},
{
"content": "What date was the game with the away team york city?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_56 WHERE away_team = \"york city\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11545282_11 (position VARCHAR, school_club_team VARCHAR)",
"role": "system"
},
{
"content": "How many positions are for creighton?",
"role": "user"
},
{
"content": "SELECT COUNT(position) FROM table_11545282_11 WHERE school_club_team = \"Creighton\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_87 (on_air_id VARCHAR, frequency VARCHAR)",
"role": "system"
},
{
"content": "Frequency of 100.1 has what on-air id?",
"role": "user"
},
{
"content": "SELECT on_air_id FROM table_name_87 WHERE frequency = \"100.1\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_1 (location_attendance VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is the location/attendance of the game with a 3-1 record?",
"role": "user"
},
{
"content": "SELECT location_attendance FROM table_name_1 WHERE record = \"3-1\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_15 (status VARCHAR, eliminated VARCHAR)",
"role": "system"
},
{
"content": "Tell me the status of eliminated of anton dela paz",
"role": "user"
},
{
"content": "SELECT status FROM table_name_15 WHERE eliminated = \"anton dela paz\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_99 (decile INTEGER, area VARCHAR, roll VARCHAR)",
"role": "system"
},
{
"content": "What is the total decile in the area of Normanby with a roller smaller than 157?",
"role": "user"
},
{
"content": "SELECT SUM(decile) FROM table_name_99 WHERE area = \"normanby\" AND roll < 157",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR)",
"role": "system"
},
{
"content": "How many figures are given for the New Democratic for the polling range May 11–31, 2010?",
"role": "user"
},
{
"content": "SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = \"May 11–31, 2010\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_78 (tries_against VARCHAR, points_against VARCHAR)",
"role": "system"
},
{
"content": "What is Tries Against, when Points Against is 213?",
"role": "user"
},
{
"content": "SELECT tries_against FROM table_name_78 WHERE points_against = \"213\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_27 (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"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR)",
"role": "system"
},
{
"content": "List the name of all tracks in the playlists of Movies.",
"role": "user"
},
{
"content": "SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = \"Movies\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (grid VARCHAR, laps VARCHAR)",
"role": "system"
},
{
"content": "Tell me the total number of grid for laps of 52",
"role": "user"
},
{
"content": "SELECT COUNT(grid) FROM table_name_60 WHERE laps = 52",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (player VARCHAR, round VARCHAR)",
"role": "system"
},
{
"content": "Tell me the player for 7 round",
"role": "user"
},
{
"content": "SELECT player FROM table_name_74 WHERE round = 7",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (name VARCHAR, year_named VARCHAR, longitude VARCHAR)",
"role": "system"
},
{
"content": "What name in a year after 1997 has a longitude of 213.0e?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_91 WHERE year_named > 1997 AND longitude = \"213.0e\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_59 (attendance VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What is the Attendance when the Result is l0-13?",
"role": "user"
},
{
"content": "SELECT attendance FROM table_name_59 WHERE result = \"l0-13\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_30 (outcome VARCHAR, tournament VARCHAR)",
"role": "system"
},
{
"content": "What was the outcome of the Tournament in Buenos Aires?",
"role": "user"
},
{
"content": "SELECT outcome FROM table_name_30 WHERE tournament = \"buenos aires\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What is the census division for the name Stratford?",
"role": "user"
},
{
"content": "SELECT census_division FROM table_21284653_1 WHERE name = \"Stratford\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (mintage VARCHAR, weight VARCHAR, theme VARCHAR)",
"role": "system"
},
{
"content": "What is the Mintage of the 12.61 g Weight Ruby-Throated Hummingbird?",
"role": "user"
},
{
"content": "SELECT COUNT(mintage) FROM table_name_88 WHERE weight = \"12.61 g\" AND theme = \"ruby-throated hummingbird\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18207285_2 (opponents INTEGER, result VARCHAR, game VARCHAR)",
"role": "system"
},
{
"content": "How many opponents played 1 game with a result win?",
"role": "user"
},
{
"content": "SELECT MAX(opponents) FROM table_18207285_2 WHERE result = \"Win\" AND game = 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_26240046_1 (first_appearance VARCHAR, season_4 VARCHAR)",
"role": "system"
},
{
"content": "What episode was the first appearance of the character who appears 7 times in season 4?",
"role": "user"
},
{
"content": "SELECT first_appearance FROM table_26240046_1 WHERE season_4 = 7",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_41 (school VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "Which School did Player Tyrone Johnson attend?",
"role": "user"
},
{
"content": "SELECT school FROM table_name_41 WHERE player = \"tyrone johnson\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25548630_1 (points VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "How many points does Marussia Manor Racing have?",
"role": "user"
},
{
"content": "SELECT COUNT(points) FROM table_25548630_1 WHERE team = \"Marussia Manor Racing\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids?",
"role": "user"
},
{
"content": "SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_cup_runner_up = \"Colorado Rapids\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the hometown of Mike White?",
"role": "user"
},
{
"content": "SELECT hometown_school FROM table_name_40 WHERE position = \"of\" AND player = \"mike white\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "What are the notes for the person ranked larger than 2, and a time of 1:48.179?",
"role": "user"
},
{
"content": "SELECT notes FROM table_name_48 WHERE rank > 2 AND time = \"1:48.179\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_69 (language VARCHAR, number VARCHAR)",
"role": "system"
},
{
"content": "Name the language that has number of 14",
"role": "user"
},
{
"content": "SELECT language FROM table_name_69 WHERE number = \"14\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (points VARCHAR, year VARCHAR)",
"role": "system"
},
{
"content": "What is the total points in 1974?",
"role": "user"
},
{
"content": "SELECT COUNT(points) FROM table_name_47 WHERE year = 1974",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_18 (silver INTEGER, sport VARCHAR, bronze VARCHAR)",
"role": "system"
},
{
"content": "Name the highest silver for table tennis and bronze more than 0",
"role": "user"
},
{
"content": "SELECT MAX(silver) FROM table_name_18 WHERE sport = \"table tennis\" AND bronze > 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR)",
"role": "system"
},
{
"content": "Name the maximum year built for holmedal kyrkje",
"role": "user"
},
{
"content": "SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = \"Holmedal kyrkje\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_21 (fin_pos VARCHAR, grid VARCHAR)",
"role": "system"
},
{
"content": "What was the finishing position for the car that started in grid 6?",
"role": "user"
},
{
"content": "SELECT fin_pos FROM table_name_21 WHERE grid = \"6\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19089486_1 (leagues_entering_this_round VARCHAR, clubs_involved VARCHAR)",
"role": "system"
},
{
"content": "Name the leagues entering this round for 4",
"role": "user"
},
{
"content": "SELECT leagues_entering_this_round FROM table_19089486_1 WHERE clubs_involved = 4",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR)",
"role": "system"
},
{
"content": "What's the total power of the unit whose construction finished on 14.06.1963?",
"role": "user"
},
{
"content": "SELECT total_power FROM table_12983929_1 WHERE construction_finish = \"14.06.1963\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1341522_41 (party VARCHAR, incumbent VARCHAR)",
"role": "system"
},
{
"content": "What party does ron klink represent?",
"role": "user"
},
{
"content": "SELECT party FROM table_1341522_41 WHERE incumbent = \"Ron Klink\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21500850_1 (original_game VARCHAR, artist VARCHAR)",
"role": "system"
},
{
"content": "What is every original game for the artist Lynyrd Skynyrd?",
"role": "user"
},
{
"content": "SELECT original_game FROM table_21500850_1 WHERE artist = \"Lynyrd Skynyrd\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_96 (date VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Which date featured the Boston Patriots as the opponent?",
"role": "user"
},
{
"content": "SELECT date FROM table_name_96 WHERE opponent = \"boston patriots\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_85 (home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the score for Collingwood as the home team?",
"role": "user"
},
{
"content": "SELECT home_team AS score FROM table_name_85 WHERE home_team = \"collingwood\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_27 (sign_in_bicker VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "What is the Sign-in/Bicker at wash50 on washington rd?",
"role": "user"
},
{
"content": "SELECT sign_in_bicker FROM table_name_27 WHERE location = \"wash50 on washington rd\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_12 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR)",
"role": "system"
},
{
"content": "Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chichiue-sama?",
"role": "user"
},
{
"content": "SELECT japanese_title FROM table_name_12 WHERE episodes > 9 AND romaji_title = \"haikei, chichiue-sama\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_99 (w_plyf INTEGER, w_l_percentage VARCHAR, first_yr VARCHAR, g_plyf VARCHAR, g_ VARCHAR, _500 VARCHAR)",
"role": "system"
},
{
"content": "What is the highest w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43, and a w-l% less than 0.578?",
"role": "user"
},
{
"content": "SELECT MAX(w_plyf) FROM table_name_99 WHERE first_yr < 1960 AND g_plyf > 0 AND g_ > _500 < 43 AND w_l_percentage < 0.578",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_92 (region VARCHAR, label VARCHAR)",
"role": "system"
},
{
"content": "What was the region when the label was the universal music group?",
"role": "user"
},
{
"content": "SELECT region FROM table_name_92 WHERE label = \"universal music group\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_93 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR)",
"role": "system"
},
{
"content": "Which tournament has an Outcome of runner-up, and an Opponent of maša zec peškirič?",
"role": "user"
},
{
"content": "SELECT tournament FROM table_name_93 WHERE outcome = \"runner-up\" AND opponent = \"maša zec peškirič\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)",
"role": "system"
},
{
"content": "What score was conceded by Richmond?",
"role": "user"
},
{
"content": "SELECT away_team AS score FROM table_name_94 WHERE home_team = \"richmond\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_68 (total VARCHAR, set_1 VARCHAR)",
"role": "system"
},
{
"content": "What is the total when the score of set 1 was 15–11?",
"role": "user"
},
{
"content": "SELECT total FROM table_name_68 WHERE set_1 = \"15–11\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_38 (directed_by VARCHAR, production_code VARCHAR)",
"role": "system"
},
{
"content": "who was the director of the episode with production code ad1a26?",
"role": "user"
},
{
"content": "SELECT directed_by FROM table_name_38 WHERE production_code = \"ad1a26\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR)",
"role": "system"
},
{
"content": "how many times was the catalog number cal01 / 0091037137319?",
"role": "user"
},
{
"content": "SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = \"CAL01 / 0091037137319\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_28 (type VARCHAR, principal_activities VARCHAR)",
"role": "system"
},
{
"content": "Which Type has a Principal activities of health services?",
"role": "user"
},
{
"content": "SELECT type FROM table_name_28 WHERE principal_activities = \"health services\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_46 (lot_no INTEGER, notes VARCHAR, diagram VARCHAR)",
"role": "system"
},
{
"content": "Name the most lot number with notes of b4 bogies and diagram of 185",
"role": "user"
},
{
"content": "SELECT MAX(lot_no) FROM table_name_46 WHERE notes = \"b4 bogies\" AND diagram = 185",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_14752049_6 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR)",
"role": "system"
},
{
"content": "When 24.1 million is international tourist arrivals (2012) what is the change (2010 to 2011) ?",
"role": "user"
},
{
"content": "SELECT change__2010_to_2011_ FROM table_14752049_6 WHERE international_tourist_arrivals__2012_ = \"24.1 million\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What was the term of Bruce Biers Kendall whose hometown is Anchorage?",
"role": "user"
},
{
"content": "SELECT term FROM table_name_6 WHERE hometown = \"anchorage\" AND name = \"bruce biers kendall\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1566852_6 (interview_subject VARCHAR, centerfold_model VARCHAR)",
"role": "system"
},
{
"content": "How many total interview subjects wererthere when the centerfold model was Tamara Witmer?",
"role": "user"
},
{
"content": "SELECT COUNT(interview_subject) FROM table_1566852_6 WHERE centerfold_model = \"Tamara Witmer\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR)",
"role": "system"
},
{
"content": "What is the number of gold for the country ranked 19?",
"role": "user"
},
{
"content": "SELECT SUM(gold) FROM table_name_19 WHERE rank = \"19\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2208838_2 (result VARCHAR, runner_up VARCHAR)",
"role": "system"
},
{
"content": "What was the final score when River Plate was the runner-up?",
"role": "user"
},
{
"content": "SELECT result FROM table_2208838_2 WHERE runner_up = \"River Plate\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR)",
"role": "system"
},
{
"content": "Name the position of pick 234",
"role": "user"
},
{
"content": "SELECT position FROM table_name_67 WHERE pick = \"234\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10966926_2 (player_name VARCHAR, college VARCHAR)",
"role": "system"
},
{
"content": "Which player went to Michigan State?",
"role": "user"
},
{
"content": "SELECT player_name FROM table_10966926_2 WHERE college = \"Michigan State\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11884814_3 (swimsuit VARCHAR, interview VARCHAR)",
"role": "system"
},
{
"content": "What is the swimsuit score when the interview was 9.74?",
"role": "user"
},
{
"content": "SELECT swimsuit FROM table_11884814_3 WHERE interview = \"9.74\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_2 (race_2 VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "What is Race 2, when Driver is John Faulkner?",
"role": "user"
},
{
"content": "SELECT race_2 FROM table_name_2 WHERE driver = \"john faulkner\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.