text
stringlengths 147
1.06k
| source
dict |
---|---|
### INSTRUCTION
Which language is used by the optimum TV service that shows cricket and is based in the United States?
### INPUT
CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR)
### OUTPUT
SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket" | {
"input": "CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR)",
"instruction": "Which language is used by the optimum TV service that shows cricket and is based in the United States?",
"output": "SELECT language FROM table_name_43 WHERE service = \"optimum tv\" AND origin_of_programming = \"united states\" AND genre = \"cricket\""
} |
### INSTRUCTION
What is the lowest code number for the remainder of the municipality that has an area bigger than 15.34 squared kilometers, a population greater than 762 and a language of xhosa spoken?
### INPUT
CREATE TABLE table_name_3 (code INTEGER, place VARCHAR, area__km_2__ VARCHAR, population VARCHAR, most_spoken_language VARCHAR)
### OUTPUT
SELECT MIN(code) FROM table_name_3 WHERE population > 762 AND most_spoken_language = "xhosa" AND area__km_2__ > 15.34 AND place = "remainder of the municipality" | {
"input": "CREATE TABLE table_name_3 (code INTEGER, place VARCHAR, area__km_2__ VARCHAR, population VARCHAR, most_spoken_language VARCHAR)",
"instruction": "What is the lowest code number for the remainder of the municipality that has an area bigger than 15.34 squared kilometers, a population greater than 762 and a language of xhosa spoken?",
"output": "SELECT MIN(code) FROM table_name_3 WHERE population > 762 AND most_spoken_language = \"xhosa\" AND area__km_2__ > 15.34 AND place = \"remainder of the municipality\""
} |
### INSTRUCTION
Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated?
### INPUT
CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR)
### OUTPUT
SELECT years FROM table_name_41 WHERE decile < 6 AND area = "te kuiti" AND authority = "state integrated" | {
"input": "CREATE TABLE table_name_41 (years VARCHAR, authority VARCHAR, decile VARCHAR, area VARCHAR)",
"instruction": "Which years have a Decile smaller than 6, an Area of te kuiti, and an Authority of state integrated?",
"output": "SELECT years FROM table_name_41 WHERE decile < 6 AND area = \"te kuiti\" AND authority = \"state integrated\""
} |
### INSTRUCTION
What is the sum of the Cultural and Educational Panels that have an Administrative Panel greater than 1, an Agricultural Panel of 11 and a University of Dublin smaller than 3?
### INPUT
CREATE TABLE table_name_3 (cultural_and_educational_panel INTEGER, university_of_dublin VARCHAR, administrative_panel VARCHAR, agricultural_panel VARCHAR)
### OUTPUT
SELECT SUM(cultural_and_educational_panel) FROM table_name_3 WHERE administrative_panel > 1 AND agricultural_panel = 11 AND university_of_dublin < 3 | {
"input": "CREATE TABLE table_name_3 (cultural_and_educational_panel INTEGER, university_of_dublin VARCHAR, administrative_panel VARCHAR, agricultural_panel VARCHAR)",
"instruction": "What is the sum of the Cultural and Educational Panels that have an Administrative Panel greater than 1, an Agricultural Panel of 11 and a University of Dublin smaller than 3?",
"output": "SELECT SUM(cultural_and_educational_panel) FROM table_name_3 WHERE administrative_panel > 1 AND agricultural_panel = 11 AND university_of_dublin < 3"
} |
### INSTRUCTION
What is the lowest amount of losses the United States, ranked higher than 3 with more than 6 wins, have?
### INPUT
CREATE TABLE table_name_96 (losses INTEGER, wins VARCHAR, rank VARCHAR, team VARCHAR)
### OUTPUT
SELECT MIN(losses) FROM table_name_96 WHERE rank < 3 AND team = "united states" AND wins > 6 | {
"input": "CREATE TABLE table_name_96 (losses INTEGER, wins VARCHAR, rank VARCHAR, team VARCHAR)",
"instruction": "What is the lowest amount of losses the United States, ranked higher than 3 with more than 6 wins, have?",
"output": "SELECT MIN(losses) FROM table_name_96 WHERE rank < 3 AND team = \"united states\" AND wins > 6"
} |
### INSTRUCTION
Who was the manufacturer for the car that dani pedrosa did less than 9 laps in?
### INPUT
CREATE TABLE table_name_86 (manufacturer VARCHAR, laps VARCHAR, rider VARCHAR)
### OUTPUT
SELECT manufacturer FROM table_name_86 WHERE laps < 9 AND rider = "dani pedrosa" | {
"input": "CREATE TABLE table_name_86 (manufacturer VARCHAR, laps VARCHAR, rider VARCHAR)",
"instruction": "Who was the manufacturer for the car that dani pedrosa did less than 9 laps in?",
"output": "SELECT manufacturer FROM table_name_86 WHERE laps < 9 AND rider = \"dani pedrosa\""
} |
### INSTRUCTION
What is the density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei?
### INPUT
CREATE TABLE table_name_21 (density__hab__km²__ VARCHAR, population_under_1_year_old_censo_2007_hab_ VARCHAR)
### OUTPUT
SELECT density__hab__km²__ FROM table_name_21 WHERE population_under_1_year_old_censo_2007_hab_ = "* data from the census taken by the inei" | {
"input": "CREATE TABLE table_name_21 (density__hab__km²__ VARCHAR, population_under_1_year_old_censo_2007_hab_ VARCHAR)",
"instruction": "What is the density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei?",
"output": "SELECT density__hab__km²__ FROM table_name_21 WHERE population_under_1_year_old_censo_2007_hab_ = \"* data from the census taken by the inei\""
} |
### INSTRUCTION
What is the total number of people living in the nations that do not use English?
### INPUT
CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR); CREATE TABLE country (Population INTEGER, Name VARCHAR)
### OUTPUT
SELECT SUM(Population) FROM country WHERE NOT Name IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English") | {
"input": "CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR); CREATE TABLE country (Population INTEGER, Name VARCHAR)",
"instruction": "What is the total number of people living in the nations that do not use English?",
"output": "SELECT SUM(Population) FROM country WHERE NOT Name IN (SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = \"English\")"
} |
### INSTRUCTION
How many tickets were sold/available when the gross revenue (2011) was $5,948,390?
### INPUT
CREATE TABLE table_name_4 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
### OUTPUT
SELECT tickets_sold___available FROM table_name_4 WHERE gross_revenue__2011_ = "$5,948,390" | {
"input": "CREATE TABLE table_name_4 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)",
"instruction": "How many tickets were sold/available when the gross revenue (2011) was $5,948,390?",
"output": "SELECT tickets_sold___available FROM table_name_4 WHERE gross_revenue__2011_ = \"$5,948,390\""
} |
### INSTRUCTION
How many touchdowns did Albert Herrnstein make?
### INPUT
CREATE TABLE table_14342210_14 (touchdowns__5_points_ VARCHAR, player VARCHAR)
### OUTPUT
SELECT touchdowns__5_points_ FROM table_14342210_14 WHERE player = "Albert Herrnstein" | {
"input": "CREATE TABLE table_14342210_14 (touchdowns__5_points_ VARCHAR, player VARCHAR)",
"instruction": "How many touchdowns did Albert Herrnstein make?",
"output": "SELECT touchdowns__5_points_ FROM table_14342210_14 WHERE player = \"Albert Herrnstein\""
} |
### INSTRUCTION
Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14?
### INPUT
CREATE TABLE table_name_80 (byes INTEGER, wins VARCHAR, against VARCHAR, ntfa_div_2 VARCHAR)
### OUTPUT
SELECT MAX(byes) FROM table_name_80 WHERE against < 1647 AND ntfa_div_2 = "fingal valley" AND wins < 14 | {
"input": "CREATE TABLE table_name_80 (byes INTEGER, wins VARCHAR, against VARCHAR, ntfa_div_2 VARCHAR)",
"instruction": "Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14?",
"output": "SELECT MAX(byes) FROM table_name_80 WHERE against < 1647 AND ntfa_div_2 = \"fingal valley\" AND wins < 14"
} |
### INSTRUCTION
WHAT IS THE POSITION WITH A ROUND LARGER THAN 6, AND OVERALL OF 191?
### INPUT
CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR, overall VARCHAR)
### OUTPUT
SELECT position FROM table_name_9 WHERE round > 6 AND overall = 191 | {
"input": "CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR, overall VARCHAR)",
"instruction": "WHAT IS THE POSITION WITH A ROUND LARGER THAN 6, AND OVERALL OF 191?",
"output": "SELECT position FROM table_name_9 WHERE round > 6 AND overall = 191"
} |
### INSTRUCTION
What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36?
### INPUT
CREATE TABLE table_name_35 (matches INTEGER, average VARCHAR, best_bowling VARCHAR, wickets VARCHAR, team VARCHAR)
### OUTPUT
SELECT MAX(matches) FROM table_name_35 WHERE wickets > 13 AND team = "australia" AND best_bowling = "5/36" AND average < 23.33 | {
"input": "CREATE TABLE table_name_35 (matches INTEGER, average VARCHAR, best_bowling VARCHAR, wickets VARCHAR, team VARCHAR)",
"instruction": "What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36?",
"output": "SELECT MAX(matches) FROM table_name_35 WHERE wickets > 13 AND team = \"australia\" AND best_bowling = \"5/36\" AND average < 23.33"
} |
### INSTRUCTION
Which engineer has visited the most times? Show the engineer id, first name and last name.
### INPUT
CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Engineer_Visits (Id VARCHAR)
### OUTPUT
SELECT T1.engineer_id, T1.first_name, T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 GROUP BY T1.engineer_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE Engineer_Visits (Id VARCHAR)",
"instruction": "Which engineer has visited the most times? Show the engineer id, first name and last name.",
"output": "SELECT T1.engineer_id, T1.first_name, T1.last_name FROM Maintenance_Engineers AS T1 JOIN Engineer_Visits AS T2 GROUP BY T1.engineer_id ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
Which Year has a Venue of bydgoszcz, poland, and an Event of junior team?
### INPUT
CREATE TABLE table_name_75 (year INTEGER, venue VARCHAR, event VARCHAR)
### OUTPUT
SELECT AVG(year) FROM table_name_75 WHERE venue = "bydgoszcz, poland" AND event = "junior team" | {
"input": "CREATE TABLE table_name_75 (year INTEGER, venue VARCHAR, event VARCHAR)",
"instruction": "Which Year has a Venue of bydgoszcz, poland, and an Event of junior team?",
"output": "SELECT AVG(year) FROM table_name_75 WHERE venue = \"bydgoszcz, poland\" AND event = \"junior team\""
} |
### INSTRUCTION
What was the date of the tournament with a clay surface and an opponent of Irina Falconi?
### INPUT
CREATE TABLE table_name_43 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT date FROM table_name_43 WHERE surface = "clay" AND opponent = "irina falconi" | {
"input": "CREATE TABLE table_name_43 (date VARCHAR, surface VARCHAR, opponent VARCHAR)",
"instruction": "What was the date of the tournament with a clay surface and an opponent of Irina Falconi?",
"output": "SELECT date FROM table_name_43 WHERE surface = \"clay\" AND opponent = \"irina falconi\""
} |
### INSTRUCTION
What is the format for the United States dated July 23, 2002?
### INPUT
CREATE TABLE table_name_84 (format VARCHAR, region VARCHAR, date VARCHAR)
### OUTPUT
SELECT format FROM table_name_84 WHERE region = "united states" AND date = "july 23, 2002" | {
"input": "CREATE TABLE table_name_84 (format VARCHAR, region VARCHAR, date VARCHAR)",
"instruction": "What is the format for the United States dated July 23, 2002?",
"output": "SELECT format FROM table_name_84 WHERE region = \"united states\" AND date = \"july 23, 2002\""
} |
### INSTRUCTION
Which date was a GTS class on the Mosport International Raceway?
### INPUT
CREATE TABLE table_name_98 (date VARCHAR, class VARCHAR, circuit VARCHAR)
### OUTPUT
SELECT date FROM table_name_98 WHERE class = "gts" AND circuit = "mosport international raceway" | {
"input": "CREATE TABLE table_name_98 (date VARCHAR, class VARCHAR, circuit VARCHAR)",
"instruction": "Which date was a GTS class on the Mosport International Raceway?",
"output": "SELECT date FROM table_name_98 WHERE class = \"gts\" AND circuit = \"mosport international raceway\""
} |
### INSTRUCTION
List the project details of the projects with the research outcome described with the substring 'Published'.
### INPUT
CREATE TABLE Research_outcomes (outcome_code VARCHAR, outcome_description VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)
### OUTPUT
SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description LIKE '%Published%' | {
"input": "CREATE TABLE Research_outcomes (outcome_code VARCHAR, outcome_description VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR)",
"instruction": "List the project details of the projects with the research outcome described with the substring 'Published'.",
"output": "SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description LIKE '%Published%'"
} |
### INSTRUCTION
What club did united states player ty harden play for?
### INPUT
CREATE TABLE table_name_55 (club VARCHAR, nationality VARCHAR, player VARCHAR)
### OUTPUT
SELECT club FROM table_name_55 WHERE nationality = "united states" AND player = "ty harden" | {
"input": "CREATE TABLE table_name_55 (club VARCHAR, nationality VARCHAR, player VARCHAR)",
"instruction": "What club did united states player ty harden play for?",
"output": "SELECT club FROM table_name_55 WHERE nationality = \"united states\" AND player = \"ty harden\""
} |
### INSTRUCTION
What is the highest number born in a none EU state (1000) from Denmark with a total population (1000) less than 5,534?
### INPUT
CREATE TABLE table_name_20 (born_in_a_non_eu_state__1000_ INTEGER, country VARCHAR, total_population__1000_ VARCHAR)
### OUTPUT
SELECT MAX(born_in_a_non_eu_state__1000_) FROM table_name_20 WHERE country = "denmark" AND total_population__1000_ < 5 OFFSET 534 | {
"input": "CREATE TABLE table_name_20 (born_in_a_non_eu_state__1000_ INTEGER, country VARCHAR, total_population__1000_ VARCHAR)",
"instruction": "What is the highest number born in a none EU state (1000) from Denmark with a total population (1000) less than 5,534?",
"output": "SELECT MAX(born_in_a_non_eu_state__1000_) FROM table_name_20 WHERE country = \"denmark\" AND total_population__1000_ < 5 OFFSET 534"
} |
### INSTRUCTION
What is Player, when To Par is greater than 6, and when Year(s) Won is "1962 , 1967"?
### INPUT
CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
### OUTPUT
SELECT player FROM table_name_41 WHERE to_par > 6 AND year_s__won = "1962 , 1967" | {
"input": "CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)",
"instruction": "What is Player, when To Par is greater than 6, and when Year(s) Won is \"1962 , 1967\"?",
"output": "SELECT player FROM table_name_41 WHERE to_par > 6 AND year_s__won = \"1962 , 1967\""
} |
### INSTRUCTION
What is the frequency of the Turion 64 X2 TL-62?
### INPUT
CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR)
### OUTPUT
SELECT frequency FROM table_name_8 WHERE model_number = "turion 64 x2 tl-62" | {
"input": "CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR)",
"instruction": "What is the frequency of the Turion 64 X2 TL-62?",
"output": "SELECT frequency FROM table_name_8 WHERE model_number = \"turion 64 x2 tl-62\""
} |
### INSTRUCTION
What was the Attendance on 31 January 1987?
### INPUT
CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)
### OUTPUT
SELECT COUNT(attendance) FROM table_name_44 WHERE date = "31 january 1987" | {
"input": "CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)",
"instruction": "What was the Attendance on 31 January 1987?",
"output": "SELECT COUNT(attendance) FROM table_name_44 WHERE date = \"31 january 1987\""
} |
### INSTRUCTION
Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano?
### INPUT
CREATE TABLE table_name_77 (party VARCHAR, years_in_assembly VARCHAR, name VARCHAR)
### OUTPUT
SELECT party FROM table_name_77 WHERE years_in_assembly = "2008–present" AND name = "tom ammiano" | {
"input": "CREATE TABLE table_name_77 (party VARCHAR, years_in_assembly VARCHAR, name VARCHAR)",
"instruction": "Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano?",
"output": "SELECT party FROM table_name_77 WHERE years_in_assembly = \"2008–present\" AND name = \"tom ammiano\""
} |
### INSTRUCTION
What was Rut's Slovenes percentage in 1991?
### INPUT
CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)
### OUTPUT
SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = "rut" | {
"input": "CREATE TABLE table_name_76 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)",
"instruction": "What was Rut's Slovenes percentage in 1991?",
"output": "SELECT percent_of_slovenes_1991 FROM table_name_76 WHERE village__slovenian_ = \"rut\""
} |
### INSTRUCTION
what is the average enrollment when the team nickname is wolverines and founded is after 1817?
### INPUT
CREATE TABLE table_name_55 (enrollment INTEGER, team_nickname VARCHAR, founded VARCHAR)
### OUTPUT
SELECT AVG(enrollment) FROM table_name_55 WHERE team_nickname = "wolverines" AND founded > 1817 | {
"input": "CREATE TABLE table_name_55 (enrollment INTEGER, team_nickname VARCHAR, founded VARCHAR)",
"instruction": "what is the average enrollment when the team nickname is wolverines and founded is after 1817?",
"output": "SELECT AVG(enrollment) FROM table_name_55 WHERE team_nickname = \"wolverines\" AND founded > 1817"
} |
### INSTRUCTION
How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?
### INPUT
CREATE TABLE table_18602462_22 (round_of_32 VARCHAR, round_of_16 VARCHAR)
### OUTPUT
SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = "Polidori ( ITA ) W 6-1, 3-6, 6-3" | {
"input": "CREATE TABLE table_18602462_22 (round_of_32 VARCHAR, round_of_16 VARCHAR)",
"instruction": "How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?",
"output": "SELECT COUNT(round_of_32) FROM table_18602462_22 WHERE round_of_16 = \"Polidori ( ITA ) W 6-1, 3-6, 6-3\""
} |
### INSTRUCTION
Show member names that are not in the Progress Party.
### INPUT
CREATE TABLE party (party_id VARCHAR, Party_name VARCHAR); CREATE TABLE Member (member_name VARCHAR, party_id VARCHAR)
### OUTPUT
SELECT T1.member_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id WHERE T2.Party_name <> "Progress Party" | {
"input": "CREATE TABLE party (party_id VARCHAR, Party_name VARCHAR); CREATE TABLE Member (member_name VARCHAR, party_id VARCHAR)",
"instruction": "Show member names that are not in the Progress Party.",
"output": "SELECT T1.member_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id WHERE T2.Party_name <> \"Progress Party\""
} |
### INSTRUCTION
What are the code and description of the most frequent behavior incident type?
### INPUT
CREATE TABLE Ref_Incident_Type (incident_type_description VARCHAR, incident_type_code VARCHAR); CREATE TABLE Behavior_Incident (incident_type_code VARCHAR)
### OUTPUT
SELECT T1.incident_type_code, T2.incident_type_description FROM Behavior_Incident AS T1 JOIN Ref_Incident_Type AS T2 ON T1.incident_type_code = T2.incident_type_code GROUP BY T1.incident_type_code ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE Ref_Incident_Type (incident_type_description VARCHAR, incident_type_code VARCHAR); CREATE TABLE Behavior_Incident (incident_type_code VARCHAR)",
"instruction": "What are the code and description of the most frequent behavior incident type?",
"output": "SELECT T1.incident_type_code, T2.incident_type_description FROM Behavior_Incident AS T1 JOIN Ref_Incident_Type AS T2 ON T1.incident_type_code = T2.incident_type_code GROUP BY T1.incident_type_code ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
In what Games did Patrick Etolu compete?
### INPUT
CREATE TABLE table_name_60 (games VARCHAR, name VARCHAR)
### OUTPUT
SELECT games FROM table_name_60 WHERE name = "patrick etolu" | {
"input": "CREATE TABLE table_name_60 (games VARCHAR, name VARCHAR)",
"instruction": "In what Games did Patrick Etolu compete?",
"output": "SELECT games FROM table_name_60 WHERE name = \"patrick etolu\""
} |
### INSTRUCTION
Find the ids and first names of the 3 teachers that have the most number of assessment notes?
### INPUT
CREATE TABLE Assessment_Notes (teacher_id VARCHAR); CREATE TABLE Teachers (first_name VARCHAR, teacher_id VARCHAR)
### OUTPUT
SELECT T1.teacher_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id GROUP BY T1.teacher_id ORDER BY COUNT(*) DESC LIMIT 3 | {
"input": "CREATE TABLE Assessment_Notes (teacher_id VARCHAR); CREATE TABLE Teachers (first_name VARCHAR, teacher_id VARCHAR)",
"instruction": "Find the ids and first names of the 3 teachers that have the most number of assessment notes?",
"output": "SELECT T1.teacher_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id GROUP BY T1.teacher_id ORDER BY COUNT(*) DESC LIMIT 3"
} |
### INSTRUCTION
Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?
### INPUT
CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR)
### OUTPUT
SELECT high_rebounds FROM table_23248910_5 WHERE record = "5-2" | {
"input": "CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR)",
"instruction": "Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?",
"output": "SELECT high_rebounds FROM table_23248910_5 WHERE record = \"5-2\""
} |
### INSTRUCTION
What is the first year of the European Championships competition?
### INPUT
CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR)
### OUTPUT
SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships" | {
"input": "CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR)",
"instruction": "What is the first year of the European Championships competition?",
"output": "SELECT MIN(year) FROM table_name_52 WHERE competition = \"european championships\""
} |
### INSTRUCTION
what is the club that was founded before 2007, joined prsl in 2008 and the stadium is yldefonso solá morales stadium?
### INPUT
CREATE TABLE table_name_85 (club VARCHAR, stadium VARCHAR, founded VARCHAR, joined_prsl VARCHAR)
### OUTPUT
SELECT club FROM table_name_85 WHERE founded < 2007 AND joined_prsl = 2008 AND stadium = "yldefonso solá morales stadium" | {
"input": "CREATE TABLE table_name_85 (club VARCHAR, stadium VARCHAR, founded VARCHAR, joined_prsl VARCHAR)",
"instruction": "what is the club that was founded before 2007, joined prsl in 2008 and the stadium is yldefonso solá morales stadium?",
"output": "SELECT club FROM table_name_85 WHERE founded < 2007 AND joined_prsl = 2008 AND stadium = \"yldefonso solá morales stadium\""
} |
### INSTRUCTION
WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?
### INPUT
CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)
### OUTPUT
SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = "Piret Hamer Helen Reino" | {
"input": "CREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)",
"instruction": "WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?",
"output": "SELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = \"Piret Hamer Helen Reino\""
} |
### INSTRUCTION
How many floors does the building on 800 Boylston Street have?
### INPUT
CREATE TABLE table_name_52 (floors INTEGER, street_address VARCHAR)
### OUTPUT
SELECT MAX(floors) FROM table_name_52 WHERE street_address = "800 boylston street" | {
"input": "CREATE TABLE table_name_52 (floors INTEGER, street_address VARCHAR)",
"instruction": "How many floors does the building on 800 Boylston Street have?",
"output": "SELECT MAX(floors) FROM table_name_52 WHERE street_address = \"800 boylston street\""
} |
### INSTRUCTION
What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?
### INPUT
CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)
### OUTPUT
SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016 | {
"input": "CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)",
"instruction": "What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?",
"output": "SELECT MIN(took_office) FROM table_name_70 WHERE name = \"yvette alexander\" AND up_for_reelection > 2016"
} |
### INSTRUCTION
What location has more than 2 games with 2:56?
### INPUT
CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR)
### OUTPUT
SELECT location FROM table_name_67 WHERE game > 2 AND time = "2:56" | {
"input": "CREATE TABLE table_name_67 (location VARCHAR, game VARCHAR, time VARCHAR)",
"instruction": "What location has more than 2 games with 2:56?",
"output": "SELECT location FROM table_name_67 WHERE game > 2 AND time = \"2:56\""
} |
### INSTRUCTION
What is the total number of civil liberties 2011 values having 2010 political rights values under 3 and 2011 political rights values under 1?
### INPUT
CREATE TABLE table_name_70 (civil_liberties_2011 VARCHAR, political_rights_2010 VARCHAR, political_rights_2011 VARCHAR)
### OUTPUT
SELECT COUNT(civil_liberties_2011) FROM table_name_70 WHERE political_rights_2010 < 3 AND political_rights_2011 < 1 | {
"input": "CREATE TABLE table_name_70 (civil_liberties_2011 VARCHAR, political_rights_2010 VARCHAR, political_rights_2011 VARCHAR)",
"instruction": "What is the total number of civil liberties 2011 values having 2010 political rights values under 3 and 2011 political rights values under 1?",
"output": "SELECT COUNT(civil_liberties_2011) FROM table_name_70 WHERE political_rights_2010 < 3 AND political_rights_2011 < 1"
} |
### INSTRUCTION
What was the F/Laps when the Wins were 0 and the Position was 4th?
### INPUT
CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)
### OUTPUT
SELECT f_laps FROM table_name_97 WHERE wins = "0" AND position = "4th" | {
"input": "CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR)",
"instruction": "What was the F/Laps when the Wins were 0 and the Position was 4th?",
"output": "SELECT f_laps FROM table_name_97 WHERE wins = \"0\" AND position = \"4th\""
} |
### INSTRUCTION
I want the total number of ends for filip šebo and Goals more than 2
### INPUT
CREATE TABLE table_name_67 (ends VARCHAR, name VARCHAR, goals VARCHAR)
### OUTPUT
SELECT COUNT(ends) FROM table_name_67 WHERE name = "filip šebo" AND goals > 2 | {
"input": "CREATE TABLE table_name_67 (ends VARCHAR, name VARCHAR, goals VARCHAR)",
"instruction": "I want the total number of ends for filip šebo and Goals more than 2",
"output": "SELECT COUNT(ends) FROM table_name_67 WHERE name = \"filip šebo\" AND goals > 2"
} |
### INSTRUCTION
What is the primary artillery for the 1,051 ships?
### INPUT
CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR)
### OUTPUT
SELECT main_artillery FROM table_23614702_2 WHERE tons___lton__ = "1,051" | {
"input": "CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR)",
"instruction": "What is the primary artillery for the 1,051 ships?",
"output": "SELECT main_artillery FROM table_23614702_2 WHERE tons___lton__ = \"1,051\""
} |
### INSTRUCTION
If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power?
### INPUT
CREATE TABLE table_21021796_1 (power VARCHAR, torque VARCHAR, applications VARCHAR)
### OUTPUT
SELECT power FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1600–2400 rpm" AND applications = "2000 W90x Sprinter" | {
"input": "CREATE TABLE table_21021796_1 (power VARCHAR, torque VARCHAR, applications VARCHAR)",
"instruction": "If torque is n·m (lb·ft) @1600–2400 rpm and applications is 2000 w90x sprinter, what is the power?",
"output": "SELECT power FROM table_21021796_1 WHERE torque = \"N·m (lb·ft) @1600–2400 rpm\" AND applications = \"2000 W90x Sprinter\""
} |
### INSTRUCTION
What pick number did Real Salt Lake get?
### INPUT
CREATE TABLE table_29836557_2 (pick__number INTEGER, mls_team VARCHAR)
### OUTPUT
SELECT MIN(pick__number) FROM table_29836557_2 WHERE mls_team = "Real Salt Lake" | {
"input": "CREATE TABLE table_29836557_2 (pick__number INTEGER, mls_team VARCHAR)",
"instruction": "What pick number did Real Salt Lake get?",
"output": "SELECT MIN(pick__number) FROM table_29836557_2 WHERE mls_team = \"Real Salt Lake\""
} |
### INSTRUCTION
What venue does the soccer team Pennsylvania Stoners play in?
### INPUT
CREATE TABLE table_name_55 (venue VARCHAR, sport VARCHAR, club VARCHAR)
### OUTPUT
SELECT venue FROM table_name_55 WHERE sport = "soccer" AND club = "pennsylvania stoners" | {
"input": "CREATE TABLE table_name_55 (venue VARCHAR, sport VARCHAR, club VARCHAR)",
"instruction": "What venue does the soccer team Pennsylvania Stoners play in?",
"output": "SELECT venue FROM table_name_55 WHERE sport = \"soccer\" AND club = \"pennsylvania stoners\""
} |
### INSTRUCTION
Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points?
### INPUT
CREATE TABLE table_name_88 (points INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR)
### OUTPUT
SELECT AVG(points) FROM table_name_88 WHERE against < 53 AND drawn < 10 AND played < 38 | {
"input": "CREATE TABLE table_name_88 (points INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR)",
"instruction": "Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points?",
"output": "SELECT AVG(points) FROM table_name_88 WHERE against < 53 AND drawn < 10 AND played < 38"
} |
### INSTRUCTION
What is Pick, when Round is "6", when Nationality is "Canada", when Draft is greater than 1983, and when Player is "Ed Ward Category:Articles with hCards"?
### INPUT
CREATE TABLE table_name_37 (pick VARCHAR, player VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)
### OUTPUT
SELECT pick FROM table_name_37 WHERE round = "6" AND nationality = "canada" AND draft > 1983 AND player = "ed ward category:articles with hcards" | {
"input": "CREATE TABLE table_name_37 (pick VARCHAR, player VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)",
"instruction": "What is Pick, when Round is \"6\", when Nationality is \"Canada\", when Draft is greater than 1983, and when Player is \"Ed Ward Category:Articles with hCards\"?",
"output": "SELECT pick FROM table_name_37 WHERE round = \"6\" AND nationality = \"canada\" AND draft > 1983 AND player = \"ed ward category:articles with hcards\""
} |
### INSTRUCTION
How many times is keauna mclaughlin / rockne brubaker ranked?
### INPUT
CREATE TABLE table_23938357_6 (rank VARCHAR, name VARCHAR)
### OUTPUT
SELECT COUNT(rank) FROM table_23938357_6 WHERE name = "Keauna McLaughlin / Rockne Brubaker" | {
"input": "CREATE TABLE table_23938357_6 (rank VARCHAR, name VARCHAR)",
"instruction": "How many times is keauna mclaughlin / rockne brubaker ranked?",
"output": "SELECT COUNT(rank) FROM table_23938357_6 WHERE name = \"Keauna McLaughlin / Rockne Brubaker\""
} |
### INSTRUCTION
Name the position in table for 1 july 2008 when manner of departure is resigned
### INPUT
CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)
### OUTPUT
SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = "1 July 2008" AND manner_of_departure = "Resigned" | {
"input": "CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)",
"instruction": "Name the position in table for 1 july 2008 when manner of departure is resigned",
"output": "SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = \"1 July 2008\" AND manner_of_departure = \"Resigned\""
} |
### INSTRUCTION
What 2010 has an A 2006 & 2011?
### INPUT
CREATE TABLE table_name_30 (Id VARCHAR)
### OUTPUT
SELECT 2010 FROM table_name_30 WHERE 2006 = "a" AND 2011 = "a" | {
"input": "CREATE TABLE table_name_30 (Id VARCHAR)",
"instruction": "What 2010 has an A 2006 & 2011?",
"output": "SELECT 2010 FROM table_name_30 WHERE 2006 = \"a\" AND 2011 = \"a\""
} |
### INSTRUCTION
How many assets does each third party company supply? List the count and the company id.
### INPUT
CREATE TABLE Assets (supplier_company_id VARCHAR); CREATE TABLE Third_Party_Companies (company_id VARCHAR)
### OUTPUT
SELECT COUNT(*), T1.company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id = T2.supplier_company_id GROUP BY T1.company_id | {
"input": "CREATE TABLE Assets (supplier_company_id VARCHAR); CREATE TABLE Third_Party_Companies (company_id VARCHAR)",
"instruction": "How many assets does each third party company supply? List the count and the company id.",
"output": "SELECT COUNT(*), T1.company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id = T2.supplier_company_id GROUP BY T1.company_id"
} |
### INSTRUCTION
What is the lifespan of Joseph Vance, a democratic-republican from Ohio?
### INPUT
CREATE TABLE table_name_96 (lifespan VARCHAR, party VARCHAR, state VARCHAR, representative VARCHAR)
### OUTPUT
SELECT lifespan FROM table_name_96 WHERE state = "ohio" AND representative = "joseph vance" AND party = "democratic-republican" | {
"input": "CREATE TABLE table_name_96 (lifespan VARCHAR, party VARCHAR, state VARCHAR, representative VARCHAR)",
"instruction": "What is the lifespan of Joseph Vance, a democratic-republican from Ohio?",
"output": "SELECT lifespan FROM table_name_96 WHERE state = \"ohio\" AND representative = \"joseph vance\" AND party = \"democratic-republican\""
} |
### INSTRUCTION
How many Lost have a Team of flamengo, and an Against smaller than 5?
### INPUT
CREATE TABLE table_name_92 (lost VARCHAR, team VARCHAR, against VARCHAR)
### OUTPUT
SELECT COUNT(lost) FROM table_name_92 WHERE team = "flamengo" AND against < 5 | {
"input": "CREATE TABLE table_name_92 (lost VARCHAR, team VARCHAR, against VARCHAR)",
"instruction": "How many Lost have a Team of flamengo, and an Against smaller than 5?",
"output": "SELECT COUNT(lost) FROM table_name_92 WHERE team = \"flamengo\" AND against < 5"
} |
### INSTRUCTION
what's the total number of position with driver robby gordon
### INPUT
CREATE TABLE table_10160447_1 (position VARCHAR, driver VARCHAR)
### OUTPUT
SELECT COUNT(position) FROM table_10160447_1 WHERE driver = "Robby Gordon" | {
"input": "CREATE TABLE table_10160447_1 (position VARCHAR, driver VARCHAR)",
"instruction": "what's the total number of position with driver robby gordon",
"output": "SELECT COUNT(position) FROM table_10160447_1 WHERE driver = \"Robby Gordon\""
} |
### INSTRUCTION
Name the being for having things of language, religions, work, customs, values, norms?
### INPUT
CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR)
### OUTPUT
SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms" | {
"input": "CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR)",
"instruction": "Name the being for having things of language, religions, work, customs, values, norms?",
"output": "SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = \"language, religions, work, customs, values, norms\""
} |
### INSTRUCTION
Name the total number for material collected for 978-1401221935
### INPUT
CREATE TABLE table_19534677_1 (material_collected VARCHAR, isbn VARCHAR)
### OUTPUT
SELECT COUNT(material_collected) FROM table_19534677_1 WHERE isbn = "978-1401221935" | {
"input": "CREATE TABLE table_19534677_1 (material_collected VARCHAR, isbn VARCHAR)",
"instruction": "Name the total number for material collected for 978-1401221935",
"output": "SELECT COUNT(material_collected) FROM table_19534677_1 WHERE isbn = \"978-1401221935\""
} |
### INSTRUCTION
On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played?
### INPUT
CREATE TABLE table_name_30 (surface VARCHAR, outcome VARCHAR, score VARCHAR)
### OUTPUT
SELECT surface FROM table_name_30 WHERE outcome = "runner-up" AND score = "6–4, 6–3" | {
"input": "CREATE TABLE table_name_30 (surface VARCHAR, outcome VARCHAR, score VARCHAR)",
"instruction": "On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played?",
"output": "SELECT surface FROM table_name_30 WHERE outcome = \"runner-up\" AND score = \"6–4, 6–3\""
} |
### INSTRUCTION
How many episode air dates are there for auditioning city Rio De Janeiro?
### INPUT
CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_city VARCHAR)
### OUTPUT
SELECT COUNT(episode_air_date) FROM table_27615445_1 WHERE audition_city = "Rio de Janeiro" | {
"input": "CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, audition_city VARCHAR)",
"instruction": "How many episode air dates are there for auditioning city Rio De Janeiro?",
"output": "SELECT COUNT(episode_air_date) FROM table_27615445_1 WHERE audition_city = \"Rio de Janeiro\""
} |
### INSTRUCTION
How many years is Antonio Pompa-Baldi Italy first?
### INPUT
CREATE TABLE table_name_36 (year VARCHAR, first VARCHAR)
### OUTPUT
SELECT COUNT(year) FROM table_name_36 WHERE first = "antonio pompa-baldi italy" | {
"input": "CREATE TABLE table_name_36 (year VARCHAR, first VARCHAR)",
"instruction": "How many years is Antonio Pompa-Baldi Italy first?",
"output": "SELECT COUNT(year) FROM table_name_36 WHERE first = \"antonio pompa-baldi italy\""
} |
### INSTRUCTION
Name the 012 club which has of norbert hosnyánszky category:articles with hcards?
### INPUT
CREATE TABLE table_name_23 (name VARCHAR)
### OUTPUT
SELECT 2012 AS _club FROM table_name_23 WHERE name = "norbert hosnyánszky category:articles with hcards" | {
"input": "CREATE TABLE table_name_23 (name VARCHAR)",
"instruction": "Name the 012 club which has of norbert hosnyánszky category:articles with hcards?",
"output": "SELECT 2012 AS _club FROM table_name_23 WHERE name = \"norbert hosnyánszky category:articles with hcards\""
} |
### INSTRUCTION
What is the short stem for garbitzen?
### INPUT
CREATE TABLE table_12784134_24 (short_stem VARCHAR, imperfect_stem VARCHAR)
### OUTPUT
SELECT short_stem FROM table_12784134_24 WHERE imperfect_stem = "garbitzen" | {
"input": "CREATE TABLE table_12784134_24 (short_stem VARCHAR, imperfect_stem VARCHAR)",
"instruction": "What is the short stem for garbitzen?",
"output": "SELECT short_stem FROM table_12784134_24 WHERE imperfect_stem = \"garbitzen\""
} |
### INSTRUCTION
What are the total number of matches smaller than 2 with a tally of 1-19?
### INPUT
CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR)
### OUTPUT
SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2 | {
"input": "CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR)",
"instruction": "What are the total number of matches smaller than 2 with a tally of 1-19?",
"output": "SELECT COUNT(total) FROM table_name_84 WHERE tally = \"1-19\" AND matches < 2"
} |
### INSTRUCTION
Which race resulted in 2nd place in the 1996 season on 20-Jan-1996?
### INPUT
CREATE TABLE table_name_80 (race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR)
### OUTPUT
SELECT race FROM table_name_80 WHERE place = "2nd" AND season = 1996 AND date = "20-jan-1996" | {
"input": "CREATE TABLE table_name_80 (race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR)",
"instruction": "Which race resulted in 2nd place in the 1996 season on 20-Jan-1996?",
"output": "SELECT race FROM table_name_80 WHERE place = \"2nd\" AND season = 1996 AND date = \"20-jan-1996\""
} |
### INSTRUCTION
Who held the fastest lap in the race in texas and dario franchitti is the winning driver?
### INPUT
CREATE TABLE table_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR)
### OUTPUT
SELECT fastest_lap FROM table_19850806_3 WHERE race = "Texas" AND winning_driver = "Dario Franchitti" | {
"input": "CREATE TABLE table_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR)",
"instruction": "Who held the fastest lap in the race in texas and dario franchitti is the winning driver?",
"output": "SELECT fastest_lap FROM table_19850806_3 WHERE race = \"Texas\" AND winning_driver = \"Dario Franchitti\""
} |
### INSTRUCTION
Where was the FC match with a score of 12 played?
### INPUT
CREATE TABLE table_name_45 (location VARCHAR, fc_matches VARCHAR)
### OUTPUT
SELECT location FROM table_name_45 WHERE fc_matches = "12" | {
"input": "CREATE TABLE table_name_45 (location VARCHAR, fc_matches VARCHAR)",
"instruction": "Where was the FC match with a score of 12 played?",
"output": "SELECT location FROM table_name_45 WHERE fc_matches = \"12\""
} |
### INSTRUCTION
Show the Thai name of wan phruehatsabodi?
### INPUT
CREATE TABLE table_name_29 (thai_name VARCHAR, transcription VARCHAR)
### OUTPUT
SELECT thai_name FROM table_name_29 WHERE transcription = "wan phruehatsabodi" | {
"input": "CREATE TABLE table_name_29 (thai_name VARCHAR, transcription VARCHAR)",
"instruction": "Show the Thai name of wan phruehatsabodi?",
"output": "SELECT thai_name FROM table_name_29 WHERE transcription = \"wan phruehatsabodi\""
} |
### INSTRUCTION
Who held the same position in 2014 that Garion Weller held in 2014?
### INPUT
CREATE TABLE table_name_82 (Id VARCHAR)
### OUTPUT
SELECT 2014 FROM table_name_82 WHERE 2012 = "garion weller" | {
"input": "CREATE TABLE table_name_82 (Id VARCHAR)",
"instruction": "Who held the same position in 2014 that Garion Weller held in 2014?",
"output": "SELECT 2014 FROM table_name_82 WHERE 2012 = \"garion weller\""
} |
### INSTRUCTION
What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev?
### INPUT
CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
### OUTPUT
SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = "51/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev" | {
"input": "CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)",
"instruction": "What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev?",
"output": "SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = \"51/60\" AND co_contestant__yaar_vs_pyaar_ = \"tina sachdev\""
} |
### INSTRUCTION
Name the project with length overall being 25 and name of levante
### INPUT
CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)
### OUTPUT
SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante" | {
"input": "CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)",
"instruction": "Name the project with length overall being 25 and name of levante",
"output": "SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = \"levante\""
} |
### INSTRUCTION
What is the sum for gold when there is more than 17 silver and more than 24 bronze?
### INPUT
CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
### OUTPUT
SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24 | {
"input": "CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR)",
"instruction": "What is the sum for gold when there is more than 17 silver and more than 24 bronze?",
"output": "SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24"
} |
### INSTRUCTION
What is the height in ft for the rockets from 1973-78?
### INPUT
CREATE TABLE table_11734041_16 (height_in_ft VARCHAR, years_for_rockets VARCHAR)
### OUTPUT
SELECT height_in_ft FROM table_11734041_16 WHERE years_for_rockets = "1973-78" | {
"input": "CREATE TABLE table_11734041_16 (height_in_ft VARCHAR, years_for_rockets VARCHAR)",
"instruction": "What is the height in ft for the rockets from 1973-78?",
"output": "SELECT height_in_ft FROM table_11734041_16 WHERE years_for_rockets = \"1973-78\""
} |
### INSTRUCTION
What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver?
### INPUT
CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR, car_s_ VARCHAR, listed_owner_s_ VARCHAR)
### OUTPUT
SELECT MIN(_number) FROM table_2182170_1 WHERE car_s_ = "Chevrolet Monte Carlo" AND listed_owner_s_ = "Teresa Earnhardt" AND driver_s_ = "Paul Menard" | {
"input": "CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR, car_s_ VARCHAR, listed_owner_s_ VARCHAR)",
"instruction": "What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver?",
"output": "SELECT MIN(_number) FROM table_2182170_1 WHERE car_s_ = \"Chevrolet Monte Carlo\" AND listed_owner_s_ = \"Teresa Earnhardt\" AND driver_s_ = \"Paul Menard\""
} |
### INSTRUCTION
What are the last names of the author of the paper titled "Binders Unbound"?
### INPUT
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)
### OUTPUT
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title = "Binders Unbound" | {
"input": "CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)",
"instruction": "What are the last names of the author of the paper titled \"Binders Unbound\"?",
"output": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title = \"Binders Unbound\""
} |
### INSTRUCTION
Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying – group stage?
### INPUT
CREATE TABLE table_name_43 (lineup VARCHAR, assist_pass VARCHAR, competition VARCHAR)
### OUTPUT
SELECT lineup FROM table_name_43 WHERE assist_pass = "carli lloyd" AND competition = "2010 concacaf world cup qualifying – group stage" | {
"input": "CREATE TABLE table_name_43 (lineup VARCHAR, assist_pass VARCHAR, competition VARCHAR)",
"instruction": "Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying – group stage?",
"output": "SELECT lineup FROM table_name_43 WHERE assist_pass = \"carli lloyd\" AND competition = \"2010 concacaf world cup qualifying – group stage\""
} |
### INSTRUCTION
What is the total home game attendance of team Boston Red Stockings from 2000 to 2010?
### INPUT
CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE home_game (attendance INTEGER, team_id VARCHAR, year VARCHAR)
### OUTPUT
SELECT SUM(T1.attendance) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 2000 AND 2010 | {
"input": "CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE home_game (attendance INTEGER, team_id VARCHAR, year VARCHAR)",
"instruction": "What is the total home game attendance of team Boston Red Stockings from 2000 to 2010?",
"output": "SELECT SUM(T1.attendance) FROM home_game AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year BETWEEN 2000 AND 2010"
} |
### INSTRUCTION
What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins?
### INPUT
CREATE TABLE table_name_57 (finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR)
### OUTPUT
SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = "lambros athanassoulas" | {
"input": "CREATE TABLE table_name_57 (finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR)",
"instruction": "What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins?",
"output": "SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = \"lambros athanassoulas\""
} |
### INSTRUCTION
Show the name of the shop that have the largest quantity of devices in stock.
### INPUT
CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR)
### OUTPUT
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1 | {
"input": "CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR)",
"instruction": "Show the name of the shop that have the largest quantity of devices in stock.",
"output": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1"
} |
### INSTRUCTION
Which type of record has result/games of b.c. 16 @ edmonton 22?
### INPUT
CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR)
### OUTPUT
SELECT type_of_record FROM table_21436373_6 WHERE result_games = "B.C. 16 @ Edmonton 22" | {
"input": "CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR)",
"instruction": "Which type of record has result/games of b.c. 16 @ edmonton 22?",
"output": "SELECT type_of_record FROM table_21436373_6 WHERE result_games = \"B.C. 16 @ Edmonton 22\""
} |
### INSTRUCTION
What is the broadcast date of the 16mm t/r episode?
### INPUT
CREATE TABLE table_1849243_1 (broadcast_date VARCHAR, archive VARCHAR)
### OUTPUT
SELECT broadcast_date FROM table_1849243_1 WHERE archive = "16mm t/r" | {
"input": "CREATE TABLE table_1849243_1 (broadcast_date VARCHAR, archive VARCHAR)",
"instruction": "What is the broadcast date of the 16mm t/r episode?",
"output": "SELECT broadcast_date FROM table_1849243_1 WHERE archive = \"16mm t/r\""
} |
### INSTRUCTION
What was the winner's share in the wegmans lpga championship?
### INPUT
CREATE TABLE table_17335602_1 (winners_share___ INTEGER, tournament VARCHAR)
### OUTPUT
SELECT MAX(winners_share___) AS $__ FROM table_17335602_1 WHERE tournament = "Wegmans LPGA Championship" | {
"input": "CREATE TABLE table_17335602_1 (winners_share___ INTEGER, tournament VARCHAR)",
"instruction": "What was the winner's share in the wegmans lpga championship?",
"output": "SELECT MAX(winners_share___) AS $__ FROM table_17335602_1 WHERE tournament = \"Wegmans LPGA Championship\""
} |
### INSTRUCTION
what is the 1st round when team 1 is stade lavallois (d2)?
### INPUT
CREATE TABLE table_name_56 (team_1 VARCHAR)
### OUTPUT
SELECT 1 AS st_round FROM table_name_56 WHERE team_1 = "stade lavallois (d2)" | {
"input": "CREATE TABLE table_name_56 (team_1 VARCHAR)",
"instruction": "what is the 1st round when team 1 is stade lavallois (d2)?",
"output": "SELECT 1 AS st_round FROM table_name_56 WHERE team_1 = \"stade lavallois (d2)\""
} |
### INSTRUCTION
What is the population density of the Capital Region of Denmark?
### INPUT
CREATE TABLE table_16278602_1 (pop_density__per_km²_ VARCHAR, english_name VARCHAR)
### OUTPUT
SELECT pop_density__per_km²_ FROM table_16278602_1 WHERE english_name = "Capital Region of Denmark" | {
"input": "CREATE TABLE table_16278602_1 (pop_density__per_km²_ VARCHAR, english_name VARCHAR)",
"instruction": "What is the population density of the Capital Region of Denmark?",
"output": "SELECT pop_density__per_km²_ FROM table_16278602_1 WHERE english_name = \"Capital Region of Denmark\""
} |
### INSTRUCTION
what is the lifespan when the imperial height is 7ft 8 in and the nationality is fiji?
### INPUT
CREATE TABLE table_name_56 (lifespan VARCHAR, imperial VARCHAR, nationality VARCHAR)
### OUTPUT
SELECT lifespan FROM table_name_56 WHERE imperial = "7ft 8 in" AND nationality = "fiji" | {
"input": "CREATE TABLE table_name_56 (lifespan VARCHAR, imperial VARCHAR, nationality VARCHAR)",
"instruction": "what is the lifespan when the imperial height is 7ft 8 in and the nationality is fiji?",
"output": "SELECT lifespan FROM table_name_56 WHERE imperial = \"7ft 8 in\" AND nationality = \"fiji\""
} |
### INSTRUCTION
What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4?
### INPUT
CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR)
### OUTPUT
SELECT date FROM table_name_26 WHERE performer_2 = "ryan stiles" AND performer_3 = "colin mochrie" AND performer_4 = "tony slattery" | {
"input": "CREATE TABLE table_name_26 (date VARCHAR, performer_4 VARCHAR, performer_2 VARCHAR, performer_3 VARCHAR)",
"instruction": "What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4?",
"output": "SELECT date FROM table_name_26 WHERE performer_2 = \"ryan stiles\" AND performer_3 = \"colin mochrie\" AND performer_4 = \"tony slattery\""
} |
### INSTRUCTION
Show the school name and driver name for all school buses.
### INPUT
CREATE TABLE school (school VARCHAR, school_id VARCHAR); CREATE TABLE school_bus (school_id VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR)
### OUTPUT
SELECT T2.school, T3.name FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN driver AS T3 ON T1.driver_id = T3.driver_id | {
"input": "CREATE TABLE school (school VARCHAR, school_id VARCHAR); CREATE TABLE school_bus (school_id VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR)",
"instruction": "Show the school name and driver name for all school buses.",
"output": "SELECT T2.school, T3.name FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN driver AS T3 ON T1.driver_id = T3.driver_id"
} |
### INSTRUCTION
What's the rank when the laps are fewer than 137 and the qual is 116.470?
### INPUT
CREATE TABLE table_name_99 (rank VARCHAR, laps VARCHAR, qual VARCHAR)
### OUTPUT
SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = "116.470" | {
"input": "CREATE TABLE table_name_99 (rank VARCHAR, laps VARCHAR, qual VARCHAR)",
"instruction": "What's the rank when the laps are fewer than 137 and the qual is 116.470?",
"output": "SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = \"116.470\""
} |
### INSTRUCTION
What Runners-up have a Venue in Broadwood Stadium?
### INPUT
CREATE TABLE table_name_75 (runners_up VARCHAR, venue VARCHAR)
### OUTPUT
SELECT runners_up FROM table_name_75 WHERE venue = "broadwood stadium" | {
"input": "CREATE TABLE table_name_75 (runners_up VARCHAR, venue VARCHAR)",
"instruction": "What Runners-up have a Venue in Broadwood Stadium?",
"output": "SELECT runners_up FROM table_name_75 WHERE venue = \"broadwood stadium\""
} |
### INSTRUCTION
Name the title when the main characters are grant calthorpe, lee neilan and the published in of astounding stories
### INPUT
CREATE TABLE table_name_84 (title VARCHAR, published_in VARCHAR, main_characters VARCHAR)
### OUTPUT
SELECT title FROM table_name_84 WHERE published_in = "astounding stories" AND main_characters = "grant calthorpe, lee neilan" | {
"input": "CREATE TABLE table_name_84 (title VARCHAR, published_in VARCHAR, main_characters VARCHAR)",
"instruction": "Name the title when the main characters are grant calthorpe, lee neilan and the published in of astounding stories",
"output": "SELECT title FROM table_name_84 WHERE published_in = \"astounding stories\" AND main_characters = \"grant calthorpe, lee neilan\""
} |
### INSTRUCTION
Find the names of the channels that are broadcast in the morning.
### INPUT
CREATE TABLE channel (name VARCHAR, channel_id VARCHAR); CREATE TABLE broadcast (channel_id VARCHAR, time_of_day VARCHAR)
### OUTPUT
SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning' | {
"input": "CREATE TABLE channel (name VARCHAR, channel_id VARCHAR); CREATE TABLE broadcast (channel_id VARCHAR, time_of_day VARCHAR)",
"instruction": "Find the names of the channels that are broadcast in the morning.",
"output": "SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning'"
} |
### INSTRUCTION
What is the Malayalam word for punarvasu ಪುನರ್ವಸು in Kannada?
### INPUT
CREATE TABLE table_1408397_3 (malayalam_മലയാളം VARCHAR, kannada_ಕನ್ನಡ VARCHAR)
### OUTPUT
SELECT malayalam_മലയാളം FROM table_1408397_3 WHERE kannada_ಕನ್ನಡ = "Punarvasu ಪುನರ್ವಸು" | {
"input": "CREATE TABLE table_1408397_3 (malayalam_മലയാളം VARCHAR, kannada_ಕನ್ನಡ VARCHAR)",
"instruction": "What is the Malayalam word for punarvasu ಪುನರ್ವಸು in Kannada?",
"output": "SELECT malayalam_മലയാളം FROM table_1408397_3 WHERE kannada_ಕನ್ನಡ = \"Punarvasu ಪುನರ್ವಸು\""
} |
### INSTRUCTION
Find the number of visitors who did not visit any museum opened after 2010.
### INPUT
CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visitor (id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR)
### OUTPUT
SELECT COUNT(*) FROM visitor WHERE NOT id IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010) | {
"input": "CREATE TABLE museum (Museum_ID VARCHAR, open_year INTEGER); CREATE TABLE visitor (id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, Museum_ID VARCHAR)",
"instruction": "Find the number of visitors who did not visit any museum opened after 2010.",
"output": "SELECT COUNT(*) FROM visitor WHERE NOT id IN (SELECT t2.visitor_id FROM museum AS t1 JOIN visit AS t2 ON t1.Museum_ID = t2.Museum_ID WHERE t1.open_year > 2010)"
} |
### INSTRUCTION
What was the film title that emma thompson was the actress nominated for best supporting actress?
### INPUT
CREATE TABLE table_name_81 (film_title_used_in_nomination VARCHAR, actor_actress VARCHAR, category VARCHAR)
### OUTPUT
SELECT film_title_used_in_nomination FROM table_name_81 WHERE actor_actress = "emma thompson" AND category = "best supporting actress" | {
"input": "CREATE TABLE table_name_81 (film_title_used_in_nomination VARCHAR, actor_actress VARCHAR, category VARCHAR)",
"instruction": "What was the film title that emma thompson was the actress nominated for best supporting actress?",
"output": "SELECT film_title_used_in_nomination FROM table_name_81 WHERE actor_actress = \"emma thompson\" AND category = \"best supporting actress\""
} |
### INSTRUCTION
Name how ashtagrama lyers say it for engal veetil, engal agathil
### INPUT
CREATE TABLE table_name_6 (how_ashtagrama_iyers_say_it VARCHAR, pure_tamil VARCHAR)
### OUTPUT
SELECT how_ashtagrama_iyers_say_it FROM table_name_6 WHERE pure_tamil = "engal veetil, engal agathil" | {
"input": "CREATE TABLE table_name_6 (how_ashtagrama_iyers_say_it VARCHAR, pure_tamil VARCHAR)",
"instruction": "Name how ashtagrama lyers say it for engal veetil, engal agathil",
"output": "SELECT how_ashtagrama_iyers_say_it FROM table_name_6 WHERE pure_tamil = \"engal veetil, engal agathil\""
} |
### INSTRUCTION
List the id of students who registered course statistics in the order of registration date.
### INPUT
CREATE TABLE student_course_registrations (student_id VARCHAR, course_id VARCHAR, registration_date VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)
### OUTPUT
SELECT T2.student_id FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "statistics" ORDER BY T2.registration_date | {
"input": "CREATE TABLE student_course_registrations (student_id VARCHAR, course_id VARCHAR, registration_date VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)",
"instruction": "List the id of students who registered course statistics in the order of registration date.",
"output": "SELECT T2.student_id FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"statistics\" ORDER BY T2.registration_date"
} |
### INSTRUCTION
Which player scored 71?
### INPUT
CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR)
### OUTPUT
SELECT player FROM table_name_4 WHERE score = 71 | {
"input": "CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR)",
"instruction": "Which player scored 71?",
"output": "SELECT player FROM table_name_4 WHERE score = 71"
} |
### INSTRUCTION
Name the into service for dh2
### INPUT
CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
### OUTPUT
SELECT into_service FROM table_29002641_1 WHERE number = "DH2" | {
"input": "CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)",
"instruction": "Name the into service for dh2",
"output": "SELECT into_service FROM table_29002641_1 WHERE number = \"DH2\""
} |
### INSTRUCTION
Name the most population 2002
### INPUT
CREATE TABLE table_22854436_1 (population__2002_census_data_ INTEGER)
### OUTPUT
SELECT MAX(population__2002_census_data_) FROM table_22854436_1 | {
"input": "CREATE TABLE table_22854436_1 (population__2002_census_data_ INTEGER)",
"instruction": "Name the most population 2002",
"output": "SELECT MAX(population__2002_census_data_) FROM table_22854436_1"
} |
### INSTRUCTION
What was the 2008 result associated with a 2009 of A and a 2011 of 2R?
### INPUT
CREATE TABLE table_name_36 (Id VARCHAR)
### OUTPUT
SELECT 2008 FROM table_name_36 WHERE 2009 = "a" AND 2011 = "2r" | {
"input": "CREATE TABLE table_name_36 (Id VARCHAR)",
"instruction": "What was the 2008 result associated with a 2009 of A and a 2011 of 2R?",
"output": "SELECT 2008 FROM table_name_36 WHERE 2009 = \"a\" AND 2011 = \"2r\""
} |
### INSTRUCTION
I want the result for week larger than 10 for opponent of new england patriots
### INPUT
CREATE TABLE table_name_90 (result VARCHAR, week VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT result FROM table_name_90 WHERE week > 10 AND opponent = "new england patriots" | {
"input": "CREATE TABLE table_name_90 (result VARCHAR, week VARCHAR, opponent VARCHAR)",
"instruction": "I want the result for week larger than 10 for opponent of new england patriots",
"output": "SELECT result FROM table_name_90 WHERE week > 10 AND opponent = \"new england patriots\""
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.