text
stringlengths
147
1.06k
source
dict
### INSTRUCTION Name the film titled for marcel camus category:articles with hcards ### INPUT CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR) ### OUTPUT SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "Marcel Camus Category:Articles with hCards"
{ "input": "CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR)", "instruction": "Name the film titled for marcel camus category:articles with hcards", "output": "SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = \"Marcel Camus Category:Articles with hCards\"" }
### INSTRUCTION How many years of NBA experience does the player who plays position g for the Portland Trail Blazers? ### INPUT CREATE TABLE table_name_28 (years_of_nba_experience_ VARCHAR, a_ VARCHAR, pos VARCHAR, team VARCHAR) ### OUTPUT SELECT years_of_nba_experience_[a_] FROM table_name_28 WHERE pos = "g" AND team = "portland trail blazers"
{ "input": "CREATE TABLE table_name_28 (years_of_nba_experience_ VARCHAR, a_ VARCHAR, pos VARCHAR, team VARCHAR)", "instruction": "How many years of NBA experience does the player who plays position g for the Portland Trail Blazers?", "output": "SELECT years_of_nba_experience_[a_] FROM table_name_28 WHERE pos = \"g\" AND team = \"portland trail blazers\"" }
### INSTRUCTION Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51 ### INPUT CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR) ### OUTPUT SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = "1888/89-1913/14" AND matches > 51
{ "input": "CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR)", "instruction": "Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51", "output": "SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = \"1888/89-1913/14\" AND matches > 51" }
### INSTRUCTION What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million? ### INPUT CREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__£m_ VARCHAR) ### OUTPUT SELECT SUM(net_profit__) AS £m_ FROM table_name_75 WHERE earnings_per_share__p_ = 27.4 AND profit__loss__before_tax__£m_ < 194.6
{ "input": "CREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__£m_ VARCHAR)", "instruction": "What is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?", "output": "SELECT SUM(net_profit__) AS £m_ FROM table_name_75 WHERE earnings_per_share__p_ = 27.4 AND profit__loss__before_tax__£m_ < 194.6" }
### INSTRUCTION Which poll resource provided the most number of candidate information? ### INPUT CREATE TABLE candidate (poll_source VARCHAR) ### OUTPUT SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY COUNT(*) DESC LIMIT 1
{ "input": "CREATE TABLE candidate (poll_source VARCHAR)", "instruction": "Which poll resource provided the most number of candidate information?", "output": "SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY COUNT(*) DESC LIMIT 1" }
### INSTRUCTION During what conference is North Carolina listed as the tournament winner? ### INPUT CREATE TABLE table_28365816_2 (conference VARCHAR, tournament_winner VARCHAR) ### OUTPUT SELECT conference FROM table_28365816_2 WHERE tournament_winner = "North Carolina"
{ "input": "CREATE TABLE table_28365816_2 (conference VARCHAR, tournament_winner VARCHAR)", "instruction": "During what conference is North Carolina listed as the tournament winner?", "output": "SELECT conference FROM table_28365816_2 WHERE tournament_winner = \"North Carolina\"" }
### INSTRUCTION show the train name and station name for each train. ### INPUT CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR) ### OUTPUT SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id
{ "input": "CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)", "instruction": "show the train name and station name for each train.", "output": "SELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id" }
### INSTRUCTION What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7? ### INPUT CREATE TABLE table_name_6 (model VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, green_rating VARCHAR, manufacturer VARCHAR) ### OUTPUT SELECT model FROM table_name_6 WHERE green_rating = "g" AND manufacturer = "chrysler jeep" AND l_100km_urban__cold_ < 18 AND mpg_uk_combined = 27.7
{ "input": "CREATE TABLE table_name_6 (model VARCHAR, mpg_uk_combined VARCHAR, l_100km_urban__cold_ VARCHAR, green_rating VARCHAR, manufacturer VARCHAR)", "instruction": "What model has a g green rating, has chrysler jeep as a manufacturer, has an l/100km urban (cold) less than 18, and has an mpg-uk combined of 27.7?", "output": "SELECT model FROM table_name_6 WHERE green_rating = \"g\" AND manufacturer = \"chrysler jeep\" AND l_100km_urban__cold_ < 18 AND mpg_uk_combined = 27.7" }
### INSTRUCTION Find the name of the source user with the highest average trust score. ### INPUT CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE trust (source_u_id VARCHAR) ### OUTPUT SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.source_u_id GROUP BY T2.source_u_id ORDER BY AVG(trust) DESC LIMIT 1
{ "input": "CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE trust (source_u_id VARCHAR)", "instruction": "Find the name of the source user with the highest average trust score.", "output": "SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.source_u_id GROUP BY T2.source_u_id ORDER BY AVG(trust) DESC LIMIT 1" }
### INSTRUCTION What is the record of game 42, which had a clemmensen decision? ### INPUT CREATE TABLE table_name_76 (record VARCHAR, decision VARCHAR, game VARCHAR) ### OUTPUT SELECT record FROM table_name_76 WHERE decision = "clemmensen" AND game = 42
{ "input": "CREATE TABLE table_name_76 (record VARCHAR, decision VARCHAR, game VARCHAR)", "instruction": "What is the record of game 42, which had a clemmensen decision?", "output": "SELECT record FROM table_name_76 WHERE decision = \"clemmensen\" AND game = 42" }
### INSTRUCTION What is the 2007 that has a grand slam tournaments in 2006. ### INPUT CREATE TABLE table_name_32 (Id VARCHAR) ### OUTPUT SELECT 2007 FROM table_name_32 WHERE 2006 = "grand slam tournaments"
{ "input": "CREATE TABLE table_name_32 (Id VARCHAR)", "instruction": "What is the 2007 that has a grand slam tournaments in 2006.", "output": "SELECT 2007 FROM table_name_32 WHERE 2006 = \"grand slam tournaments\"" }
### INSTRUCTION Which Rank points has a Score points of olympic silver medalist? ### INPUT CREATE TABLE table_name_42 (rank_points VARCHAR, score_points VARCHAR) ### OUTPUT SELECT rank_points FROM table_name_42 WHERE score_points = "olympic silver medalist"
{ "input": "CREATE TABLE table_name_42 (rank_points VARCHAR, score_points VARCHAR)", "instruction": "Which Rank points has a Score points of olympic silver medalist?", "output": "SELECT rank_points FROM table_name_42 WHERE score_points = \"olympic silver medalist\"" }
### INSTRUCTION what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb ### INPUT CREATE TABLE table_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR) ### OUTPUT SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb"
{ "input": "CREATE TABLE table_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR)", "instruction": "what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb", "output": "SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = \"22 city, 30 hwy, 25 comb\"" }
### INSTRUCTION What was the lowest week at Ralph Wilson Stadium on October 7, 2001? ### INPUT CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR) ### OUTPUT SELECT MIN(week) FROM table_name_72 WHERE game_site = "ralph wilson stadium" AND date = "october 7, 2001"
{ "input": "CREATE TABLE table_name_72 (week INTEGER, game_site VARCHAR, date VARCHAR)", "instruction": "What was the lowest week at Ralph Wilson Stadium on October 7, 2001?", "output": "SELECT MIN(week) FROM table_name_72 WHERE game_site = \"ralph wilson stadium\" AND date = \"october 7, 2001\"" }
### INSTRUCTION Which Home team has a Venue of arden street oval? ### INPUT CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR) ### OUTPUT SELECT home_team FROM table_name_64 WHERE venue = "arden street oval"
{ "input": "CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR)", "instruction": "Which Home team has a Venue of arden street oval?", "output": "SELECT home_team FROM table_name_64 WHERE venue = \"arden street oval\"" }
### INSTRUCTION For Model e64 what is the zAAPs/zIIPs? ### INPUT CREATE TABLE table_name_36 (zaaps___ziips VARCHAR, model VARCHAR) ### OUTPUT SELECT zaaps___ziips FROM table_name_36 WHERE model = "e64"
{ "input": "CREATE TABLE table_name_36 (zaaps___ziips VARCHAR, model VARCHAR)", "instruction": "For Model e64 what is the zAAPs/zIIPs?", "output": "SELECT zaaps___ziips FROM table_name_36 WHERE model = \"e64\"" }
### INSTRUCTION Which Recopa 1994 has a Supercopa 1994 of 1st round, and a Team of argentinos juniors? ### INPUT CREATE TABLE table_name_54 (recopa_1994 VARCHAR, supercopa_1994 VARCHAR, team VARCHAR) ### OUTPUT SELECT recopa_1994 FROM table_name_54 WHERE supercopa_1994 = "1st round" AND team = "argentinos juniors"
{ "input": "CREATE TABLE table_name_54 (recopa_1994 VARCHAR, supercopa_1994 VARCHAR, team VARCHAR)", "instruction": "Which Recopa 1994 has a Supercopa 1994 of 1st round, and a Team of argentinos juniors?", "output": "SELECT recopa_1994 FROM table_name_54 WHERE supercopa_1994 = \"1st round\" AND team = \"argentinos juniors\"" }
### INSTRUCTION What were all the salary values of players in 2010 and 2001? ### INPUT CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR) ### OUTPUT SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001
{ "input": "CREATE TABLE salary (salary VARCHAR, YEAR VARCHAR)", "instruction": "What were all the salary values of players in 2010 and 2001?", "output": "SELECT salary FROM salary WHERE YEAR = 2010 UNION SELECT salary FROM salary WHERE YEAR = 2001" }
### INSTRUCTION What kind of Pada 4 has a Pada 1 of खी ju/khi? ### INPUT CREATE TABLE table_name_90 (pada_4 VARCHAR, pada_1 VARCHAR) ### OUTPUT SELECT pada_4 FROM table_name_90 WHERE pada_1 = "खी ju/khi"
{ "input": "CREATE TABLE table_name_90 (pada_4 VARCHAR, pada_1 VARCHAR)", "instruction": "What kind of Pada 4 has a Pada 1 of खी ju/khi?", "output": "SELECT pada_4 FROM table_name_90 WHERE pada_1 = \"खी ju/khi\"" }
### INSTRUCTION What is the semi-final television commentator status in 1962 with an unknown spokesperson? ### INPUT CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR) ### OUTPUT SELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = "unknown" AND year_s_ = 1962
{ "input": "CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR)", "instruction": "What is the semi-final television commentator status in 1962 with an unknown spokesperson?", "output": "SELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = \"unknown\" AND year_s_ = 1962" }
### INSTRUCTION Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'. ### INPUT CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR) ### OUTPUT SELECT T1.account_id, T1.date_account_opened, T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan'
{ "input": "CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR)", "instruction": "Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'.", "output": "SELECT T1.account_id, T1.date_account_opened, T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan'" }
### INSTRUCTION Find distinct cities of addresses of people? ### INPUT CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR) ### OUTPUT SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id
{ "input": "CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR)", "instruction": "Find distinct cities of addresses of people?", "output": "SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id" }
### INSTRUCTION What was the most recent year when a g-force chassis started in 1st? ### INPUT CREATE TABLE table_name_35 (year INTEGER, start VARCHAR, chassis VARCHAR) ### OUTPUT SELECT MAX(year) FROM table_name_35 WHERE start = "1st" AND chassis = "g-force"
{ "input": "CREATE TABLE table_name_35 (year INTEGER, start VARCHAR, chassis VARCHAR)", "instruction": "What was the most recent year when a g-force chassis started in 1st?", "output": "SELECT MAX(year) FROM table_name_35 WHERE start = \"1st\" AND chassis = \"g-force\"" }
### INSTRUCTION Find the accreditation level that more than 3 phones use. ### INPUT CREATE TABLE phone (Accreditation_level VARCHAR) ### OUTPUT SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING COUNT(*) > 3
{ "input": "CREATE TABLE phone (Accreditation_level VARCHAR)", "instruction": "Find the accreditation level that more than 3 phones use.", "output": "SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING COUNT(*) > 3" }
### INSTRUCTION Which Record has a Location/Attendance of ford center, a Game larger than 30, and a Score of 87–79? ### INPUT CREATE TABLE table_name_51 (record VARCHAR, score VARCHAR, location_attendance VARCHAR, game VARCHAR) ### OUTPUT SELECT record FROM table_name_51 WHERE location_attendance = "ford center" AND game > 30 AND score = "87–79"
{ "input": "CREATE TABLE table_name_51 (record VARCHAR, score VARCHAR, location_attendance VARCHAR, game VARCHAR)", "instruction": "Which Record has a Location/Attendance of ford center, a Game larger than 30, and a Score of 87–79?", "output": "SELECT record FROM table_name_51 WHERE location_attendance = \"ford center\" AND game > 30 AND score = \"87–79\"" }
### INSTRUCTION Who is the crew chief of team Joe Gibbs Racing, which has a Chevrolet Monte Carlo and Fedex as the primary sponsor? ### INPUT CREATE TABLE table_name_81 (crew_chief VARCHAR, primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, team VARCHAR) ### OUTPUT SELECT crew_chief FROM table_name_81 WHERE car_s_ = "chevrolet monte carlo" AND team = "joe gibbs racing" AND primary_sponsor_s_ = "fedex"
{ "input": "CREATE TABLE table_name_81 (crew_chief VARCHAR, primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, team VARCHAR)", "instruction": "Who is the crew chief of team Joe Gibbs Racing, which has a Chevrolet Monte Carlo and Fedex as the primary sponsor?", "output": "SELECT crew_chief FROM table_name_81 WHERE car_s_ = \"chevrolet monte carlo\" AND team = \"joe gibbs racing\" AND primary_sponsor_s_ = \"fedex\"" }
### INSTRUCTION Find the name and address of the customers who have both New and Pending orders. ### INPUT CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR) ### OUTPUT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "New" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending"
{ "input": "CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)", "instruction": "Find the name and address of the customers who have both New and Pending orders.", "output": "SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = \"New\" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = \"Pending\"" }
### INSTRUCTION Which High rebounds have a Game larger than 2, and a Team of @ denver, and High assists of kobe bryant (5)? ### INPUT CREATE TABLE table_name_27 (high_rebounds VARCHAR, high_assists VARCHAR, game VARCHAR, team VARCHAR) ### OUTPUT SELECT high_rebounds FROM table_name_27 WHERE game > 2 AND team = "@ denver" AND high_assists = "kobe bryant (5)"
{ "input": "CREATE TABLE table_name_27 (high_rebounds VARCHAR, high_assists VARCHAR, game VARCHAR, team VARCHAR)", "instruction": "Which High rebounds have a Game larger than 2, and a Team of @ denver, and High assists of kobe bryant (5)?", "output": "SELECT high_rebounds FROM table_name_27 WHERE game > 2 AND team = \"@ denver\" AND high_assists = \"kobe bryant (5)\"" }
### INSTRUCTION Show the account name and other account detail for all accounts by the customer with first name Meaghan and last name Keeling. ### INPUT CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR) ### OUTPUT SELECT T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Meaghan" AND T2.customer_last_name = "Keeling"
{ "input": "CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR)", "instruction": "Show the account name and other account detail for all accounts by the customer with first name Meaghan and last name Keeling.", "output": "SELECT T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = \"Meaghan\" AND T2.customer_last_name = \"Keeling\"" }
### INSTRUCTION what is the y = 2009 when the expression is month = floor ((d + e + 114) / 31)? ### INPUT CREATE TABLE table_214479_8 (y_ VARCHAR, _2009 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR) ### OUTPUT SELECT y_ = _2009 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 31)
{ "input": "CREATE TABLE table_214479_8 (y_ VARCHAR, _2009 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR)", "instruction": "what is the y = 2009 when the expression is month = floor ((d + e + 114) / 31)?", "output": "SELECT y_ = _2009 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 31)" }
### INSTRUCTION Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish? ### INPUT CREATE TABLE table_name_59 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR) ### OUTPUT SELECT year FROM table_name_59 WHERE borough = "harrogate" AND rank < 6 AND definition = "civil parish"
{ "input": "CREATE TABLE table_name_59 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR)", "instruction": "Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish?", "output": "SELECT year FROM table_name_59 WHERE borough = \"harrogate\" AND rank < 6 AND definition = \"civil parish\"" }
### INSTRUCTION What was the location of the club where the home ground is wilfred taylor reserve? ### INPUT CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR) ### OUTPUT SELECT location FROM table_name_80 WHERE home_ground = "wilfred taylor reserve"
{ "input": "CREATE TABLE table_name_80 (location VARCHAR, home_ground VARCHAR)", "instruction": "What was the location of the club where the home ground is wilfred taylor reserve?", "output": "SELECT location FROM table_name_80 WHERE home_ground = \"wilfred taylor reserve\"" }
### INSTRUCTION What is the last round with club team Guelph Storm (ohl)? ### INPUT CREATE TABLE table_11803648_22 (round INTEGER, club_team VARCHAR) ### OUTPUT SELECT MAX(round) FROM table_11803648_22 WHERE club_team = "Guelph Storm (OHL)"
{ "input": "CREATE TABLE table_11803648_22 (round INTEGER, club_team VARCHAR)", "instruction": "What is the last round with club team Guelph Storm (ohl)?", "output": "SELECT MAX(round) FROM table_11803648_22 WHERE club_team = \"Guelph Storm (OHL)\"" }
### INSTRUCTION what was the engine used before 1996 with 5 points? ### INPUT CREATE TABLE table_name_68 (engine VARCHAR, year VARCHAR, points VARCHAR) ### OUTPUT SELECT engine FROM table_name_68 WHERE year < 1996 AND points = 5
{ "input": "CREATE TABLE table_name_68 (engine VARCHAR, year VARCHAR, points VARCHAR)", "instruction": "what was the engine used before 1996 with 5 points?", "output": "SELECT engine FROM table_name_68 WHERE year < 1996 AND points = 5" }
### INSTRUCTION What was the population in 2011 of banatski karlovac? ### INPUT CREATE TABLE table_2562572_44 (population__2011_ VARCHAR, settlement VARCHAR) ### OUTPUT SELECT population__2011_ FROM table_2562572_44 WHERE settlement = "Banatski Karlovac"
{ "input": "CREATE TABLE table_2562572_44 (population__2011_ VARCHAR, settlement VARCHAR)", "instruction": "What was the population in 2011 of banatski karlovac?", "output": "SELECT population__2011_ FROM table_2562572_44 WHERE settlement = \"Banatski Karlovac\"" }
### INSTRUCTION What is the average frequency mhz of the loomis, south dakota city license? ### INPUT CREATE TABLE table_name_83 (frequency_mhz INTEGER, city_of_license VARCHAR) ### OUTPUT SELECT AVG(frequency_mhz) FROM table_name_83 WHERE city_of_license = "loomis, south dakota"
{ "input": "CREATE TABLE table_name_83 (frequency_mhz INTEGER, city_of_license VARCHAR)", "instruction": "What is the average frequency mhz of the loomis, south dakota city license?", "output": "SELECT AVG(frequency_mhz) FROM table_name_83 WHERE city_of_license = \"loomis, south dakota\"" }
### INSTRUCTION Which Score has High points of raymond felton (32)? ### INPUT CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR) ### OUTPUT SELECT score FROM table_name_56 WHERE high_points = "raymond felton (32)"
{ "input": "CREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR)", "instruction": "Which Score has High points of raymond felton (32)?", "output": "SELECT score FROM table_name_56 WHERE high_points = \"raymond felton (32)\"" }
### INSTRUCTION Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap? ### INPUT CREATE TABLE table_29162856_1 (pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR) ### OUTPUT SELECT pole_position FROM table_29162856_1 WHERE winning_rider = "Rob Guiver" AND fastest_lap = "Kyle Ryde"
{ "input": "CREATE TABLE table_29162856_1 (pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR)", "instruction": "Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap?", "output": "SELECT pole_position FROM table_29162856_1 WHERE winning_rider = \"Rob Guiver\" AND fastest_lap = \"Kyle Ryde\"" }
### INSTRUCTION When winner is the status and 77 is the total days in pbb house what is the edition? ### INPUT CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR) ### OUTPUT SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = "Winner"
{ "input": "CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR)", "instruction": "When winner is the status and 77 is the total days in pbb house what is the edition?", "output": "SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = \"Winner\"" }
### INSTRUCTION The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook. ### INPUT CREATE TABLE table_14154271_2 (results VARCHAR, gt2_winning_team VARCHAR) ### OUTPUT SELECT results FROM table_14154271_2 WHERE gt2_winning_team = "Lars-Erik Nielsen Allan Simonsen Richard Westbrook"
{ "input": "CREATE TABLE table_14154271_2 (results VARCHAR, gt2_winning_team VARCHAR)", "instruction": "The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook. ", "output": "SELECT results FROM table_14154271_2 WHERE gt2_winning_team = \"Lars-Erik Nielsen Allan Simonsen Richard Westbrook\"" }
### INSTRUCTION When did the game in whalley range take place? ### INPUT CREATE TABLE table_name_87 (date VARCHAR, h___a VARCHAR) ### OUTPUT SELECT date FROM table_name_87 WHERE h___a = "whalley range"
{ "input": "CREATE TABLE table_name_87 (date VARCHAR, h___a VARCHAR)", "instruction": "When did the game in whalley range take place?", "output": "SELECT date FROM table_name_87 WHERE h___a = \"whalley range\"" }
### INSTRUCTION Which role had a closing broadway cast of Adam Grupper? ### INPUT CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR) ### OUTPUT SELECT role FROM table_name_78 WHERE closing_broadway_cast = "adam grupper"
{ "input": "CREATE TABLE table_name_78 (role VARCHAR, closing_broadway_cast VARCHAR)", "instruction": "Which role had a closing broadway cast of Adam Grupper?", "output": "SELECT role FROM table_name_78 WHERE closing_broadway_cast = \"adam grupper\"" }
### INSTRUCTION Tell me the total number of pick for university of virginia ### INPUT CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR) ### OUTPUT SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = "university of virginia"
{ "input": "CREATE TABLE table_name_78 (pick__number VARCHAR, affiliation VARCHAR)", "instruction": "Tell me the total number of pick for university of virginia", "output": "SELECT COUNT(pick__number) FROM table_name_78 WHERE affiliation = \"university of virginia\"" }
### INSTRUCTION When hayden roulston is the winner what is the stage? ### INPUT CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR) ### OUTPUT SELECT stage FROM table_28298471_14 WHERE winner = "Hayden Roulston"
{ "input": "CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR)", "instruction": "When hayden roulston is the winner what is the stage?", "output": "SELECT stage FROM table_28298471_14 WHERE winner = \"Hayden Roulston\"" }
### INSTRUCTION What is the air force cross when you recieve the Aerial achievement medal? ### INPUT CREATE TABLE table_2104176_1 (air_force_cross VARCHAR, homeland_security_distinguished_service_medal VARCHAR) ### OUTPUT SELECT air_force_cross FROM table_2104176_1 WHERE homeland_security_distinguished_service_medal = "Aerial Achievement Medal"
{ "input": "CREATE TABLE table_2104176_1 (air_force_cross VARCHAR, homeland_security_distinguished_service_medal VARCHAR)", "instruction": "What is the air force cross when you recieve the Aerial achievement medal?", "output": "SELECT air_force_cross FROM table_2104176_1 WHERE homeland_security_distinguished_service_medal = \"Aerial Achievement Medal\"" }
### INSTRUCTION What was the margin of victory for the win with a score of 71-69-71-70=281? ### INPUT CREATE TABLE table_name_38 (margin_of_victory VARCHAR, winning_score VARCHAR) ### OUTPUT SELECT margin_of_victory FROM table_name_38 WHERE winning_score = 71 - 69 - 71 - 70 = 281
{ "input": "CREATE TABLE table_name_38 (margin_of_victory VARCHAR, winning_score VARCHAR)", "instruction": "What was the margin of victory for the win with a score of 71-69-71-70=281?", "output": "SELECT margin_of_victory FROM table_name_38 WHERE winning_score = 71 - 69 - 71 - 70 = 281" }
### INSTRUCTION What is the August 15, 2012 population when the population density of 2012 is 307? ### INPUT CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 INTEGER, population_density_2012__km_2__ VARCHAR) ### OUTPUT SELECT MAX(population_august_15), _2012 FROM table_12496904_1 WHERE population_density_2012__km_2__ = 307
{ "input": "CREATE TABLE table_12496904_1 (_2012 VARCHAR, population_august_15 INTEGER, population_density_2012__km_2__ VARCHAR)", "instruction": "What is the August 15, 2012 population when the population density of 2012 is 307?", "output": "SELECT MAX(population_august_15), _2012 FROM table_12496904_1 WHERE population_density_2012__km_2__ = 307" }
### INSTRUCTION What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2? ### INPUT CREATE TABLE table_name_66 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR) ### OUTPUT SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 2
{ "input": "CREATE TABLE table_name_66 (against VARCHAR, draw VARCHAR, losses VARCHAR, matches VARCHAR)", "instruction": "What is the total number of Against, when Losses is less than 52, when Matches is greater than 4, and when Draw is less than 2?", "output": "SELECT COUNT(against) FROM table_name_66 WHERE losses < 52 AND matches > 4 AND draw < 2" }
### INSTRUCTION Who was the home captain at Sabina Park? ### INPUT CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR) ### OUTPUT SELECT home_captain FROM table_name_89 WHERE venue = "sabina park"
{ "input": "CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR)", "instruction": "Who was the home captain at Sabina Park?", "output": "SELECT home_captain FROM table_name_89 WHERE venue = \"sabina park\"" }
### INSTRUCTION Find the major and age of students who do not have a cat pet. ### INPUT CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARCHAR, stuid VARCHAR) ### OUTPUT SELECT major, age FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')
{ "input": "CREATE TABLE student (stuid VARCHAR); CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (major VARCHAR, age VARCHAR, stuid VARCHAR)", "instruction": "Find the major and age of students who do not have a cat pet.", "output": "SELECT major, age FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T3.petid = T2.petid WHERE T3.pettype = 'cat')" }
### INSTRUCTION Which Score has a Game larger than 76, a Location Attendance of madison square garden 19,763, and a High rebounds of wilson chandler (8)? ### INPUT CREATE TABLE table_name_71 (score VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR) ### OUTPUT SELECT score FROM table_name_71 WHERE game > 76 AND location_attendance = "madison square garden 19,763" AND high_rebounds = "wilson chandler (8)"
{ "input": "CREATE TABLE table_name_71 (score VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR)", "instruction": "Which Score has a Game larger than 76, a Location Attendance of madison square garden 19,763, and a High rebounds of wilson chandler (8)?", "output": "SELECT score FROM table_name_71 WHERE game > 76 AND location_attendance = \"madison square garden 19,763\" AND high_rebounds = \"wilson chandler (8)\"" }
### INSTRUCTION What is the average Height when the weight is less than 91 and the position is d, and a Birthdate of july 4, 1975? ### INPUT CREATE TABLE table_name_66 (height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR) ### OUTPUT SELECT AVG(height__cm_) FROM table_name_66 WHERE weight__kg_ < 91 AND position = "d" AND birthdate = "july 4, 1975"
{ "input": "CREATE TABLE table_name_66 (height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR)", "instruction": "What is the average Height when the weight is less than 91 and the position is d, and a Birthdate of july 4, 1975?", "output": "SELECT AVG(height__cm_) FROM table_name_66 WHERE weight__kg_ < 91 AND position = \"d\" AND birthdate = \"july 4, 1975\"" }
### INSTRUCTION What is the total points with less than 5 games? ### INPUT CREATE TABLE table_name_28 (points VARCHAR, games INTEGER) ### OUTPUT SELECT COUNT(points) FROM table_name_28 WHERE games < 5
{ "input": "CREATE TABLE table_name_28 (points VARCHAR, games INTEGER)", "instruction": "What is the total points with less than 5 games?", "output": "SELECT COUNT(points) FROM table_name_28 WHERE games < 5" }
### INSTRUCTION Which Year has an Award of 17th bangkok critics assembly awards, and a Category of best original score? ### INPUT CREATE TABLE table_name_7 (year VARCHAR, award VARCHAR, category VARCHAR) ### OUTPUT SELECT year FROM table_name_7 WHERE award = "17th bangkok critics assembly awards" AND category = "best original score"
{ "input": "CREATE TABLE table_name_7 (year VARCHAR, award VARCHAR, category VARCHAR)", "instruction": "Which Year has an Award of 17th bangkok critics assembly awards, and a Category of best original score?", "output": "SELECT year FROM table_name_7 WHERE award = \"17th bangkok critics assembly awards\" AND category = \"best original score\"" }
### INSTRUCTION What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay? ### INPUT CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, daves_team VARCHAR) ### OUTPUT SELECT first_broadcast FROM table_23292220_3 WHERE daves_team = "Dave Johns and Sally Lindsay"
{ "input": "CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, daves_team VARCHAR)", "instruction": "What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay?", "output": "SELECT first_broadcast FROM table_23292220_3 WHERE daves_team = \"Dave Johns and Sally Lindsay\"" }
### INSTRUCTION How many points were scored by the player who played 363 games? ### INPUT CREATE TABLE table_name_86 (points VARCHAR, games VARCHAR) ### OUTPUT SELECT points FROM table_name_86 WHERE games = "363"
{ "input": "CREATE TABLE table_name_86 (points VARCHAR, games VARCHAR)", "instruction": "How many points were scored by the player who played 363 games?", "output": "SELECT points FROM table_name_86 WHERE games = \"363\"" }
### INSTRUCTION What is the latest year in Annecy, France? ### INPUT CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR) ### OUTPUT SELECT MAX(year) FROM table_name_66 WHERE venue = "annecy, france"
{ "input": "CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR)", "instruction": "What is the latest year in Annecy, France?", "output": "SELECT MAX(year) FROM table_name_66 WHERE venue = \"annecy, france\"" }
### INSTRUCTION what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis? ### INPUT CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR) ### OUTPUT SELECT competing_entities FROM table_name_37 WHERE age_groups = "18 or younger" AND held_every = "one year" AND sport = "table tennis"
{ "input": "CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR)", "instruction": "what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis?", "output": "SELECT competing_entities FROM table_name_37 WHERE age_groups = \"18 or younger\" AND held_every = \"one year\" AND sport = \"table tennis\"" }
### INSTRUCTION What is the number of the model with three parallel printer ports? ### INPUT CREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR) ### OUTPUT SELECT model_number FROM table_1300080_1 WHERE printer_ports = "Three Parallel"
{ "input": "CREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR)", "instruction": "What is the number of the model with three parallel printer ports?", "output": "SELECT model_number FROM table_1300080_1 WHERE printer_ports = \"Three Parallel\"" }
### INSTRUCTION Show the distinct names of mountains climbed by climbers from country "West Germany". ### INPUT CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Mountain_ID VARCHAR, Country VARCHAR) ### OUTPUT SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany"
{ "input": "CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Mountain_ID VARCHAR, Country VARCHAR)", "instruction": "Show the distinct names of mountains climbed by climbers from country \"West Germany\".", "output": "SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = \"West Germany\"" }
### INSTRUCTION What is the total sum of the player from the United States who won in 1986? ### INPUT CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR) ### OUTPUT SELECT SUM(total) FROM table_name_52 WHERE country = "united states" AND year_s__won = "1986"
{ "input": "CREATE TABLE table_name_52 (total INTEGER, country VARCHAR, year_s__won VARCHAR)", "instruction": "What is the total sum of the player from the United States who won in 1986?", "output": "SELECT SUM(total) FROM table_name_52 WHERE country = \"united states\" AND year_s__won = \"1986\"" }
### INSTRUCTION Find the checking balance and saving balance in the Brown’s account. ### INPUT CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR) ### OUTPUT SELECT T2.balance, T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown'
{ "input": "CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)", "instruction": "Find the checking balance and saving balance in the Brown’s account.", "output": "SELECT T2.balance, T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown'" }
### INSTRUCTION What is the Championship Game that has 4 Bids and a .600 Win %? ### INPUT CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR) ### OUTPUT SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600"
{ "input": "CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)", "instruction": "What is the Championship Game that has 4 Bids and a .600 Win %?", "output": "SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = \".600\"" }
### INSTRUCTION How many characteristics does the product named "sesame" have? ### INPUT CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR) ### OUTPUT SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = "sesame"
{ "input": "CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR)", "instruction": "How many characteristics does the product named \"sesame\" have?", "output": "SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = \"sesame\"" }
### INSTRUCTION In what bowl game was the result Oklahoma 31, Stanford 27? ### INPUT CREATE TABLE table_23718905_6 (bowl_game VARCHAR, matchup_results VARCHAR) ### OUTPUT SELECT bowl_game FROM table_23718905_6 WHERE matchup_results = "Oklahoma 31, Stanford 27"
{ "input": "CREATE TABLE table_23718905_6 (bowl_game VARCHAR, matchup_results VARCHAR)", "instruction": "In what bowl game was the result Oklahoma 31, Stanford 27?", "output": "SELECT bowl_game FROM table_23718905_6 WHERE matchup_results = \"Oklahoma 31, Stanford 27\"" }
### INSTRUCTION What are the descriptions and names of the courses that have student enrollment bigger than 2? ### INPUT CREATE TABLE Student_Course_Enrolment (course_id VARCHAR); CREATE TABLE Courses (course_description VARCHAR, course_name VARCHAR, course_id VARCHAR) ### OUTPUT SELECT T1.course_description, T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name HAVING COUNT(*) > 2
{ "input": "CREATE TABLE Student_Course_Enrolment (course_id VARCHAR); CREATE TABLE Courses (course_description VARCHAR, course_name VARCHAR, course_id VARCHAR)", "instruction": "What are the descriptions and names of the courses that have student enrollment bigger than 2?", "output": "SELECT T1.course_description, T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name HAVING COUNT(*) > 2" }
### INSTRUCTION What actor has onderweg naar morgen, as the soap opera, with aafke couwenberg as the character? ### INPUT CREATE TABLE table_name_47 (actor VARCHAR, soap_opera VARCHAR, character VARCHAR) ### OUTPUT SELECT actor FROM table_name_47 WHERE soap_opera = "onderweg naar morgen" AND character = "aafke couwenberg"
{ "input": "CREATE TABLE table_name_47 (actor VARCHAR, soap_opera VARCHAR, character VARCHAR)", "instruction": "What actor has onderweg naar morgen, as the soap opera, with aafke couwenberg as the character?", "output": "SELECT actor FROM table_name_47 WHERE soap_opera = \"onderweg naar morgen\" AND character = \"aafke couwenberg\"" }
### INSTRUCTION Name the least game for october 10 at shibe park ### INPUT CREATE TABLE table_name_5 (game INTEGER, location VARCHAR, date VARCHAR) ### OUTPUT SELECT MIN(game) FROM table_name_5 WHERE location = "shibe park" AND date = "october 10"
{ "input": "CREATE TABLE table_name_5 (game INTEGER, location VARCHAR, date VARCHAR)", "instruction": "Name the least game for october 10 at shibe park", "output": "SELECT MIN(game) FROM table_name_5 WHERE location = \"shibe park\" AND date = \"october 10\"" }
### INSTRUCTION How many goals was by Rix from Eng who started before 2005 in the youth system? ### INPUT CREATE TABLE table_name_38 (goals VARCHAR, name VARCHAR, since VARCHAR, nat VARCHAR, transfer_fee VARCHAR) ### OUTPUT SELECT COUNT(goals) FROM table_name_38 WHERE nat = "eng" AND transfer_fee = "youth system" AND since < 2005 AND name = "rix"
{ "input": "CREATE TABLE table_name_38 (goals VARCHAR, name VARCHAR, since VARCHAR, nat VARCHAR, transfer_fee VARCHAR)", "instruction": "How many goals was by Rix from Eng who started before 2005 in the youth system?", "output": "SELECT COUNT(goals) FROM table_name_38 WHERE nat = \"eng\" AND transfer_fee = \"youth system\" AND since < 2005 AND name = \"rix\"" }
### INSTRUCTION What is the mpg-UK urban (cold) for a fuel type of diesel, extraurban MPG in the UK over 68.9, engine capacity of 1422, and L/100km urban (cold) over 5.1? ### INPUT CREATE TABLE table_name_8 (mpg_uk_urban__cold_ VARCHAR, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_extra_urban VARCHAR) ### OUTPUT SELECT mpg_uk_urban__cold_ FROM table_name_8 WHERE fuel_type = "diesel" AND mpg_uk_extra_urban > 68.9 AND engine_capacity = 1422 AND l_100km_urban__cold_ > 5.1
{ "input": "CREATE TABLE table_name_8 (mpg_uk_urban__cold_ VARCHAR, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, fuel_type VARCHAR, mpg_uk_extra_urban VARCHAR)", "instruction": "What is the mpg-UK urban (cold) for a fuel type of diesel, extraurban MPG in the UK over 68.9, engine capacity of 1422, and L/100km urban (cold) over 5.1?", "output": "SELECT mpg_uk_urban__cold_ FROM table_name_8 WHERE fuel_type = \"diesel\" AND mpg_uk_extra_urban > 68.9 AND engine_capacity = 1422 AND l_100km_urban__cold_ > 5.1" }
### INSTRUCTION Which Grid has more than 8 Laps, and a Manufacturer of honda, and a Time/Retired of retirement? ### INPUT CREATE TABLE table_name_61 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR) ### OUTPUT SELECT grid FROM table_name_61 WHERE laps > 8 AND manufacturer = "honda" AND time_retired = "retirement"
{ "input": "CREATE TABLE table_name_61 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)", "instruction": "Which Grid has more than 8 Laps, and a Manufacturer of honda, and a Time/Retired of retirement?", "output": "SELECT grid FROM table_name_61 WHERE laps > 8 AND manufacturer = \"honda\" AND time_retired = \"retirement\"" }
### INSTRUCTION What are the records of games where high rebounds is amar'e stoudemire (11) ### INPUT CREATE TABLE table_17340355_6 (record VARCHAR, high_rebounds VARCHAR) ### OUTPUT SELECT COUNT(record) FROM table_17340355_6 WHERE high_rebounds = "Amar'e Stoudemire (11)"
{ "input": "CREATE TABLE table_17340355_6 (record VARCHAR, high_rebounds VARCHAR)", "instruction": "What are the records of games where high rebounds is amar'e stoudemire (11)", "output": "SELECT COUNT(record) FROM table_17340355_6 WHERE high_rebounds = \"Amar'e Stoudemire (11)\"" }
### INSTRUCTION The EVA that started on 8 July 12:38 went for how long? ### INPUT CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR) ### OUTPUT SELECT duration FROM table_name_83 WHERE start_date_time = "8 july 12:38"
{ "input": "CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR)", "instruction": "The EVA that started on 8 July 12:38 went for how long?", "output": "SELECT duration FROM table_name_83 WHERE start_date_time = \"8 july 12:38\"" }
### INSTRUCTION what was the score when goran ivanišević was runner up and the tournament was in algarve? ### INPUT CREATE TABLE table_name_53 (score VARCHAR, runner_up VARCHAR, tournament VARCHAR) ### OUTPUT SELECT score FROM table_name_53 WHERE runner_up = "goran ivanišević" AND tournament = "algarve"
{ "input": "CREATE TABLE table_name_53 (score VARCHAR, runner_up VARCHAR, tournament VARCHAR)", "instruction": "what was the score when goran ivanišević was runner up and the tournament was in algarve?", "output": "SELECT score FROM table_name_53 WHERE runner_up = \"goran ivanišević\" AND tournament = \"algarve\"" }
### INSTRUCTION What is the name of the Home Stadium in which the Division is in the south, and Conference is national, as well as being in the city named charlotte, North Carolina? ### INPUT CREATE TABLE table_name_64 (home_stadium VARCHAR, city VARCHAR, division VARCHAR, conference VARCHAR) ### OUTPUT SELECT home_stadium FROM table_name_64 WHERE division = "south" AND conference = "national" AND city = "charlotte, north carolina"
{ "input": "CREATE TABLE table_name_64 (home_stadium VARCHAR, city VARCHAR, division VARCHAR, conference VARCHAR)", "instruction": "What is the name of the Home Stadium in which the Division is in the south, and Conference is national, as well as being in the city named charlotte, North Carolina?", "output": "SELECT home_stadium FROM table_name_64 WHERE division = \"south\" AND conference = \"national\" AND city = \"charlotte, north carolina\"" }
### INSTRUCTION Who was the away team in a tie no larger than 16 with forest green rovers at home? ### INPUT CREATE TABLE table_name_95 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR) ### OUTPUT SELECT away_team FROM table_name_95 WHERE tie_no > 16 AND home_team = "forest green rovers"
{ "input": "CREATE TABLE table_name_95 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR)", "instruction": "Who was the away team in a tie no larger than 16 with forest green rovers at home?", "output": "SELECT away_team FROM table_name_95 WHERE tie_no > 16 AND home_team = \"forest green rovers\"" }
### INSTRUCTION Name the least episode for fibre cement siding ### INPUT CREATE TABLE table_15187735_18 (episode INTEGER, segment_d VARCHAR) ### OUTPUT SELECT MIN(episode) FROM table_15187735_18 WHERE segment_d = "Fibre Cement Siding"
{ "input": "CREATE TABLE table_15187735_18 (episode INTEGER, segment_d VARCHAR)", "instruction": "Name the least episode for fibre cement siding", "output": "SELECT MIN(episode) FROM table_15187735_18 WHERE segment_d = \"Fibre Cement Siding\"" }
### INSTRUCTION What genre has over 20 episodes, with an English title (Chinese title) of wong fei hung - master of kung fu 我師傅係黃飛鴻? ### INPUT CREATE TABLE table_name_95 (genre VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR) ### OUTPUT SELECT genre FROM table_name_95 WHERE number_of_episodes > 20 AND english_title__chinese_title_ = "wong fei hung - master of kung fu 我師傅係黃飛鴻"
{ "input": "CREATE TABLE table_name_95 (genre VARCHAR, number_of_episodes VARCHAR, english_title__chinese_title_ VARCHAR)", "instruction": "What genre has over 20 episodes, with an English title (Chinese title) of wong fei hung - master of kung fu 我師傅係黃飛鴻?", "output": "SELECT genre FROM table_name_95 WHERE number_of_episodes > 20 AND english_title__chinese_title_ = \"wong fei hung - master of kung fu 我師傅係黃飛鴻\"" }
### INSTRUCTION What seasons does Nick lucas appear? ### INPUT CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, character VARCHAR) ### OUTPUT SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Nick Lucas"
{ "input": "CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, character VARCHAR)", "instruction": "What seasons does Nick lucas appear?", "output": "SELECT main_cast_seasons FROM table_12441518_1 WHERE character = \"Nick Lucas\"" }
### INSTRUCTION What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival? ### INPUT CREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR) ### OUTPUT SELECT AVG(tourism_receipts__2011___millions_of_us) AS $_ FROM table_name_41 WHERE tourist_arrivals__2011___millions_ < 1.141 AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 449
{ "input": "CREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)", "instruction": "What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival?", "output": "SELECT AVG(tourism_receipts__2011___millions_of_us) AS $_ FROM table_name_41 WHERE tourist_arrivals__2011___millions_ < 1.141 AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 449" }
### INSTRUCTION Which L2-Cache has a Frequency of 1333 mhz, and a Model Number of c3 1.3a? ### INPUT CREATE TABLE table_name_42 (l2_cache VARCHAR, frequency VARCHAR, model_number VARCHAR) ### OUTPUT SELECT l2_cache FROM table_name_42 WHERE frequency = "1333 mhz" AND model_number = "c3 1.3a"
{ "input": "CREATE TABLE table_name_42 (l2_cache VARCHAR, frequency VARCHAR, model_number VARCHAR)", "instruction": "Which L2-Cache has a Frequency of 1333 mhz, and a Model Number of c3 1.3a?", "output": "SELECT l2_cache FROM table_name_42 WHERE frequency = \"1333 mhz\" AND model_number = \"c3 1.3a\"" }
### INSTRUCTION After 1972, how many points did Marlboro Team Alfa Romeo have? ### INPUT CREATE TABLE table_name_84 (points VARCHAR, year VARCHAR, entrant VARCHAR) ### OUTPUT SELECT points FROM table_name_84 WHERE year > 1972 AND entrant = "marlboro team alfa romeo"
{ "input": "CREATE TABLE table_name_84 (points VARCHAR, year VARCHAR, entrant VARCHAR)", "instruction": "After 1972, how many points did Marlboro Team Alfa Romeo have?", "output": "SELECT points FROM table_name_84 WHERE year > 1972 AND entrant = \"marlboro team alfa romeo\"" }
### INSTRUCTION Find the common login name of course authors and students. ### INPUT CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR); CREATE TABLE Students (login_name VARCHAR) ### OUTPUT SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students
{ "input": "CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR); CREATE TABLE Students (login_name VARCHAR)", "instruction": "Find the common login name of course authors and students.", "output": "SELECT login_name FROM Course_Authors_and_Tutors INTERSECT SELECT login_name FROM Students" }
### INSTRUCTION What is the highest S No, when the Match Date is Nov 1, 2003? ### INPUT CREATE TABLE table_name_8 (s_no INTEGER, match_date VARCHAR) ### OUTPUT SELECT MAX(s_no) FROM table_name_8 WHERE match_date = "nov 1, 2003"
{ "input": "CREATE TABLE table_name_8 (s_no INTEGER, match_date VARCHAR)", "instruction": "What is the highest S No, when the Match Date is Nov 1, 2003?", "output": "SELECT MAX(s_no) FROM table_name_8 WHERE match_date = \"nov 1, 2003\"" }
### INSTRUCTION What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3? ### INPUT CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR) ### OUTPUT SELECT MAX(seats_2006) FROM table_name_5 WHERE parties_and_voter_communities = "bürger für groß-rohrheim" AND _percentage_2006 < 21.3
{ "input": "CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)", "instruction": "What is the highest number of Seats 2006 held by the communities of Bürger Für Groß-Rohrheim Party/Voter Community, with a %2006 less than 21.3?", "output": "SELECT MAX(seats_2006) FROM table_name_5 WHERE parties_and_voter_communities = \"bürger für groß-rohrheim\" AND _percentage_2006 < 21.3" }
### INSTRUCTION What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984? ### INPUT CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR) ### OUTPUT SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = "patronymic" AND etymology = "son of christian" AND number_of_bearers_1971 > 45.984
{ "input": "CREATE TABLE table_name_3 (number_of_bearers_2009 INTEGER, number_of_bearers_1971 VARCHAR, etymology VARCHAR, rank VARCHAR, type VARCHAR)", "instruction": "What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984?", "output": "SELECT SUM(number_of_bearers_2009) FROM table_name_3 WHERE rank > 1 AND type = \"patronymic\" AND etymology = \"son of christian\" AND number_of_bearers_1971 > 45.984" }
### INSTRUCTION What was the 2nd leg when Team 1 was Chicago Croatian? ### INPUT CREATE TABLE table_name_57 (team_1 VARCHAR) ### OUTPUT SELECT 2 AS nd_leg FROM table_name_57 WHERE team_1 = "chicago croatian"
{ "input": "CREATE TABLE table_name_57 (team_1 VARCHAR)", "instruction": "What was the 2nd leg when Team 1 was Chicago Croatian?", "output": "SELECT 2 AS nd_leg FROM table_name_57 WHERE team_1 = \"chicago croatian\"" }
### INSTRUCTION Which Finalist has a Semi finalists of monica seles conchita martínez? ### INPUT CREATE TABLE table_name_69 (finalist VARCHAR, semi_finalists VARCHAR) ### OUTPUT SELECT finalist FROM table_name_69 WHERE semi_finalists = "monica seles conchita martínez"
{ "input": "CREATE TABLE table_name_69 (finalist VARCHAR, semi_finalists VARCHAR)", "instruction": "Which Finalist has a Semi finalists of monica seles conchita martínez?", "output": "SELECT finalist FROM table_name_69 WHERE semi_finalists = \"monica seles conchita martínez\"" }
### INSTRUCTION What series finale has the translation ოჰ ეს ცრემლები / პარალელური საიდუმლო? ### INPUT CREATE TABLE table_name_56 (series_finale VARCHAR, translation VARCHAR) ### OUTPUT SELECT series_finale FROM table_name_56 WHERE translation = "ოჰ ეს ცრემლები / პარალელური საიდუმლო"
{ "input": "CREATE TABLE table_name_56 (series_finale VARCHAR, translation VARCHAR)", "instruction": "What series finale has the translation ოჰ ეს ცრემლები / პარალელური საიდუმლო?", "output": "SELECT series_finale FROM table_name_56 WHERE translation = \"ოჰ ეს ცრემლები / პარალელური საიდუმლო\"" }
### INSTRUCTION List the id and type of each thing, and the details of the organization that owns it. ### INPUT CREATE TABLE Organizations (organization_details VARCHAR, organization_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, type_of_Thing_Code VARCHAR, organization_id VARCHAR) ### OUTPUT SELECT T1.thing_id, T1.type_of_Thing_Code, T2.organization_details FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id
{ "input": "CREATE TABLE Organizations (organization_details VARCHAR, organization_id VARCHAR); CREATE TABLE Things (thing_id VARCHAR, type_of_Thing_Code VARCHAR, organization_id VARCHAR)", "instruction": "List the id and type of each thing, and the details of the organization that owns it.", "output": "SELECT T1.thing_id, T1.type_of_Thing_Code, T2.organization_details FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id" }
### INSTRUCTION I want the outgoing manager for 19 february ### INPUT CREATE TABLE table_name_57 (outgoing_manager VARCHAR, date_of_appointment VARCHAR) ### OUTPUT SELECT outgoing_manager FROM table_name_57 WHERE date_of_appointment = "19 february"
{ "input": "CREATE TABLE table_name_57 (outgoing_manager VARCHAR, date_of_appointment VARCHAR)", "instruction": "I want the outgoing manager for 19 february", "output": "SELECT outgoing_manager FROM table_name_57 WHERE date_of_appointment = \"19 february\"" }
### INSTRUCTION What instrument did the musician with last name "Heilo" use in the song "Le Pop"? ### INPUT CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR) ### OUTPUT SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = "Heilo" AND T3.title = "Le Pop"
{ "input": "CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR)", "instruction": "What instrument did the musician with last name \"Heilo\" use in the song \"Le Pop\"?", "output": "SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = \"Heilo\" AND T3.title = \"Le Pop\"" }
### INSTRUCTION What was the evening gown score for the woman who scored 7.600 (9) in her interview? ### INPUT CREATE TABLE table_16323766_3 (evening_gown VARCHAR, interview VARCHAR) ### OUTPUT SELECT evening_gown FROM table_16323766_3 WHERE interview = "7.600 (9)"
{ "input": "CREATE TABLE table_16323766_3 (evening_gown VARCHAR, interview VARCHAR)", "instruction": "What was the evening gown score for the woman who scored 7.600 (9) in her interview?", "output": "SELECT evening_gown FROM table_16323766_3 WHERE interview = \"7.600 (9)\"" }
### INSTRUCTION What is the least score for interview with a preliminaries score less than 9.4, evening gown score less than 9.55, and swimsuit score more than 9.18 in New York? ### INPUT CREATE TABLE table_name_79 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR) ### OUTPUT SELECT MIN(interview) FROM table_name_79 WHERE preliminaries < 9.4 AND evening_gown < 9.55 AND country = "new york" AND swimsuit > 9.18
{ "input": "CREATE TABLE table_name_79 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)", "instruction": "What is the least score for interview with a preliminaries score less than 9.4, evening gown score less than 9.55, and swimsuit score more than 9.18 in New York?", "output": "SELECT MIN(interview) FROM table_name_79 WHERE preliminaries < 9.4 AND evening_gown < 9.55 AND country = \"new york\" AND swimsuit > 9.18" }
### INSTRUCTION what of the total number of date where grand prix is portuguese grand prix ### INPUT CREATE TABLE table_1137704_2 (date VARCHAR, grand_prix VARCHAR) ### OUTPUT SELECT COUNT(date) FROM table_1137704_2 WHERE grand_prix = "Portuguese grand_prix"
{ "input": "CREATE TABLE table_1137704_2 (date VARCHAR, grand_prix VARCHAR)", "instruction": "what of the total number of date where grand prix is portuguese grand prix", "output": "SELECT COUNT(date) FROM table_1137704_2 WHERE grand_prix = \"Portuguese grand_prix\"" }
### INSTRUCTION What is the frequency of the radio station in Indiana that has a call sign of WGNR? ### INPUT CREATE TABLE table_name_70 (frequency VARCHAR, state VARCHAR, call_sign VARCHAR) ### OUTPUT SELECT frequency FROM table_name_70 WHERE state = "indiana" AND call_sign = "wgnr"
{ "input": "CREATE TABLE table_name_70 (frequency VARCHAR, state VARCHAR, call_sign VARCHAR)", "instruction": "What is the frequency of the radio station in Indiana that has a call sign of WGNR?", "output": "SELECT frequency FROM table_name_70 WHERE state = \"indiana\" AND call_sign = \"wgnr\"" }
### INSTRUCTION On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia? ### INPUT CREATE TABLE table_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR) ### OUTPUT SELECT date FROM table_26267607_2 WHERE winning_team = "Abt Sportsline" AND pole_position = "Mattias Ekström" AND circuit = "circuit Ricardo Tormo , Valencia"
{ "input": "CREATE TABLE table_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR)", "instruction": "On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia?", "output": "SELECT date FROM table_26267607_2 WHERE winning_team = \"Abt Sportsline\" AND pole_position = \"Mattias Ekström\" AND circuit = \"circuit Ricardo Tormo , Valencia\"" }
### INSTRUCTION What is the largest amount of ends won when stolen ends were 3? ### INPUT CREATE TABLE table_25718552_2 (Ends INTEGER, stolen_ends VARCHAR) ### OUTPUT SELECT MAX(Ends) AS won FROM table_25718552_2 WHERE stolen_ends = 3
{ "input": "CREATE TABLE table_25718552_2 (Ends INTEGER, stolen_ends VARCHAR)", "instruction": "What is the largest amount of ends won when stolen ends were 3?", "output": "SELECT MAX(Ends) AS won FROM table_25718552_2 WHERE stolen_ends = 3" }
### INSTRUCTION What is the average when interview is 9.465 and evening gown is less than 9.454? ### INPUT CREATE TABLE table_name_28 (average INTEGER, interview VARCHAR, evening_gown VARCHAR) ### OUTPUT SELECT SUM(average) FROM table_name_28 WHERE interview = 9.465 AND evening_gown < 9.454
{ "input": "CREATE TABLE table_name_28 (average INTEGER, interview VARCHAR, evening_gown VARCHAR)", "instruction": "What is the average when interview is 9.465 and evening gown is less than 9.454?", "output": "SELECT SUM(average) FROM table_name_28 WHERE interview = 9.465 AND evening_gown < 9.454" }
### INSTRUCTION What is the total number of Area (km²), when Population (2007) is 6,176? ### INPUT CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR) ### OUTPUT SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176
{ "input": "CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR)", "instruction": "What is the total number of Area (km²), when Population (2007) is 6,176?", "output": "SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176" }