text
stringlengths 147
1.06k
| source
dict |
---|---|
### INSTRUCTION
Name the number of teams for 11th position september 10
### INPUT
CREATE TABLE table_25361570_2 (team VARCHAR, position_in_table VARCHAR, date_of_appointment VARCHAR)
### OUTPUT
SELECT COUNT(team) FROM table_25361570_2 WHERE position_in_table = "11th" AND date_of_appointment = "September 10" | {
"input": "CREATE TABLE table_25361570_2 (team VARCHAR, position_in_table VARCHAR, date_of_appointment VARCHAR)",
"instruction": "Name the number of teams for 11th position september 10",
"output": "SELECT COUNT(team) FROM table_25361570_2 WHERE position_in_table = \"11th\" AND date_of_appointment = \"September 10\""
} |
### INSTRUCTION
What is the country named feeney with a bbc sport start source?
### INPUT
CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)
### OUTPUT
SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney" | {
"input": "CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)",
"instruction": "What is the country named feeney with a bbc sport start source?",
"output": "SELECT country FROM table_name_16 WHERE start_source = \"bbc sport\" AND name = \"feeney\""
} |
### INSTRUCTION
what is the last performance of leon varkas category:articles with hcards
### INPUT
CREATE TABLE table_19189856_1 (last_performance VARCHAR, performer VARCHAR)
### OUTPUT
SELECT last_performance FROM table_19189856_1 WHERE performer = "Leon Varkas category:Articles with hCards" | {
"input": "CREATE TABLE table_19189856_1 (last_performance VARCHAR, performer VARCHAR)",
"instruction": "what is the last performance of leon varkas category:articles with hcards",
"output": "SELECT last_performance FROM table_19189856_1 WHERE performer = \"Leon Varkas category:Articles with hCards\""
} |
### INSTRUCTION
What team draft a player from Canada that was picked #43 and plays right wing?
### INPUT
CREATE TABLE table_name_59 (nhl_team VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR)
### OUTPUT
SELECT nhl_team FROM table_name_59 WHERE nationality = "canada" AND position = "right wing" AND pick__number = "43" | {
"input": "CREATE TABLE table_name_59 (nhl_team VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR)",
"instruction": "What team draft a player from Canada that was picked #43 and plays right wing?",
"output": "SELECT nhl_team FROM table_name_59 WHERE nationality = \"canada\" AND position = \"right wing\" AND pick__number = \"43\""
} |
### INSTRUCTION
What is the weight with a cross section area of 25.3?
### INPUT
CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)
### OUTPUT
SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "25.3" | {
"input": "CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)",
"instruction": "What is the weight with a cross section area of 25.3?",
"output": "SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = \"25.3\""
} |
### INSTRUCTION
What is the average height of the players from the college named 'Yale University'?
### INPUT
CREATE TABLE player_college (player_id VARCHAR, college_id VARCHAR); CREATE TABLE player (height INTEGER, player_id VARCHAR); CREATE TABLE college (college_id VARCHAR, name_full VARCHAR)
### OUTPUT
SELECT AVG(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id = T2.player_id JOIN college AS T3 ON T3.college_id = T2.college_id WHERE T3.name_full = 'Yale University' | {
"input": "CREATE TABLE player_college (player_id VARCHAR, college_id VARCHAR); CREATE TABLE player (height INTEGER, player_id VARCHAR); CREATE TABLE college (college_id VARCHAR, name_full VARCHAR)",
"instruction": "What is the average height of the players from the college named 'Yale University'?",
"output": "SELECT AVG(T1.height) FROM player AS T1 JOIN player_college AS T2 ON T1.player_id = T2.player_id JOIN college AS T3 ON T3.college_id = T2.college_id WHERE T3.name_full = 'Yale University'"
} |
### INSTRUCTION
What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007?
### INPUT
CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR)
### OUTPUT
SELECT AVG(channel_4_weekly_rank_a) FROM table_name_20 WHERE viewers__millions_ < 2.19 AND airdate = "december 7, 2007" | {
"input": "CREATE TABLE table_name_20 (channel_4_weekly_rank_a INTEGER, viewers__millions_ VARCHAR, airdate VARCHAR)",
"instruction": "What is the average Channel 4 weekly rank for less than 2.19 million viewers on December 7, 2007?",
"output": "SELECT AVG(channel_4_weekly_rank_a) FROM table_name_20 WHERE viewers__millions_ < 2.19 AND airdate = \"december 7, 2007\""
} |
### INSTRUCTION
What was the result of the home game against Derby County?
### INPUT
CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR)
### OUTPUT
SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county" | {
"input": "CREATE TABLE table_name_71 (win_draw_lose VARCHAR, venue VARCHAR, team VARCHAR)",
"instruction": "What was the result of the home game against Derby County?",
"output": "SELECT win_draw_lose FROM table_name_71 WHERE venue = \"home\" AND team = \"derby county\""
} |
### INSTRUCTION
Which Adelaide has a Sydney of yes, a Perth of no, a Melbourne of yes, and an Auckland of no?
### INPUT
CREATE TABLE table_name_30 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR)
### OUTPUT
SELECT adelaide FROM table_name_30 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND auckland = "no" | {
"input": "CREATE TABLE table_name_30 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR)",
"instruction": "Which Adelaide has a Sydney of yes, a Perth of no, a Melbourne of yes, and an Auckland of no?",
"output": "SELECT adelaide FROM table_name_30 WHERE sydney = \"yes\" AND perth = \"no\" AND melbourne = \"yes\" AND auckland = \"no\""
} |
### INSTRUCTION
What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals?
### INPUT
CREATE TABLE table_name_72 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)
### OUTPUT
SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = "austria" | {
"input": "CREATE TABLE table_name_72 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)",
"instruction": "What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals?",
"output": "SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = \"austria\""
} |
### INSTRUCTION
What was the score for the South American Championship dated December 13, 1925?
### INPUT
CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR)
### OUTPUT
SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925" | {
"input": "CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR)",
"instruction": "What was the score for the South American Championship dated December 13, 1925?",
"output": "SELECT result FROM table_name_40 WHERE competition = \"south american championship\" AND date = \"december 13, 1925\""
} |
### INSTRUCTION
What Transfer window that has a Transfer fee of free, with a Moving to of derby county?
### INPUT
CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)
### OUTPUT
SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county" | {
"input": "CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR)",
"instruction": "What Transfer window that has a Transfer fee of free, with a Moving to of derby county?",
"output": "SELECT transfer_window FROM table_name_54 WHERE transfer_fee = \"free\" AND moving_to = \"derby county\""
} |
### INSTRUCTION
Which city in the mideast region is the hot of Temple University?
### INPUT
CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR)
### OUTPUT
SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university" | {
"input": "CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR)",
"instruction": "Which city in the mideast region is the hot of Temple University?",
"output": "SELECT city FROM table_name_39 WHERE region = \"mideast\" AND host = \"temple university\""
} |
### INSTRUCTION
What are all the policy types of the customer that has the most policies listed?
### INPUT
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR, policy_id VARCHAR)
### OUTPUT
SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = (SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_name ORDER BY COUNT(*) DESC LIMIT 1) | {
"input": "CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR, policy_id VARCHAR)",
"instruction": "What are all the policy types of the customer that has the most policies listed?",
"output": "SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = (SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_name ORDER BY COUNT(*) DESC LIMIT 1)"
} |
### INSTRUCTION
What is the Away with a Time that is 14:00?
### INPUT
CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR)
### OUTPUT
SELECT away FROM table_name_28 WHERE time = "14:00" | {
"input": "CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR)",
"instruction": "What is the Away with a Time that is 14:00?",
"output": "SELECT away FROM table_name_28 WHERE time = \"14:00\""
} |
### INSTRUCTION
What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405?
### INPUT
CREATE TABLE table_name_45 (latitude VARCHAR, ansi_code VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)
### OUTPUT
SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = "greenland" AND ansi_code > 1036405 | {
"input": "CREATE TABLE table_name_45 (latitude VARCHAR, ansi_code VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)",
"instruction": "What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405?",
"output": "SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = \"greenland\" AND ansi_code > 1036405"
} |
### INSTRUCTION
what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu?
### INPUT
CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR)
### OUTPUT
SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND seats_2006 > 10 | {
"input": "CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR)",
"instruction": "what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu?",
"output": "SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = \"cdu\" AND seats_2006 > 10"
} |
### INSTRUCTION
What's the name of the course with most number of enrollments?
### INPUT
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Enrolment_Courses (course_id VARCHAR)
### OUTPUT
SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Enrolment_Courses (course_id VARCHAR)",
"instruction": "What's the name of the course with most number of enrollments?",
"output": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
Find the number of concerts happened in the stadium with the highest capacity .
### INPUT
CREATE TABLE concert (stadium_id VARCHAR, capacity VARCHAR); CREATE TABLE stadium (stadium_id VARCHAR, capacity VARCHAR)
### OUTPUT
SELECT COUNT(*) FROM concert WHERE stadium_id = (SELECT stadium_id FROM stadium ORDER BY capacity DESC LIMIT 1) | {
"input": "CREATE TABLE concert (stadium_id VARCHAR, capacity VARCHAR); CREATE TABLE stadium (stadium_id VARCHAR, capacity VARCHAR)",
"instruction": "Find the number of concerts happened in the stadium with the highest capacity .",
"output": "SELECT COUNT(*) FROM concert WHERE stadium_id = (SELECT stadium_id FROM stadium ORDER BY capacity DESC LIMIT 1)"
} |
### INSTRUCTION
What's the Cardinalatial Title has the Elevated of December 18, 1182, the Place of birth of Lucca, and the Electo rof Pandolfo?
### INPUT
CREATE TABLE table_name_40 (cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR)
### OUTPUT
SELECT cardinalatial_title FROM table_name_40 WHERE elevated = "december 18, 1182" AND place_of_birth = "lucca" AND elector = "pandolfo" | {
"input": "CREATE TABLE table_name_40 (cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR)",
"instruction": "What's the Cardinalatial Title has the Elevated of December 18, 1182, the Place of birth of Lucca, and the Electo rof Pandolfo?",
"output": "SELECT cardinalatial_title FROM table_name_40 WHERE elevated = \"december 18, 1182\" AND place_of_birth = \"lucca\" AND elector = \"pandolfo\""
} |
### INSTRUCTION
Venue of thessaloniki (without participation) had what score?
### INPUT
CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR)
### OUTPUT
SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)" | {
"input": "CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR)",
"instruction": "Venue of thessaloniki (without participation) had what score?",
"output": "SELECT score FROM table_name_99 WHERE venue = \"thessaloniki (without participation)\""
} |
### INSTRUCTION
What was the highest crowd size at the Western Oval?
### INPUT
CREATE TABLE table_name_48 (crowd INTEGER, venue VARCHAR)
### OUTPUT
SELECT MAX(crowd) FROM table_name_48 WHERE venue = "western oval" | {
"input": "CREATE TABLE table_name_48 (crowd INTEGER, venue VARCHAR)",
"instruction": "What was the highest crowd size at the Western Oval?",
"output": "SELECT MAX(crowd) FROM table_name_48 WHERE venue = \"western oval\""
} |
### INSTRUCTION
who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos?
### INPUT
CREATE TABLE table_name_26 (grand_finalist VARCHAR, grand_finalists VARCHAR)
### OUTPUT
SELECT grand_finalist FROM table_name_26 WHERE grand_finalists = "jonathan loh, peterson poon, nathan santos" | {
"input": "CREATE TABLE table_name_26 (grand_finalist VARCHAR, grand_finalists VARCHAR)",
"instruction": "who is the grand finalist when the grand finalists are jonathan loh, peterson poon, nathan santos?",
"output": "SELECT grand_finalist FROM table_name_26 WHERE grand_finalists = \"jonathan loh, peterson poon, nathan santos\""
} |
### INSTRUCTION
WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS?
### INPUT
CREATE TABLE table_name_32 (lost VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)
### OUTPUT
SELECT lost FROM table_name_32 WHERE losing_bonus = "1" AND points_for = "148" | {
"input": "CREATE TABLE table_name_32 (lost VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)",
"instruction": "WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS?",
"output": "SELECT lost FROM table_name_32 WHERE losing_bonus = \"1\" AND points_for = \"148\""
} |
### INSTRUCTION
How many of the series # when the original airdate is september 25, 1967?
### INPUT
CREATE TABLE table_21146729_6 (series__number VARCHAR, original_airdate VARCHAR)
### OUTPUT
SELECT COUNT(series__number) FROM table_21146729_6 WHERE original_airdate = "September 25, 1967" | {
"input": "CREATE TABLE table_21146729_6 (series__number VARCHAR, original_airdate VARCHAR)",
"instruction": "How many of the series # when the original airdate is september 25, 1967?",
"output": "SELECT COUNT(series__number) FROM table_21146729_6 WHERE original_airdate = \"September 25, 1967\""
} |
### INSTRUCTION
What are the children per donor in the country where the allowed recipients are married or in cohabitation?
### INPUT
CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)
### OUTPUT
SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = "Married or in cohabitation" | {
"input": "CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR)",
"instruction": "What are the children per donor in the country where the allowed recipients are married or in cohabitation?",
"output": "SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = \"Married or in cohabitation\""
} |
### INSTRUCTION
What are the name and id of the team offering the lowest average salary?
### INPUT
CREATE TABLE team (name VARCHAR, team_id VARCHAR); CREATE TABLE salary (team_id VARCHAR, salary INTEGER)
### OUTPUT
SELECT T1.name, T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY AVG(T2.salary) LIMIT 1 | {
"input": "CREATE TABLE team (name VARCHAR, team_id VARCHAR); CREATE TABLE salary (team_id VARCHAR, salary INTEGER)",
"instruction": "What are the name and id of the team offering the lowest average salary?",
"output": "SELECT T1.name, T1.team_id FROM team AS T1 JOIN salary AS T2 ON T1.team_id = T2.team_id GROUP BY T1.team_id ORDER BY AVG(T2.salary) LIMIT 1"
} |
### INSTRUCTION
How many people participated in the Rasmussen Reports poll on October 13, 2010?
### INPUT
CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR)
### OUTPUT
SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010" | {
"input": "CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR)",
"instruction": "How many people participated in the Rasmussen Reports poll on October 13, 2010?",
"output": "SELECT sample_size FROM table_name_61 WHERE poll_source = \"rasmussen reports\" AND date_s__administered = \"october 13, 2010\""
} |
### INSTRUCTION
What is the to par for the score 73-71=144?
### INPUT
CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR)
### OUTPUT
SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144 | {
"input": "CREATE TABLE table_name_71 (to_par VARCHAR, score VARCHAR)",
"instruction": "What is the to par for the score 73-71=144?",
"output": "SELECT to_par FROM table_name_71 WHERE score = 73 - 71 = 144"
} |
### INSTRUCTION
WHich Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov?
### INPUT
CREATE TABLE table_name_99 (mountains_classification VARCHAR, asian_team_classification VARCHAR, winner VARCHAR)
### OUTPUT
SELECT mountains_classification FROM table_name_99 WHERE asian_team_classification = "seoul cycling team" AND winner = "alexandre usov" | {
"input": "CREATE TABLE table_name_99 (mountains_classification VARCHAR, asian_team_classification VARCHAR, winner VARCHAR)",
"instruction": "WHich Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov?",
"output": "SELECT mountains_classification FROM table_name_99 WHERE asian_team_classification = \"seoul cycling team\" AND winner = \"alexandre usov\""
} |
### INSTRUCTION
List the 1st air date for the episode with a iceb786e production code.
### INPUT
CREATE TABLE table_2501754_3 (original_airdate VARCHAR, prod_code VARCHAR)
### OUTPUT
SELECT original_airdate FROM table_2501754_3 WHERE prod_code = "ICEB786E" | {
"input": "CREATE TABLE table_2501754_3 (original_airdate VARCHAR, prod_code VARCHAR)",
"instruction": "List the 1st air date for the episode with a iceb786e production code.",
"output": "SELECT original_airdate FROM table_2501754_3 WHERE prod_code = \"ICEB786E\""
} |
### INSTRUCTION
What is average salary of the players in the team named 'Boston Red Stockings' ?
### INPUT
CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
### OUTPUT
SELECT AVG(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' | {
"input": "CREATE TABLE salary (salary INTEGER, team_id VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)",
"instruction": "What is average salary of the players in the team named 'Boston Red Stockings' ?",
"output": "SELECT AVG(T1.salary) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings'"
} |
### INSTRUCTION
What is Wayne Grady's total?
### INPUT
CREATE TABLE table_name_93 (total INTEGER, player VARCHAR)
### OUTPUT
SELECT SUM(total) FROM table_name_93 WHERE player = "wayne grady" | {
"input": "CREATE TABLE table_name_93 (total INTEGER, player VARCHAR)",
"instruction": "What is Wayne Grady's total?",
"output": "SELECT SUM(total) FROM table_name_93 WHERE player = \"wayne grady\""
} |
### INSTRUCTION
What is the format for July 27, 1994?
### INPUT
CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR)
### OUTPUT
SELECT format FROM table_name_94 WHERE date = "july 27, 1994" | {
"input": "CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR)",
"instruction": "What is the format for July 27, 1994?",
"output": "SELECT format FROM table_name_94 WHERE date = \"july 27, 1994\""
} |
### INSTRUCTION
Date of 10 july 2009 includes what athlete?
### INPUT
CREATE TABLE table_name_92 (athlete VARCHAR, date VARCHAR)
### OUTPUT
SELECT athlete FROM table_name_92 WHERE date = "10 july 2009" | {
"input": "CREATE TABLE table_name_92 (athlete VARCHAR, date VARCHAR)",
"instruction": "Date of 10 july 2009 includes what athlete?",
"output": "SELECT athlete FROM table_name_92 WHERE date = \"10 july 2009\""
} |
### INSTRUCTION
How many original Australian performers are there when the Original West End Performer is Jordan Dunne?
### INPUT
CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
### OUTPUT
SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = "Jordan Dunne" | {
"input": "CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)",
"instruction": "How many original Australian performers are there when the Original West End Performer is Jordan Dunne?",
"output": "SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = \"Jordan Dunne\""
} |
### INSTRUCTION
What is the Col entry for the peak with an elevation of 2,308 meters?
### INPUT
CREATE TABLE table_name_86 (col__m_ VARCHAR, elevation__m_ VARCHAR)
### OUTPUT
SELECT COUNT(col__m_) FROM table_name_86 WHERE elevation__m_ = 2 OFFSET 308 | {
"input": "CREATE TABLE table_name_86 (col__m_ VARCHAR, elevation__m_ VARCHAR)",
"instruction": "What is the Col entry for the peak with an elevation of 2,308 meters?",
"output": "SELECT COUNT(col__m_) FROM table_name_86 WHERE elevation__m_ = 2 OFFSET 308"
} |
### INSTRUCTION
What is the Pinyin transcription for "Alas for the Days Gone By"?
### INPUT
CREATE TABLE table_1805919_1 (transcription__based_on_pinyin_ VARCHAR, english_translation VARCHAR)
### OUTPUT
SELECT transcription__based_on_pinyin_ FROM table_1805919_1 WHERE english_translation = "Alas for the Days Gone By" | {
"input": "CREATE TABLE table_1805919_1 (transcription__based_on_pinyin_ VARCHAR, english_translation VARCHAR)",
"instruction": "What is the Pinyin transcription for \"Alas for the Days Gone By\"?",
"output": "SELECT transcription__based_on_pinyin_ FROM table_1805919_1 WHERE english_translation = \"Alas for the Days Gone By\""
} |
### INSTRUCTION
Find the last name of students who is either female (sex is F) and living in the city of code BAL or male (sex is M) and in age of below 20.
### INPUT
CREATE TABLE student (lname VARCHAR, sex VARCHAR, city_code VARCHAR, age VARCHAR)
### OUTPUT
SELECT lname FROM student WHERE sex = 'F' AND city_code = 'BAL' UNION SELECT lname FROM student WHERE sex = 'M' AND age < 20 | {
"input": "CREATE TABLE student (lname VARCHAR, sex VARCHAR, city_code VARCHAR, age VARCHAR)",
"instruction": "Find the last name of students who is either female (sex is F) and living in the city of code BAL or male (sex is M) and in age of below 20.",
"output": "SELECT lname FROM student WHERE sex = 'F' AND city_code = 'BAL' UNION SELECT lname FROM student WHERE sex = 'M' AND age < 20"
} |
### INSTRUCTION
what is the earliest year when the result is won and the role/episode is fox mulder?
### INPUT
CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR)
### OUTPUT
SELECT MIN(year) FROM table_name_21 WHERE result = "won" AND role_episode = "fox mulder" | {
"input": "CREATE TABLE table_name_21 (year INTEGER, result VARCHAR, role_episode VARCHAR)",
"instruction": "what is the earliest year when the result is won and the role/episode is fox mulder?",
"output": "SELECT MIN(year) FROM table_name_21 WHERE result = \"won\" AND role_episode = \"fox mulder\""
} |
### INSTRUCTION
Find the full name of employee who supported the most number of customers.
### INPUT
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)
### OUTPUT
SELECT T1.first_name, T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id = T2.support_rep_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)",
"instruction": "Find the full name of employee who supported the most number of customers.",
"output": "SELECT T1.first_name, T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id = T2.support_rep_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?
### INPUT
CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)
### OUTPUT
SELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell = 3 AND t_c__k_ = 110 | {
"input": "CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)",
"instruction": "Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?",
"output": "SELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell = 3 AND t_c__k_ = 110"
} |
### INSTRUCTION
What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?
### INPUT
CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)
### OUTPUT
SELECT MIN(year) FROM table_name_95 WHERE competition = "all-ireland hurling final" AND waterford_score = "6-08 (24)" | {
"input": "CREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)",
"instruction": "What is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?",
"output": "SELECT MIN(year) FROM table_name_95 WHERE competition = \"all-ireland hurling final\" AND waterford_score = \"6-08 (24)\""
} |
### INSTRUCTION
What is the name of the linebacker at Illinois college?
### INPUT
CREATE TABLE table_10361625_1 (player_name VARCHAR, position VARCHAR, college VARCHAR)
### OUTPUT
SELECT player_name FROM table_10361625_1 WHERE position = "Linebacker" AND college = "Illinois" | {
"input": "CREATE TABLE table_10361625_1 (player_name VARCHAR, position VARCHAR, college VARCHAR)",
"instruction": "What is the name of the linebacker at Illinois college?",
"output": "SELECT player_name FROM table_10361625_1 WHERE position = \"Linebacker\" AND college = \"Illinois\""
} |
### INSTRUCTION
How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?
### INPUT
CREATE TABLE table_24865763_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR)
### OUTPUT
SELECT COUNT(lmp1_winning_team) FROM table_24865763_2 WHERE rnd = 4 AND lmp2_winning_team = "No. 42 Strakka Racing" | {
"input": "CREATE TABLE table_24865763_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR)",
"instruction": "How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?",
"output": "SELECT COUNT(lmp1_winning_team) FROM table_24865763_2 WHERE rnd = 4 AND lmp2_winning_team = \"No. 42 Strakka Racing\""
} |
### INSTRUCTION
How many season had Melgar as a champion?
### INPUT
CREATE TABLE table_23647668_2 (season VARCHAR, champion VARCHAR)
### OUTPUT
SELECT COUNT(season) FROM table_23647668_2 WHERE champion = "Melgar" | {
"input": "CREATE TABLE table_23647668_2 (season VARCHAR, champion VARCHAR)",
"instruction": "How many season had Melgar as a champion?",
"output": "SELECT COUNT(season) FROM table_23647668_2 WHERE champion = \"Melgar\""
} |
### INSTRUCTION
What is the Place that has a Date of 4 august 2012?
### INPUT
CREATE TABLE table_name_13 (place VARCHAR, date VARCHAR)
### OUTPUT
SELECT place FROM table_name_13 WHERE date = "4 august 2012" | {
"input": "CREATE TABLE table_name_13 (place VARCHAR, date VARCHAR)",
"instruction": "What is the Place that has a Date of 4 august 2012?",
"output": "SELECT place FROM table_name_13 WHERE date = \"4 august 2012\""
} |
### INSTRUCTION
What is the Builder of Locomotive 2?
### INPUT
CREATE TABLE table_name_6 (builder VARCHAR, locomotive VARCHAR)
### OUTPUT
SELECT builder FROM table_name_6 WHERE locomotive = "2" | {
"input": "CREATE TABLE table_name_6 (builder VARCHAR, locomotive VARCHAR)",
"instruction": "What is the Builder of Locomotive 2?",
"output": "SELECT builder FROM table_name_6 WHERE locomotive = \"2\""
} |
### INSTRUCTION
What is the score when the Tie no is replay, and the away team is York City?
### INPUT
CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR)
### OUTPUT
SELECT score FROM table_name_43 WHERE tie_no = "replay" AND away_team = "york city" | {
"input": "CREATE TABLE table_name_43 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR)",
"instruction": "What is the score when the Tie no is replay, and the away team is York City?",
"output": "SELECT score FROM table_name_43 WHERE tie_no = \"replay\" AND away_team = \"york city\""
} |
### INSTRUCTION
What team was the opponent when the round was sf?
### INPUT
CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR)
### OUTPUT
SELECT opponent FROM table_name_84 WHERE round = "sf" | {
"input": "CREATE TABLE table_name_84 (opponent VARCHAR, round VARCHAR)",
"instruction": "What team was the opponent when the round was sf?",
"output": "SELECT opponent FROM table_name_84 WHERE round = \"sf\""
} |
### INSTRUCTION
What is the l3 cache when the sspec number is sr0r2(l1)sr0t6(l1)?
### INPUT
CREATE TABLE table_name_88 (l3_cache VARCHAR, sspec_number VARCHAR)
### OUTPUT
SELECT l3_cache FROM table_name_88 WHERE sspec_number = "sr0r2(l1)sr0t6(l1)" | {
"input": "CREATE TABLE table_name_88 (l3_cache VARCHAR, sspec_number VARCHAR)",
"instruction": "What is the l3 cache when the sspec number is sr0r2(l1)sr0t6(l1)?",
"output": "SELECT l3_cache FROM table_name_88 WHERE sspec_number = \"sr0r2(l1)sr0t6(l1)\""
} |
### INSTRUCTION
After week 11, what was the Result on December 13, 1964?
### INPUT
CREATE TABLE table_name_49 (result VARCHAR, week VARCHAR, date VARCHAR)
### OUTPUT
SELECT result FROM table_name_49 WHERE week > 11 AND date = "december 13, 1964" | {
"input": "CREATE TABLE table_name_49 (result VARCHAR, week VARCHAR, date VARCHAR)",
"instruction": "After week 11, what was the Result on December 13, 1964?",
"output": "SELECT result FROM table_name_49 WHERE week > 11 AND date = \"december 13, 1964\""
} |
### INSTRUCTION
Who constructed the car that Derek Warwick raced in with a TG181 chassis?
### INPUT
CREATE TABLE table_name_20 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
### OUTPUT
SELECT constructor FROM table_name_20 WHERE chassis = "tg181" AND driver = "derek warwick" | {
"input": "CREATE TABLE table_name_20 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)",
"instruction": "Who constructed the car that Derek Warwick raced in with a TG181 chassis?",
"output": "SELECT constructor FROM table_name_20 WHERE chassis = \"tg181\" AND driver = \"derek warwick\""
} |
### INSTRUCTION
What is the release price (USD) of the microprocessor with a model number pentium dual-core t2330?
### INPUT
CREATE TABLE table_name_32 (release_price___usd__ VARCHAR, model_number VARCHAR)
### OUTPUT
SELECT release_price___usd__ FROM table_name_32 WHERE model_number = "pentium dual-core t2330" | {
"input": "CREATE TABLE table_name_32 (release_price___usd__ VARCHAR, model_number VARCHAR)",
"instruction": "What is the release price (USD) of the microprocessor with a model number pentium dual-core t2330?",
"output": "SELECT release_price___usd__ FROM table_name_32 WHERE model_number = \"pentium dual-core t2330\""
} |
### INSTRUCTION
Name the total number of years for chassis of maserati 250f and points less than 0
### INPUT
CREATE TABLE table_name_85 (year VARCHAR, chassis VARCHAR, points VARCHAR)
### OUTPUT
SELECT COUNT(year) FROM table_name_85 WHERE chassis = "maserati 250f" AND points < 0 | {
"input": "CREATE TABLE table_name_85 (year VARCHAR, chassis VARCHAR, points VARCHAR)",
"instruction": "Name the total number of years for chassis of maserati 250f and points less than 0",
"output": "SELECT COUNT(year) FROM table_name_85 WHERE chassis = \"maserati 250f\" AND points < 0"
} |
### INSTRUCTION
What is the team captain when the shirt sponser is quick?
### INPUT
CREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR)
### OUTPUT
SELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = "Quick" | {
"input": "CREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR)",
"instruction": "What is the team captain when the shirt sponser is quick?",
"output": "SELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = \"Quick\""
} |
### INSTRUCTION
What venue has a weight (kg) greater than 55, and won as the result?
### INPUT
CREATE TABLE table_name_64 (venue VARCHAR, weight__kg_ VARCHAR, result VARCHAR)
### OUTPUT
SELECT venue FROM table_name_64 WHERE weight__kg_ > 55 AND result = "won" | {
"input": "CREATE TABLE table_name_64 (venue VARCHAR, weight__kg_ VARCHAR, result VARCHAR)",
"instruction": "What venue has a weight (kg) greater than 55, and won as the result?",
"output": "SELECT venue FROM table_name_64 WHERE weight__kg_ > 55 AND result = \"won\""
} |
### INSTRUCTION
Find all the stores in the district with the most population.
### INPUT
CREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)
### OUTPUT
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1) | {
"input": "CREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)",
"instruction": "Find all the stores in the district with the most population.",
"output": "SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)"
} |
### INSTRUCTION
Find the id of users who are followed by Mary and Susan.
### INPUT
CREATE TABLE follows (f1 VARCHAR, f2 VARCHAR); CREATE TABLE user_profiles (uid VARCHAR, name VARCHAR)
### OUTPUT
SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = "Mary" INTERSECT SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = "Susan" | {
"input": "CREATE TABLE follows (f1 VARCHAR, f2 VARCHAR); CREATE TABLE user_profiles (uid VARCHAR, name VARCHAR)",
"instruction": "Find the id of users who are followed by Mary and Susan.",
"output": "SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = \"Mary\" INTERSECT SELECT T2.f1 FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f2 WHERE T1.name = \"Susan\""
} |
### INSTRUCTION
who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0%
### INPUT
CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT incumbent FROM table_13833770_3 WHERE opponent = "Peter King (R) 56.0% David Mejias (D) 44.0%" | {
"input": "CREATE TABLE table_13833770_3 (incumbent VARCHAR, opponent VARCHAR)",
"instruction": "who is the the incumbent with opponent being peter king (r) 56.0% david mejias (d) 44.0%",
"output": "SELECT incumbent FROM table_13833770_3 WHERE opponent = \"Peter King (R) 56.0% David Mejias (D) 44.0%\""
} |
### INSTRUCTION
What was the score for an n/a location with the odds of p + 1?
### INPUT
CREATE TABLE table_name_61 (result VARCHAR, location VARCHAR, odds VARCHAR)
### OUTPUT
SELECT result FROM table_name_61 WHERE location = "n/a" AND odds = "p + 1" | {
"input": "CREATE TABLE table_name_61 (result VARCHAR, location VARCHAR, odds VARCHAR)",
"instruction": "What was the score for an n/a location with the odds of p + 1?",
"output": "SELECT result FROM table_name_61 WHERE location = \"n/a\" AND odds = \"p + 1\""
} |
### INSTRUCTION
Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons?
### INPUT
### OUTPUT
SELECT MAX(_3_balls_2_ribbons) FROM table_name_16 WHERE nation = "bulgaria" AND place > 1 | {
"input": "",
"instruction": "Nation of bulgaria, and a Place larger than 1 had what highest 3 Balls, 2 Ribbons?",
"output": "SELECT MAX(_3_balls_2_ribbons) FROM table_name_16 WHERE nation = \"bulgaria\" AND place > 1"
} |
### INSTRUCTION
Who belong to the institution "University of Oxford"? Show the first names and last names.
### INPUT
CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR); CREATE TABLE inst (instid VARCHAR, name VARCHAR)
### OUTPUT
SELECT DISTINCT t1.fname, t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "University of Oxford" | {
"input": "CREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR); CREATE TABLE inst (instid VARCHAR, name VARCHAR)",
"instruction": "Who belong to the institution \"University of Oxford\"? Show the first names and last names.",
"output": "SELECT DISTINCT t1.fname, t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = \"University of Oxford\""
} |
### INSTRUCTION
Give me a list of cities whose temperature in Feb is higher than that in Jun or cities that were once host cities?
### INPUT
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Feb INTEGER, Jun VARCHAR)
### OUTPUT
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Feb > T2.Jun UNION SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city | {
"input": "CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Feb INTEGER, Jun VARCHAR)",
"instruction": "Give me a list of cities whose temperature in Feb is higher than that in Jun or cities that were once host cities?",
"output": "SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Feb > T2.Jun UNION SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city"
} |
### INSTRUCTION
What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100?
### INPUT
CREATE TABLE table_name_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR)
### OUTPUT
SELECT AVG(metropolitan_population__2006__millions) FROM table_name_38 WHERE metropolitan_area = "lima" AND gdp__ppp__us$_per_capita > 13 OFFSET 100 | {
"input": "CREATE TABLE table_name_38 (metropolitan_population__2006__millions INTEGER, metropolitan_area VARCHAR, gdp__ppp__us$_per_capita VARCHAR)",
"instruction": "What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100?",
"output": "SELECT AVG(metropolitan_population__2006__millions) FROM table_name_38 WHERE metropolitan_area = \"lima\" AND gdp__ppp__us$_per_capita > 13 OFFSET 100"
} |
### INSTRUCTION
How many bronze medals for the nation ranked above 2, and under 0 golds?
### INPUT
CREATE TABLE table_name_36 (bronze VARCHAR, rank VARCHAR, gold VARCHAR)
### OUTPUT
SELECT COUNT(bronze) FROM table_name_36 WHERE rank < 2 AND gold < 0 | {
"input": "CREATE TABLE table_name_36 (bronze VARCHAR, rank VARCHAR, gold VARCHAR)",
"instruction": "How many bronze medals for the nation ranked above 2, and under 0 golds?",
"output": "SELECT COUNT(bronze) FROM table_name_36 WHERE rank < 2 AND gold < 0"
} |
### INSTRUCTION
Name the won for played being 22 and points against 511 and lost being 15
### INPUT
CREATE TABLE table_27293285_4 (won VARCHAR, points_against VARCHAR, played VARCHAR, lost VARCHAR)
### OUTPUT
SELECT won FROM table_27293285_4 WHERE played = "22" AND lost = "15" AND points_against = "511" | {
"input": "CREATE TABLE table_27293285_4 (won VARCHAR, points_against VARCHAR, played VARCHAR, lost VARCHAR)",
"instruction": "Name the won for played being 22 and points against 511 and lost being 15",
"output": "SELECT won FROM table_27293285_4 WHERE played = \"22\" AND lost = \"15\" AND points_against = \"511\""
} |
### INSTRUCTION
Show all party names and the number of members in each party.
### INPUT
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)
### OUTPUT
SELECT T2.party_name, COUNT(*) FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id | {
"input": "CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)",
"instruction": "Show all party names and the number of members in each party.",
"output": "SELECT T2.party_name, COUNT(*) FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id"
} |
### INSTRUCTION
Who is in group a when indiana is in group d?
### INPUT
CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR)
### OUTPUT
SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana" | {
"input": "CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR)",
"instruction": "Who is in group a when indiana is in group d?",
"output": "SELECT group_a FROM table_15290638_1 WHERE group_d = \"Indiana\""
} |
### INSTRUCTION
Which song by David Essex spent 2 weeks on top of the charts?
### INPUT
CREATE TABLE table_name_1 (song VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
### OUTPUT
SELECT song FROM table_name_1 WHERE weeks_on_top = 2 AND artist = "david essex" | {
"input": "CREATE TABLE table_name_1 (song VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)",
"instruction": "Which song by David Essex spent 2 weeks on top of the charts?",
"output": "SELECT song FROM table_name_1 WHERE weeks_on_top = 2 AND artist = \"david essex\""
} |
### INSTRUCTION
Find the id and color description of the products with at least 2 characteristics.
### INPUT
CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR)
### OUTPUT
SELECT t1.product_id, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code JOIN product_characteristics AS t3 ON t1.product_id = t3.product_id GROUP BY t1.product_id HAVING COUNT(*) >= 2 | {
"input": "CREATE TABLE product_characteristics (product_id VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR)",
"instruction": "Find the id and color description of the products with at least 2 characteristics.",
"output": "SELECT t1.product_id, t2.color_description FROM products AS t1 JOIN ref_colors AS t2 ON t1.color_code = t2.color_code JOIN product_characteristics AS t3 ON t1.product_id = t3.product_id GROUP BY t1.product_id HAVING COUNT(*) >= 2"
} |
### INSTRUCTION
Which club is associated with Hafiz Abu Sujad?
### INPUT
CREATE TABLE table_name_80 (club VARCHAR, name VARCHAR)
### OUTPUT
SELECT club FROM table_name_80 WHERE name = "hafiz abu sujad" | {
"input": "CREATE TABLE table_name_80 (club VARCHAR, name VARCHAR)",
"instruction": "Which club is associated with Hafiz Abu Sujad?",
"output": "SELECT club FROM table_name_80 WHERE name = \"hafiz abu sujad\""
} |
### INSTRUCTION
Name the most losst for corinthians
### INPUT
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)
### OUTPUT
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians" | {
"input": "CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)",
"instruction": "Name the most losst for corinthians",
"output": "SELECT MIN(lost) FROM table_15319684_1 WHERE team = \"Corinthians\""
} |
### INSTRUCTION
What digital reaction has hot 100 reaction of 2 (+1)?
### INPUT
CREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)
### OUTPUT
SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = "2 (+1)" | {
"input": "CREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)",
"instruction": "What digital reaction has hot 100 reaction of 2 (+1)?",
"output": "SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = \"2 (+1)\""
} |
### INSTRUCTION
What is the total point count of the youngest gymnast?
### INPUT
CREATE TABLE people (People_ID VARCHAR, Age VARCHAR); CREATE TABLE gymnast (Total_Points VARCHAR, Gymnast_ID VARCHAR)
### OUTPUT
SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age LIMIT 1 | {
"input": "CREATE TABLE people (People_ID VARCHAR, Age VARCHAR); CREATE TABLE gymnast (Total_Points VARCHAR, Gymnast_ID VARCHAR)",
"instruction": "What is the total point count of the youngest gymnast?",
"output": "SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age LIMIT 1"
} |
### INSTRUCTION
Find the dates of orders which belong to the customer named "Jeramie".
### INPUT
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (date_order_placed VARCHAR, customer_id VARCHAR)
### OUTPUT
SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie" | {
"input": "CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (date_order_placed VARCHAR, customer_id VARCHAR)",
"instruction": "Find the dates of orders which belong to the customer named \"Jeramie\".",
"output": "SELECT T2.date_order_placed FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = \"Jeramie\""
} |
### INSTRUCTION
When the genre is fighting what is the game?
### INPUT
CREATE TABLE table_name_89 (game VARCHAR, genre VARCHAR)
### OUTPUT
SELECT game FROM table_name_89 WHERE genre = "fighting" | {
"input": "CREATE TABLE table_name_89 (game VARCHAR, genre VARCHAR)",
"instruction": "When the genre is fighting what is the game?",
"output": "SELECT game FROM table_name_89 WHERE genre = \"fighting\""
} |
### INSTRUCTION
What are the names of players who have the best dribbling?
### INPUT
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, dribbling VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER)
### OUTPUT
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.dribbling = (SELECT MAX(overall_rating) FROM Player_Attributes) | {
"input": "CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, dribbling VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER)",
"instruction": "What are the names of players who have the best dribbling?",
"output": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.dribbling = (SELECT MAX(overall_rating) FROM Player_Attributes)"
} |
### INSTRUCTION
How many times has the playoff been 1 in the contest for the afc cup?
### INPUT
CREATE TABLE table_14460937_1 (afc_cup VARCHAR, play_off VARCHAR)
### OUTPUT
SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE play_off = 1 | {
"input": "CREATE TABLE table_14460937_1 (afc_cup VARCHAR, play_off VARCHAR)",
"instruction": "How many times has the playoff been 1 in the contest for the afc cup?",
"output": "SELECT COUNT(afc_cup) FROM table_14460937_1 WHERE play_off = 1"
} |
### INSTRUCTION
Name the founded for school closed in 2005
### INPUT
CREATE TABLE table_262505_1 (founded VARCHAR, current_conference VARCHAR)
### OUTPUT
SELECT founded FROM table_262505_1 WHERE current_conference = "school closed in 2005" | {
"input": "CREATE TABLE table_262505_1 (founded VARCHAR, current_conference VARCHAR)",
"instruction": "Name the founded for school closed in 2005",
"output": "SELECT founded FROM table_262505_1 WHERE current_conference = \"school closed in 2005\""
} |
### INSTRUCTION
Which Surface had a Date of june 13, 1983?
### INPUT
CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR)
### OUTPUT
SELECT surface FROM table_name_14 WHERE date = "june 13, 1983" | {
"input": "CREATE TABLE table_name_14 (surface VARCHAR, date VARCHAR)",
"instruction": "Which Surface had a Date of june 13, 1983?",
"output": "SELECT surface FROM table_name_14 WHERE date = \"june 13, 1983\""
} |
### INSTRUCTION
How many laps for robin montgomerie-charrington, and a Grid smaller than 15?
### INPUT
CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
### OUTPUT
SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 15 | {
"input": "CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR)",
"instruction": "How many laps for robin montgomerie-charrington, and a Grid smaller than 15?",
"output": "SELECT COUNT(laps) FROM table_name_18 WHERE driver = \"robin montgomerie-charrington\" AND grid < 15"
} |
### INSTRUCTION
When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent
### INPUT
CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR)
### OUTPUT
SELECT date FROM table_name_60 WHERE competition = "2014 world cup qualification" AND location = "kampala" AND opponent = "angola" | {
"input": "CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR)",
"instruction": "When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent",
"output": "SELECT date FROM table_name_60 WHERE competition = \"2014 world cup qualification\" AND location = \"kampala\" AND opponent = \"angola\""
} |
### INSTRUCTION
What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club?
### INPUT
CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)
### OUTPUT
SELECT position FROM table_name_79 WHERE first_team_goals = "ongoing" AND current_club = "aston villa" | {
"input": "CREATE TABLE table_name_79 (position VARCHAR, first_team_goals VARCHAR, current_club VARCHAR)",
"instruction": "What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa club?",
"output": "SELECT position FROM table_name_79 WHERE first_team_goals = \"ongoing\" AND current_club = \"aston villa\""
} |
### INSTRUCTION
What is the lowest Wins, when Losses is less than 10, when Goal Difference is less than 46, when Goals is less than 63, and when Played is less than 30?
### INPUT
CREATE TABLE table_name_50 (wins INTEGER, played VARCHAR, goals_for VARCHAR, losses VARCHAR, goal_difference VARCHAR)
### OUTPUT
SELECT MIN(wins) FROM table_name_50 WHERE losses < 10 AND goal_difference < 46 AND goals_for < 63 AND played < 30 | {
"input": "CREATE TABLE table_name_50 (wins INTEGER, played VARCHAR, goals_for VARCHAR, losses VARCHAR, goal_difference VARCHAR)",
"instruction": "What is the lowest Wins, when Losses is less than 10, when Goal Difference is less than 46, when Goals is less than 63, and when Played is less than 30?",
"output": "SELECT MIN(wins) FROM table_name_50 WHERE losses < 10 AND goal_difference < 46 AND goals_for < 63 AND played < 30"
} |
### INSTRUCTION
Name the average concacaf for merconorte larger than 0 and player of jared borgetti
### INPUT
CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR)
### OUTPUT
SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0 | {
"input": "CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR)",
"instruction": "Name the average concacaf for merconorte larger than 0 and player of jared borgetti",
"output": "SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = \"jared borgetti\" AND superliga > 0"
} |
### INSTRUCTION
What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points?
### INPUT
CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)
### OUTPUT
SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567 | {
"input": "CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)",
"instruction": "What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points?",
"output": "SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567"
} |
### INSTRUCTION
How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia?
### INPUT
CREATE TABLE table_name_31 (attendance VARCHAR, away_team VARCHAR, home_team VARCHAR)
### OUTPUT
SELECT attendance FROM table_name_31 WHERE away_team = "dynamo kyiv" AND home_team = "torpedo zaporizhia" | {
"input": "CREATE TABLE table_name_31 (attendance VARCHAR, away_team VARCHAR, home_team VARCHAR)",
"instruction": "How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia?",
"output": "SELECT attendance FROM table_name_31 WHERE away_team = \"dynamo kyiv\" AND home_team = \"torpedo zaporizhia\""
} |
### INSTRUCTION
What's the lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08?
### INPUT
CREATE TABLE table_name_92 (code INTEGER, area__km_2__ VARCHAR, most_spoken_language VARCHAR, place VARCHAR)
### OUTPUT
SELECT MIN(code) FROM table_name_92 WHERE most_spoken_language = "xhosa" AND place = "addo elephant national park" AND area__km_2__ < 1.08 | {
"input": "CREATE TABLE table_name_92 (code INTEGER, area__km_2__ VARCHAR, most_spoken_language VARCHAR, place VARCHAR)",
"instruction": "What's the lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08?",
"output": "SELECT MIN(code) FROM table_name_92 WHERE most_spoken_language = \"xhosa\" AND place = \"addo elephant national park\" AND area__km_2__ < 1.08"
} |
### INSTRUCTION
What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O?
### INPUT
CREATE TABLE table_name_12 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR)
### OUTPUT
SELECT release_price___usd__ FROM table_name_12 WHERE i_o_bus = "1 × 6.4 gt/s qpi" AND part_number_s_ = "bx80601975at80601002274aa" | {
"input": "CREATE TABLE table_name_12 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR)",
"instruction": "What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O?",
"output": "SELECT release_price___usd__ FROM table_name_12 WHERE i_o_bus = \"1 × 6.4 gt/s qpi\" AND part_number_s_ = \"bx80601975at80601002274aa\""
} |
### INSTRUCTION
What is the Date of the Middlesbrough Home game?
### INPUT
CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR)
### OUTPUT
SELECT date FROM table_name_42 WHERE home_team = "middlesbrough" | {
"input": "CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR)",
"instruction": "What is the Date of the Middlesbrough Home game?",
"output": "SELECT date FROM table_name_42 WHERE home_team = \"middlesbrough\""
} |
### INSTRUCTION
Which Third/Vice skip has a Second of éric sylvain?
### INPUT
CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR)
### OUTPUT
SELECT third_vice_skip FROM table_name_13 WHERE second = "éric sylvain" | {
"input": "CREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR)",
"instruction": "Which Third/Vice skip has a Second of éric sylvain?",
"output": "SELECT third_vice_skip FROM table_name_13 WHERE second = \"éric sylvain\""
} |
### INSTRUCTION
Who was the Youth Classification in the race with Kenneth Hanson as Mountains Classification and Lucas Sebastian Haedo as winner?
### INPUT
CREATE TABLE table_23157997_13 (youth_classification VARCHAR, mountains_classification VARCHAR, winner VARCHAR)
### OUTPUT
SELECT youth_classification FROM table_23157997_13 WHERE mountains_classification = "Kenneth Hanson" AND winner = "Lucas Sebastian Haedo" | {
"input": "CREATE TABLE table_23157997_13 (youth_classification VARCHAR, mountains_classification VARCHAR, winner VARCHAR)",
"instruction": "Who was the Youth Classification in the race with Kenneth Hanson as Mountains Classification and Lucas Sebastian Haedo as winner?",
"output": "SELECT youth_classification FROM table_23157997_13 WHERE mountains_classification = \"Kenneth Hanson\" AND winner = \"Lucas Sebastian Haedo\""
} |
### INSTRUCTION
When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against?
### INPUT
CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
### OUTPUT
SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65 | {
"input": "CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR)",
"instruction": "When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against?",
"output": "SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65"
} |
### INSTRUCTION
What is the sum of every REG GP that Peter Andersson played as a pick# less than 143?
### INPUT
CREATE TABLE table_name_28 (reg_gp INTEGER, player VARCHAR, pick__number VARCHAR)
### OUTPUT
SELECT SUM(reg_gp) FROM table_name_28 WHERE player = "peter andersson" AND pick__number < 143 | {
"input": "CREATE TABLE table_name_28 (reg_gp INTEGER, player VARCHAR, pick__number VARCHAR)",
"instruction": "What is the sum of every REG GP that Peter Andersson played as a pick# less than 143?",
"output": "SELECT SUM(reg_gp) FROM table_name_28 WHERE player = \"peter andersson\" AND pick__number < 143"
} |
### INSTRUCTION
When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?
### INPUT
CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)
### OUTPUT
SELECT year FROM table_name_65 WHERE winner = "panathinaikos" AND runner_up = "olympiacos" AND venue = "nikos goumas stadium" | {
"input": "CREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)",
"instruction": "When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?",
"output": "SELECT year FROM table_name_65 WHERE winner = \"panathinaikos\" AND runner_up = \"olympiacos\" AND venue = \"nikos goumas stadium\""
} |
### INSTRUCTION
what is the number of draws for ali said gouled?
### INPUT
CREATE TABLE table_name_12 (draws VARCHAR, name VARCHAR)
### OUTPUT
SELECT COUNT(draws) FROM table_name_12 WHERE name = "ali said gouled" | {
"input": "CREATE TABLE table_name_12 (draws VARCHAR, name VARCHAR)",
"instruction": "what is the number of draws for ali said gouled?",
"output": "SELECT COUNT(draws) FROM table_name_12 WHERE name = \"ali said gouled\""
} |
### INSTRUCTION
what is the highest podiums when the stage wins is 91 and the points is less than 140?
### INPUT
CREATE TABLE table_name_60 (podiums INTEGER, stage_wins VARCHAR, points VARCHAR)
### OUTPUT
SELECT MAX(podiums) FROM table_name_60 WHERE stage_wins = 91 AND points < 140 | {
"input": "CREATE TABLE table_name_60 (podiums INTEGER, stage_wins VARCHAR, points VARCHAR)",
"instruction": "what is the highest podiums when the stage wins is 91 and the points is less than 140?",
"output": "SELECT MAX(podiums) FROM table_name_60 WHERE stage_wins = 91 AND points < 140"
} |
### INSTRUCTION
who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster?
### INPUT
CREATE TABLE table_20174050_23 (reader VARCHAR, format VARCHAR, author VARCHAR)
### OUTPUT
SELECT reader FROM table_20174050_23 WHERE format = "Download/CD" AND author = "Lidster, Joseph Joseph Lidster" | {
"input": "CREATE TABLE table_20174050_23 (reader VARCHAR, format VARCHAR, author VARCHAR)",
"instruction": "who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster? ",
"output": "SELECT reader FROM table_20174050_23 WHERE format = \"Download/CD\" AND author = \"Lidster, Joseph Joseph Lidster\""
} |
### INSTRUCTION
Which station was opened in 2013, with no park & ride lot?
### INPUT
CREATE TABLE table_name_99 (station_name VARCHAR, opening_year VARCHAR, park_and_ride_lot VARCHAR)
### OUTPUT
SELECT station_name FROM table_name_99 WHERE opening_year = "2013" AND park_and_ride_lot = "no" | {
"input": "CREATE TABLE table_name_99 (station_name VARCHAR, opening_year VARCHAR, park_and_ride_lot VARCHAR)",
"instruction": "Which station was opened in 2013, with no park & ride lot?",
"output": "SELECT station_name FROM table_name_99 WHERE opening_year = \"2013\" AND park_and_ride_lot = \"no\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.