text
stringlengths 147
1.06k
| source
dict |
---|---|
### INSTRUCTION
Who is Jason Leffler's primary sponsor?
### INPUT
CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)
### OUTPUT
SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = "Jason Leffler" | {
"input": "CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)",
"instruction": "Who is Jason Leffler's primary sponsor?",
"output": "SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = \"Jason Leffler\""
} |
### INSTRUCTION
When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity?
### INPUT
CREATE TABLE table_11497980_1 (gcm__kg__technical_capacity VARCHAR, transmission_make_type_speed VARCHAR)
### OUTPUT
SELECT gcm__kg__technical_capacity FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS 5306-A Manual Synchromesh 6 Speed" | {
"input": "CREATE TABLE table_11497980_1 (gcm__kg__technical_capacity VARCHAR, transmission_make_type_speed VARCHAR)",
"instruction": "When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity?",
"output": "SELECT gcm__kg__technical_capacity FROM table_11497980_1 WHERE transmission_make_type_speed = \"Eaton FS 5306-A Manual Synchromesh 6 Speed\""
} |
### INSTRUCTION
How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?
### INPUT
CREATE TABLE table_105344_2 (flying_hours VARCHAR, aircraft_kilometers INTEGER)
### OUTPUT
SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.0 | {
"input": "CREATE TABLE table_105344_2 (flying_hours VARCHAR, aircraft_kilometers INTEGER)",
"instruction": "How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?",
"output": "SELECT flying_hours FROM table_105344_2 WHERE aircraft_kilometers > 64379058.0"
} |
### INSTRUCTION
What player had a transfer window of winter, and free as the transfer fee?
### INPUT
CREATE TABLE table_name_72 (name VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR)
### OUTPUT
SELECT name FROM table_name_72 WHERE transfer_window = "winter" AND transfer_fee = "free" | {
"input": "CREATE TABLE table_name_72 (name VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR)",
"instruction": "What player had a transfer window of winter, and free as the transfer fee?",
"output": "SELECT name FROM table_name_72 WHERE transfer_window = \"winter\" AND transfer_fee = \"free\""
} |
### INSTRUCTION
Which Points difference has Played of 32, and Points for of 840?
### INPUT
CREATE TABLE table_name_23 (points_difference VARCHAR, played VARCHAR, points_for VARCHAR)
### OUTPUT
SELECT points_difference FROM table_name_23 WHERE played = "32" AND points_for = "840" | {
"input": "CREATE TABLE table_name_23 (points_difference VARCHAR, played VARCHAR, points_for VARCHAR)",
"instruction": "Which Points difference has Played of 32, and Points for of 840?",
"output": "SELECT points_difference FROM table_name_23 WHERE played = \"32\" AND points_for = \"840\""
} |
### INSTRUCTION
What is the Venue with a Result of 3–0, and a Competition with 2006 fifa world cup qualifier, and with a Score of 3–0?
### INPUT
CREATE TABLE table_name_22 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
### OUTPUT
SELECT venue FROM table_name_22 WHERE result = "3–0" AND competition = "2006 fifa world cup qualifier" AND score = "3–0" | {
"input": "CREATE TABLE table_name_22 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)",
"instruction": "What is the Venue with a Result of 3–0, and a Competition with 2006 fifa world cup qualifier, and with a Score of 3–0?",
"output": "SELECT venue FROM table_name_22 WHERE result = \"3–0\" AND competition = \"2006 fifa world cup qualifier\" AND score = \"3–0\""
} |
### INSTRUCTION
What is the highest number of League Cup goals that were scored by Hartlepool?
### INPUT
CREATE TABLE table_name_6 (league_cup_goals INTEGER, club VARCHAR)
### OUTPUT
SELECT MAX(league_cup_goals) FROM table_name_6 WHERE club = "hartlepool" | {
"input": "CREATE TABLE table_name_6 (league_cup_goals INTEGER, club VARCHAR)",
"instruction": "What is the highest number of League Cup goals that were scored by Hartlepool?",
"output": "SELECT MAX(league_cup_goals) FROM table_name_6 WHERE club = \"hartlepool\""
} |
### INSTRUCTION
Where was the 2011-2012 soccer state tournament held?
### INPUT
CREATE TABLE table_2849652_2 (sport VARCHAR)
### OUTPUT
SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = "Soccer" | {
"input": "CREATE TABLE table_2849652_2 (sport VARCHAR)",
"instruction": "Where was the 2011-2012 soccer state tournament held?",
"output": "SELECT 2011 AS _2012_state_tournament_location FROM table_2849652_2 WHERE sport = \"Soccer\""
} |
### INSTRUCTION
How many episodes were written by Alexander Woo and directed by Scott Winant?
### INPUT
CREATE TABLE table_26493520_1 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR)
### OUTPUT
SELECT COUNT(title) FROM table_26493520_1 WHERE written_by = "Alexander Woo" AND directed_by = "Scott Winant" | {
"input": "CREATE TABLE table_26493520_1 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR)",
"instruction": "How many episodes were written by Alexander Woo and directed by Scott Winant?",
"output": "SELECT COUNT(title) FROM table_26493520_1 WHERE written_by = \"Alexander Woo\" AND directed_by = \"Scott Winant\""
} |
### INSTRUCTION
Which bridge is located in Nectar, in Blount County?
### INPUT
CREATE TABLE table_name_17 (name VARCHAR, county VARCHAR, location VARCHAR)
### OUTPUT
SELECT name FROM table_name_17 WHERE county = "blount" AND location = "nectar" | {
"input": "CREATE TABLE table_name_17 (name VARCHAR, county VARCHAR, location VARCHAR)",
"instruction": "Which bridge is located in Nectar, in Blount County?",
"output": "SELECT name FROM table_name_17 WHERE county = \"blount\" AND location = \"nectar\""
} |
### INSTRUCTION
Find the product names that are colored 'white' but do not have unit of measurement "Handful".
### INPUT
CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, color_code VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE ref_product_categories (product_category_code VARCHAR, unit_of_measure VARCHAR)
### OUTPUT
SELECT t1.product_name FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code JOIN ref_colors AS t3 ON t1.color_code = t3.color_code WHERE t3.color_description = "white" AND t2.unit_of_measure <> "Handful" | {
"input": "CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR, color_code VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE ref_product_categories (product_category_code VARCHAR, unit_of_measure VARCHAR)",
"instruction": "Find the product names that are colored 'white' but do not have unit of measurement \"Handful\".",
"output": "SELECT t1.product_name FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code JOIN ref_colors AS t3 ON t1.color_code = t3.color_code WHERE t3.color_description = \"white\" AND t2.unit_of_measure <> \"Handful\""
} |
### INSTRUCTION
What is the transcription for the English word March?
### INPUT
CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR)
### OUTPUT
SELECT transcription FROM table_name_11 WHERE english_name = "march" | {
"input": "CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR)",
"instruction": "What is the transcription for the English word March?",
"output": "SELECT transcription FROM table_name_11 WHERE english_name = \"march\""
} |
### INSTRUCTION
Name the high assists for chauncey billups , carmelo anthony (18)
### INPUT
CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR)
### OUTPUT
SELECT high_assists FROM table_17355408_4 WHERE high_points = "Chauncey Billups , Carmelo Anthony (18)" | {
"input": "CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR)",
"instruction": "Name the high assists for chauncey billups , carmelo anthony (18)",
"output": "SELECT high_assists FROM table_17355408_4 WHERE high_points = \"Chauncey Billups , Carmelo Anthony (18)\""
} |
### INSTRUCTION
What is every score at the location of Verizon Center and points of 68?
### INPUT
CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)
### OUTPUT
SELECT score FROM table_23486853_8 WHERE location = "Verizon Center" AND points = 68 | {
"input": "CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)",
"instruction": "What is every score at the location of Verizon Center and points of 68?",
"output": "SELECT score FROM table_23486853_8 WHERE location = \"Verizon Center\" AND points = 68"
} |
### INSTRUCTION
Find the number of different departments in each school whose number of different departments is less than 5.
### INPUT
CREATE TABLE department (school_code VARCHAR, dept_name VARCHAR)
### OUTPUT
SELECT COUNT(DISTINCT dept_name), school_code FROM department GROUP BY school_code HAVING COUNT(DISTINCT dept_name) < 5 | {
"input": "CREATE TABLE department (school_code VARCHAR, dept_name VARCHAR)",
"instruction": "Find the number of different departments in each school whose number of different departments is less than 5.",
"output": "SELECT COUNT(DISTINCT dept_name), school_code FROM department GROUP BY school_code HAVING COUNT(DISTINCT dept_name) < 5"
} |
### INSTRUCTION
Tell me the calls for frequency of 1290 khz
### INPUT
CREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR)
### OUTPUT
SELECT calls FROM table_name_88 WHERE frequency = "1290 khz" | {
"input": "CREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR)",
"instruction": "Tell me the calls for frequency of 1290 khz",
"output": "SELECT calls FROM table_name_88 WHERE frequency = \"1290 khz\""
} |
### INSTRUCTION
List the number of years where ritchie ocampo was the mutya ng pilipinas winner.
### INPUT
CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR)
### OUTPUT
SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Ritchie Ocampo" | {
"input": "CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR)",
"instruction": "List the number of years where ritchie ocampo was the mutya ng pilipinas winner.",
"output": "SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = \"Ritchie Ocampo\""
} |
### INSTRUCTION
What team was the opponent in the 2008–09 season, with a final score of 2–3 l?
### INPUT
CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)
### OUTPUT
SELECT opponent FROM table_name_43 WHERE season = "2008–09" AND final_score = "2–3 l" | {
"input": "CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)",
"instruction": "What team was the opponent in the 2008–09 season, with a final score of 2–3 l?",
"output": "SELECT opponent FROM table_name_43 WHERE season = \"2008–09\" AND final_score = \"2–3 l\""
} |
### INSTRUCTION
Who was the opponent on the 28 july 2013 final?
### INPUT
CREATE TABLE table_name_33 (opponent_in_the_final VARCHAR, date VARCHAR)
### OUTPUT
SELECT opponent_in_the_final FROM table_name_33 WHERE date = "28 july 2013" | {
"input": "CREATE TABLE table_name_33 (opponent_in_the_final VARCHAR, date VARCHAR)",
"instruction": "Who was the opponent on the 28 july 2013 final?",
"output": "SELECT opponent_in_the_final FROM table_name_33 WHERE date = \"28 july 2013\""
} |
### INSTRUCTION
Name the total number of material collected for justice league of america by george pérez, vol. 2
### INPUT
CREATE TABLE table_19534677_1 (material_collected VARCHAR, volume_title VARCHAR)
### OUTPUT
SELECT COUNT(material_collected) FROM table_19534677_1 WHERE volume_title = "Justice League of America by George Pérez, Vol. 2" | {
"input": "CREATE TABLE table_19534677_1 (material_collected VARCHAR, volume_title VARCHAR)",
"instruction": "Name the total number of material collected for justice league of america by george pérez, vol. 2",
"output": "SELECT COUNT(material_collected) FROM table_19534677_1 WHERE volume_title = \"Justice League of America by George Pérez, Vol. 2\""
} |
### INSTRUCTION
What team has 0 points and a contact tired/retired, and 71 laps?
### INPUT
CREATE TABLE table_name_80 (team VARCHAR, laps VARCHAR, points VARCHAR, time_retired VARCHAR)
### OUTPUT
SELECT team FROM table_name_80 WHERE points = 0 AND time_retired = "contact" AND laps = 71 | {
"input": "CREATE TABLE table_name_80 (team VARCHAR, laps VARCHAR, points VARCHAR, time_retired VARCHAR)",
"instruction": "What team has 0 points and a contact tired/retired, and 71 laps?",
"output": "SELECT team FROM table_name_80 WHERE points = 0 AND time_retired = \"contact\" AND laps = 71"
} |
### INSTRUCTION
What is the number of points of palamós cf, which has less than 21 wins and less than 40 goals?
### INPUT
CREATE TABLE table_name_60 (points VARCHAR, goals_for VARCHAR, wins VARCHAR, club VARCHAR)
### OUTPUT
SELECT COUNT(points) FROM table_name_60 WHERE wins < 21 AND club = "palamós cf" AND goals_for < 40 | {
"input": "CREATE TABLE table_name_60 (points VARCHAR, goals_for VARCHAR, wins VARCHAR, club VARCHAR)",
"instruction": "What is the number of points of palamós cf, which has less than 21 wins and less than 40 goals?",
"output": "SELECT COUNT(points) FROM table_name_60 WHERE wins < 21 AND club = \"palamós cf\" AND goals_for < 40"
} |
### INSTRUCTION
For delegate is gaines, tawanna p. tawanna gaines, please specify all the party.
### INPUT
CREATE TABLE table_27050336_7 (party VARCHAR, delegate VARCHAR)
### OUTPUT
SELECT party FROM table_27050336_7 WHERE delegate = "Gaines, Tawanna P. Tawanna Gaines" | {
"input": "CREATE TABLE table_27050336_7 (party VARCHAR, delegate VARCHAR)",
"instruction": "For delegate is gaines, tawanna p. tawanna gaines, please specify all the party.",
"output": "SELECT party FROM table_27050336_7 WHERE delegate = \"Gaines, Tawanna P. Tawanna Gaines\""
} |
### INSTRUCTION
Find the name of branches where have some members whose hometown is in Louisville, Kentucky and some in Hiram, Georgia.
### INPUT
CREATE TABLE member (member_id VARCHAR, Hometown VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, member_id VARCHAR)
### OUTPUT
SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id WHERE T3.Hometown = 'Louisville , Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id WHERE T3.Hometown = 'Hiram , Georgia' | {
"input": "CREATE TABLE member (member_id VARCHAR, Hometown VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, member_id VARCHAR)",
"instruction": "Find the name of branches where have some members whose hometown is in Louisville, Kentucky and some in Hiram, Georgia.",
"output": "SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id WHERE T3.Hometown = 'Louisville , Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id WHERE T3.Hometown = 'Hiram , Georgia'"
} |
### INSTRUCTION
Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification?
### INPUT
CREATE TABLE table_23157997_13 (winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)
### OUTPUT
SELECT winner FROM table_23157997_13 WHERE mountains_classification = "Tom Zirbel" AND points_classification = "Thomas Soladay" | {
"input": "CREATE TABLE table_23157997_13 (winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR)",
"instruction": "Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification?",
"output": "SELECT winner FROM table_23157997_13 WHERE mountains_classification = \"Tom Zirbel\" AND points_classification = \"Thomas Soladay\""
} |
### INSTRUCTION
Show the region name with at least two storms.
### INPUT
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR)
### OUTPUT
SELECT T1.region_name FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id HAVING COUNT(*) >= 2 | {
"input": "CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR)",
"instruction": "Show the region name with at least two storms.",
"output": "SELECT T1.region_name FROM region AS T1 JOIN affected_region AS T2 ON T1.region_id = T2.region_id GROUP BY T1.region_id HAVING COUNT(*) >= 2"
} |
### INSTRUCTION
Name the start of an event in Catagory 2 of the year 1947.
### INPUT
CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR)
### OUTPUT
SELECT start FROM table_name_40 WHERE category = "2" AND year = 1947 | {
"input": "CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR)",
"instruction": "Name the start of an event in Catagory 2 of the year 1947.",
"output": "SELECT start FROM table_name_40 WHERE category = \"2\" AND year = 1947"
} |
### INSTRUCTION
what are the notes for date (from) 12 august 1897?
### INPUT
CREATE TABLE table_12562214_1 (notes VARCHAR, date__from_ VARCHAR)
### OUTPUT
SELECT notes FROM table_12562214_1 WHERE date__from_ = "12 August 1897" | {
"input": "CREATE TABLE table_12562214_1 (notes VARCHAR, date__from_ VARCHAR)",
"instruction": "what are the notes for date (from) 12 august 1897?",
"output": "SELECT notes FROM table_12562214_1 WHERE date__from_ = \"12 August 1897\""
} |
### INSTRUCTION
What is Team, when Tries Against is 8?
### INPUT
CREATE TABLE table_name_40 (team VARCHAR, tries_against VARCHAR)
### OUTPUT
SELECT team FROM table_name_40 WHERE tries_against = "8" | {
"input": "CREATE TABLE table_name_40 (team VARCHAR, tries_against VARCHAR)",
"instruction": "What is Team, when Tries Against is 8?",
"output": "SELECT team FROM table_name_40 WHERE tries_against = \"8\""
} |
### INSTRUCTION
What were the lowest goals when the matches were smaller than 29?
### INPUT
CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)
### OUTPUT
SELECT MIN(goals) FROM table_name_40 WHERE matches < 29 | {
"input": "CREATE TABLE table_name_40 (goals INTEGER, matches INTEGER)",
"instruction": "What were the lowest goals when the matches were smaller than 29?",
"output": "SELECT MIN(goals) FROM table_name_40 WHERE matches < 29"
} |
### INSTRUCTION
What is the highest Drawn when the lost is 7 and the points are more than 4, and the against is less than 22?
### INPUT
CREATE TABLE table_name_12 (drawn INTEGER, against VARCHAR, lost VARCHAR, points VARCHAR)
### OUTPUT
SELECT MAX(drawn) FROM table_name_12 WHERE lost = 7 AND points > 4 AND against < 22 | {
"input": "CREATE TABLE table_name_12 (drawn INTEGER, against VARCHAR, lost VARCHAR, points VARCHAR)",
"instruction": "What is the highest Drawn when the lost is 7 and the points are more than 4, and the against is less than 22?",
"output": "SELECT MAX(drawn) FROM table_name_12 WHERE lost = 7 AND points > 4 AND against < 22"
} |
### INSTRUCTION
What date was the game at Williams-Brice stadium • Columbia, SC?
### INPUT
CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR)
### OUTPUT
SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • columbia, sc" | {
"input": "CREATE TABLE table_name_75 (date VARCHAR, site VARCHAR)",
"instruction": "What date was the game at Williams-Brice stadium • Columbia, SC?",
"output": "SELECT date FROM table_name_75 WHERE site = \"williams-brice stadium • columbia, sc\""
} |
### INSTRUCTION
Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0?
### INPUT
CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR)
### OUTPUT
SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0 | {
"input": "CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR)",
"instruction": "Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0?",
"output": "SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0"
} |
### INSTRUCTION
What is Date to [H], when Position [F] is "Defender", when Goals is less than 3, when Appearances is greater than 113, and when Date From [G] is "1997"?
### INPUT
CREATE TABLE table_name_38 (date_to_ VARCHAR, h_ VARCHAR, appearances VARCHAR, date_from_ VARCHAR, g_ VARCHAR, goals VARCHAR, position_ VARCHAR, f_ VARCHAR)
### OUTPUT
SELECT date_to_[h_] FROM table_name_38 WHERE position_[f_] = "defender" AND goals < 3 AND appearances > 113 AND date_from_[g_] = "1997" | {
"input": "CREATE TABLE table_name_38 (date_to_ VARCHAR, h_ VARCHAR, appearances VARCHAR, date_from_ VARCHAR, g_ VARCHAR, goals VARCHAR, position_ VARCHAR, f_ VARCHAR)",
"instruction": "What is Date to [H], when Position [F] is \"Defender\", when Goals is less than 3, when Appearances is greater than 113, and when Date From [G] is \"1997\"?",
"output": "SELECT date_to_[h_] FROM table_name_38 WHERE position_[f_] = \"defender\" AND goals < 3 AND appearances > 113 AND date_from_[g_] = \"1997\""
} |
### INSTRUCTION
Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?
### INPUT
CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)
### OUTPUT
SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = "Esteban Guerrieri" AND fastest_lap = "Josef Newgarden" AND rd = "8A" | {
"input": "CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)",
"instruction": "Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?",
"output": "SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = \"Esteban Guerrieri\" AND fastest_lap = \"Josef Newgarden\" AND rd = \"8A\""
} |
### INSTRUCTION
What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo?
### INPUT
CREATE TABLE table_name_13 (inf_stem VARCHAR, subj_pres VARCHAR, plur_pret VARCHAR)
### OUTPUT
SELECT inf_stem FROM table_name_13 WHERE subj_pres = "a" AND plur_pret = "uo" | {
"input": "CREATE TABLE table_name_13 (inf_stem VARCHAR, subj_pres VARCHAR, plur_pret VARCHAR)",
"instruction": "What is the infinitive stem that is associated with a subjunctive present of a and a plural preterite of uo?",
"output": "SELECT inf_stem FROM table_name_13 WHERE subj_pres = \"a\" AND plur_pret = \"uo\""
} |
### INSTRUCTION
What is the molecular target of bacterium?
### INPUT
CREATE TABLE table_name_10 (molecular_target VARCHAR, marine_organism_α VARCHAR)
### OUTPUT
SELECT molecular_target FROM table_name_10 WHERE marine_organism_α = "bacterium" | {
"input": "CREATE TABLE table_name_10 (molecular_target VARCHAR, marine_organism_α VARCHAR)",
"instruction": "What is the molecular target of bacterium?",
"output": "SELECT molecular_target FROM table_name_10 WHERE marine_organism_α = \"bacterium\""
} |
### INSTRUCTION
Name the number for fifth district for richard houskamp
### INPUT
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)
### OUTPUT
SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp" | {
"input": "CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)",
"instruction": "Name the number for fifth district for richard houskamp",
"output": "SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = \"Richard Houskamp\""
} |
### INSTRUCTION
Find the name of amenities Smith Hall dorm have. ordered the results by amenity names.
### INPUT
CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
### OUTPUT
SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T1.dorm_name = 'Smith Hall' ORDER BY T3.amenity_name | {
"input": "CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)",
"instruction": "Find the name of amenities Smith Hall dorm have. ordered the results by amenity names.",
"output": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T1.dorm_name = 'Smith Hall' ORDER BY T3.amenity_name"
} |
### INSTRUCTION
what is the pick when the school is jasper hs (jasper, texas)?
### INPUT
CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR)
### OUTPUT
SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)" | {
"input": "CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR)",
"instruction": "what is the pick when the school is jasper hs (jasper, texas)?",
"output": "SELECT pick FROM table_name_63 WHERE school = \"jasper hs (jasper, texas)\""
} |
### INSTRUCTION
What is the average Position, when Bike No is greater than 8, and when Points is less than 240?
### INPUT
CREATE TABLE table_name_16 (position INTEGER, bike_no VARCHAR, points VARCHAR)
### OUTPUT
SELECT AVG(position) FROM table_name_16 WHERE bike_no > 8 AND points < 240 | {
"input": "CREATE TABLE table_name_16 (position INTEGER, bike_no VARCHAR, points VARCHAR)",
"instruction": "What is the average Position, when Bike No is greater than 8, and when Points is less than 240?",
"output": "SELECT AVG(position) FROM table_name_16 WHERE bike_no > 8 AND points < 240"
} |
### INSTRUCTION
What is the 2011 population if the headquarters is Chittorgarh?
### INPUT
CREATE TABLE table_2168295_1 (population__2011_ VARCHAR, headquarters VARCHAR)
### OUTPUT
SELECT population__2011_ FROM table_2168295_1 WHERE headquarters = "Chittorgarh" | {
"input": "CREATE TABLE table_2168295_1 (population__2011_ VARCHAR, headquarters VARCHAR)",
"instruction": "What is the 2011 population if the headquarters is Chittorgarh?",
"output": "SELECT population__2011_ FROM table_2168295_1 WHERE headquarters = \"Chittorgarh\""
} |
### INSTRUCTION
What is the lowest number of draws of the NTFA Div 2 Lilydale?
### INPUT
CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR)
### OUTPUT
SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = "lilydale" | {
"input": "CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR)",
"instruction": "What is the lowest number of draws of the NTFA Div 2 Lilydale?",
"output": "SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = \"lilydale\""
} |
### INSTRUCTION
What was the titles of the episodes written by ken lazebnik?
### INPUT
CREATE TABLE table_11111116_7 (title VARCHAR, written_by VARCHAR)
### OUTPUT
SELECT title FROM table_11111116_7 WHERE written_by = "Ken LaZebnik" | {
"input": "CREATE TABLE table_11111116_7 (title VARCHAR, written_by VARCHAR)",
"instruction": "What was the titles of the episodes written by ken lazebnik?",
"output": "SELECT title FROM table_11111116_7 WHERE written_by = \"Ken LaZebnik\""
} |
### INSTRUCTION
Who was the opponent before 1994 with bobby dye as the BSU head coach?
### INPUT
CREATE TABLE table_name_86 (opponent VARCHAR, bsu_head_coach VARCHAR, year VARCHAR)
### OUTPUT
SELECT opponent FROM table_name_86 WHERE bsu_head_coach = "bobby dye" AND year < 1994 | {
"input": "CREATE TABLE table_name_86 (opponent VARCHAR, bsu_head_coach VARCHAR, year VARCHAR)",
"instruction": "Who was the opponent before 1994 with bobby dye as the BSU head coach?",
"output": "SELECT opponent FROM table_name_86 WHERE bsu_head_coach = \"bobby dye\" AND year < 1994"
} |
### INSTRUCTION
Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail.
### INPUT
CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR); CREATE TABLE Asset_Parts (asset_id VARCHAR); CREATE TABLE Fault_Log (asset_id VARCHAR)
### OUTPUT
SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Asset_Parts AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) = 2 INTERSECT SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Fault_Log AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) < 2 | {
"input": "CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR); CREATE TABLE Asset_Parts (asset_id VARCHAR); CREATE TABLE Fault_Log (asset_id VARCHAR)",
"instruction": "Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail.",
"output": "SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Asset_Parts AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) = 2 INTERSECT SELECT T1.asset_id, T1.asset_details FROM Assets AS T1 JOIN Fault_Log AS T2 ON T1.asset_id = T2.asset_id GROUP BY T1.asset_id HAVING COUNT(*) < 2"
} |
### INSTRUCTION
What was the game result on November 16, 1969?
### INPUT
CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)
### OUTPUT
SELECT result FROM table_name_83 WHERE date = "november 16, 1969" | {
"input": "CREATE TABLE table_name_83 (result VARCHAR, date VARCHAR)",
"instruction": "What was the game result on November 16, 1969?",
"output": "SELECT result FROM table_name_83 WHERE date = \"november 16, 1969\""
} |
### INSTRUCTION
What is Record, when Method is "Technical Submission (Rear Naked Choke)"?
### INPUT
CREATE TABLE table_name_4 (record VARCHAR, method VARCHAR)
### OUTPUT
SELECT record FROM table_name_4 WHERE method = "technical submission (rear naked choke)" | {
"input": "CREATE TABLE table_name_4 (record VARCHAR, method VARCHAR)",
"instruction": "What is Record, when Method is \"Technical Submission (Rear Naked Choke)\"?",
"output": "SELECT record FROM table_name_4 WHERE method = \"technical submission (rear naked choke)\""
} |
### INSTRUCTION
List name of all amenities which Anonymous Donor Hall has, and sort the results in alphabetic order.
### INPUT
CREATE TABLE has_amenity (amenid VARCHAR, dormid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
### OUTPUT
SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T2.amenid = T1.amenid JOIN dorm AS T3 ON T2.dormid = T3.dormid WHERE T3.dorm_name = 'Anonymous Donor Hall' ORDER BY T1.amenity_name | {
"input": "CREATE TABLE has_amenity (amenid VARCHAR, dormid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)",
"instruction": "List name of all amenities which Anonymous Donor Hall has, and sort the results in alphabetic order.",
"output": "SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T2.amenid = T1.amenid JOIN dorm AS T3 ON T2.dormid = T3.dormid WHERE T3.dorm_name = 'Anonymous Donor Hall' ORDER BY T1.amenity_name"
} |
### INSTRUCTION
Which Country has a Place of t9, and a Score of 71-71-72=214, and a Player of ernie els?
### INPUT
CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)
### OUTPUT
SELECT country FROM table_name_95 WHERE place = "t9" AND score = 71 - 71 - 72 = 214 AND player = "ernie els" | {
"input": "CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)",
"instruction": "Which Country has a Place of t9, and a Score of 71-71-72=214, and a Player of ernie els?",
"output": "SELECT country FROM table_name_95 WHERE place = \"t9\" AND score = 71 - 71 - 72 = 214 AND player = \"ernie els\""
} |
### INSTRUCTION
Name the segment b for 167
### INPUT
CREATE TABLE table_15187735_13 (segment_b VARCHAR, episode VARCHAR)
### OUTPUT
SELECT segment_b FROM table_15187735_13 WHERE episode = 167 | {
"input": "CREATE TABLE table_15187735_13 (segment_b VARCHAR, episode VARCHAR)",
"instruction": "Name the segment b for 167",
"output": "SELECT segment_b FROM table_15187735_13 WHERE episode = 167"
} |
### INSTRUCTION
which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis?
### INPUT
CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR)
### OUTPUT
SELECT order FROM table_name_26 WHERE family = "vespertilionidae" AND name = "northern long-eared myotis" | {
"input": "CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR)",
"instruction": "which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis?",
"output": "SELECT order FROM table_name_26 WHERE family = \"vespertilionidae\" AND name = \"northern long-eared myotis\""
} |
### INSTRUCTION
Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson?
### INPUT
CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR)
### OUTPUT
SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson" | {
"input": "CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR)",
"instruction": "Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson?",
"output": "SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > \"0\" AND ncaa_titles = \"0\" AND coach = \"lou watson\""
} |
### INSTRUCTION
What is the template type code of the template used by document with the name "Data base"?
### INPUT
CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR); CREATE TABLE Documents (template_id VARCHAR, document_name VARCHAR)
### OUTPUT
SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = "Data base" | {
"input": "CREATE TABLE Templates (template_type_code VARCHAR, template_id VARCHAR); CREATE TABLE Documents (template_id VARCHAR, document_name VARCHAR)",
"instruction": "What is the template type code of the template used by document with the name \"Data base\"?",
"output": "SELECT T1.template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id WHERE T2.document_name = \"Data base\""
} |
### INSTRUCTION
WHo is the Player got a Pick # smaller than 61, and a College of texas?
### INPUT
CREATE TABLE table_name_17 (player VARCHAR, pick__number VARCHAR, college VARCHAR)
### OUTPUT
SELECT player FROM table_name_17 WHERE pick__number < 61 AND college = "texas" | {
"input": "CREATE TABLE table_name_17 (player VARCHAR, pick__number VARCHAR, college VARCHAR)",
"instruction": "WHo is the Player got a Pick # smaller than 61, and a College of texas?",
"output": "SELECT player FROM table_name_17 WHERE pick__number < 61 AND college = \"texas\""
} |
### INSTRUCTION
How many laps were driven in 2:54:23.8?
### INPUT
CREATE TABLE table_name_45 (laps INTEGER, time_retired VARCHAR)
### OUTPUT
SELECT SUM(laps) FROM table_name_45 WHERE time_retired = "2:54:23.8" | {
"input": "CREATE TABLE table_name_45 (laps INTEGER, time_retired VARCHAR)",
"instruction": "How many laps were driven in 2:54:23.8?",
"output": "SELECT SUM(laps) FROM table_name_45 WHERE time_retired = \"2:54:23.8\""
} |
### INSTRUCTION
What is Left Office, when Inaugurate is "15 March 1930"?
### INPUT
CREATE TABLE table_name_1 (left_office VARCHAR, inaugurated VARCHAR)
### OUTPUT
SELECT left_office FROM table_name_1 WHERE inaugurated = "15 march 1930" | {
"input": "CREATE TABLE table_name_1 (left_office VARCHAR, inaugurated VARCHAR)",
"instruction": "What is Left Office, when Inaugurate is \"15 March 1930\"?",
"output": "SELECT left_office FROM table_name_1 WHERE inaugurated = \"15 march 1930\""
} |
### INSTRUCTION
How many people attended the game where Fitzroy was the away team?
### INPUT
CREATE TABLE table_name_44 (crowd VARCHAR, away_team VARCHAR)
### OUTPUT
SELECT COUNT(crowd) FROM table_name_44 WHERE away_team = "fitzroy" | {
"input": "CREATE TABLE table_name_44 (crowd VARCHAR, away_team VARCHAR)",
"instruction": "How many people attended the game where Fitzroy was the away team?",
"output": "SELECT COUNT(crowd) FROM table_name_44 WHERE away_team = \"fitzroy\""
} |
### INSTRUCTION
Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992?
### INPUT
CREATE TABLE table_name_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)
### OUTPUT
SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election > 1992 | {
"input": "CREATE TABLE table_name_62 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)",
"instruction": "Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992?",
"output": "SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = \"18%\" AND share_of_seats = \"3%\" AND general_election > 1992"
} |
### INSTRUCTION
When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there?
### INPUT
CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR)
### OUTPUT
SELECT COUNT(age) FROM table_19061741_3 WHERE edition = "Clash 2010" AND home_or_representative_town_or_province = "Davao City" | {
"input": "CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR)",
"instruction": "When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there?",
"output": "SELECT COUNT(age) FROM table_19061741_3 WHERE edition = \"Clash 2010\" AND home_or_representative_town_or_province = \"Davao City\""
} |
### INSTRUCTION
What team was 2 when Tatung was team 1 at National Pei Men Senior High School?
### INPUT
CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR)
### OUTPUT
SELECT team_2 FROM table_name_32 WHERE team_1 = "tatung" AND ground = "national pei men senior high school" | {
"input": "CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR)",
"instruction": "What team was 2 when Tatung was team 1 at National Pei Men Senior High School?",
"output": "SELECT team_2 FROM table_name_32 WHERE team_1 = \"tatung\" AND ground = \"national pei men senior high school\""
} |
### INSTRUCTION
What does American have if Australia has əʉ?
### INPUT
CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR)
### OUTPUT
SELECT american FROM table_name_65 WHERE australian = "əʉ" | {
"input": "CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR)",
"instruction": "What does American have if Australia has əʉ?",
"output": "SELECT american FROM table_name_65 WHERE australian = \"əʉ\""
} |
### INSTRUCTION
where value world rank is 12, what is the quantity world rank?
### INPUT
CREATE TABLE table_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)
### OUTPUT
SELECT quantity_world_rank FROM table_21109892_1 WHERE value_world_rank = "12" | {
"input": "CREATE TABLE table_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)",
"instruction": "where value world rank is 12, what is the quantity world rank?",
"output": "SELECT quantity_world_rank FROM table_21109892_1 WHERE value_world_rank = \"12\""
} |
### INSTRUCTION
On what surface was the game played with a score of 6–4, 6–4?
### INPUT
CREATE TABLE table_177273_2 (surface VARCHAR, score VARCHAR)
### OUTPUT
SELECT surface FROM table_177273_2 WHERE score = "6–4, 6–4" | {
"input": "CREATE TABLE table_177273_2 (surface VARCHAR, score VARCHAR)",
"instruction": "On what surface was the game played with a score of 6–4, 6–4?",
"output": "SELECT surface FROM table_177273_2 WHERE score = \"6–4, 6–4\""
} |
### INSTRUCTION
What is the nationality of the Washington Capitals?
### INPUT
CREATE TABLE table_name_68 (nationality VARCHAR, nhl_team VARCHAR)
### OUTPUT
SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals" | {
"input": "CREATE TABLE table_name_68 (nationality VARCHAR, nhl_team VARCHAR)",
"instruction": "What is the nationality of the Washington Capitals?",
"output": "SELECT nationality FROM table_name_68 WHERE nhl_team = \"washington capitals\""
} |
### INSTRUCTION
What is the home team score for the team that has a home field of the Telstra Dome?
### INPUT
CREATE TABLE table_name_98 (home_team VARCHAR, ground VARCHAR)
### OUTPUT
SELECT home_team AS score FROM table_name_98 WHERE ground = "telstra dome" | {
"input": "CREATE TABLE table_name_98 (home_team VARCHAR, ground VARCHAR)",
"instruction": "What is the home team score for the team that has a home field of the Telstra Dome?",
"output": "SELECT home_team AS score FROM table_name_98 WHERE ground = \"telstra dome\""
} |
### INSTRUCTION
What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?
### INPUT
CREATE TABLE table_171748_3 (change_over_same_quarter_the_previous_year VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ VARCHAR)
### OUTPUT
SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = "89.6%" | {
"input": "CREATE TABLE table_171748_3 (change_over_same_quarter_the_previous_year VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ VARCHAR)",
"instruction": "What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?",
"output": "SELECT change_over_same_quarter_the_previous_year FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time__over_three_months_ = \"89.6%\""
} |
### INSTRUCTION
Who won when Jamie Green had the best lap?
### INPUT
CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
### OUTPUT
SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = "Jamie Green" | {
"input": "CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR)",
"instruction": "Who won when Jamie Green had the best lap?",
"output": "SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = \"Jamie Green\""
} |
### INSTRUCTION
display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara.
### INPUT
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)
### OUTPUT
SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara") AND first_name <> "Clara" | {
"input": "CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)",
"instruction": "display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara.",
"output": "SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = \"Clara\") AND first_name <> \"Clara\""
} |
### INSTRUCTION
What school did the linebacker who was drafted after round 8 come from?
### INPUT
CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)
### OUTPUT
SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker" | {
"input": "CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR)",
"instruction": "What school did the linebacker who was drafted after round 8 come from?",
"output": "SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = \"linebacker\""
} |
### INSTRUCTION
What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?
### INPUT
CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)
### OUTPUT
SELECT MAX(election) FROM table_name_97 WHERE third_member = "sir robert price, bt" AND first_party = "conservative" | {
"input": "CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)",
"instruction": "What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?",
"output": "SELECT MAX(election) FROM table_name_97 WHERE third_member = \"sir robert price, bt\" AND first_party = \"conservative\""
} |
### INSTRUCTION
Find the names of the artists who have produced English songs but have never received rating higher than 8.
### INPUT
CREATE TABLE song (artist_name VARCHAR, languages VARCHAR, rating INTEGER)
### OUTPUT
SELECT DISTINCT artist_name FROM song WHERE languages = "english" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 8 | {
"input": "CREATE TABLE song (artist_name VARCHAR, languages VARCHAR, rating INTEGER)",
"instruction": "Find the names of the artists who have produced English songs but have never received rating higher than 8.",
"output": "SELECT DISTINCT artist_name FROM song WHERE languages = \"english\" EXCEPT SELECT DISTINCT artist_name FROM song WHERE rating > 8"
} |
### INSTRUCTION
What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work?
### INPUT
CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR)
### OUTPUT
SELECT MIN(year) FROM table_name_90 WHERE award = "drama desk award" AND nominated_work = "the mineola twins" | {
"input": "CREATE TABLE table_name_90 (year INTEGER, award VARCHAR, nominated_work VARCHAR)",
"instruction": "What is the earliest year with a Drama Desk award when the Mineola Twins was a nominated work?",
"output": "SELECT MIN(year) FROM table_name_90 WHERE award = \"drama desk award\" AND nominated_work = \"the mineola twins\""
} |
### INSTRUCTION
How many models does each car maker produce? List maker full name, id and the number.
### INPUT
CREATE TABLE MODEL_LIST (Maker VARCHAR); CREATE TABLE CAR_MAKERS (FullName VARCHAR, Id VARCHAR)
### OUTPUT
SELECT T1.FullName, T1.Id, COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id | {
"input": "CREATE TABLE MODEL_LIST (Maker VARCHAR); CREATE TABLE CAR_MAKERS (FullName VARCHAR, Id VARCHAR)",
"instruction": "How many models does each car maker produce? List maker full name, id and the number.",
"output": "SELECT T1.FullName, T1.Id, COUNT(*) FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id"
} |
### INSTRUCTION
What year had the category of best international newcomer?
### INPUT
CREATE TABLE table_name_53 (year VARCHAR, category VARCHAR)
### OUTPUT
SELECT COUNT(year) FROM table_name_53 WHERE category = "best international newcomer" | {
"input": "CREATE TABLE table_name_53 (year VARCHAR, category VARCHAR)",
"instruction": "What year had the category of best international newcomer?",
"output": "SELECT COUNT(year) FROM table_name_53 WHERE category = \"best international newcomer\""
} |
### INSTRUCTION
Which organisation type hires most research staff?
### INPUT
CREATE TABLE Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR)
### OUTPUT
SELECT T1.organisation_type FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_type ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE Research_Staff (employer_organisation_id VARCHAR); CREATE TABLE Organisations (organisation_type VARCHAR, organisation_id VARCHAR)",
"instruction": "Which organisation type hires most research staff?",
"output": "SELECT T1.organisation_type FROM Organisations AS T1 JOIN Research_Staff AS T2 ON T1.organisation_id = T2.employer_organisation_id GROUP BY T1.organisation_type ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
What is the average election result for the province of Grosseto from 1766 and prior?
### INPUT
CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR)
### OUTPUT
SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766 | {
"input": "CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR)",
"instruction": "What is the average election result for the province of Grosseto from 1766 and prior?",
"output": "SELECT AVG(election) FROM table_name_50 WHERE province = \"grosseto\" AND established < 1766"
} |
### INSTRUCTION
What is the phone number of the customer who has filed the most recent complaint?
### INPUT
CREATE TABLE customers (phone_number VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR, date_complaint_raised VARCHAR)
### OUTPUT
SELECT t1.phone_number FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id ORDER BY t2.date_complaint_raised DESC LIMIT 1 | {
"input": "CREATE TABLE customers (phone_number VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR, date_complaint_raised VARCHAR)",
"instruction": "What is the phone number of the customer who has filed the most recent complaint?",
"output": "SELECT t1.phone_number FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id ORDER BY t2.date_complaint_raised DESC LIMIT 1"
} |
### INSTRUCTION
Find the name of the employee who got the highest one time bonus.
### INPUT
CREATE TABLE evaluation (Employee_ID VARCHAR, bonus VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR)
### OUTPUT
SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1 | {
"input": "CREATE TABLE evaluation (Employee_ID VARCHAR, bonus VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR)",
"instruction": "Find the name of the employee who got the highest one time bonus.",
"output": "SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID ORDER BY t2.bonus DESC LIMIT 1"
} |
### INSTRUCTION
When did Episode 29 (7) originally air?
### INPUT
CREATE TABLE table_name_65 (original_airdate VARCHAR, episode__number VARCHAR)
### OUTPUT
SELECT original_airdate FROM table_name_65 WHERE episode__number = "29 (7)" | {
"input": "CREATE TABLE table_name_65 (original_airdate VARCHAR, episode__number VARCHAR)",
"instruction": "When did Episode 29 (7) originally air?",
"output": "SELECT original_airdate FROM table_name_65 WHERE episode__number = \"29 (7)\""
} |
### INSTRUCTION
what is the technology when the gel pouring is no and the analysis time is 8 days?
### INPUT
CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR)
### OUTPUT
SELECT technology FROM table_name_88 WHERE gel_pouring = "no" AND analysis_time = "8 days" | {
"input": "CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR)",
"instruction": "what is the technology when the gel pouring is no and the analysis time is 8 days?",
"output": "SELECT technology FROM table_name_88 WHERE gel_pouring = \"no\" AND analysis_time = \"8 days\""
} |
### INSTRUCTION
What is 2009, when 2000 is 1R, and when 1998 is 3R?
### INPUT
CREATE TABLE table_name_1 (Id VARCHAR)
### OUTPUT
SELECT 2009 FROM table_name_1 WHERE 2000 = "1r" AND 1998 = "3r" | {
"input": "CREATE TABLE table_name_1 (Id VARCHAR)",
"instruction": "What is 2009, when 2000 is 1R, and when 1998 is 3R?",
"output": "SELECT 2009 FROM table_name_1 WHERE 2000 = \"1r\" AND 1998 = \"3r\""
} |
### INSTRUCTION
What is Date, when Week is 11?
### INPUT
CREATE TABLE table_name_45 (date VARCHAR, week VARCHAR)
### OUTPUT
SELECT date FROM table_name_45 WHERE week = 11 | {
"input": "CREATE TABLE table_name_45 (date VARCHAR, week VARCHAR)",
"instruction": "What is Date, when Week is 11?",
"output": "SELECT date FROM table_name_45 WHERE week = 11"
} |
### INSTRUCTION
What are the death and injury situations caused by the ship with tonnage 't'?
### INPUT
CREATE TABLE ship (Id VARCHAR); CREATE TABLE death (killed VARCHAR, injured VARCHAR, caused_by_ship_id VARCHAR)
### OUTPUT
SELECT T1.killed, T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't' | {
"input": "CREATE TABLE ship (Id VARCHAR); CREATE TABLE death (killed VARCHAR, injured VARCHAR, caused_by_ship_id VARCHAR)",
"instruction": "What are the death and injury situations caused by the ship with tonnage 't'?",
"output": "SELECT T1.killed, T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id WHERE T2.tonnage = 't'"
} |
### INSTRUCTION
What is the status of platelet counts for conditions where bleeding time is prolonged and partial thromboplastin time is unaffected?
### INPUT
CREATE TABLE table_20592988_1 (platelet_count VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
### OUTPUT
SELECT platelet_count FROM table_20592988_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Unaffected" | {
"input": "CREATE TABLE table_20592988_1 (platelet_count VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)",
"instruction": "What is the status of platelet counts for conditions where bleeding time is prolonged and partial thromboplastin time is unaffected? ",
"output": "SELECT platelet_count FROM table_20592988_1 WHERE bleeding_time = \"Prolonged\" AND partial_thromboplastin_time = \"Unaffected\""
} |
### INSTRUCTION
What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll?
### INPUT
CREATE TABLE table_2468961_3 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR)
### OUTPUT
SELECT title FROM table_2468961_3 WHERE written_by = "Bob Rosenfarb" AND directed_by = "Richard Correll" | {
"input": "CREATE TABLE table_2468961_3 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR)",
"instruction": "What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll?",
"output": "SELECT title FROM table_2468961_3 WHERE written_by = \"Bob Rosenfarb\" AND directed_by = \"Richard Correll\""
} |
### INSTRUCTION
what is the nation when the world rank is 2 and the birth date is 1976-12-20?
### INPUT
CREATE TABLE table_name_35 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR)
### OUTPUT
SELECT nation FROM table_name_35 WHERE world_rank = "2" AND birth_date = "1976-12-20" | {
"input": "CREATE TABLE table_name_35 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR)",
"instruction": "what is the nation when the world rank is 2 and the birth date is 1976-12-20?",
"output": "SELECT nation FROM table_name_35 WHERE world_rank = \"2\" AND birth_date = \"1976-12-20\""
} |
### INSTRUCTION
When first woman eva is the comment what is the end -utc?
### INPUT
CREATE TABLE table_245801_2 (end___utc VARCHAR, comments VARCHAR)
### OUTPUT
SELECT end___utc FROM table_245801_2 WHERE comments = "First woman EVA" | {
"input": "CREATE TABLE table_245801_2 (end___utc VARCHAR, comments VARCHAR)",
"instruction": "When first woman eva is the comment what is the end -utc?",
"output": "SELECT end___utc FROM table_245801_2 WHERE comments = \"First woman EVA\""
} |
### INSTRUCTION
What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?
### INPUT
CREATE TABLE table_name_10 (pick VARCHAR, year VARCHAR, overall VARCHAR, position VARCHAR, round VARCHAR)
### OUTPUT
SELECT pick FROM table_name_10 WHERE position = "dt" AND round > 1 AND overall < 155 AND year = "1952" | {
"input": "CREATE TABLE table_name_10 (pick VARCHAR, year VARCHAR, overall VARCHAR, position VARCHAR, round VARCHAR)",
"instruction": "What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?",
"output": "SELECT pick FROM table_name_10 WHERE position = \"dt\" AND round > 1 AND overall < 155 AND year = \"1952\""
} |
### INSTRUCTION
What is the opponent with the outcome of runner-up with a date of 19 september 1994?
### INPUT
CREATE TABLE table_name_25 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)
### OUTPUT
SELECT opponent FROM table_name_25 WHERE outcome = "runner-up" AND date = "19 september 1994" | {
"input": "CREATE TABLE table_name_25 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)",
"instruction": "What is the opponent with the outcome of runner-up with a date of 19 september 1994?",
"output": "SELECT opponent FROM table_name_25 WHERE outcome = \"runner-up\" AND date = \"19 september 1994\""
} |
### INSTRUCTION
What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660?
### INPUT
CREATE TABLE table_name_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR)
### OUTPUT
SELECT MAX(grid) FROM table_name_22 WHERE manufacturer = "aprilia" AND time_retired = "+1.660" | {
"input": "CREATE TABLE table_name_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR)",
"instruction": "What was the highest grid value for riders with manufacturer of Aprilia and time of +1.660?",
"output": "SELECT MAX(grid) FROM table_name_22 WHERE manufacturer = \"aprilia\" AND time_retired = \"+1.660\""
} |
### INSTRUCTION
In how many episodes were Vanessa Feltz and Lee Mack the team for Sean?
### INPUT
CREATE TABLE table_23292220_6 (episode VARCHAR, seans_team VARCHAR)
### OUTPUT
SELECT COUNT(episode) FROM table_23292220_6 WHERE seans_team = "Vanessa Feltz and Lee Mack" | {
"input": "CREATE TABLE table_23292220_6 (episode VARCHAR, seans_team VARCHAR)",
"instruction": "In how many episodes were Vanessa Feltz and Lee Mack the team for Sean? ",
"output": "SELECT COUNT(episode) FROM table_23292220_6 WHERE seans_team = \"Vanessa Feltz and Lee Mack\""
} |
### INSTRUCTION
What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?
### INPUT
CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
### OUTPUT
SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl" | {
"input": "CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)",
"instruction": "What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?",
"output": "SELECT score_in_the_final FROM table_name_44 WHERE surface = \"hard\" AND championship = \"washington, d.c. , u.s.\" AND opponent_in_the_final = \"ivan lendl\""
} |
### INSTRUCTION
What are the quarterfinalists when the runner up is andrew pattison?
### INPUT
CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)
### OUTPUT
SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison" | {
"input": "CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)",
"instruction": "What are the quarterfinalists when the runner up is andrew pattison?",
"output": "SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = \"Andrew Pattison\""
} |
### INSTRUCTION
Find the first names of the faculty members who are playing Canoeing or Kayaking.
### INPUT
CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)
### OUTPUT
SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking' | {
"input": "CREATE TABLE activity (activity_name VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR); CREATE TABLE Faculty (lname VARCHAR, facID VARCHAR)",
"instruction": "Find the first names of the faculty members who are playing Canoeing or Kayaking.",
"output": "SELECT DISTINCT T1.lname FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking'"
} |
### INSTRUCTION
who is the player for the position defence and the college/junior/club team is ottawa 67's (ohl)?
### INPUT
CREATE TABLE table_2679061_1 (player VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)
### OUTPUT
SELECT player FROM table_2679061_1 WHERE position = "Defence" AND college_junior_club_team = "Ottawa 67's (OHL)" | {
"input": "CREATE TABLE table_2679061_1 (player VARCHAR, position VARCHAR, college_junior_club_team VARCHAR)",
"instruction": "who is the player for the position defence and the college/junior/club team is ottawa 67's (ohl)?",
"output": "SELECT player FROM table_2679061_1 WHERE position = \"Defence\" AND college_junior_club_team = \"Ottawa 67's (OHL)\""
} |
### INSTRUCTION
Which Draws has a Wins smaller than 17, and an Against smaller than 1158?
### INPUT
CREATE TABLE table_name_64 (draws VARCHAR, wins VARCHAR, against VARCHAR)
### OUTPUT
SELECT COUNT(draws) FROM table_name_64 WHERE wins < 17 AND against < 1158 | {
"input": "CREATE TABLE table_name_64 (draws VARCHAR, wins VARCHAR, against VARCHAR)",
"instruction": "Which Draws has a Wins smaller than 17, and an Against smaller than 1158?",
"output": "SELECT COUNT(draws) FROM table_name_64 WHERE wins < 17 AND against < 1158"
} |
### INSTRUCTION
what is the most weeks on chart when the peak position is less than 5 and from Sweden?
### INPUT
CREATE TABLE table_name_49 (weeks_on_chart INTEGER, peak_position VARCHAR, country VARCHAR)
### OUTPUT
SELECT MAX(weeks_on_chart) FROM table_name_49 WHERE peak_position < 5 AND country = "sweden" | {
"input": "CREATE TABLE table_name_49 (weeks_on_chart INTEGER, peak_position VARCHAR, country VARCHAR)",
"instruction": "what is the most weeks on chart when the peak position is less than 5 and from Sweden?",
"output": "SELECT MAX(weeks_on_chart) FROM table_name_49 WHERE peak_position < 5 AND country = \"sweden\""
} |
### INSTRUCTION
What is the last name of the musician that have produced the most number of songs?
### INPUT
CREATE TABLE Songs (SongId VARCHAR); CREATE TABLE Band (lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR)
### OUTPUT
SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY lastname ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE Songs (SongId VARCHAR); CREATE TABLE Band (lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR)",
"instruction": "What is the last name of the musician that have produced the most number of songs?",
"output": "SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY lastname ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck
### INPUT
CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR)
### OUTPUT
SELECT presentation_of_credentials FROM table_name_45 WHERE appointed_by = "grover cleveland" AND representative = "charles w. buck" | {
"input": "CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR)",
"instruction": "Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck",
"output": "SELECT presentation_of_credentials FROM table_name_45 WHERE appointed_by = \"grover cleveland\" AND representative = \"charles w. buck\""
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.