text
stringlengths
147
1.06k
source
dict
### INSTRUCTION Who has a finish of t66? ### INPUT CREATE TABLE table_name_89 (player VARCHAR, finish VARCHAR) ### OUTPUT SELECT player FROM table_name_89 WHERE finish = "t66"
{ "input": "CREATE TABLE table_name_89 (player VARCHAR, finish VARCHAR)", "instruction": "Who has a finish of t66?", "output": "SELECT player FROM table_name_89 WHERE finish = \"t66\"" }
### INSTRUCTION What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]? ### INPUT CREATE TABLE table_name_18 (runner_up VARCHAR, third_place VARCHAR, score VARCHAR) ### OUTPUT SELECT runner_up FROM table_name_18 WHERE third_place = "yevgeny kafelnikov" AND score = "3–6, 6–4, [10–3]"
{ "input": "CREATE TABLE table_name_18 (runner_up VARCHAR, third_place VARCHAR, score VARCHAR)", "instruction": "What is the name of the runner up when yevgeny kafelnikov was third place and the score was 3–6, 6–4, [10–3]?", "output": "SELECT runner_up FROM table_name_18 WHERE third_place = \"yevgeny kafelnikov\" AND score = \"3–6, 6–4, [10–3]\"" }
### INSTRUCTION Which actors are from Ukraine? ### INPUT CREATE TABLE table_10236830_4 (actors_name VARCHAR, country VARCHAR) ### OUTPUT SELECT actors_name FROM table_10236830_4 WHERE country = "Ukraine"
{ "input": "CREATE TABLE table_10236830_4 (actors_name VARCHAR, country VARCHAR)", "instruction": "Which actors are from Ukraine?", "output": "SELECT actors_name FROM table_10236830_4 WHERE country = \"Ukraine\"" }
### INSTRUCTION What year has a original title of "el tinte de la fama"? ### INPUT CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR) ### OUTPUT SELECT year__ceremony_ FROM table_name_81 WHERE original_title = "el tinte de la fama"
{ "input": "CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR)", "instruction": "What year has a original title of \"el tinte de la fama\"?", "output": "SELECT year__ceremony_ FROM table_name_81 WHERE original_title = \"el tinte de la fama\"" }
### INSTRUCTION What is the highest number of points of the game in Conseco fieldhouse 7,134? ### INPUT CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR) ### OUTPUT SELECT high_points FROM table_name_79 WHERE location_attendance = "conseco fieldhouse 7,134"
{ "input": "CREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)", "instruction": "What is the highest number of points of the game in Conseco fieldhouse 7,134?", "output": "SELECT high_points FROM table_name_79 WHERE location_attendance = \"conseco fieldhouse 7,134\"" }
### INSTRUCTION What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing? ### INPUT CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR) ### OUTPUT SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing"
{ "input": "CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR)", "instruction": "What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?", "output": "SELECT MAX(laps) FROM table_name_13 WHERE class = \"v8\" AND entrant = \"diet-coke racing\"" }
### INSTRUCTION What percent is the lead margin of 25 that Republican: Jeff Beatty has according to poll source Rasmussen Reports? ### INPUT CREATE TABLE table_name_79 (republican VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) ### OUTPUT SELECT republican AS :_jeff_beatty FROM table_name_79 WHERE lead_margin = 25 AND poll_source = "rasmussen reports"
{ "input": "CREATE TABLE table_name_79 (republican VARCHAR, lead_margin VARCHAR, poll_source VARCHAR)", "instruction": "What percent is the lead margin of 25 that Republican: Jeff Beatty has according to poll source Rasmussen Reports?", "output": "SELECT republican AS :_jeff_beatty FROM table_name_79 WHERE lead_margin = 25 AND poll_source = \"rasmussen reports\"" }
### INSTRUCTION What company has an unknown date and is an energy business? ### INPUT CREATE TABLE table_name_20 (company VARCHAR, business VARCHAR, date VARCHAR) ### OUTPUT SELECT company FROM table_name_20 WHERE business = "energy" AND date = "unknown"
{ "input": "CREATE TABLE table_name_20 (company VARCHAR, business VARCHAR, date VARCHAR)", "instruction": "What company has an unknown date and is an energy business?", "output": "SELECT company FROM table_name_20 WHERE business = \"energy\" AND date = \"unknown\"" }
### INSTRUCTION What is the host city of the Singapore Indoor Stadium venue and a Valentine's Day theme? ### INPUT CREATE TABLE table_name_24 (host_city VARCHAR, venue VARCHAR, theme VARCHAR) ### OUTPUT SELECT host_city FROM table_name_24 WHERE venue = "singapore indoor stadium" AND theme = "valentine's day"
{ "input": "CREATE TABLE table_name_24 (host_city VARCHAR, venue VARCHAR, theme VARCHAR)", "instruction": "What is the host city of the Singapore Indoor Stadium venue and a Valentine's Day theme?", "output": "SELECT host_city FROM table_name_24 WHERE venue = \"singapore indoor stadium\" AND theme = \"valentine's day\"" }
### INSTRUCTION What is the name of member in charge of greatest number of events? ### INPUT CREATE TABLE party_events (member_in_charge_id VARCHAR); CREATE TABLE member (member_name VARCHAR, member_id VARCHAR) ### OUTPUT SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id GROUP BY T2.member_in_charge_id ORDER BY COUNT(*) DESC LIMIT 1
{ "input": "CREATE TABLE party_events (member_in_charge_id VARCHAR); CREATE TABLE member (member_name VARCHAR, member_id VARCHAR)", "instruction": "What is the name of member in charge of greatest number of events?", "output": "SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id GROUP BY T2.member_in_charge_id ORDER BY COUNT(*) DESC LIMIT 1" }
### INSTRUCTION Find the description of the most popular role among the users that have logged in. ### INPUT CREATE TABLE users (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR); CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR) ### OUTPUT SELECT role_description FROM ROLES WHERE role_code = (SELECT role_code FROM users WHERE user_login = 1 GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1)
{ "input": "CREATE TABLE users (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR); CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR, user_login VARCHAR)", "instruction": "Find the description of the most popular role among the users that have logged in.", "output": "SELECT role_description FROM ROLES WHERE role_code = (SELECT role_code FROM users WHERE user_login = 1 GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1)" }
### INSTRUCTION Which country has Weerawila Airport? ### INPUT CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR) ### OUTPUT SELECT country FROM table_name_76 WHERE airport = "weerawila airport"
{ "input": "CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR)", "instruction": "Which country has Weerawila Airport?", "output": "SELECT country FROM table_name_76 WHERE airport = \"weerawila airport\"" }
### INSTRUCTION what is the team nickname when joined tschl is 2010 and home arena is kettering rec center and the team website is dayton hockey? ### INPUT CREATE TABLE table_name_68 (team_nickname VARCHAR, team_website VARCHAR, joined_tschl VARCHAR, home_arena VARCHAR) ### OUTPUT SELECT team_nickname FROM table_name_68 WHERE joined_tschl = 2010 AND home_arena = "kettering rec center" AND team_website = "dayton hockey"
{ "input": "CREATE TABLE table_name_68 (team_nickname VARCHAR, team_website VARCHAR, joined_tschl VARCHAR, home_arena VARCHAR)", "instruction": "what is the team nickname when joined tschl is 2010 and home arena is kettering rec center and the team website is dayton hockey?", "output": "SELECT team_nickname FROM table_name_68 WHERE joined_tschl = 2010 AND home_arena = \"kettering rec center\" AND team_website = \"dayton hockey\"" }
### INSTRUCTION What day did Yugoslavia play Luxembourg? ### INPUT CREATE TABLE table_name_56 (date VARCHAR, opponent VARCHAR) ### OUTPUT SELECT date FROM table_name_56 WHERE opponent = "luxembourg"
{ "input": "CREATE TABLE table_name_56 (date VARCHAR, opponent VARCHAR)", "instruction": "What day did Yugoslavia play Luxembourg?", "output": "SELECT date FROM table_name_56 WHERE opponent = \"luxembourg\"" }
### INSTRUCTION During what race did Mike Hawthorn have the Fastest Lap and Peter Collins win? ### INPUT CREATE TABLE table_name_51 (race VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) ### OUTPUT SELECT race FROM table_name_51 WHERE fastest_lap = "mike hawthorn" AND winning_driver = "peter collins"
{ "input": "CREATE TABLE table_name_51 (race VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)", "instruction": "During what race did Mike Hawthorn have the Fastest Lap and Peter Collins win?", "output": "SELECT race FROM table_name_51 WHERE fastest_lap = \"mike hawthorn\" AND winning_driver = \"peter collins\"" }
### INSTRUCTION What is the status when livery is blue? ### INPUT CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR) ### OUTPUT SELECT status FROM table_1090916_2 WHERE livery = "Blue"
{ "input": "CREATE TABLE table_1090916_2 (status VARCHAR, livery VARCHAR)", "instruction": "What is the status when livery is blue?", "output": "SELECT status FROM table_1090916_2 WHERE livery = \"Blue\"" }
### INSTRUCTION What is the total number of her age figures where his age is less than 33, the bride was diontha walker, and the number of children was less than 0? ### INPUT CREATE TABLE table_name_84 (her_age INTEGER, _number_of_children VARCHAR, his_age VARCHAR, name VARCHAR) ### OUTPUT SELECT SUM(her_age) FROM table_name_84 WHERE his_age < 33 AND name = "diontha walker" AND _number_of_children < 0
{ "input": "CREATE TABLE table_name_84 (her_age INTEGER, _number_of_children VARCHAR, his_age VARCHAR, name VARCHAR)", "instruction": "What is the total number of her age figures where his age is less than 33, the bride was diontha walker, and the number of children was less than 0?", "output": "SELECT SUM(her_age) FROM table_name_84 WHERE his_age < 33 AND name = \"diontha walker\" AND _number_of_children < 0" }
### INSTRUCTION What year was clair engle first elected? ### INPUT CREATE TABLE table_1342218_6 (first_elected VARCHAR, incumbent VARCHAR) ### OUTPUT SELECT first_elected FROM table_1342218_6 WHERE incumbent = "Clair Engle"
{ "input": "CREATE TABLE table_1342218_6 (first_elected VARCHAR, incumbent VARCHAR)", "instruction": "What year was clair engle first elected?", "output": "SELECT first_elected FROM table_1342218_6 WHERE incumbent = \"Clair Engle\"" }
### INSTRUCTION What was the result for the 2007 WCC when Sun Yue was the alternate? ### INPUT CREATE TABLE table_name_33 (result VARCHAR, alternate VARCHAR, event VARCHAR) ### OUTPUT SELECT result FROM table_name_33 WHERE alternate = "sun yue" AND event = "2007 wcc"
{ "input": "CREATE TABLE table_name_33 (result VARCHAR, alternate VARCHAR, event VARCHAR)", "instruction": "What was the result for the 2007 WCC when Sun Yue was the alternate?", "output": "SELECT result FROM table_name_33 WHERE alternate = \"sun yue\" AND event = \"2007 wcc\"" }
### INSTRUCTION Which Score has an Opponent in the final of chris haggard robbie koenig? ### INPUT CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR) ### OUTPUT SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig"
{ "input": "CREATE TABLE table_name_17 (score VARCHAR, opponent_in_the_final VARCHAR)", "instruction": "Which Score has an Opponent in the final of chris haggard robbie koenig?", "output": "SELECT score FROM table_name_17 WHERE opponent_in_the_final = \"chris haggard robbie koenig\"" }
### INSTRUCTION What is Japanese Release Date, when Australia Release Date is "2006-03-23"? ### INPUT CREATE TABLE table_name_34 (japanese_release_date VARCHAR, australia_release_date VARCHAR) ### OUTPUT SELECT japanese_release_date FROM table_name_34 WHERE australia_release_date = "2006-03-23"
{ "input": "CREATE TABLE table_name_34 (japanese_release_date VARCHAR, australia_release_date VARCHAR)", "instruction": "What is Japanese Release Date, when Australia Release Date is \"2006-03-23\"?", "output": "SELECT japanese_release_date FROM table_name_34 WHERE australia_release_date = \"2006-03-23\"" }
### INSTRUCTION What is the road team of the game with Philadelphia as the home team with a result of 105-102? ### INPUT CREATE TABLE table_name_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR) ### OUTPUT SELECT road_team FROM table_name_53 WHERE home_team = "philadelphia" AND result = "105-102"
{ "input": "CREATE TABLE table_name_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR)", "instruction": "What is the road team of the game with Philadelphia as the home team with a result of 105-102?", "output": "SELECT road_team FROM table_name_53 WHERE home_team = \"philadelphia\" AND result = \"105-102\"" }
### INSTRUCTION What is the Catalog when the format is ed remaster cd, and a Label of village records, and a Date of march 13, 2002? ### INPUT CREATE TABLE table_name_1 (catalog VARCHAR, date VARCHAR, format VARCHAR, label VARCHAR) ### OUTPUT SELECT catalog FROM table_name_1 WHERE format = "ed remaster cd" AND label = "village records" AND date = "march 13, 2002"
{ "input": "CREATE TABLE table_name_1 (catalog VARCHAR, date VARCHAR, format VARCHAR, label VARCHAR)", "instruction": "What is the Catalog when the format is ed remaster cd, and a Label of village records, and a Date of march 13, 2002?", "output": "SELECT catalog FROM table_name_1 WHERE format = \"ed remaster cd\" AND label = \"village records\" AND date = \"march 13, 2002\"" }
### INSTRUCTION Which elevation groundstation has a capacity in persons/hour larger than 820, and a Name or route of lager 1, and a slope length smaller than 336? ### INPUT CREATE TABLE table_name_68 (elevation_groundstation INTEGER, slope_length VARCHAR, capacity_in_persons_hour VARCHAR, name_or_route VARCHAR) ### OUTPUT SELECT AVG(elevation_groundstation) FROM table_name_68 WHERE capacity_in_persons_hour > 820 AND name_or_route = "lager 1" AND slope_length < 336
{ "input": "CREATE TABLE table_name_68 (elevation_groundstation INTEGER, slope_length VARCHAR, capacity_in_persons_hour VARCHAR, name_or_route VARCHAR)", "instruction": "Which elevation groundstation has a capacity in persons/hour larger than 820, and a Name or route of lager 1, and a slope length smaller than 336?", "output": "SELECT AVG(elevation_groundstation) FROM table_name_68 WHERE capacity_in_persons_hour > 820 AND name_or_route = \"lager 1\" AND slope_length < 336" }
### INSTRUCTION Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise? ### INPUT CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR) ### OUTPUT SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = "jean-pierre beltoise"
{ "input": "CREATE TABLE table_name_53 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)", "instruction": "Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise?", "output": "SELECT constructor FROM table_name_53 WHERE grid < 24 AND laps > 77 AND driver = \"jean-pierre beltoise\"" }
### INSTRUCTION How many dams are there in the Nome (CA) area? ### INPUT CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) ### OUTPUT SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)"
{ "input": "CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)", "instruction": "How many dams are there in the Nome (CA) area?", "output": "SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = \"Nome (CA)\"" }
### INSTRUCTION What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points? ### INPUT CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR) ### OUTPUT SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23
{ "input": "CREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR)", "instruction": "What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?", "output": "SELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23" }
### INSTRUCTION Which institution does "Katsuhiro Ueno" belong to? ### INPUT CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE inst (name VARCHAR, instid VARCHAR) ### OUTPUT SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t1.fname = "Katsuhiro" AND t1.lname = "Ueno"
{ "input": "CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE inst (name VARCHAR, instid VARCHAR)", "instruction": "Which institution does \"Katsuhiro Ueno\" belong to?", "output": "SELECT DISTINCT t3.name FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t1.fname = \"Katsuhiro\" AND t1.lname = \"Ueno\"" }
### INSTRUCTION How many flights depart from City 'Aberdeen' and have destination City 'Ashley'? ### INPUT CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR) ### OUTPUT SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = "Ashley" AND T3.City = "Aberdeen"
{ "input": "CREATE TABLE FLIGHTS (DestAirport VARCHAR, SourceAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)", "instruction": "How many flights depart from City 'Aberdeen' and have destination City 'Ashley'?", "output": "SELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRPORTS AS T3 ON T1.SourceAirport = T3.AirportCode WHERE T2.City = \"Ashley\" AND T3.City = \"Aberdeen\"" }
### INSTRUCTION What is the smallest electorate for the Conservative party in South West Devon constituency, with over 2 conservatives and a name of Plymstock Radford? ### INPUT CREATE TABLE table_name_57 (electorate INTEGER, name VARCHAR, political_party VARCHAR, constituency VARCHAR) ### OUTPUT SELECT MIN(electorate) FROM table_name_57 WHERE political_party = "conservative" AND constituency = "south west devon" AND "conservative" > 2 AND name = "plymstock radford"
{ "input": "CREATE TABLE table_name_57 (electorate INTEGER, name VARCHAR, political_party VARCHAR, constituency VARCHAR)", "instruction": "What is the smallest electorate for the Conservative party in South West Devon constituency, with over 2 conservatives and a name of Plymstock Radford?", "output": "SELECT MIN(electorate) FROM table_name_57 WHERE political_party = \"conservative\" AND constituency = \"south west devon\" AND \"conservative\" > 2 AND name = \"plymstock radford\"" }
### INSTRUCTION Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0? ### INPUT CREATE TABLE table_name_61 (league_cup_goals VARCHAR, fa_cup_goals VARCHAR, total VARCHAR, league_goals VARCHAR) ### OUTPUT SELECT league_cup_goals FROM table_name_61 WHERE total > "14" AND league_goals = "14" AND fa_cup_goals = "0"
{ "input": "CREATE TABLE table_name_61 (league_cup_goals VARCHAR, fa_cup_goals VARCHAR, total VARCHAR, league_goals VARCHAR)", "instruction": "Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0?", "output": "SELECT league_cup_goals FROM table_name_61 WHERE total > \"14\" AND league_goals = \"14\" AND fa_cup_goals = \"0\"" }
### INSTRUCTION Find the last names of the members of the club "Bootup Baltimore". ### INPUT CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) ### OUTPUT SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore"
{ "input": "CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)", "instruction": "Find the last names of the members of the club \"Bootup Baltimore\".", "output": "SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Bootup Baltimore\"" }
### INSTRUCTION How many bowlers were there when david hussey azhar mahmood gurkeerat singh was the batsmen? ### INPUT CREATE TABLE table_22962745_35 (bowler VARCHAR, batsmen VARCHAR) ### OUTPUT SELECT COUNT(bowler) FROM table_22962745_35 WHERE batsmen = "David Hussey Azhar Mahmood Gurkeerat Singh"
{ "input": "CREATE TABLE table_22962745_35 (bowler VARCHAR, batsmen VARCHAR)", "instruction": "How many bowlers were there when david hussey azhar mahmood gurkeerat singh was the batsmen?", "output": "SELECT COUNT(bowler) FROM table_22962745_35 WHERE batsmen = \"David Hussey Azhar Mahmood Gurkeerat Singh\"" }
### INSTRUCTION In the North Central region, what are the regional page #'s? ### INPUT CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR) ### OUTPUT SELECT regional_page__number FROM table_287659_2 WHERE region_name = "North Central"
{ "input": "CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR)", "instruction": "In the North Central region, what are the regional page #'s?", "output": "SELECT regional_page__number FROM table_287659_2 WHERE region_name = \"North Central\"" }
### INSTRUCTION What 1972 Hindi film had Ravindra Jain directing the music? ### INPUT CREATE TABLE table_name_50 (film_name VARCHAR, music_director VARCHAR, lyricist VARCHAR, year VARCHAR, language VARCHAR) ### OUTPUT SELECT film_name FROM table_name_50 WHERE year > 1972 AND language = "hindi" AND lyricist = "ravindra jain" AND music_director = "ravindra jain"
{ "input": "CREATE TABLE table_name_50 (film_name VARCHAR, music_director VARCHAR, lyricist VARCHAR, year VARCHAR, language VARCHAR)", "instruction": "What 1972 Hindi film had Ravindra Jain directing the music?", "output": "SELECT film_name FROM table_name_50 WHERE year > 1972 AND language = \"hindi\" AND lyricist = \"ravindra jain\" AND music_director = \"ravindra jain\"" }
### INSTRUCTION Who won mens singles the year sveinn logi sölvason tryggvi nilsen won mens doubles and elsa nielsen won womens singles ### INPUT CREATE TABLE table_14903999_1 (mens_singles VARCHAR, mens_doubles VARCHAR, womens_singles VARCHAR) ### OUTPUT SELECT mens_singles FROM table_14903999_1 WHERE mens_doubles = "Sveinn Logi Sölvason Tryggvi Nilsen" AND womens_singles = "Elsa Nielsen"
{ "input": "CREATE TABLE table_14903999_1 (mens_singles VARCHAR, mens_doubles VARCHAR, womens_singles VARCHAR)", "instruction": "Who won mens singles the year sveinn logi sölvason tryggvi nilsen won mens doubles and elsa nielsen won womens singles", "output": "SELECT mens_singles FROM table_14903999_1 WHERE mens_doubles = \"Sveinn Logi Sölvason Tryggvi Nilsen\" AND womens_singles = \"Elsa Nielsen\"" }
### INSTRUCTION Show all artist names with an average exhibition attendance over 200. ### INPUT CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER) ### OUTPUT SELECT T3.name FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id JOIN artist AS T3 ON T3.artist_id = T2.artist_id GROUP BY T3.artist_id HAVING AVG(T1.attendance) > 200
{ "input": "CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER)", "instruction": "Show all artist names with an average exhibition attendance over 200.", "output": "SELECT T3.name FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id JOIN artist AS T3 ON T3.artist_id = T2.artist_id GROUP BY T3.artist_id HAVING AVG(T1.attendance) > 200" }
### INSTRUCTION What points average has a played greater than 20? ### INPUT CREATE TABLE table_name_31 (points INTEGER, played INTEGER) ### OUTPUT SELECT AVG(points) FROM table_name_31 WHERE played > 20
{ "input": "CREATE TABLE table_name_31 (points INTEGER, played INTEGER)", "instruction": "What points average has a played greater than 20?", "output": "SELECT AVG(points) FROM table_name_31 WHERE played > 20" }
### INSTRUCTION Show the names of customers having an order with shipping method FedEx and order status Paid. ### INPUT CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR) ### OUTPUT SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE shipping_method_code = 'FedEx' AND order_status_code = 'Paid'
{ "input": "CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)", "instruction": "Show the names of customers having an order with shipping method FedEx and order status Paid.", "output": "SELECT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE shipping_method_code = 'FedEx' AND order_status_code = 'Paid'" }
### INSTRUCTION What is the country of the player whose score is 71-69-70-69=279? ### INPUT CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR) ### OUTPUT SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 69 = 279
{ "input": "CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR)", "instruction": "What is the country of the player whose score is 71-69-70-69=279?", "output": "SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 69 = 279" }
### INSTRUCTION What kind of Disc number has a Track number of 02 on 7 september 2004? ### INPUT CREATE TABLE table_name_19 (disc_number VARCHAR, track_number VARCHAR, release_date VARCHAR) ### OUTPUT SELECT disc_number FROM table_name_19 WHERE track_number = "02" AND release_date = "7 september 2004"
{ "input": "CREATE TABLE table_name_19 (disc_number VARCHAR, track_number VARCHAR, release_date VARCHAR)", "instruction": "What kind of Disc number has a Track number of 02 on 7 september 2004?", "output": "SELECT disc_number FROM table_name_19 WHERE track_number = \"02\" AND release_date = \"7 september 2004\"" }
### INSTRUCTION Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal? ### INPUT CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR) ### OUTPUT SELECT hh_principal FROM table_name_55 WHERE hs_principal = "jim haught" AND maplemere_principal = "charlie taylor" AND wr_principal = "rich auerbach"
{ "input": "CREATE TABLE table_name_55 (hh_principal VARCHAR, wr_principal VARCHAR, hs_principal VARCHAR, maplemere_principal VARCHAR)", "instruction": "Who is the h.h. principal with Jim Haught as h.s. principal, Charlie Taylor as maplemere principal, and Rich Auerbach as w.r. principal?", "output": "SELECT hh_principal FROM table_name_55 WHERE hs_principal = \"jim haught\" AND maplemere_principal = \"charlie taylor\" AND wr_principal = \"rich auerbach\"" }
### INSTRUCTION What attendance has astros as the opponent, and april 29 as the date? ### INPUT CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR) ### OUTPUT SELECT SUM(attendance) FROM table_name_69 WHERE opponent = "astros" AND date = "april 29"
{ "input": "CREATE TABLE table_name_69 (attendance INTEGER, opponent VARCHAR, date VARCHAR)", "instruction": "What attendance has astros as the opponent, and april 29 as the date?", "output": "SELECT SUM(attendance) FROM table_name_69 WHERE opponent = \"astros\" AND date = \"april 29\"" }
### INSTRUCTION What is the Rank of industrial and commercial bank of china 277,236? ### INPUT CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR) ### OUTPUT SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236"
{ "input": "CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR)", "instruction": "What is the Rank of industrial and commercial bank of china 277,236?", "output": "SELECT rank FROM table_name_1 WHERE first_quarter = \"industrial and commercial bank of china 277,236\"" }
### INSTRUCTION When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable? ### INPUT CREATE TABLE table_name_97 (cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR) ### OUTPUT SELECT cancelable FROM table_name_97 WHERE bubbles = "no" AND category = "miscellaneous" AND type = "propertychange"
{ "input": "CREATE TABLE table_name_97 (cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR)", "instruction": "When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable?", "output": "SELECT cancelable FROM table_name_97 WHERE bubbles = \"no\" AND category = \"miscellaneous\" AND type = \"propertychange\"" }
### INSTRUCTION What is the position of the pittsburgh steelers? ### INPUT CREATE TABLE table_name_29 (position VARCHAR, nfl_club VARCHAR) ### OUTPUT SELECT position FROM table_name_29 WHERE nfl_club = "pittsburgh steelers"
{ "input": "CREATE TABLE table_name_29 (position VARCHAR, nfl_club VARCHAR)", "instruction": "What is the position of the pittsburgh steelers?", "output": "SELECT position FROM table_name_29 WHERE nfl_club = \"pittsburgh steelers\"" }
### INSTRUCTION Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5? ### INPUT CREATE TABLE table_name_95 (week_5 VARCHAR, week_3 VARCHAR) ### OUTPUT SELECT week_5 FROM table_name_95 WHERE week_3 = "felicia taylor"
{ "input": "CREATE TABLE table_name_95 (week_5 VARCHAR, week_3 VARCHAR)", "instruction": "Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?", "output": "SELECT week_5 FROM table_name_95 WHERE week_3 = \"felicia taylor\"" }
### INSTRUCTION Who was the player in Position G on the Petron Blaze Boosters and retired in 2000? ### INPUT CREATE TABLE table_name_61 (name VARCHAR, year_retired VARCHAR, position VARCHAR, team VARCHAR) ### OUTPUT SELECT name FROM table_name_61 WHERE position = "g" AND team = "petron blaze boosters" AND year_retired = "2000"
{ "input": "CREATE TABLE table_name_61 (name VARCHAR, year_retired VARCHAR, position VARCHAR, team VARCHAR)", "instruction": "Who was the player in Position G on the Petron Blaze Boosters and retired in 2000?", "output": "SELECT name FROM table_name_61 WHERE position = \"g\" AND team = \"petron blaze boosters\" AND year_retired = \"2000\"" }
### INSTRUCTION In the US Open championship and the outcome is runner-up, what is the minimum year? ### INPUT CREATE TABLE table_22597626_2 (year INTEGER, outcome VARCHAR, championship VARCHAR) ### OUTPUT SELECT MIN(year) FROM table_22597626_2 WHERE outcome = "Runner-up" AND championship = "US Open"
{ "input": "CREATE TABLE table_22597626_2 (year INTEGER, outcome VARCHAR, championship VARCHAR)", "instruction": "In the US Open championship and the outcome is runner-up, what is the minimum year?", "output": "SELECT MIN(year) FROM table_22597626_2 WHERE outcome = \"Runner-up\" AND championship = \"US Open\"" }
### INSTRUCTION What is the third entry in the row with a first entry of "club"? ### INPUT CREATE TABLE table_12792876_2 (won VARCHAR) ### OUTPUT SELECT won FROM table_12792876_2 WHERE "club" = "club"
{ "input": "CREATE TABLE table_12792876_2 (won VARCHAR)", "instruction": "What is the third entry in the row with a first entry of \"club\"?", "output": "SELECT won FROM table_12792876_2 WHERE \"club\" = \"club\"" }
### INSTRUCTION What is the lowest rank of Gatwick Airport? ### INPUT CREATE TABLE table_18118221_1 (rank INTEGER, railway_station VARCHAR) ### OUTPUT SELECT MIN(rank) FROM table_18118221_1 WHERE railway_station = "Gatwick Airport"
{ "input": "CREATE TABLE table_18118221_1 (rank INTEGER, railway_station VARCHAR)", "instruction": "What is the lowest rank of Gatwick Airport? ", "output": "SELECT MIN(rank) FROM table_18118221_1 WHERE railway_station = \"Gatwick Airport\"" }
### INSTRUCTION Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21? ### INPUT CREATE TABLE table_name_44 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR, company VARCHAR) ### OUTPUT SELECT MIN(market_value__billion_) AS $_ FROM table_name_44 WHERE assets__billion_$_ > 276.81 AND company = "toyota" AND profits__billion_$_ > 17.21
{ "input": "CREATE TABLE table_name_44 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR, company VARCHAR)", "instruction": "Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21?", "output": "SELECT MIN(market_value__billion_) AS $_ FROM table_name_44 WHERE assets__billion_$_ > 276.81 AND company = \"toyota\" AND profits__billion_$_ > 17.21" }
### INSTRUCTION List first name and last name of customers lived in city Lockmanfurt. ### INPUT CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, customer_address_id VARCHAR); CREATE TABLE Addresses (address_id VARCHAR, city VARCHAR) ### OUTPUT SELECT T1.first_name, T1.last_name FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T2.city = "Lockmanfurt"
{ "input": "CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, customer_address_id VARCHAR); CREATE TABLE Addresses (address_id VARCHAR, city VARCHAR)", "instruction": "List first name and last name of customers lived in city Lockmanfurt.", "output": "SELECT T1.first_name, T1.last_name FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T2.city = \"Lockmanfurt\"" }
### INSTRUCTION How many artists are above age 46 and joined after 1990? ### INPUT CREATE TABLE artist (age VARCHAR, year_join VARCHAR) ### OUTPUT SELECT COUNT(*) FROM artist WHERE age > 46 AND year_join > 1990
{ "input": "CREATE TABLE artist (age VARCHAR, year_join VARCHAR)", "instruction": "How many artists are above age 46 and joined after 1990?", "output": "SELECT COUNT(*) FROM artist WHERE age > 46 AND year_join > 1990" }
### INSTRUCTION What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145? ### INPUT CREATE TABLE table_name_72 (to_par VARCHAR, total VARCHAR, player VARCHAR, country VARCHAR, year_won VARCHAR) ### OUTPUT SELECT COUNT(to_par) FROM table_name_72 WHERE country = "united states" AND year_won > 1986 AND player = "paul azinger" AND total > 145
{ "input": "CREATE TABLE table_name_72 (to_par VARCHAR, total VARCHAR, player VARCHAR, country VARCHAR, year_won VARCHAR)", "instruction": "What is the to par for Paul Azinger from the United States after 1986 for a total bigger than 145?", "output": "SELECT COUNT(to_par) FROM table_name_72 WHERE country = \"united states\" AND year_won > 1986 AND player = \"paul azinger\" AND total > 145" }
### INSTRUCTION What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'? ### INPUT CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR) ### OUTPUT SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'"
{ "input": "CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR)", "instruction": "What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'?", "output": "SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = \"Grodnenskaya oblast'\"" }
### INSTRUCTION Name the date for motogp winner of casey stoner and grand prix of valencian grand prix ### INPUT CREATE TABLE table_name_15 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR) ### OUTPUT SELECT date FROM table_name_15 WHERE motogp_winner = "casey stoner" AND grand_prix = "valencian grand prix"
{ "input": "CREATE TABLE table_name_15 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR)", "instruction": "Name the date for motogp winner of casey stoner and grand prix of valencian grand prix", "output": "SELECT date FROM table_name_15 WHERE motogp_winner = \"casey stoner\" AND grand_prix = \"valencian grand prix\"" }
### INSTRUCTION Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player? ### INPUT CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR, squad_no VARCHAR, points VARCHAR, tries VARCHAR) ### OUTPUT SELECT position FROM table_name_58 WHERE points > 4 AND tries < 12 AND squad_no > 1 AND player = "ali lauitiiti"
{ "input": "CREATE TABLE table_name_58 (position VARCHAR, player VARCHAR, squad_no VARCHAR, points VARCHAR, tries VARCHAR)", "instruction": "Which position has more than 4 points, less than 12 tries, a squad number of more than 1, and where Ali Lauitiiti is a player?", "output": "SELECT position FROM table_name_58 WHERE points > 4 AND tries < 12 AND squad_no > 1 AND player = \"ali lauitiiti\"" }
### INSTRUCTION Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower? ### INPUT CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR) ### OUTPUT SELECT country FROM table_name_37 WHERE pinnacle_height = "metres (ft)" AND name = "azeri tv tower"
{ "input": "CREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR)", "instruction": "Which Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower?", "output": "SELECT country FROM table_name_37 WHERE pinnacle_height = \"metres (ft)\" AND name = \"azeri tv tower\"" }
### INSTRUCTION What was the venue on October 16, 1996? ### INPUT CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR) ### OUTPUT SELECT venue FROM table_name_13 WHERE date = "october 16, 1996"
{ "input": "CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR)", "instruction": "What was the venue on October 16, 1996?", "output": "SELECT venue FROM table_name_13 WHERE date = \"october 16, 1996\"" }
### INSTRUCTION What is the lowest week that has November 30, 2003 as the date? ### INPUT CREATE TABLE table_name_19 (week INTEGER, date VARCHAR) ### OUTPUT SELECT MIN(week) FROM table_name_19 WHERE date = "november 30, 2003"
{ "input": "CREATE TABLE table_name_19 (week INTEGER, date VARCHAR)", "instruction": "What is the lowest week that has November 30, 2003 as the date?", "output": "SELECT MIN(week) FROM table_name_19 WHERE date = \"november 30, 2003\"" }
### INSTRUCTION Who is every vacator if date of successors formal installation is August 8, 1960? ### INPUT CREATE TABLE table_2159571_1 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR) ### OUTPUT SELECT vacator FROM table_2159571_1 WHERE date_of_successors_formal_installation = "August 8, 1960"
{ "input": "CREATE TABLE table_2159571_1 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)", "instruction": "Who is every vacator if date of successors formal installation is August 8, 1960?", "output": "SELECT vacator FROM table_2159571_1 WHERE date_of_successors_formal_installation = \"August 8, 1960\"" }
### INSTRUCTION What is the club/province of Sireli Bobo, who plays wing and has less than 24 caps? ### INPUT CREATE TABLE table_name_93 (club_province VARCHAR, player VARCHAR, position VARCHAR, caps VARCHAR) ### OUTPUT SELECT club_province FROM table_name_93 WHERE position = "wing" AND caps < 24 AND player = "sireli bobo"
{ "input": "CREATE TABLE table_name_93 (club_province VARCHAR, player VARCHAR, position VARCHAR, caps VARCHAR)", "instruction": "What is the club/province of Sireli Bobo, who plays wing and has less than 24 caps?", "output": "SELECT club_province FROM table_name_93 WHERE position = \"wing\" AND caps < 24 AND player = \"sireli bobo\"" }
### INSTRUCTION What's the score for Toronto Maple Leafs on November 10? ### INPUT CREATE TABLE table_name_49 (score VARCHAR, home VARCHAR, date VARCHAR) ### OUTPUT SELECT score FROM table_name_49 WHERE home = "toronto maple leafs" AND date = "november 10"
{ "input": "CREATE TABLE table_name_49 (score VARCHAR, home VARCHAR, date VARCHAR)", "instruction": "What's the score for Toronto Maple Leafs on November 10?", "output": "SELECT score FROM table_name_49 WHERE home = \"toronto maple leafs\" AND date = \"november 10\"" }
### INSTRUCTION What was the number of draws when the Elche CF club played 38 and had a goal difference of -16? ### INPUT CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) ### OUTPUT SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = "elche cf" AND played > 38
{ "input": "CREATE TABLE table_name_86 (draws INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)", "instruction": "What was the number of draws when the Elche CF club played 38 and had a goal difference of -16?", "output": "SELECT MIN(draws) FROM table_name_86 WHERE goal_difference > -16 AND club = \"elche cf\" AND played > 38" }
### INSTRUCTION What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year? ### INPUT CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR) ### OUTPUT SELECT MAX(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year
{ "input": "CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR)", "instruction": "What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year?", "output": "SELECT MAX(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year" }
### INSTRUCTION Who was the Winner at Campbelltown Sports Stadium? ### INPUT CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR) ### OUTPUT SELECT winner FROM table_name_74 WHERE venue = "campbelltown sports stadium"
{ "input": "CREATE TABLE table_name_74 (winner VARCHAR, venue VARCHAR)", "instruction": "Who was the Winner at Campbelltown Sports Stadium?", "output": "SELECT winner FROM table_name_74 WHERE venue = \"campbelltown sports stadium\"" }
### INSTRUCTION What are the names of the stations which serve both "Ananthapuri Express" and "Guruvayur Express" trains? ### INPUT CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (train_id VARCHAR, Name VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR) ### OUTPUT SELECT T2.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 WHERE T3.Name = "Ananthapuri Express" INTERSECT SELECT T2.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 WHERE T3.Name = "Guruvayur Express"
{ "input": "CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (train_id VARCHAR, Name VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)", "instruction": "What are the names of the stations which serve both \"Ananthapuri Express\" and \"Guruvayur Express\" trains?", "output": "SELECT T2.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 WHERE T3.Name = \"Ananthapuri Express\" INTERSECT SELECT T2.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 WHERE T3.Name = \"Guruvayur Express\"" }
### INSTRUCTION What rank was Core Districts + Inner Suburbs and had a population of 10123000? ### INPUT CREATE TABLE table_name_37 (rank INTEGER, definition VARCHAR, population VARCHAR) ### OUTPUT SELECT MAX(rank) FROM table_name_37 WHERE definition = "core districts + inner suburbs" AND population = "10123000"
{ "input": "CREATE TABLE table_name_37 (rank INTEGER, definition VARCHAR, population VARCHAR)", "instruction": "What rank was Core Districts + Inner Suburbs and had a population of 10123000?", "output": "SELECT MAX(rank) FROM table_name_37 WHERE definition = \"core districts + inner suburbs\" AND population = \"10123000\"" }
### INSTRUCTION Name the opponents for record of 2-1 ### INPUT CREATE TABLE table_21092444_1 (opponents VARCHAR, record VARCHAR) ### OUTPUT SELECT opponents FROM table_21092444_1 WHERE record = "2-1"
{ "input": "CREATE TABLE table_21092444_1 (opponents VARCHAR, record VARCHAR)", "instruction": "Name the opponents for record of 2-1", "output": "SELECT opponents FROM table_21092444_1 WHERE record = \"2-1\"" }
### INSTRUCTION What date was Joakim Bonnier in the pole position? ### INPUT CREATE TABLE table_name_21 (date VARCHAR, pole_position VARCHAR) ### OUTPUT SELECT date FROM table_name_21 WHERE pole_position = "joakim bonnier"
{ "input": "CREATE TABLE table_name_21 (date VARCHAR, pole_position VARCHAR)", "instruction": "What date was Joakim Bonnier in the pole position?", "output": "SELECT date FROM table_name_21 WHERE pole_position = \"joakim bonnier\"" }
### INSTRUCTION What date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match? ### INPUT CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) ### OUTPUT SELECT date FROM table_name_93 WHERE result = "won" AND score = "2-1" AND competition = "2004 tiger cup third place match"
{ "input": "CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR)", "instruction": "What date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match?", "output": "SELECT date FROM table_name_93 WHERE result = \"won\" AND score = \"2-1\" AND competition = \"2004 tiger cup third place match\"" }
### INSTRUCTION How many episodes have a share of 16.2% and an episode number of less than 1? ### INPUT CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR) ### OUTPUT SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1
{ "input": "CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)", "instruction": "How many episodes have a share of 16.2% and an episode number of less than 1?", "output": "SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = \"16.2%\" AND episode_no < 1" }
### INSTRUCTION What is Apogee, when Inclination is 65°, and when Launch Date/Time is ( GMT ) is 15 February 1973, 01:11? ### INPUT CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR) ### OUTPUT SELECT apogee FROM table_name_48 WHERE inclination = "65°" AND launch_date_time___gmt__ = "15 february 1973, 01:11"
{ "input": "CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR)", "instruction": "What is Apogee, when Inclination is 65°, and when Launch Date/Time is ( GMT ) is 15 February 1973, 01:11?", "output": "SELECT apogee FROM table_name_48 WHERE inclination = \"65°\" AND launch_date_time___gmt__ = \"15 february 1973, 01:11\"" }
### INSTRUCTION Who was the partner on the game which took place on a clay surface with opponents of marco chiudinelli michael lammer and a runner-up result? ### INPUT CREATE TABLE table_name_74 (partner VARCHAR, opponents VARCHAR, outcome VARCHAR, surface VARCHAR) ### OUTPUT SELECT partner FROM table_name_74 WHERE outcome = "runner-up" AND surface = "clay" AND opponents = "marco chiudinelli michael lammer"
{ "input": "CREATE TABLE table_name_74 (partner VARCHAR, opponents VARCHAR, outcome VARCHAR, surface VARCHAR)", "instruction": "Who was the partner on the game which took place on a clay surface with opponents of marco chiudinelli michael lammer and a runner-up result?", "output": "SELECT partner FROM table_name_74 WHERE outcome = \"runner-up\" AND surface = \"clay\" AND opponents = \"marco chiudinelli michael lammer\"" }
### INSTRUCTION Which NHL team has left wing listed as the position? ### INPUT CREATE TABLE table_name_66 (nhl_team VARCHAR, position VARCHAR) ### OUTPUT SELECT nhl_team FROM table_name_66 WHERE position = "left wing"
{ "input": "CREATE TABLE table_name_66 (nhl_team VARCHAR, position VARCHAR)", "instruction": "Which NHL team has left wing listed as the position?", "output": "SELECT nhl_team FROM table_name_66 WHERE position = \"left wing\"" }
### INSTRUCTION On December 4, Tampa Bay has a record of 12-13-2. ### INPUT CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR) ### OUTPUT SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 4"
{ "input": "CREATE TABLE table_name_42 (record VARCHAR, home VARCHAR, date VARCHAR)", "instruction": "On December 4, Tampa Bay has a record of 12-13-2.", "output": "SELECT record FROM table_name_42 WHERE home = \"tampa bay\" AND date = \"december 4\"" }
### INSTRUCTION What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? ### INPUT CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR) ### OUTPUT SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305
{ "input": "CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR)", "instruction": "What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?", "output": "SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305" }
### INSTRUCTION Who was the winning team on July 13? ### INPUT CREATE TABLE table_name_11 (winning_team VARCHAR, date VARCHAR) ### OUTPUT SELECT winning_team FROM table_name_11 WHERE date = "july 13"
{ "input": "CREATE TABLE table_name_11 (winning_team VARCHAR, date VARCHAR)", "instruction": "Who was the winning team on July 13?", "output": "SELECT winning_team FROM table_name_11 WHERE date = \"july 13\"" }
### INSTRUCTION What was the lowest attendance at a game when there were fewer than 151 away fans and an opponent of Bury? ### INPUT CREATE TABLE table_name_80 (attendance INTEGER, away_fans VARCHAR, opponent VARCHAR) ### OUTPUT SELECT MIN(attendance) FROM table_name_80 WHERE away_fans < 151 AND opponent = "bury"
{ "input": "CREATE TABLE table_name_80 (attendance INTEGER, away_fans VARCHAR, opponent VARCHAR)", "instruction": "What was the lowest attendance at a game when there were fewer than 151 away fans and an opponent of Bury?", "output": "SELECT MIN(attendance) FROM table_name_80 WHERE away_fans < 151 AND opponent = \"bury\"" }
### INSTRUCTION List all employees in the circulation history of the document with id 1. List the employee's name. ### INPUT CREATE TABLE Circulation_History (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR) ### OUTPUT SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id WHERE Circulation_History.document_id = 1
{ "input": "CREATE TABLE Circulation_History (Id VARCHAR); CREATE TABLE Employees (Id VARCHAR)", "instruction": "List all employees in the circulation history of the document with id 1. List the employee's name.", "output": "SELECT Employees.employee_name FROM Employees JOIN Circulation_History ON Circulation_History.employee_id = Employees.employee_id WHERE Circulation_History.document_id = 1" }
### INSTRUCTION How many products have a price higher than the average? ### INPUT CREATE TABLE products (product_price INTEGER) ### OUTPUT SELECT COUNT(*) FROM products WHERE product_price > (SELECT AVG(product_price) FROM products)
{ "input": "CREATE TABLE products (product_price INTEGER)", "instruction": "How many products have a price higher than the average?", "output": "SELECT COUNT(*) FROM products WHERE product_price > (SELECT AVG(product_price) FROM products)" }
### INSTRUCTION What are the drivers' first, last names and id who had more than 8 pit stops or participated in more than 5 race results? ### INPUT CREATE TABLE drivers (forename VARCHAR, surname VARCHAR, driverid VARCHAR); CREATE TABLE results (driverid VARCHAR); CREATE TABLE pitstops (driverid VARCHAR) ### OUTPUT SELECT T1.forename, T1.surname, T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING COUNT(*) > 8 UNION SELECT T1.forename, T1.surname, T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING COUNT(*) > 5
{ "input": "CREATE TABLE drivers (forename VARCHAR, surname VARCHAR, driverid VARCHAR); CREATE TABLE results (driverid VARCHAR); CREATE TABLE pitstops (driverid VARCHAR)", "instruction": "What are the drivers' first, last names and id who had more than 8 pit stops or participated in more than 5 race results?", "output": "SELECT T1.forename, T1.surname, T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING COUNT(*) > 8 UNION SELECT T1.forename, T1.surname, T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING COUNT(*) > 5" }
### INSTRUCTION Where did the team play and what was the attendance against new jersey? ### INPUT CREATE TABLE table_13619135_7 (location_attendance VARCHAR, team VARCHAR) ### OUTPUT SELECT location_attendance FROM table_13619135_7 WHERE team = "New Jersey"
{ "input": "CREATE TABLE table_13619135_7 (location_attendance VARCHAR, team VARCHAR)", "instruction": "Where did the team play and what was the attendance against new jersey?", "output": "SELECT location_attendance FROM table_13619135_7 WHERE team = \"New Jersey\"" }
### INSTRUCTION What is the winning song for the artist with a debut album "the winner"? ### INPUT CREATE TABLE table_1646960_3 (winning_song VARCHAR, debut_album VARCHAR) ### OUTPUT SELECT winning_song FROM table_1646960_3 WHERE debut_album = "The winner"
{ "input": "CREATE TABLE table_1646960_3 (winning_song VARCHAR, debut_album VARCHAR)", "instruction": "What is the winning song for the artist with a debut album \"the winner\"?", "output": "SELECT winning_song FROM table_1646960_3 WHERE debut_album = \"The winner\"" }
### INSTRUCTION Who's the opponent with a time of 3:24? ### INPUT CREATE TABLE table_name_32 (opponent VARCHAR, time VARCHAR) ### OUTPUT SELECT opponent FROM table_name_32 WHERE time = "3:24"
{ "input": "CREATE TABLE table_name_32 (opponent VARCHAR, time VARCHAR)", "instruction": "Who's the opponent with a time of 3:24?", "output": "SELECT opponent FROM table_name_32 WHERE time = \"3:24\"" }
### INSTRUCTION What is the placement date of the order whose invoice number is 10? ### INPUT CREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR) ### OUTPUT SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10
{ "input": "CREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR)", "instruction": "What is the placement date of the order whose invoice number is 10?", "output": "SELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10" }
### INSTRUCTION What is Points, when Tries For is "correct as of 00:00 11 June 2008"? ### INPUT CREATE TABLE table_name_90 (points VARCHAR, tries_for VARCHAR) ### OUTPUT SELECT points FROM table_name_90 WHERE tries_for = "correct as of 00:00 11 june 2008"
{ "input": "CREATE TABLE table_name_90 (points VARCHAR, tries_for VARCHAR)", "instruction": "What is Points, when Tries For is \"correct as of 00:00 11 June 2008\"?", "output": "SELECT points FROM table_name_90 WHERE tries_for = \"correct as of 00:00 11 june 2008\"" }
### INSTRUCTION What is the class of team liqui moly equipe, which has less than 71 laps? ### INPUT CREATE TABLE table_name_85 (class VARCHAR, laps VARCHAR, team VARCHAR) ### OUTPUT SELECT class FROM table_name_85 WHERE laps < 71 AND team = "liqui moly equipe"
{ "input": "CREATE TABLE table_name_85 (class VARCHAR, laps VARCHAR, team VARCHAR)", "instruction": "What is the class of team liqui moly equipe, which has less than 71 laps?", "output": "SELECT class FROM table_name_85 WHERE laps < 71 AND team = \"liqui moly equipe\"" }
### INSTRUCTION If the chief judge is Glen E. Conrad, what is the region? ### INPUT CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR) ### OUTPUT SELECT region FROM table_22901612_2 WHERE chief_judge = "Glen E. Conrad"
{ "input": "CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR)", "instruction": "If the chief judge is Glen E. Conrad, what is the region?", "output": "SELECT region FROM table_22901612_2 WHERE chief_judge = \"Glen E. Conrad\"" }
### INSTRUCTION Show the name and phone for customers with a mailshot with outcome code 'No Response'. ### INPUT CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR) ### OUTPUT SELECT T1.customer_name, T1.customer_phone FROM customers AS T1 JOIN mailshot_customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.outcome_code = 'No Response'
{ "input": "CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR, outcome_code VARCHAR)", "instruction": "Show the name and phone for customers with a mailshot with outcome code 'No Response'.", "output": "SELECT T1.customer_name, T1.customer_phone FROM customers AS T1 JOIN mailshot_customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.outcome_code = 'No Response'" }
### INSTRUCTION How many Laps Did Driver David Coulthard have on a Grid smaller than 11? ### INPUT CREATE TABLE table_name_89 (laps VARCHAR, grid VARCHAR, driver VARCHAR) ### OUTPUT SELECT laps FROM table_name_89 WHERE grid < 11 AND driver = "david coulthard"
{ "input": "CREATE TABLE table_name_89 (laps VARCHAR, grid VARCHAR, driver VARCHAR)", "instruction": "How many Laps Did Driver David Coulthard have on a Grid smaller than 11?", "output": "SELECT laps FROM table_name_89 WHERE grid < 11 AND driver = \"david coulthard\"" }
### INSTRUCTION What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3? ### INPUT CREATE TABLE table_name_44 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR, player VARCHAR) ### OUTPUT SELECT SUM(pl_gp) FROM table_name_44 WHERE pick__number < 122 AND player = "rob flockhart" AND rd__number < 3
{ "input": "CREATE TABLE table_name_44 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR, player VARCHAR)", "instruction": "What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3?", "output": "SELECT SUM(pl_gp) FROM table_name_44 WHERE pick__number < 122 AND player = \"rob flockhart\" AND rd__number < 3" }
### INSTRUCTION What is the color code and description of the product named "chervil"? ### INPUT CREATE TABLE products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR) ### OUTPUT SELECT t1.color_code, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = "chervil"
{ "input": "CREATE TABLE products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR)", "instruction": "What is the color code and description of the product named \"chervil\"?", "output": "SELECT t1.color_code, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code WHERE t1.product_name = \"chervil\"" }
### INSTRUCTION What is the tax source system code related to the benefits and overpayments? List the code and the benifit id, order by benifit id. ### INPUT CREATE TABLE CMI_Cross_References (source_system_code VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Benefits_Overpayments (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR) ### OUTPUT SELECT T1.source_system_code, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Benefits_Overpayments AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id ORDER BY T2.council_tax_id
{ "input": "CREATE TABLE CMI_Cross_References (source_system_code VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Benefits_Overpayments (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)", "instruction": "What is the tax source system code related to the benefits and overpayments? List the code and the benifit id, order by benifit id.", "output": "SELECT T1.source_system_code, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Benefits_Overpayments AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id ORDER BY T2.council_tax_id" }
### INSTRUCTION Find the id and local authority of the station whose maximum precipitation is higher than 50. ### INPUT CREATE TABLE weekly_weather (station_id VARCHAR, precipitation INTEGER); CREATE TABLE station (id VARCHAR, local_authority VARCHAR) ### OUTPUT SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id HAVING MAX(t1.precipitation) > 50
{ "input": "CREATE TABLE weekly_weather (station_id VARCHAR, precipitation INTEGER); CREATE TABLE station (id VARCHAR, local_authority VARCHAR)", "instruction": "Find the id and local authority of the station whose maximum precipitation is higher than 50.", "output": "SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id HAVING MAX(t1.precipitation) > 50" }
### INSTRUCTION For each nomination, show the name of the artwork and name of the festival where it is nominated. ### INPUT CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR) ### OUTPUT SELECT T2.Name, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID
{ "input": "CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)", "instruction": "For each nomination, show the name of the artwork and name of the festival where it is nominated.", "output": "SELECT T2.Name, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID" }
### INSTRUCTION Name the least recognised seats ### INPUT CREATE TABLE table_19304764_2 (recognised_seats INTEGER) ### OUTPUT SELECT MIN(recognised_seats) FROM table_19304764_2
{ "input": "CREATE TABLE table_19304764_2 (recognised_seats INTEGER)", "instruction": "Name the least recognised seats", "output": "SELECT MIN(recognised_seats) FROM table_19304764_2" }
### INSTRUCTION What is Probate Activities, when Notarial Activities is No, when Conduct of Litigation is Yes, and when Regulator is Association of Law Costs Draftsmen? ### INPUT CREATE TABLE table_name_16 (probate_activities VARCHAR, regulator VARCHAR, notarial_activities VARCHAR, conduct_of_litigation VARCHAR) ### OUTPUT SELECT probate_activities FROM table_name_16 WHERE notarial_activities = "no" AND conduct_of_litigation = "yes" AND regulator = "association of law costs draftsmen"
{ "input": "CREATE TABLE table_name_16 (probate_activities VARCHAR, regulator VARCHAR, notarial_activities VARCHAR, conduct_of_litigation VARCHAR)", "instruction": "What is Probate Activities, when Notarial Activities is No, when Conduct of Litigation is Yes, and when Regulator is Association of Law Costs Draftsmen?", "output": "SELECT probate_activities FROM table_name_16 WHERE notarial_activities = \"no\" AND conduct_of_litigation = \"yes\" AND regulator = \"association of law costs draftsmen\"" }
### INSTRUCTION Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimoré Municipality (%) of 5.1, and an Entre Ríos Municipality (%) smaller than 0.9? ### INPUT CREATE TABLE table_name_61 (pocona_municipality___percentage_ INTEGER, entre_ríos_municipality___percentage_ VARCHAR, puerto_villarroel_municipality___percentage_ VARCHAR, chimoré_municipality___percentage_ VARCHAR) ### OUTPUT SELECT MIN(pocona_municipality___percentage_) FROM table_name_61 WHERE puerto_villarroel_municipality___percentage_ < 14.6 AND chimoré_municipality___percentage_ = 5.1 AND entre_ríos_municipality___percentage_ < 0.9
{ "input": "CREATE TABLE table_name_61 (pocona_municipality___percentage_ INTEGER, entre_ríos_municipality___percentage_ VARCHAR, puerto_villarroel_municipality___percentage_ VARCHAR, chimoré_municipality___percentage_ VARCHAR)", "instruction": "Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimoré Municipality (%) of 5.1, and an Entre Ríos Municipality (%) smaller than 0.9?", "output": "SELECT MIN(pocona_municipality___percentage_) FROM table_name_61 WHERE puerto_villarroel_municipality___percentage_ < 14.6 AND chimoré_municipality___percentage_ = 5.1 AND entre_ríos_municipality___percentage_ < 0.9" }