text
stringlengths
147
1.06k
source
dict
### INSTRUCTION Find the last names of all the teachers that teach GELL TAMI. ### INPUT CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) ### OUTPUT SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "GELL" AND T1.lastname = "TAMI"
{ "input": "CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)", "instruction": "Find the last names of all the teachers that teach GELL TAMI.", "output": "SELECT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = \"GELL\" AND T1.lastname = \"TAMI\"" }
### INSTRUCTION Which rule has The Event of n/a, The Result of loss, and The Location of winsford england? ### INPUT CREATE TABLE table_name_2 (rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR) ### OUTPUT SELECT rules FROM table_name_2 WHERE event = "n/a" AND result = "loss" AND location = "winsford england"
{ "input": "CREATE TABLE table_name_2 (rules VARCHAR, location VARCHAR, event VARCHAR, result VARCHAR)", "instruction": "Which rule has The Event of n/a, The Result of loss, and The Location of winsford england?", "output": "SELECT rules FROM table_name_2 WHERE event = \"n/a\" AND result = \"loss\" AND location = \"winsford england\"" }
### INSTRUCTION What nation has 0 as the silver, 1 as the bronze, with 18 as the rank? ### INPUT CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR) ### OUTPUT SELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = "18"
{ "input": "CREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)", "instruction": "What nation has 0 as the silver, 1 as the bronze, with 18 as the rank?", "output": "SELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = \"18\"" }
### INSTRUCTION WHAT IS THE RANK WITH A GROSS OF $96,773,200? ### INPUT CREATE TABLE table_name_59 (rank VARCHAR, gross VARCHAR) ### OUTPUT SELECT COUNT(rank) FROM table_name_59 WHERE gross = "$96,773,200"
{ "input": "CREATE TABLE table_name_59 (rank VARCHAR, gross VARCHAR)", "instruction": "WHAT IS THE RANK WITH A GROSS OF $96,773,200?", "output": "SELECT COUNT(rank) FROM table_name_59 WHERE gross = \"$96,773,200\"" }
### INSTRUCTION What is the average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances? ### INPUT CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR) ### OUTPUT SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0
{ "input": "CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR)", "instruction": "What is the average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances?", "output": "SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0" }
### INSTRUCTION What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2? ### INPUT CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR) ### OUTPUT SELECT tournament FROM table_name_96 WHERE opponent = "alberta brianti" AND score = "6-4 2-6 6-2"
{ "input": "CREATE TABLE table_name_96 (tournament VARCHAR, opponent VARCHAR, score VARCHAR)", "instruction": "What tournament had Alberta Brianti as an opponent with a score of 6-4 2-6 6-2?", "output": "SELECT tournament FROM table_name_96 WHERE opponent = \"alberta brianti\" AND score = \"6-4 2-6 6-2\"" }
### INSTRUCTION What league has 2-3 as the away? ### INPUT CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR) ### OUTPUT SELECT league FROM table_name_18 WHERE away = "2-3"
{ "input": "CREATE TABLE table_name_18 (league VARCHAR, away VARCHAR)", "instruction": "What league has 2-3 as the away?", "output": "SELECT league FROM table_name_18 WHERE away = \"2-3\"" }
### INSTRUCTION How many years was Louis Armstrong performing? ### INPUT CREATE TABLE table_name_51 (year VARCHAR, performer_s_ VARCHAR) ### OUTPUT SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = "louis armstrong"
{ "input": "CREATE TABLE table_name_51 (year VARCHAR, performer_s_ VARCHAR)", "instruction": "How many years was Louis Armstrong performing?", "output": "SELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = \"louis armstrong\"" }
### INSTRUCTION Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39? ### INPUT CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR) ### OUTPUT SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46
{ "input": "CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR)", "instruction": "Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39?", "output": "SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46" }
### INSTRUCTION Name the original air date for harry hannigan directed by adam weissman ### INPUT CREATE TABLE table_23937219_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR) ### OUTPUT SELECT original_air_date FROM table_23937219_2 WHERE written_by = "Harry Hannigan" AND directed_by = "Adam Weissman"
{ "input": "CREATE TABLE table_23937219_2 (original_air_date VARCHAR, written_by VARCHAR, directed_by VARCHAR)", "instruction": "Name the original air date for harry hannigan directed by adam weissman", "output": "SELECT original_air_date FROM table_23937219_2 WHERE written_by = \"Harry Hannigan\" AND directed_by = \"Adam Weissman\"" }
### INSTRUCTION Which country has its most recent year as being 2005 and has an Adult Men literacy rate of 96%? ### INPUT CREATE TABLE table_name_62 (country VARCHAR, year__most_recent_ VARCHAR, adult_men VARCHAR) ### OUTPUT SELECT country FROM table_name_62 WHERE year__most_recent_ = 2005 AND adult_men = "96%"
{ "input": "CREATE TABLE table_name_62 (country VARCHAR, year__most_recent_ VARCHAR, adult_men VARCHAR)", "instruction": "Which country has its most recent year as being 2005 and has an Adult Men literacy rate of 96%?", "output": "SELECT country FROM table_name_62 WHERE year__most_recent_ = 2005 AND adult_men = \"96%\"" }
### INSTRUCTION Which yard has a Completion of 64.9%? ### INPUT CREATE TABLE table_name_26 (yards VARCHAR, completion__percentage VARCHAR) ### OUTPUT SELECT yards FROM table_name_26 WHERE completion__percentage = "64.9%"
{ "input": "CREATE TABLE table_name_26 (yards VARCHAR, completion__percentage VARCHAR)", "instruction": "Which yard has a Completion of 64.9%?", "output": "SELECT yards FROM table_name_26 WHERE completion__percentage = \"64.9%\"" }
### INSTRUCTION Which event is a win by an opponent of Nicolas Smith, with the round marked n/a? ### INPUT CREATE TABLE table_name_24 (event VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR) ### OUTPUT SELECT event FROM table_name_24 WHERE res = "win" AND round = "n/a" AND opponent = "nicolas smith"
{ "input": "CREATE TABLE table_name_24 (event VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR)", "instruction": "Which event is a win by an opponent of Nicolas Smith, with the round marked n/a?", "output": "SELECT event FROM table_name_24 WHERE res = \"win\" AND round = \"n/a\" AND opponent = \"nicolas smith\"" }
### INSTRUCTION Name the player for chicago black hawks ### INPUT CREATE TABLE table_1473672_8 (player VARCHAR, nhl_team VARCHAR) ### OUTPUT SELECT player FROM table_1473672_8 WHERE nhl_team = "Chicago Black Hawks"
{ "input": "CREATE TABLE table_1473672_8 (player VARCHAR, nhl_team VARCHAR)", "instruction": "Name the player for chicago black hawks", "output": "SELECT player FROM table_1473672_8 WHERE nhl_team = \"Chicago Black Hawks\"" }
### INSTRUCTION What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile? ### INPUT CREATE TABLE table_name_57 (picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR) ### OUTPUT SELECT picture_coding_types FROM table_name_57 WHERE chroma_format = "4:2:2 or 4:2:0" AND name = "4:2:2 profile"
{ "input": "CREATE TABLE table_name_57 (picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR)", "instruction": "What Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile?", "output": "SELECT picture_coding_types FROM table_name_57 WHERE chroma_format = \"4:2:2 or 4:2:0\" AND name = \"4:2:2 profile\"" }
### INSTRUCTION What is the GDP (nominal) with Population of 5,125,693? ### INPUT CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR) ### OUTPUT SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = "5,125,693"
{ "input": "CREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR)", "instruction": "What is the GDP (nominal) with Population of 5,125,693?", "output": "SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = \"5,125,693\"" }
### INSTRUCTION Name the annual rainfail for 2002 population being 493984 ### INPUT CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR) ### OUTPUT SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984
{ "input": "CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR)", "instruction": "Name the annual rainfail for 2002 population being 493984", "output": "SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984" }
### INSTRUCTION Which Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2? ### INPUT CREATE TABLE table_name_66 (played INTEGER, against VARCHAR, lost VARCHAR, difference VARCHAR) ### OUTPUT SELECT MAX(played) FROM table_name_66 WHERE lost < 1 AND difference = "6" AND against > 2
{ "input": "CREATE TABLE table_name_66 (played INTEGER, against VARCHAR, lost VARCHAR, difference VARCHAR)", "instruction": "Which Played is the highest one that has a Lost smaller than 1, and a Difference of 6, and an Against larger than 2?", "output": "SELECT MAX(played) FROM table_name_66 WHERE lost < 1 AND difference = \"6\" AND against > 2" }
### INSTRUCTION Who was in sixth place in series 7? ### INPUT CREATE TABLE table_name_34 (sixth_place VARCHAR, series VARCHAR) ### OUTPUT SELECT sixth_place FROM table_name_34 WHERE series = 7
{ "input": "CREATE TABLE table_name_34 (sixth_place VARCHAR, series VARCHAR)", "instruction": "Who was in sixth place in series 7?", "output": "SELECT sixth_place FROM table_name_34 WHERE series = 7" }
### INSTRUCTION how many mens singles with mens doubles being pontus jantti lasse lindelöf ### INPUT CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR) ### OUTPUT SELECT COUNT(mens_singles) FROM table_13857700_1 WHERE mens_doubles = "Pontus Jantti Lasse Lindelöf"
{ "input": "CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR)", "instruction": " how many mens singles with mens doubles being pontus jantti lasse lindelöf", "output": "SELECT COUNT(mens_singles) FROM table_13857700_1 WHERE mens_doubles = \"Pontus Jantti Lasse Lindelöf\"" }
### INSTRUCTION What pens have a draw of 0 when the player is sione mafi pahulu? ### INPUT CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR) ### OUTPUT SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu"
{ "input": "CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR)", "instruction": "What pens have a draw of 0 when the player is sione mafi pahulu?", "output": "SELECT pens FROM table_name_17 WHERE draw = \"0\" AND player = \"sione mafi pahulu\"" }
### INSTRUCTION how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds ### INPUT CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR) ### OUTPUT SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = "Columbia" AND duration = "13 days, 19 hours, 30 minutes, 4 seconds"
{ "input": "CREATE TABLE table_14118521_1 (primary_payload_s_ VARCHAR, shuttle VARCHAR, duration VARCHAR)", "instruction": " how many primary payload(s) with shuttle being columbia and duration being 13 days, 19 hours, 30 minutes, 4 seconds", "output": "SELECT COUNT(primary_payload_s_) FROM table_14118521_1 WHERE shuttle = \"Columbia\" AND duration = \"13 days, 19 hours, 30 minutes, 4 seconds\"" }
### INSTRUCTION What is the team classification with a winner of Beat Zberg, and a points classification of José María Jiménez. ### INPUT CREATE TABLE table_name_13 (team_classification VARCHAR, points_classification VARCHAR, winner VARCHAR) ### OUTPUT SELECT team_classification FROM table_name_13 WHERE points_classification = "josé maría jiménez" AND winner = "beat zberg"
{ "input": "CREATE TABLE table_name_13 (team_classification VARCHAR, points_classification VARCHAR, winner VARCHAR)", "instruction": "What is the team classification with a winner of Beat Zberg, and a points classification of José María Jiménez.", "output": "SELECT team_classification FROM table_name_13 WHERE points_classification = \"josé maría jiménez\" AND winner = \"beat zberg\"" }
### INSTRUCTION Find the make and production time of the cars that were produced in the earliest year? ### INPUT CREATE TABLE CARS_DATA (YEAR INTEGER); CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Year VARCHAR, Id VARCHAR) ### OUTPUT SELECT T2.Make, T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT MIN(YEAR) FROM CARS_DATA)
{ "input": "CREATE TABLE CARS_DATA (YEAR INTEGER); CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Year VARCHAR, Id VARCHAR)", "instruction": "Find the make and production time of the cars that were produced in the earliest year?", "output": "SELECT T2.Make, T1.Year FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T1.Year = (SELECT MIN(YEAR) FROM CARS_DATA)" }
### INSTRUCTION how many times was the catalog number cal04 / 0091037553546? ### INPUT CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR) ### OUTPUT SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546"
{ "input": "CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR)", "instruction": "how many times was the catalog number cal04 / 0091037553546?", "output": "SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = \"CAL04 / 0091037553546\"" }
### INSTRUCTION What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions? ### INPUT CREATE TABLE table_name_47 (pop_density_people_km_2 INTEGER, population_in_millions VARCHAR, population__percentage_of_eu VARCHAR, area__percentage_of_eu VARCHAR) ### OUTPUT SELECT SUM(pop_density_people_km_2) FROM table_name_47 WHERE population__percentage_of_eu = "0.1%" AND area__percentage_of_eu = "0.1%" AND population_in_millions > 0.5
{ "input": "CREATE TABLE table_name_47 (pop_density_people_km_2 INTEGER, population_in_millions VARCHAR, population__percentage_of_eu VARCHAR, area__percentage_of_eu VARCHAR)", "instruction": "What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions?", "output": "SELECT SUM(pop_density_people_km_2) FROM table_name_47 WHERE population__percentage_of_eu = \"0.1%\" AND area__percentage_of_eu = \"0.1%\" AND population_in_millions > 0.5" }
### INSTRUCTION Which month and year held the Bolivia Special title? ### INPUT CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR) ### OUTPUT SELECT month_ & _year FROM table_name_18 WHERE title = "bolivia special"
{ "input": "CREATE TABLE table_name_18 (month_ VARCHAR, _year VARCHAR, title VARCHAR)", "instruction": "Which month and year held the Bolivia Special title?", "output": "SELECT month_ & _year FROM table_name_18 WHERE title = \"bolivia special\"" }
### INSTRUCTION Which Date had a City/Location of vancouver, british columbia? ### INPUT CREATE TABLE table_name_65 (date VARCHAR, city_location VARCHAR) ### OUTPUT SELECT date FROM table_name_65 WHERE city_location = "vancouver, british columbia"
{ "input": "CREATE TABLE table_name_65 (date VARCHAR, city_location VARCHAR)", "instruction": "Which Date had a City/Location of vancouver, british columbia?", "output": "SELECT date FROM table_name_65 WHERE city_location = \"vancouver, british columbia\"" }
### INSTRUCTION Which teams were in the central division and located in livonia? ### INPUT CREATE TABLE table_11094950_1 (team VARCHAR, division VARCHAR, location VARCHAR) ### OUTPUT SELECT team FROM table_11094950_1 WHERE division = "Central" AND location = "Livonia"
{ "input": "CREATE TABLE table_11094950_1 (team VARCHAR, division VARCHAR, location VARCHAR)", "instruction": "Which teams were in the central division and located in livonia?", "output": "SELECT team FROM table_11094950_1 WHERE division = \"Central\" AND location = \"Livonia\"" }
### INSTRUCTION How many parties are named the Center Alliance ### INPUT CREATE TABLE table_203802_2 (english_party_name VARCHAR) ### OUTPUT SELECT COUNT(*) FROM table_203802_2 WHERE english_party_name = "Center Alliance"
{ "input": "CREATE TABLE table_203802_2 (english_party_name VARCHAR)", "instruction": "How many parties are named the Center Alliance", "output": "SELECT COUNT(*) FROM table_203802_2 WHERE english_party_name = \"Center Alliance\"" }
### INSTRUCTION Show the first names and last names of customers without any account. ### INPUT CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR) ### OUTPUT SELECT customer_first_name, customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id
{ "input": "CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR)", "instruction": "Show the first names and last names of customers without any account.", "output": "SELECT customer_first_name, customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id" }
### INSTRUCTION Which shipping agent shipped the most documents? List the shipping agent name and the number of documents. ### INPUT CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR) ### OUTPUT SELECT Ref_Shipping_Agents.shipping_agent_name, COUNT(Documents.document_id) FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code GROUP BY Ref_Shipping_Agents.shipping_agent_code ORDER BY COUNT(Documents.document_id) DESC LIMIT 1
{ "input": "CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR)", "instruction": "Which shipping agent shipped the most documents? List the shipping agent name and the number of documents.", "output": "SELECT Ref_Shipping_Agents.shipping_agent_name, COUNT(Documents.document_id) FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code GROUP BY Ref_Shipping_Agents.shipping_agent_code ORDER BY COUNT(Documents.document_id) DESC LIMIT 1" }
### INSTRUCTION What is the 2007 film in Hindi with a music director Shantanu moitra? ### INPUT CREATE TABLE table_name_2 (film VARCHAR, music_director VARCHAR, year VARCHAR, language VARCHAR) ### OUTPUT SELECT film FROM table_name_2 WHERE year = 2007 AND language = "hindi" AND music_director = "shantanu moitra"
{ "input": "CREATE TABLE table_name_2 (film VARCHAR, music_director VARCHAR, year VARCHAR, language VARCHAR)", "instruction": "What is the 2007 film in Hindi with a music director Shantanu moitra?", "output": "SELECT film FROM table_name_2 WHERE year = 2007 AND language = \"hindi\" AND music_director = \"shantanu moitra\"" }
### INSTRUCTION What is the final win percentage of the Sault Ste. Marie Greyhounds? ### INPUT CREATE TABLE table_17751942_4 (final_win__percentage VARCHAR, team VARCHAR) ### OUTPUT SELECT final_win__percentage FROM table_17751942_4 WHERE team = "Sault Ste. Marie Greyhounds"
{ "input": "CREATE TABLE table_17751942_4 (final_win__percentage VARCHAR, team VARCHAR)", "instruction": "What is the final win percentage of the Sault Ste. Marie Greyhounds? ", "output": "SELECT final_win__percentage FROM table_17751942_4 WHERE team = \"Sault Ste. Marie Greyhounds\"" }
### INSTRUCTION Name the townland for fermoy and ballynoe ### INPUT CREATE TABLE table_30120664_1 (townland VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR) ### OUTPUT SELECT townland FROM table_30120664_1 WHERE poor_law_union = "Fermoy" AND civil_parish = "Ballynoe"
{ "input": "CREATE TABLE table_30120664_1 (townland VARCHAR, poor_law_union VARCHAR, civil_parish VARCHAR)", "instruction": "Name the townland for fermoy and ballynoe", "output": "SELECT townland FROM table_30120664_1 WHERE poor_law_union = \"Fermoy\" AND civil_parish = \"Ballynoe\"" }
### INSTRUCTION What is the Number of dances is 11 and competition finish is larger than 2.0 total ### INPUT CREATE TABLE table_1354805_3 (total VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR) ### OUTPUT SELECT total FROM table_1354805_3 WHERE number_of_dances = 11 AND competition_finish > 2.0
{ "input": "CREATE TABLE table_1354805_3 (total VARCHAR, number_of_dances VARCHAR, competition_finish VARCHAR)", "instruction": "What is the Number of dances is 11 and competition finish is larger than 2.0 total", "output": "SELECT total FROM table_1354805_3 WHERE number_of_dances = 11 AND competition_finish > 2.0" }
### INSTRUCTION What are the line 1 of addresses shared by some students and some teachers? ### INPUT CREATE TABLE Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR) ### OUTPUT SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id
{ "input": "CREATE TABLE Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR)", "instruction": "What are the line 1 of addresses shared by some students and some teachers?", "output": "SELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id" }
### INSTRUCTION How much did the the player with first name Len and last name Barker earn between 1985 to 1990 in total? ### INPUT CREATE TABLE salary (salary INTEGER, player_id VARCHAR, year VARCHAR); CREATE TABLE player (player_id VARCHAR, name_first VARCHAR, name_last VARCHAR) ### OUTPUT SELECT SUM(T1.salary) FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id WHERE T2.name_first = 'Len' AND T2.name_last = 'Barker' AND T1.year BETWEEN 1985 AND 1990
{ "input": "CREATE TABLE salary (salary INTEGER, player_id VARCHAR, year VARCHAR); CREATE TABLE player (player_id VARCHAR, name_first VARCHAR, name_last VARCHAR)", "instruction": "How much did the the player with first name Len and last name Barker earn between 1985 to 1990 in total?", "output": "SELECT SUM(T1.salary) FROM salary AS T1 JOIN player AS T2 ON T1.player_id = T2.player_id WHERE T2.name_first = 'Len' AND T2.name_last = 'Barker' AND T1.year BETWEEN 1985 AND 1990" }
### INSTRUCTION How many years did the team place 2nd in Antwerp, Belgium? ### INPUT CREATE TABLE table_name_21 (year VARCHAR, venue VARCHAR, result VARCHAR) ### OUTPUT SELECT COUNT(year) FROM table_name_21 WHERE venue = "antwerp, belgium" AND result = "2nd"
{ "input": "CREATE TABLE table_name_21 (year VARCHAR, venue VARCHAR, result VARCHAR)", "instruction": "How many years did the team place 2nd in Antwerp, Belgium?", "output": "SELECT COUNT(year) FROM table_name_21 WHERE venue = \"antwerp, belgium\" AND result = \"2nd\"" }
### INSTRUCTION What is Opponent, when Attendance is 58,836? ### INPUT CREATE TABLE table_name_19 (opponent VARCHAR, attendance VARCHAR) ### OUTPUT SELECT opponent FROM table_name_19 WHERE attendance = "58,836"
{ "input": "CREATE TABLE table_name_19 (opponent VARCHAR, attendance VARCHAR)", "instruction": "What is Opponent, when Attendance is 58,836?", "output": "SELECT opponent FROM table_name_19 WHERE attendance = \"58,836\"" }
### INSTRUCTION Find all the papers published by the institution "Google". ### INPUT CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR) ### OUTPUT SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "Google"
{ "input": "CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)", "instruction": "Find all the papers published by the institution \"Google\".", "output": "SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = \"Google\"" }
### INSTRUCTION What is the low grid for gerhard berger for laps over 56? ### INPUT CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### OUTPUT SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
{ "input": "CREATE TABLE table_name_18 (grid INTEGER, driver VARCHAR, laps VARCHAR)", "instruction": "What is the low grid for gerhard berger for laps over 56?", "output": "SELECT MIN(grid) FROM table_name_18 WHERE driver = \"gerhard berger\" AND laps > 56" }
### INSTRUCTION What company focuses on Engine Overhaul for their principal activity? ### INPUT CREATE TABLE table_name_7 (company VARCHAR, principal_activities VARCHAR) ### OUTPUT SELECT company FROM table_name_7 WHERE principal_activities = "engine overhaul"
{ "input": "CREATE TABLE table_name_7 (company VARCHAR, principal_activities VARCHAR)", "instruction": "What company focuses on Engine Overhaul for their principal activity?", "output": "SELECT company FROM table_name_7 WHERE principal_activities = \"engine overhaul\"" }
### INSTRUCTION Show ids for all documents with budget types described as 'Government'. ### INPUT CREATE TABLE Documents_with_expenses (document_id VARCHAR, Budget_Type_code VARCHAR); CREATE TABLE Ref_Budget_Codes (Budget_Type_code VARCHAR, budget_type_Description VARCHAR) ### OUTPUT SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code = T2.Budget_Type_code WHERE T2.budget_type_Description = "Government"
{ "input": "CREATE TABLE Documents_with_expenses (document_id VARCHAR, Budget_Type_code VARCHAR); CREATE TABLE Ref_Budget_Codes (Budget_Type_code VARCHAR, budget_type_Description VARCHAR)", "instruction": "Show ids for all documents with budget types described as 'Government'.", "output": "SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code = T2.Budget_Type_code WHERE T2.budget_type_Description = \"Government\"" }
### INSTRUCTION Find the first name and office of the professor who is in the history department and has a Ph.D. degree. ### INPUT CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR) ### OUTPUT SELECT T1.emp_fname, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T3.dept_code = T2.dept_code WHERE T3.dept_name = 'History' AND T2.prof_high_degree = 'Ph.D.'
{ "input": "CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)", "instruction": "Find the first name and office of the professor who is in the history department and has a Ph.D. degree.", "output": "SELECT T1.emp_fname, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T3.dept_code = T2.dept_code WHERE T3.dept_name = 'History' AND T2.prof_high_degree = 'Ph.D.'" }
### INSTRUCTION What is the quarterfinal week for Austin Anderson? ### INPUT CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR) ### OUTPUT SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson"
{ "input": "CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)", "instruction": "What is the quarterfinal week for Austin Anderson?", "output": "SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = \"Austin Anderson\"" }
### INSTRUCTION How many different numbers of floors are there for the Chongqing Poly Tower? ### INPUT CREATE TABLE table_23759976_1 (floors VARCHAR, building_ VARCHAR, a_ VARCHAR) ### OUTPUT SELECT COUNT(floors) FROM table_23759976_1 WHERE building_[a_] = "Chongqing Poly Tower"
{ "input": "CREATE TABLE table_23759976_1 (floors VARCHAR, building_ VARCHAR, a_ VARCHAR)", "instruction": "How many different numbers of floors are there for the Chongqing Poly Tower?", "output": "SELECT COUNT(floors) FROM table_23759976_1 WHERE building_[a_] = \"Chongqing Poly Tower\"" }
### INSTRUCTION Which date has Total Holocaust records in the ed Remaster cassette format? ### INPUT CREATE TABLE table_name_85 (date VARCHAR, label VARCHAR, format VARCHAR) ### OUTPUT SELECT date FROM table_name_85 WHERE label = "total holocaust records" AND format = "ed remaster cassette"
{ "input": "CREATE TABLE table_name_85 (date VARCHAR, label VARCHAR, format VARCHAR)", "instruction": "Which date has Total Holocaust records in the ed Remaster cassette format?", "output": "SELECT date FROM table_name_85 WHERE label = \"total holocaust records\" AND format = \"ed remaster cassette\"" }
### INSTRUCTION Which Score has a Date of october 8, 2005, and a Venue of estadio alfonso lastras, san luis potosí, mexico? ### INPUT CREATE TABLE table_name_96 (score VARCHAR, date VARCHAR, venue VARCHAR) ### OUTPUT SELECT score FROM table_name_96 WHERE date = "october 8, 2005" AND venue = "estadio alfonso lastras, san luis potosí, mexico"
{ "input": "CREATE TABLE table_name_96 (score VARCHAR, date VARCHAR, venue VARCHAR)", "instruction": "Which Score has a Date of october 8, 2005, and a Venue of estadio alfonso lastras, san luis potosí, mexico?", "output": "SELECT score FROM table_name_96 WHERE date = \"october 8, 2005\" AND venue = \"estadio alfonso lastras, san luis potosí, mexico\"" }
### INSTRUCTION Who was the opponent during the competition in which the bowling figures were 5-33 (10)? ### INPUT CREATE TABLE table_name_82 (versus VARCHAR, bowling_figures_wickets_runs__overs_ VARCHAR) ### OUTPUT SELECT versus FROM table_name_82 WHERE bowling_figures_wickets_runs__overs_ = "5-33 (10)"
{ "input": "CREATE TABLE table_name_82 (versus VARCHAR, bowling_figures_wickets_runs__overs_ VARCHAR)", "instruction": "Who was the opponent during the competition in which the bowling figures were 5-33 (10)?", "output": "SELECT versus FROM table_name_82 WHERE bowling_figures_wickets_runs__overs_ = \"5-33 (10)\"" }
### INSTRUCTION List all the names of schools with an endowment amount smaller than or equal to 10. ### INPUT CREATE TABLE school (school_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER) ### OUTPUT SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 10
{ "input": "CREATE TABLE school (school_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER)", "instruction": "List all the names of schools with an endowment amount smaller than or equal to 10.", "output": "SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 10" }
### INSTRUCTION Who is the second with a lead of Sarah Macintyre (jr) Anne Laird (w)? ### INPUT CREATE TABLE table_name_78 (second VARCHAR, lead VARCHAR) ### OUTPUT SELECT second FROM table_name_78 WHERE lead = "sarah macintyre (jr) anne laird (w)"
{ "input": "CREATE TABLE table_name_78 (second VARCHAR, lead VARCHAR)", "instruction": "Who is the second with a lead of Sarah Macintyre (jr) Anne Laird (w)?", "output": "SELECT second FROM table_name_78 WHERE lead = \"sarah macintyre (jr) anne laird (w)\"" }
### INSTRUCTION Who took the loss against the California Angels when the attendance was 10,886? ### INPUT CREATE TABLE table_name_90 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR) ### OUTPUT SELECT loss FROM table_name_90 WHERE opponent = "california angels" AND attendance = "10,886"
{ "input": "CREATE TABLE table_name_90 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)", "instruction": "Who took the loss against the California Angels when the attendance was 10,886?", "output": "SELECT loss FROM table_name_90 WHERE opponent = \"california angels\" AND attendance = \"10,886\"" }
### INSTRUCTION Which Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita? ### INPUT CREATE TABLE table_name_44 (japanese_title VARCHAR, disc VARCHAR, artist VARCHAR) ### OUTPUT SELECT japanese_title FROM table_name_44 WHERE disc < 12 AND artist = "kōzō murashita"
{ "input": "CREATE TABLE table_name_44 (japanese_title VARCHAR, disc VARCHAR, artist VARCHAR)", "instruction": "Which Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita?", "output": "SELECT japanese_title FROM table_name_44 WHERE disc < 12 AND artist = \"kōzō murashita\"" }
### INSTRUCTION How many values of powershell (cmdlet) are valid when unix shell is env, export, set, setenv? ### INPUT CREATE TABLE table_14465871_1 (powershell__cmdlet_ VARCHAR, unix_shell VARCHAR) ### OUTPUT SELECT COUNT(powershell__cmdlet_) FROM table_14465871_1 WHERE unix_shell = "env, export, set, setenv"
{ "input": "CREATE TABLE table_14465871_1 (powershell__cmdlet_ VARCHAR, unix_shell VARCHAR)", "instruction": "How many values of powershell (cmdlet) are valid when unix shell is env, export, set, setenv?", "output": "SELECT COUNT(powershell__cmdlet_) FROM table_14465871_1 WHERE unix_shell = \"env, export, set, setenv\"" }
### INSTRUCTION What player is from France? ### INPUT CREATE TABLE table_name_63 (player VARCHAR, country VARCHAR) ### OUTPUT SELECT player FROM table_name_63 WHERE country = "france"
{ "input": "CREATE TABLE table_name_63 (player VARCHAR, country VARCHAR)", "instruction": "What player is from France?", "output": "SELECT player FROM table_name_63 WHERE country = \"france\"" }
### INSTRUCTION How many scores are associated with a record of 27-9? ### INPUT CREATE TABLE table_22654073_8 (score VARCHAR, record VARCHAR) ### OUTPUT SELECT COUNT(score) FROM table_22654073_8 WHERE record = "27-9"
{ "input": "CREATE TABLE table_22654073_8 (score VARCHAR, record VARCHAR)", "instruction": "How many scores are associated with a record of 27-9?", "output": "SELECT COUNT(score) FROM table_22654073_8 WHERE record = \"27-9\"" }
### INSTRUCTION What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records? ### INPUT CREATE TABLE table_name_63 (year_of_recording INTEGER, orchestra VARCHAR, record_company VARCHAR) ### OUTPUT SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = "royal philharmonic orchestra" AND record_company = "decca records"
{ "input": "CREATE TABLE table_name_63 (year_of_recording INTEGER, orchestra VARCHAR, record_company VARCHAR)", "instruction": "What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?", "output": "SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = \"royal philharmonic orchestra\" AND record_company = \"decca records\"" }
### INSTRUCTION state all the spokesperson for the channel where commentator is dmitriy guberniyev ### INPUT CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR) ### OUTPUT SELECT spokesperson FROM table_1992924_3 WHERE commentator = "Dmitriy Guberniyev"
{ "input": "CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR)", "instruction": "state all the spokesperson for the channel where commentator is dmitriy guberniyev", "output": "SELECT spokesperson FROM table_1992924_3 WHERE commentator = \"Dmitriy Guberniyev\"" }
### INSTRUCTION Find out the top 10 customers by total number of orders. List customers' first and last name and the number of total orders. ### INPUT CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE invoices (customer_id VARCHAR) ### OUTPUT SELECT T1.first_name, T1.last_name, COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 10
{ "input": "CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE invoices (customer_id VARCHAR)", "instruction": "Find out the top 10 customers by total number of orders. List customers' first and last name and the number of total orders.", "output": "SELECT T1.first_name, T1.last_name, COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 10" }
### INSTRUCTION What company has more than 195.34 billion in sales, ranked greater than 7, more than 11.29 billion in profits, and a market value greater than 198.14 billion? ### INPUT CREATE TABLE table_name_62 (company VARCHAR, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR, sales__billion_$_ VARCHAR, rank VARCHAR) ### OUTPUT SELECT company FROM table_name_62 WHERE sales__billion_$_ > 195.34 AND rank > 7 AND profits__billion_$_ > 11.29 AND market_value__billion_$_ > 198.14
{ "input": "CREATE TABLE table_name_62 (company VARCHAR, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR, sales__billion_$_ VARCHAR, rank VARCHAR)", "instruction": "What company has more than 195.34 billion in sales, ranked greater than 7, more than 11.29 billion in profits, and a market value greater than 198.14 billion?", "output": "SELECT company FROM table_name_62 WHERE sales__billion_$_ > 195.34 AND rank > 7 AND profits__billion_$_ > 11.29 AND market_value__billion_$_ > 198.14" }
### INSTRUCTION what was the result where the candidates are sam m. gibbons (d) unopposed? ### INPUT CREATE TABLE table_1341663_10 (result VARCHAR, candidates VARCHAR) ### OUTPUT SELECT result FROM table_1341663_10 WHERE candidates = "Sam M. Gibbons (D) Unopposed"
{ "input": "CREATE TABLE table_1341663_10 (result VARCHAR, candidates VARCHAR)", "instruction": "what was the result where the candidates are sam m. gibbons (d) unopposed?", "output": "SELECT result FROM table_1341663_10 WHERE candidates = \"Sam M. Gibbons (D) Unopposed\"" }
### INSTRUCTION What are the title and director of the films without any schedule? ### INPUT CREATE TABLE schedule (title VARCHAR, directed_by VARCHAR, film_id VARCHAR); CREATE TABLE film (title VARCHAR, directed_by VARCHAR, film_id VARCHAR) ### OUTPUT SELECT title, directed_by FROM film WHERE NOT film_id IN (SELECT film_id FROM schedule)
{ "input": "CREATE TABLE schedule (title VARCHAR, directed_by VARCHAR, film_id VARCHAR); CREATE TABLE film (title VARCHAR, directed_by VARCHAR, film_id VARCHAR)", "instruction": "What are the title and director of the films without any schedule?", "output": "SELECT title, directed_by FROM film WHERE NOT film_id IN (SELECT film_id FROM schedule)" }
### INSTRUCTION What is the title of the film that has the highest high market estimation. ### INPUT CREATE TABLE film_market_estimation (Film_ID VARCHAR); CREATE TABLE film (Film_ID VARCHAR) ### OUTPUT SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID ORDER BY high_estimate DESC LIMIT 1
{ "input": "CREATE TABLE film_market_estimation (Film_ID VARCHAR); CREATE TABLE film (Film_ID VARCHAR)", "instruction": "What is the title of the film that has the highest high market estimation.", "output": "SELECT t1.title FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID ORDER BY high_estimate DESC LIMIT 1" }
### INSTRUCTION What is the most common participant type? ### INPUT CREATE TABLE participants (participant_type_code VARCHAR) ### OUTPUT SELECT participant_type_code FROM participants GROUP BY participant_type_code ORDER BY COUNT(*) DESC LIMIT 1
{ "input": "CREATE TABLE participants (participant_type_code VARCHAR)", "instruction": "What is the most common participant type?", "output": "SELECT participant_type_code FROM participants GROUP BY participant_type_code ORDER BY COUNT(*) DESC LIMIT 1" }
### INSTRUCTION What Airport's IATA is SEA? ### INPUT CREATE TABLE table_name_56 (airport VARCHAR, iata VARCHAR) ### OUTPUT SELECT airport FROM table_name_56 WHERE iata = "sea"
{ "input": "CREATE TABLE table_name_56 (airport VARCHAR, iata VARCHAR)", "instruction": "What Airport's IATA is SEA?", "output": "SELECT airport FROM table_name_56 WHERE iata = \"sea\"" }
### INSTRUCTION Show ids for all documents in type CV without expense budgets. ### INPUT CREATE TABLE Documents_with_expenses (document_id VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_type_code VARCHAR) ### OUTPUT SELECT document_id FROM Documents WHERE document_type_code = "CV" EXCEPT SELECT document_id FROM Documents_with_expenses
{ "input": "CREATE TABLE Documents_with_expenses (document_id VARCHAR, document_type_code VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_type_code VARCHAR)", "instruction": "Show ids for all documents in type CV without expense budgets.", "output": "SELECT document_id FROM Documents WHERE document_type_code = \"CV\" EXCEPT SELECT document_id FROM Documents_with_expenses" }
### INSTRUCTION Name the score for pacers visitor on 14 april 2008 ### INPUT CREATE TABLE table_name_16 (score VARCHAR, visitor VARCHAR, date VARCHAR) ### OUTPUT SELECT score FROM table_name_16 WHERE visitor = "pacers" AND date = "14 april 2008"
{ "input": "CREATE TABLE table_name_16 (score VARCHAR, visitor VARCHAR, date VARCHAR)", "instruction": "Name the score for pacers visitor on 14 april 2008", "output": "SELECT score FROM table_name_16 WHERE visitor = \"pacers\" AND date = \"14 april 2008\"" }
### INSTRUCTION For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description. ### INPUT CREATE TABLE Skills_Required_To_Fix (part_fault_id VARCHAR, skill_id VARCHAR); CREATE TABLE Part_Faults (fault_short_name VARCHAR, part_fault_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR) ### OUTPUT SELECT T1.fault_short_name, T3.skill_description FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id
{ "input": "CREATE TABLE Skills_Required_To_Fix (part_fault_id VARCHAR, skill_id VARCHAR); CREATE TABLE Part_Faults (fault_short_name VARCHAR, part_fault_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR)", "instruction": "For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description.", "output": "SELECT T1.fault_short_name, T3.skill_description FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id" }
### INSTRUCTION Which tie number had an away team of the Tranmere Rovers? ### INPUT CREATE TABLE table_name_36 (tie_no VARCHAR, away_team VARCHAR) ### OUTPUT SELECT tie_no FROM table_name_36 WHERE away_team = "tranmere rovers"
{ "input": "CREATE TABLE table_name_36 (tie_no VARCHAR, away_team VARCHAR)", "instruction": "Which tie number had an away team of the Tranmere Rovers?", "output": "SELECT tie_no FROM table_name_36 WHERE away_team = \"tranmere rovers\"" }
### INSTRUCTION What percent of the population has phone in Russia? ### INPUT CREATE TABLE table_name_15 (_number_of_phones_as__percentage_of_population INTEGER, country_or_region VARCHAR) ### OUTPUT SELECT AVG(_number_of_phones_as__percentage_of_population) FROM table_name_15 WHERE country_or_region = "russia"
{ "input": "CREATE TABLE table_name_15 (_number_of_phones_as__percentage_of_population INTEGER, country_or_region VARCHAR)", "instruction": "What percent of the population has phone in Russia?", "output": "SELECT AVG(_number_of_phones_as__percentage_of_population) FROM table_name_15 WHERE country_or_region = \"russia\"" }
### INSTRUCTION Which player debuted before 1943, played for the club in 1942, played less than 12 games, and scored less than 11 goals? ### INPUT CREATE TABLE table_name_27 (player VARCHAR, years_at_club VARCHAR, goals VARCHAR, debut_year VARCHAR, games VARCHAR) ### OUTPUT SELECT player FROM table_name_27 WHERE debut_year < 1943 AND games < 12 AND goals < 11 AND years_at_club = "1942"
{ "input": "CREATE TABLE table_name_27 (player VARCHAR, years_at_club VARCHAR, goals VARCHAR, debut_year VARCHAR, games VARCHAR)", "instruction": "Which player debuted before 1943, played for the club in 1942, played less than 12 games, and scored less than 11 goals?", "output": "SELECT player FROM table_name_27 WHERE debut_year < 1943 AND games < 12 AND goals < 11 AND years_at_club = \"1942\"" }
### INSTRUCTION When is the club founded that founed prsl in 2008 and the home city is carolina 1? ### INPUT CREATE TABLE table_name_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR) ### OUTPUT SELECT MAX(founded) FROM table_name_95 WHERE joined_prsl = 2008 AND home_city = "carolina 1"
{ "input": "CREATE TABLE table_name_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR)", "instruction": "When is the club founded that founed prsl in 2008 and the home city is carolina 1?", "output": "SELECT MAX(founded) FROM table_name_95 WHERE joined_prsl = 2008 AND home_city = \"carolina 1\"" }
### INSTRUCTION Find the city and name of bank branches that provide business loans. ### INPUT CREATE TABLE bank (bname VARCHAR, city VARCHAR, branch_id VARCHAR); CREATE TABLE loan (branch_id VARCHAR, loan_type VARCHAR) ### OUTPUT SELECT T1.bname, T1.city FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id WHERE T2.loan_type = 'Business'
{ "input": "CREATE TABLE bank (bname VARCHAR, city VARCHAR, branch_id VARCHAR); CREATE TABLE loan (branch_id VARCHAR, loan_type VARCHAR)", "instruction": "Find the city and name of bank branches that provide business loans.", "output": "SELECT T1.bname, T1.city FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id WHERE T2.loan_type = 'Business'" }
### INSTRUCTION How many pommel horses have a Total smaller than 230.019, a Team of china (chn), and a Vault smaller than 38.437? ### INPUT CREATE TABLE table_name_52 (pommel_horse VARCHAR, vault VARCHAR, total VARCHAR, team VARCHAR) ### OUTPUT SELECT COUNT(pommel_horse) FROM table_name_52 WHERE total < 230.019 AND team = "china (chn)" AND vault < 38.437
{ "input": "CREATE TABLE table_name_52 (pommel_horse VARCHAR, vault VARCHAR, total VARCHAR, team VARCHAR)", "instruction": "How many pommel horses have a Total smaller than 230.019, a Team of china (chn), and a Vault smaller than 38.437?", "output": "SELECT COUNT(pommel_horse) FROM table_name_52 WHERE total < 230.019 AND team = \"china (chn)\" AND vault < 38.437" }
### INSTRUCTION What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is "Al Brosch"? ### INPUT CREATE TABLE table_name_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR) ### OUTPUT SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = "al brosch"
{ "input": "CREATE TABLE table_name_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)", "instruction": "What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is \"Al Brosch\"?", "output": "SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = \"al brosch\"" }
### INSTRUCTION What was the victory margin for a finish of 1st with a rider of Kent Desormeaux, with a time of 1:35.66? ### INPUT CREATE TABLE table_name_74 (victory_margin__in_lengths_ VARCHAR, time VARCHAR, finish VARCHAR, jockey VARCHAR) ### OUTPUT SELECT victory_margin__in_lengths_ FROM table_name_74 WHERE finish = "1st" AND jockey = "kent desormeaux" AND time = "1:35.66"
{ "input": "CREATE TABLE table_name_74 (victory_margin__in_lengths_ VARCHAR, time VARCHAR, finish VARCHAR, jockey VARCHAR)", "instruction": "What was the victory margin for a finish of 1st with a rider of Kent Desormeaux, with a time of 1:35.66?", "output": "SELECT victory_margin__in_lengths_ FROM table_name_74 WHERE finish = \"1st\" AND jockey = \"kent desormeaux\" AND time = \"1:35.66\"" }
### INSTRUCTION Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012? ### INPUT CREATE TABLE table_29087004_3 (written_by VARCHAR, directed_by VARCHAR, united_states_original_airdate VARCHAR) ### OUTPUT SELECT written_by FROM table_29087004_3 WHERE directed_by = "Greg Sullivan" AND united_states_original_airdate = "July 21, 2012"
{ "input": "CREATE TABLE table_29087004_3 (written_by VARCHAR, directed_by VARCHAR, united_states_original_airdate VARCHAR)", "instruction": "Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012?", "output": "SELECT written_by FROM table_29087004_3 WHERE directed_by = \"Greg Sullivan\" AND united_states_original_airdate = \"July 21, 2012\"" }
### INSTRUCTION what is the minimum attendance with score 8.16 (64) – 8.12 (60) ### INPUT CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR) ### OUTPUT SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)"
{ "input": "CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR)", "instruction": "what is the minimum attendance with score 8.16 (64) – 8.12 (60)", "output": "SELECT MIN(attendance) FROM table_10566855_1 WHERE score = \"8.16 (64) – 8.12 (60)\"" }
### INSTRUCTION How many millions of U.S. viewers watched episode 185? ### INPUT CREATE TABLE table_13301516_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) ### OUTPUT SELECT us_viewers__millions_ FROM table_13301516_1 WHERE no_in_series = 185
{ "input": "CREATE TABLE table_13301516_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR)", "instruction": "How many millions of U.S. viewers watched episode 185?", "output": "SELECT us_viewers__millions_ FROM table_13301516_1 WHERE no_in_series = 185" }
### INSTRUCTION If the race time is 2:00:33, what is the average speed? ### INPUT CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR) ### OUTPUT SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33"
{ "input": "CREATE TABLE table_2260452_1 (average_speed__mph_ VARCHAR, race_time VARCHAR)", "instruction": "If the race time is 2:00:33, what is the average speed?", "output": "SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = \"2:00:33\"" }
### INSTRUCTION What's the sum of sign with more than 53 bits precision, double extended (80-bit) type, and more than 80 total bits? ### INPUT CREATE TABLE table_name_98 (sign INTEGER, total_bits VARCHAR, bits_precision VARCHAR, type VARCHAR) ### OUTPUT SELECT SUM(sign) FROM table_name_98 WHERE bits_precision > 53 AND type = "double extended (80-bit)" AND total_bits > 80
{ "input": "CREATE TABLE table_name_98 (sign INTEGER, total_bits VARCHAR, bits_precision VARCHAR, type VARCHAR)", "instruction": "What's the sum of sign with more than 53 bits precision, double extended (80-bit) type, and more than 80 total bits?", "output": "SELECT SUM(sign) FROM table_name_98 WHERE bits_precision > 53 AND type = \"double extended (80-bit)\" AND total_bits > 80" }
### INSTRUCTION What was the theatre where Peter P. Peters is the role? ### INPUT CREATE TABLE table_name_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR) ### OUTPUT SELECT theatre, _studio, _or_network FROM table_name_8 WHERE role = "peter p. peters"
{ "input": "CREATE TABLE table_name_8 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, role VARCHAR)", "instruction": "What was the theatre where Peter P. Peters is the role?", "output": "SELECT theatre, _studio, _or_network FROM table_name_8 WHERE role = \"peter p. peters\"" }
### INSTRUCTION What was the title used in nomination in the original Bābǎi Zhuàngshì (八百壯士)? ### INPUT CREATE TABLE table_17350255_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### OUTPUT SELECT film_title_used_in_nomination FROM table_17350255_1 WHERE original_title = "Bābǎi zhuàngshì (八百壯士)"
{ "input": "CREATE TABLE table_17350255_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)", "instruction": "What was the title used in nomination in the original Bābǎi Zhuàngshì (八百壯士)?", "output": "SELECT film_title_used_in_nomination FROM table_17350255_1 WHERE original_title = \"Bābǎi zhuàngshì (八百壯士)\"" }
### INSTRUCTION What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran? ### INPUT CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR) ### OUTPUT SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = "chevrolet silverado" AND team = "rbr enterprises"
{ "input": "CREATE TABLE table_name_40 (rounds INTEGER, truck_s_ VARCHAR, team VARCHAR)", "instruction": "What is the most number of rounds that the Team from RBR Enterprises and having a Chevrolet Silverado ran?", "output": "SELECT MAX(rounds) FROM table_name_40 WHERE truck_s_ = \"chevrolet silverado\" AND team = \"rbr enterprises\"" }
### INSTRUCTION Which manager sponsor arke shirt? ### INPUT CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR) ### OUTPUT SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke"
{ "input": "CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR)", "instruction": "Which manager sponsor arke shirt?", "output": "SELECT manager FROM table_name_90 WHERE shirt_sponsor = \"arke\"" }
### INSTRUCTION What is the whenbuilt of the Brighton built Blandford Forum with a withdrawn of september 1964? ### INPUT CREATE TABLE table_name_67 (whenbuilt VARCHAR, name VARCHAR, builder VARCHAR, withdrawn VARCHAR) ### OUTPUT SELECT whenbuilt FROM table_name_67 WHERE builder = "brighton" AND withdrawn = "september 1964" AND name = "blandford forum"
{ "input": "CREATE TABLE table_name_67 (whenbuilt VARCHAR, name VARCHAR, builder VARCHAR, withdrawn VARCHAR)", "instruction": "What is the whenbuilt of the Brighton built Blandford Forum with a withdrawn of september 1964?", "output": "SELECT whenbuilt FROM table_name_67 WHERE builder = \"brighton\" AND withdrawn = \"september 1964\" AND name = \"blandford forum\"" }
### INSTRUCTION What area shows % Hindu of statistics from the bbc in depth report.? ### INPUT CREATE TABLE table_name_71 (area VARCHAR, _percentage_hindu VARCHAR) ### OUTPUT SELECT area FROM table_name_71 WHERE _percentage_hindu = "statistics from the bbc in depth report."
{ "input": "CREATE TABLE table_name_71 (area VARCHAR, _percentage_hindu VARCHAR)", "instruction": "What area shows % Hindu of statistics from the bbc in depth report.?", "output": "SELECT area FROM table_name_71 WHERE _percentage_hindu = \"statistics from the bbc in depth report.\"" }
### INSTRUCTION Name the least revenue for chelsea of england with rank less than 7 ### INPUT CREATE TABLE table_name_73 (revenue__ INTEGER, rank VARCHAR, country VARCHAR, team VARCHAR) ### OUTPUT SELECT MIN(revenue__) AS $m_ FROM table_name_73 WHERE country = "england" AND team = "chelsea" AND rank < 7
{ "input": "CREATE TABLE table_name_73 (revenue__ INTEGER, rank VARCHAR, country VARCHAR, team VARCHAR)", "instruction": "Name the least revenue for chelsea of england with rank less than 7", "output": "SELECT MIN(revenue__) AS $m_ FROM table_name_73 WHERE country = \"england\" AND team = \"chelsea\" AND rank < 7" }
### INSTRUCTION What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9? ### INPUT CREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR) ### OUTPUT SELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = "piraeus bank" AND revenues__us$_billion_ < 3.9
{ "input": "CREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR)", "instruction": "What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9?", "output": "SELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = \"piraeus bank\" AND revenues__us$_billion_ < 3.9" }
### INSTRUCTION What was the state (class) where the new successor was formally installed on May 11, 1966? ### INPUT CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) ### OUTPUT SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966"
{ "input": "CREATE TABLE table_1847180_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR)", "instruction": "What was the state (class) where the new successor was formally installed on May 11, 1966?", "output": "SELECT state__class_ FROM table_1847180_3 WHERE date_of_successors_formal_installation = \"May 11, 1966\"" }
### INSTRUCTION How many podiums had a race higher than 14 in 1996 and a Flap lower than 9? ### INPUT CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR) ### OUTPUT SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9
{ "input": "CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)", "instruction": "How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?", "output": "SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = \"1996\" AND flap < 9" }
### INSTRUCTION Find the name of dorms that do not have amenity TV Lounge. ### INPUT CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR) ### OUTPUT SELECT dorm_name FROM dorm EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge'
{ "input": "CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)", "instruction": "Find the name of dorms that do not have amenity TV Lounge.", "output": "SELECT dorm_name FROM dorm EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge'" }
### INSTRUCTION What is the North American release date of the remake with a European release date on 2013-03-20? ### INPUT CREATE TABLE table_name_25 (north_american_release_date VARCHAR, european_release_date VARCHAR) ### OUTPUT SELECT north_american_release_date FROM table_name_25 WHERE european_release_date = "2013-03-20"
{ "input": "CREATE TABLE table_name_25 (north_american_release_date VARCHAR, european_release_date VARCHAR)", "instruction": "What is the North American release date of the remake with a European release date on 2013-03-20?", "output": "SELECT north_american_release_date FROM table_name_25 WHERE european_release_date = \"2013-03-20\"" }
### INSTRUCTION How many Inhabitants were there after 2009 in the Municipality with a Party of union for trentino? ### INPUT CREATE TABLE table_name_7 (inhabitants INTEGER, party VARCHAR, election VARCHAR) ### OUTPUT SELECT AVG(inhabitants) FROM table_name_7 WHERE party = "union for trentino" AND election > 2009
{ "input": "CREATE TABLE table_name_7 (inhabitants INTEGER, party VARCHAR, election VARCHAR)", "instruction": "How many Inhabitants were there after 2009 in the Municipality with a Party of union for trentino?", "output": "SELECT AVG(inhabitants) FROM table_name_7 WHERE party = \"union for trentino\" AND election > 2009" }
### INSTRUCTION Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears? ### INPUT CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR) ### OUTPUT SELECT conference_joined FROM table_name_67 WHERE location = "terre haute" AND mascot = "golden bears"
{ "input": "CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)", "instruction": "Can you tell me the Conference Joined that has the Location of terre haute, and the Mascot of golden bears?", "output": "SELECT conference_joined FROM table_name_67 WHERE location = \"terre haute\" AND mascot = \"golden bears\"" }
### INSTRUCTION What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)? ### INPUT CREATE TABLE table_name_81 (nhl_team VARCHAR, position VARCHAR, college_junior_club_team VARCHAR) ### OUTPUT SELECT nhl_team FROM table_name_81 WHERE position = "left wing" AND college_junior_club_team = "toronto marlboros (omjhl)"
{ "input": "CREATE TABLE table_name_81 (nhl_team VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)", "instruction": "What NHL team has a player in the position of Left Wing that came from the Toronto Marlboros (omjhl)?", "output": "SELECT nhl_team FROM table_name_81 WHERE position = \"left wing\" AND college_junior_club_team = \"toronto marlboros (omjhl)\"" }
### INSTRUCTION display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000. ### INPUT CREATE TABLE jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR) ### OUTPUT SELECT job_title, max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000
{ "input": "CREATE TABLE jobs (job_title VARCHAR, max_salary INTEGER, min_salary VARCHAR)", "instruction": "display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000.", "output": "SELECT job_title, max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000" }
### INSTRUCTION Which College has a Round of 11, and a Position of wr? ### INPUT CREATE TABLE table_name_42 (college VARCHAR, round VARCHAR, position VARCHAR) ### OUTPUT SELECT college FROM table_name_42 WHERE round = 11 AND position = "wr"
{ "input": "CREATE TABLE table_name_42 (college VARCHAR, round VARCHAR, position VARCHAR)", "instruction": "Which College has a Round of 11, and a Position of wr?", "output": "SELECT college FROM table_name_42 WHERE round = 11 AND position = \"wr\"" }
### INSTRUCTION Which High rebounds has a Game smaller than 9, and a Opponent of detroit? ### INPUT CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR) ### OUTPUT SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit"
{ "input": "CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR)", "instruction": "Which High rebounds has a Game smaller than 9, and a Opponent of detroit?", "output": "SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = \"detroit\"" }