text
stringlengths 147
1.06k
| source
dict |
---|---|
### INSTRUCTION
Find all the distinct id and nationality of drivers who have had laptime more than 100000 milliseconds?
### INPUT
CREATE TABLE laptimes (driverid VARCHAR, milliseconds INTEGER); CREATE TABLE drivers (driverid VARCHAR, nationality VARCHAR)
### OUTPUT
SELECT DISTINCT T1.driverid, T1.nationality FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds > 100000 | {
"input": "CREATE TABLE laptimes (driverid VARCHAR, milliseconds INTEGER); CREATE TABLE drivers (driverid VARCHAR, nationality VARCHAR)",
"instruction": "Find all the distinct id and nationality of drivers who have had laptime more than 100000 milliseconds?",
"output": "SELECT DISTINCT T1.driverid, T1.nationality FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds > 100000"
} |
### INSTRUCTION
Name the No. 8 which has a No. 4 of benjamin, and a No. 3 of liam?
### INPUT
CREATE TABLE table_name_23 (no_8 VARCHAR, no_4 VARCHAR, no_3 VARCHAR)
### OUTPUT
SELECT no_8 FROM table_name_23 WHERE no_4 = "benjamin" AND no_3 = "liam" | {
"input": "CREATE TABLE table_name_23 (no_8 VARCHAR, no_4 VARCHAR, no_3 VARCHAR)",
"instruction": "Name the No. 8 which has a No. 4 of benjamin, and a No. 3 of liam?",
"output": "SELECT no_8 FROM table_name_23 WHERE no_4 = \"benjamin\" AND no_3 = \"liam\""
} |
### INSTRUCTION
Name the rank on channel for january 21, 2011
### INPUT
CREATE TABLE table_26493520_3 (rank_on_channel VARCHAR, original_air_date VARCHAR)
### OUTPUT
SELECT rank_on_channel FROM table_26493520_3 WHERE original_air_date = "January 21, 2011" | {
"input": "CREATE TABLE table_26493520_3 (rank_on_channel VARCHAR, original_air_date VARCHAR)",
"instruction": "Name the rank on channel for january 21, 2011",
"output": "SELECT rank_on_channel FROM table_26493520_3 WHERE original_air_date = \"January 21, 2011\""
} |
### INSTRUCTION
Show the names of donors who donated to both school "Glenn" and "Triton."
### INPUT
CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)
### OUTPUT
SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton' | {
"input": "CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)",
"instruction": "Show the names of donors who donated to both school \"Glenn\" and \"Triton.\"",
"output": "SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton'"
} |
### INSTRUCTION
How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)?
### INPUT
CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)
### OUTPUT
SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = "2 x -inch (mm), 16 x -inch (mm)" | {
"input": "CREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)",
"instruction": "How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)?",
"output": "SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = \"2 x -inch (mm), 16 x -inch (mm)\""
} |
### INSTRUCTION
Find the titles of papers whose first author is affiliated with an institution in the country "Japan" and has last name "Ohori"?
### INPUT
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE inst (instid VARCHAR, country VARCHAR)
### OUTPUT
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "Japan" AND t2.authorder = 1 AND t1.lname = "Ohori" | {
"input": "CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE inst (instid VARCHAR, country VARCHAR)",
"instruction": "Find the titles of papers whose first author is affiliated with an institution in the country \"Japan\" and has last name \"Ohori\"?",
"output": "SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = \"Japan\" AND t2.authorder = 1 AND t1.lname = \"Ohori\""
} |
### INSTRUCTION
What is the finishing time with a 2/1q finish on the Meadowlands track?
### INPUT
CREATE TABLE table_name_10 (fin_time VARCHAR, finish VARCHAR, track VARCHAR)
### OUTPUT
SELECT fin_time FROM table_name_10 WHERE finish = "2/1q" AND track = "the meadowlands" | {
"input": "CREATE TABLE table_name_10 (fin_time VARCHAR, finish VARCHAR, track VARCHAR)",
"instruction": "What is the finishing time with a 2/1q finish on the Meadowlands track?",
"output": "SELECT fin_time FROM table_name_10 WHERE finish = \"2/1q\" AND track = \"the meadowlands\""
} |
### INSTRUCTION
What capital has an S.Number under 7, and a Name of janapada of Punia?
### INPUT
CREATE TABLE table_name_89 (capital VARCHAR, sno VARCHAR, name_of_janapada VARCHAR)
### OUTPUT
SELECT capital FROM table_name_89 WHERE sno < 7 AND name_of_janapada = "punia" | {
"input": "CREATE TABLE table_name_89 (capital VARCHAR, sno VARCHAR, name_of_janapada VARCHAR)",
"instruction": "What capital has an S.Number under 7, and a Name of janapada of Punia?",
"output": "SELECT capital FROM table_name_89 WHERE sno < 7 AND name_of_janapada = \"punia\""
} |
### INSTRUCTION
What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix?
### INPUT
CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR)
### OUTPUT
SELECT constructor FROM table_name_46 WHERE winning_driver = "jack brabham" AND race = "monaco grand prix" | {
"input": "CREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR)",
"instruction": "What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix?",
"output": "SELECT constructor FROM table_name_46 WHERE winning_driver = \"jack brabham\" AND race = \"monaco grand prix\""
} |
### INSTRUCTION
Show the names of high schoolers who have at least 3 friends.
### INPUT
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
### OUTPUT
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 3 | {
"input": "CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)",
"instruction": "Show the names of high schoolers who have at least 3 friends.",
"output": "SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 3"
} |
### INSTRUCTION
In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?
### INPUT
CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
### OUTPUT
SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "1029(96%)" | {
"input": "CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)",
"instruction": "In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?",
"output": "SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = \"1029(96%)\""
} |
### INSTRUCTION
What is the point classification with chris anker sørensen as the young rider classification and Christian vande velde as the general classification?
### INPUT
CREATE TABLE table_name_93 (points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR)
### OUTPUT
SELECT points_classification FROM table_name_93 WHERE young_rider_classification = "chris anker sørensen" AND general_classification = "christian vande velde" | {
"input": "CREATE TABLE table_name_93 (points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR)",
"instruction": "What is the point classification with chris anker sørensen as the young rider classification and Christian vande velde as the general classification?",
"output": "SELECT points_classification FROM table_name_93 WHERE young_rider_classification = \"chris anker sørensen\" AND general_classification = \"christian vande velde\""
} |
### INSTRUCTION
How many live births per year are there in the period where the life expectancy for females is 73.3?
### INPUT
CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, life_expectancy_females VARCHAR)
### OUTPUT
SELECT live_births_per_year FROM table_18950570_2 WHERE life_expectancy_females = "73.3" | {
"input": "CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, life_expectancy_females VARCHAR)",
"instruction": "How many live births per year are there in the period where the life expectancy for females is 73.3?",
"output": "SELECT live_births_per_year FROM table_18950570_2 WHERE life_expectancy_females = \"73.3\""
} |
### INSTRUCTION
What is the price of the internet provider that has an upstream rate of 256 kbit and a downstream rate of 512 kbit?
### INPUT
CREATE TABLE table_name_24 (price VARCHAR, upstream VARCHAR, downstream VARCHAR)
### OUTPUT
SELECT price FROM table_name_24 WHERE upstream = "256 kbit" AND downstream = "512 kbit" | {
"input": "CREATE TABLE table_name_24 (price VARCHAR, upstream VARCHAR, downstream VARCHAR)",
"instruction": "What is the price of the internet provider that has an upstream rate of 256 kbit and a downstream rate of 512 kbit?",
"output": "SELECT price FROM table_name_24 WHERE upstream = \"256 kbit\" AND downstream = \"512 kbit\""
} |
### INSTRUCTION
Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?
### INPUT
CREATE TABLE table_name_41 (location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR)
### OUTPUT
SELECT location FROM table_name_41 WHERE mountain_range = "coast mountains" AND rank < 18 AND mountain_peak = "skihist mountain" | {
"input": "CREATE TABLE table_name_41 (location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR)",
"instruction": "Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?",
"output": "SELECT location FROM table_name_41 WHERE mountain_range = \"coast mountains\" AND rank < 18 AND mountain_peak = \"skihist mountain\""
} |
### INSTRUCTION
What is the coronie with a 0.7% nickerie?
### INPUT
CREATE TABLE table_name_92 (coronie VARCHAR, nickerie VARCHAR)
### OUTPUT
SELECT coronie FROM table_name_92 WHERE nickerie = "0.7%" | {
"input": "CREATE TABLE table_name_92 (coronie VARCHAR, nickerie VARCHAR)",
"instruction": "What is the coronie with a 0.7% nickerie?",
"output": "SELECT coronie FROM table_name_92 WHERE nickerie = \"0.7%\""
} |
### INSTRUCTION
Which runner(s)-up had a Winning score of –13 (68-70-66-71=275) and a Margin of victory of 3 strokes?
### INPUT
CREATE TABLE table_name_78 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
### OUTPUT
SELECT runner_s__up FROM table_name_78 WHERE margin_of_victory = "3 strokes" AND winning_score = –13(68 - 70 - 66 - 71 = 275) | {
"input": "CREATE TABLE table_name_78 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)",
"instruction": "Which runner(s)-up had a Winning score of –13 (68-70-66-71=275) and a Margin of victory of 3 strokes?",
"output": "SELECT runner_s__up FROM table_name_78 WHERE margin_of_victory = \"3 strokes\" AND winning_score = –13(68 - 70 - 66 - 71 = 275)"
} |
### INSTRUCTION
what city has a game of friendly and an opponent of tunisia?
### INPUT
CREATE TABLE table_name_42 (city VARCHAR, type_of_game VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT city FROM table_name_42 WHERE type_of_game = "friendly" AND opponent = "tunisia" | {
"input": "CREATE TABLE table_name_42 (city VARCHAR, type_of_game VARCHAR, opponent VARCHAR)",
"instruction": "what city has a game of friendly and an opponent of tunisia?",
"output": "SELECT city FROM table_name_42 WHERE type_of_game = \"friendly\" AND opponent = \"tunisia\""
} |
### INSTRUCTION
What are the notes recorded for the model HIS HD4850 (512MB)?
### INPUT
CREATE TABLE table_19161046_1 (notes VARCHAR, model VARCHAR)
### OUTPUT
SELECT notes FROM table_19161046_1 WHERE model = "HIS HD4850 (512MB)" | {
"input": "CREATE TABLE table_19161046_1 (notes VARCHAR, model VARCHAR)",
"instruction": "What are the notes recorded for the model HIS HD4850 (512MB)?",
"output": "SELECT notes FROM table_19161046_1 WHERE model = \"HIS HD4850 (512MB)\""
} |
### INSTRUCTION
Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time?
### INPUT
CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
### OUTPUT
SELECT race FROM table_name_4 WHERE pole_position = "alberto ascari" AND winning_driver = "alberto ascari" AND fastest_lap = "luigi villoresi" | {
"input": "CREATE TABLE table_name_4 (race VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)",
"instruction": "Which race did Alberto Ascari have both the Pole position and the win, but Luigi Villoresi set the fastest lap time?",
"output": "SELECT race FROM table_name_4 WHERE pole_position = \"alberto ascari\" AND winning_driver = \"alberto ascari\" AND fastest_lap = \"luigi villoresi\""
} |
### INSTRUCTION
What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps?
### INPUT
CREATE TABLE table_name_80 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)
### OUTPUT
SELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = "jeremy mcwilliams" | {
"input": "CREATE TABLE table_name_80 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)",
"instruction": "What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps?",
"output": "SELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = \"jeremy mcwilliams\""
} |
### INSTRUCTION
What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?
### INPUT
CREATE TABLE table_name_40 (date VARCHAR, team VARCHAR, circuit VARCHAR)
### OUTPUT
SELECT date FROM table_name_40 WHERE team = "holden racing team" AND circuit = "eastern creek raceway" | {
"input": "CREATE TABLE table_name_40 (date VARCHAR, team VARCHAR, circuit VARCHAR)",
"instruction": "What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?",
"output": "SELECT date FROM table_name_40 WHERE team = \"holden racing team\" AND circuit = \"eastern creek raceway\""
} |
### INSTRUCTION
What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?
### INPUT
CREATE TABLE table_name_99 (total VARCHAR, usca VARCHAR, joint_music_award VARCHAR, rthk VARCHAR)
### OUTPUT
SELECT total FROM table_name_99 WHERE joint_music_award = "1" AND rthk = "4" AND usca = "4" | {
"input": "CREATE TABLE table_name_99 (total VARCHAR, usca VARCHAR, joint_music_award VARCHAR, rthk VARCHAR)",
"instruction": "What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?",
"output": "SELECT total FROM table_name_99 WHERE joint_music_award = \"1\" AND rthk = \"4\" AND usca = \"4\""
} |
### INSTRUCTION
What kind of Takuu has a North Marquesan of /vehine/?
### INPUT
CREATE TABLE table_name_83 (takuu VARCHAR, north_marquesan VARCHAR)
### OUTPUT
SELECT takuu FROM table_name_83 WHERE north_marquesan = "/vehine/" | {
"input": "CREATE TABLE table_name_83 (takuu VARCHAR, north_marquesan VARCHAR)",
"instruction": "What kind of Takuu has a North Marquesan of /vehine/?",
"output": "SELECT takuu FROM table_name_83 WHERE north_marquesan = \"/vehine/\""
} |
### INSTRUCTION
What is the total number of Weight, when Position is "Forward/Center", when Player is "Othella Harrington", and when Number is less than 32?
### INPUT
CREATE TABLE table_name_90 (weight VARCHAR, number VARCHAR, position VARCHAR, player VARCHAR)
### OUTPUT
SELECT COUNT(weight) FROM table_name_90 WHERE position = "forward/center" AND player = "othella harrington" AND number < 32 | {
"input": "CREATE TABLE table_name_90 (weight VARCHAR, number VARCHAR, position VARCHAR, player VARCHAR)",
"instruction": "What is the total number of Weight, when Position is \"Forward/Center\", when Player is \"Othella Harrington\", and when Number is less than 32?",
"output": "SELECT COUNT(weight) FROM table_name_90 WHERE position = \"forward/center\" AND player = \"othella harrington\" AND number < 32"
} |
### INSTRUCTION
Name the population of maryborough when population of woocoo is 2700
### INPUT
CREATE TABLE table_12576536_1 (population__maryborough_ VARCHAR, population__woocoo_ VARCHAR)
### OUTPUT
SELECT population__maryborough_ FROM table_12576536_1 WHERE population__woocoo_ = 2700 | {
"input": "CREATE TABLE table_12576536_1 (population__maryborough_ VARCHAR, population__woocoo_ VARCHAR)",
"instruction": "Name the population of maryborough when population of woocoo is 2700",
"output": "SELECT population__maryborough_ FROM table_12576536_1 WHERE population__woocoo_ = 2700"
} |
### INSTRUCTION
What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?
### INPUT
CREATE TABLE table_28742659_2 (eliminated VARCHAR, finish VARCHAR)
### OUTPUT
SELECT eliminated FROM table_28742659_2 WHERE finish = "15th voted Out 9th Jury Member Day 46" | {
"input": "CREATE TABLE table_28742659_2 (eliminated VARCHAR, finish VARCHAR)",
"instruction": "What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?",
"output": "SELECT eliminated FROM table_28742659_2 WHERE finish = \"15th voted Out 9th Jury Member Day 46\""
} |
### INSTRUCTION
What is the fare to Kalamazoo during the time frame when Saginaw's was $481.39?
### INPUT
CREATE TABLE table_1637981_7 (kalamazoo__azo_ VARCHAR, saginaw__mbs_ VARCHAR)
### OUTPUT
SELECT kalamazoo__azo_ FROM table_1637981_7 WHERE saginaw__mbs_ = "$481.39" | {
"input": "CREATE TABLE table_1637981_7 (kalamazoo__azo_ VARCHAR, saginaw__mbs_ VARCHAR)",
"instruction": "What is the fare to Kalamazoo during the time frame when Saginaw's was $481.39?",
"output": "SELECT kalamazoo__azo_ FROM table_1637981_7 WHERE saginaw__mbs_ = \"$481.39\""
} |
### INSTRUCTION
How many first downs did the bills have when their opponent had 6
### INPUT
CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)
### OUTPUT
SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6 | {
"input": "CREATE TABLE table_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)",
"instruction": "How many first downs did the bills have when their opponent had 6",
"output": "SELECT MIN(bills_first_downs) FROM table_16028459_2 WHERE opponents = 6"
} |
### INSTRUCTION
What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte?
### INPUT
CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)
### OUTPUT
SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported < (SELECT MIN(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = "Lysanne" AND T4.staff_last_name = "Turcotte") | {
"input": "CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR); CREATE TABLE problems (reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)",
"instruction": "What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte?",
"output": "SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported < (SELECT MIN(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = \"Lysanne\" AND T4.staff_last_name = \"Turcotte\")"
} |
### INSTRUCTION
Name the launch date for duration days 174.14
### INPUT
CREATE TABLE table_1906515_1 (launch_date VARCHAR, duration__days_ VARCHAR)
### OUTPUT
SELECT launch_date FROM table_1906515_1 WHERE duration__days_ = "174.14" | {
"input": "CREATE TABLE table_1906515_1 (launch_date VARCHAR, duration__days_ VARCHAR)",
"instruction": "Name the launch date for duration days 174.14",
"output": "SELECT launch_date FROM table_1906515_1 WHERE duration__days_ = \"174.14\""
} |
### INSTRUCTION
Show the average amount of transactions for different investors.
### INPUT
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, amount_of_transaction INTEGER)
### OUTPUT
SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id | {
"input": "CREATE TABLE TRANSACTIONS (investor_id VARCHAR, amount_of_transaction INTEGER)",
"instruction": "Show the average amount of transactions for different investors.",
"output": "SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id"
} |
### INSTRUCTION
Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW?
### INPUT
CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR)
### OUTPUT
SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = "donegal" AND size__mw_ = "0.85" AND wind_farm = "meenadreen" | {
"input": "CREATE TABLE table_name_85 (turbine_vendor VARCHAR, wind_farm VARCHAR, size__mw_ VARCHAR, turbines VARCHAR, county VARCHAR)",
"instruction": "Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW?",
"output": "SELECT turbine_vendor FROM table_name_85 WHERE turbines < 6 AND county = \"donegal\" AND size__mw_ = \"0.85\" AND wind_farm = \"meenadreen\""
} |
### INSTRUCTION
What is the series episode number with a segment of D, and having fluorescent tubes?
### INPUT
CREATE TABLE table_name_22 (series_ep VARCHAR, segment_d VARCHAR)
### OUTPUT
SELECT series_ep FROM table_name_22 WHERE segment_d = "fluorescent tubes" | {
"input": "CREATE TABLE table_name_22 (series_ep VARCHAR, segment_d VARCHAR)",
"instruction": "What is the series episode number with a segment of D, and having fluorescent tubes?",
"output": "SELECT series_ep FROM table_name_22 WHERE segment_d = \"fluorescent tubes\""
} |
### INSTRUCTION
How many Bronze medals did Switzerland with less than 3 Silver medals receive?
### INPUT
CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
### OUTPUT
SELECT MIN(bronze) FROM table_name_75 WHERE nation = "switzerland" AND silver < 3 | {
"input": "CREATE TABLE table_name_75 (bronze INTEGER, nation VARCHAR, silver VARCHAR)",
"instruction": "How many Bronze medals did Switzerland with less than 3 Silver medals receive?",
"output": "SELECT MIN(bronze) FROM table_name_75 WHERE nation = \"switzerland\" AND silver < 3"
} |
### INSTRUCTION
Which player debuted in 1973 against Limerick and played his last game at the Munster semi-final?
### INPUT
CREATE TABLE table_name_18 (player VARCHAR, début VARCHAR, opposition VARCHAR, last_game VARCHAR)
### OUTPUT
SELECT player FROM table_name_18 WHERE opposition = "limerick" AND last_game = "munster semi-final" AND début = 1973 | {
"input": "CREATE TABLE table_name_18 (player VARCHAR, début VARCHAR, opposition VARCHAR, last_game VARCHAR)",
"instruction": "Which player debuted in 1973 against Limerick and played his last game at the Munster semi-final?",
"output": "SELECT player FROM table_name_18 WHERE opposition = \"limerick\" AND last_game = \"munster semi-final\" AND début = 1973"
} |
### INSTRUCTION
What is the minimum hydroelectricity with a less than 116.4 total, and a greater than 18.637 solar?
### INPUT
CREATE TABLE table_name_51 (hydroelectricity INTEGER, total VARCHAR, solar VARCHAR)
### OUTPUT
SELECT MIN(hydroelectricity) FROM table_name_51 WHERE total < 116.4 AND solar > 18.637 | {
"input": "CREATE TABLE table_name_51 (hydroelectricity INTEGER, total VARCHAR, solar VARCHAR)",
"instruction": "What is the minimum hydroelectricity with a less than 116.4 total, and a greater than 18.637 solar?",
"output": "SELECT MIN(hydroelectricity) FROM table_name_51 WHERE total < 116.4 AND solar > 18.637"
} |
### INSTRUCTION
What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?
### INPUT
CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)
### OUTPUT
SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = "1968cc" AND engine_name = "2.0 tdi" | {
"input": "CREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)",
"instruction": "What is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?",
"output": "SELECT max_power_at_rpm FROM table_name_90 WHERE displacement = \"1968cc\" AND engine_name = \"2.0 tdi\""
} |
### INSTRUCTION
Who were the Brazil scorers for the World Cup Competition with a 1-2 score?
### INPUT
CREATE TABLE table_name_18 (brazil_scorers VARCHAR, competition VARCHAR, score VARCHAR)
### OUTPUT
SELECT brazil_scorers FROM table_name_18 WHERE competition = "world cup" AND score = "1-2" | {
"input": "CREATE TABLE table_name_18 (brazil_scorers VARCHAR, competition VARCHAR, score VARCHAR)",
"instruction": "Who were the Brazil scorers for the World Cup Competition with a 1-2 score?",
"output": "SELECT brazil_scorers FROM table_name_18 WHERE competition = \"world cup\" AND score = \"1-2\""
} |
### INSTRUCTION
Which Source has a Clinton of 39% and a Undecided of 7%?
### INPUT
CREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)
### OUTPUT
SELECT source FROM table_name_94 WHERE clinton = "39%" AND undecided = "7%" | {
"input": "CREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)",
"instruction": "Which Source has a Clinton of 39% and a Undecided of 7%?",
"output": "SELECT source FROM table_name_94 WHERE clinton = \"39%\" AND undecided = \"7%\""
} |
### INSTRUCTION
What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54?
### INPUT
CREATE TABLE table_name_56 (share INTEGER, rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__timeslot_ VARCHAR)
### OUTPUT
SELECT AVG(share) FROM table_name_56 WHERE viewers__millions_ > 7.82 AND rank__timeslot_ = "3" AND rank__week_ = "54" | {
"input": "CREATE TABLE table_name_56 (share INTEGER, rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__timeslot_ VARCHAR)",
"instruction": "What is the average share for episodes with over 7.82 viewers, ranks of 3 and a weekly rank of 54?",
"output": "SELECT AVG(share) FROM table_name_56 WHERE viewers__millions_ > 7.82 AND rank__timeslot_ = \"3\" AND rank__week_ = \"54\""
} |
### INSTRUCTION
What is the Challenge Cup total with a League of 1, Player Simon Storey, and a Total greater than 1?
### INPUT
CREATE TABLE table_name_90 (challenge_cup INTEGER, total VARCHAR, league VARCHAR, player VARCHAR)
### OUTPUT
SELECT SUM(challenge_cup) FROM table_name_90 WHERE league = 1 AND player = "simon storey" AND total > 1 | {
"input": "CREATE TABLE table_name_90 (challenge_cup INTEGER, total VARCHAR, league VARCHAR, player VARCHAR)",
"instruction": "What is the Challenge Cup total with a League of 1, Player Simon Storey, and a Total greater than 1?",
"output": "SELECT SUM(challenge_cup) FROM table_name_90 WHERE league = 1 AND player = \"simon storey\" AND total > 1"
} |
### INSTRUCTION
What was the winning score in 1985 for Championship of u.s. women's open?
### INPUT
CREATE TABLE table_name_8 (winning_score VARCHAR, year VARCHAR, championship VARCHAR)
### OUTPUT
SELECT winning_score FROM table_name_8 WHERE year < 1985 AND championship = "u.s. women's open" | {
"input": "CREATE TABLE table_name_8 (winning_score VARCHAR, year VARCHAR, championship VARCHAR)",
"instruction": "What was the winning score in 1985 for Championship of u.s. women's open?",
"output": "SELECT winning_score FROM table_name_8 WHERE year < 1985 AND championship = \"u.s. women's open\""
} |
### INSTRUCTION
Which driver has a G tyre, rounds of 2-12 and a M7A chassis?
### INPUT
CREATE TABLE table_name_18 (driver VARCHAR, chassis VARCHAR, tyre VARCHAR, rounds VARCHAR)
### OUTPUT
SELECT driver FROM table_name_18 WHERE tyre = "g" AND rounds = "2-12" AND chassis = "m7a" | {
"input": "CREATE TABLE table_name_18 (driver VARCHAR, chassis VARCHAR, tyre VARCHAR, rounds VARCHAR)",
"instruction": "Which driver has a G tyre, rounds of 2-12 and a M7A chassis?",
"output": "SELECT driver FROM table_name_18 WHERE tyre = \"g\" AND rounds = \"2-12\" AND chassis = \"m7a\""
} |
### INSTRUCTION
How many divisions in bowling ?
### INPUT
CREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR)
### OUTPUT
SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = "Bowling" | {
"input": "CREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR)",
"instruction": "How many divisions in bowling ? ",
"output": "SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = \"Bowling\""
} |
### INSTRUCTION
Name the frequency mhz for ERP W of 850 watts
### INPUT
CREATE TABLE table_name_44 (frequency_mhz VARCHAR, erp_w VARCHAR)
### OUTPUT
SELECT frequency_mhz FROM table_name_44 WHERE erp_w = "850 watts" | {
"input": "CREATE TABLE table_name_44 (frequency_mhz VARCHAR, erp_w VARCHAR)",
"instruction": "Name the frequency mhz for ERP W of 850 watts",
"output": "SELECT frequency_mhz FROM table_name_44 WHERE erp_w = \"850 watts\""
} |
### INSTRUCTION
Name the total party for north carolina 7
### INPUT
CREATE TABLE table_19753079_36 (party VARCHAR, district VARCHAR)
### OUTPUT
SELECT COUNT(party) FROM table_19753079_36 WHERE district = "North Carolina 7" | {
"input": "CREATE TABLE table_19753079_36 (party VARCHAR, district VARCHAR)",
"instruction": "Name the total party for north carolina 7",
"output": "SELECT COUNT(party) FROM table_19753079_36 WHERE district = \"North Carolina 7\""
} |
### INSTRUCTION
What is the GP winner for the Race winners valentin giraud / nicolas musset, and a place genk?
### INPUT
CREATE TABLE table_name_2 (gp_winner VARCHAR, race_winners VARCHAR, place VARCHAR)
### OUTPUT
SELECT gp_winner FROM table_name_2 WHERE race_winners = "valentin giraud / nicolas musset" AND place = "genk" | {
"input": "CREATE TABLE table_name_2 (gp_winner VARCHAR, race_winners VARCHAR, place VARCHAR)",
"instruction": "What is the GP winner for the Race winners valentin giraud / nicolas musset, and a place genk?",
"output": "SELECT gp_winner FROM table_name_2 WHERE race_winners = \"valentin giraud / nicolas musset\" AND place = \"genk\""
} |
### INSTRUCTION
What is the total number of Pick, when Position is OT, when Overall is greater than 91, when Round is greater than 21, and when College is Mississippi?
### INPUT
CREATE TABLE table_name_98 (pick VARCHAR, college VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR)
### OUTPUT
SELECT COUNT(pick) FROM table_name_98 WHERE position = "ot" AND overall > 91 AND round > 21 AND college = "mississippi" | {
"input": "CREATE TABLE table_name_98 (pick VARCHAR, college VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR)",
"instruction": "What is the total number of Pick, when Position is OT, when Overall is greater than 91, when Round is greater than 21, and when College is Mississippi?",
"output": "SELECT COUNT(pick) FROM table_name_98 WHERE position = \"ot\" AND overall > 91 AND round > 21 AND college = \"mississippi\""
} |
### INSTRUCTION
Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Points of 20, and the Name of susan day?
### INPUT
CREATE TABLE table_name_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR)
### OUTPUT
SELECT MIN(games) FROM table_name_96 WHERE pts_game > 1.4 AND points = 20 AND name = "susan day" | {
"input": "CREATE TABLE table_name_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR)",
"instruction": "Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Points of 20, and the Name of susan day?",
"output": "SELECT MIN(games) FROM table_name_96 WHERE pts_game > 1.4 AND points = 20 AND name = \"susan day\""
} |
### INSTRUCTION
In what city is the Don Valley Stadium located?
### INPUT
CREATE TABLE table_name_61 (city VARCHAR, stadium VARCHAR)
### OUTPUT
SELECT city FROM table_name_61 WHERE stadium = "don valley stadium" | {
"input": "CREATE TABLE table_name_61 (city VARCHAR, stadium VARCHAR)",
"instruction": "In what city is the Don Valley Stadium located?",
"output": "SELECT city FROM table_name_61 WHERE stadium = \"don valley stadium\""
} |
### INSTRUCTION
what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy?
### INPUT
CREATE TABLE table_name_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR)
### OUTPUT
SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = "hydra" AND object_type = "spiral galaxy" | {
"input": "CREATE TABLE table_name_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR)",
"instruction": "what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy?",
"output": "SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = \"hydra\" AND object_type = \"spiral galaxy\""
} |
### INSTRUCTION
Which surface do opponents of Thomas Oger Nicolas Tourte have?
### INPUT
CREATE TABLE table_name_18 (surface VARCHAR, opponents VARCHAR)
### OUTPUT
SELECT surface FROM table_name_18 WHERE opponents = "thomas oger nicolas tourte" | {
"input": "CREATE TABLE table_name_18 (surface VARCHAR, opponents VARCHAR)",
"instruction": "Which surface do opponents of Thomas Oger Nicolas Tourte have?",
"output": "SELECT surface FROM table_name_18 WHERE opponents = \"thomas oger nicolas tourte\""
} |
### INSTRUCTION
What is the transfer fee of assoumani, who has a summer transfer window?
### INPUT
CREATE TABLE table_name_70 (transfer_fee VARCHAR, transfer_window VARCHAR, name VARCHAR)
### OUTPUT
SELECT transfer_fee FROM table_name_70 WHERE transfer_window = "summer" AND name = "assoumani" | {
"input": "CREATE TABLE table_name_70 (transfer_fee VARCHAR, transfer_window VARCHAR, name VARCHAR)",
"instruction": "What is the transfer fee of assoumani, who has a summer transfer window?",
"output": "SELECT transfer_fee FROM table_name_70 WHERE transfer_window = \"summer\" AND name = \"assoumani\""
} |
### INSTRUCTION
Return the names and ids of all products whose price is between 600 and 700.
### INPUT
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR, product_price INTEGER)
### OUTPUT
SELECT product_name, product_id FROM products WHERE product_price BETWEEN 600 AND 700 | {
"input": "CREATE TABLE products (product_name VARCHAR, product_id VARCHAR, product_price INTEGER)",
"instruction": "Return the names and ids of all products whose price is between 600 and 700.",
"output": "SELECT product_name, product_id FROM products WHERE product_price BETWEEN 600 AND 700"
} |
### INSTRUCTION
What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?
### INPUT
CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
### OUTPUT
SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirchen" AND stage = "7" | {
"input": "CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)",
"instruction": "What's the mountains classification of Stage 7 when Kim Kirchen was the general classification?",
"output": "SELECT mountains_classification FROM table_name_82 WHERE general_classification = \"kim kirchen\" AND stage = \"7\""
} |
### INSTRUCTION
How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?
### INPUT
CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)
### OUTPUT
SELECT COUNT(bronze) FROM table_name_79 WHERE gold > "14" AND rank = "14" AND silver > 25 | {
"input": "CREATE TABLE table_name_79 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR)",
"instruction": "How many bronzes for the nation ranked 14th, with over 14 golds and over 25 silvers?",
"output": "SELECT COUNT(bronze) FROM table_name_79 WHERE gold > \"14\" AND rank = \"14\" AND silver > 25"
} |
### INSTRUCTION
What are the completion dates of all the tests that have result "Fail"?
### INPUT
CREATE TABLE Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_completion VARCHAR, registration_id VARCHAR)
### OUTPUT
SELECT T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" | {
"input": "CREATE TABLE Student_Tests_Taken (registration_id VARCHAR, test_result VARCHAR); CREATE TABLE Student_Course_Enrolment (date_of_completion VARCHAR, registration_id VARCHAR)",
"instruction": "What are the completion dates of all the tests that have result \"Fail\"?",
"output": "SELECT T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = \"Fail\""
} |
### INSTRUCTION
What is the value of the size (steps) that has just ratio 10:9 and a size (cents) more than 160
### INPUT
CREATE TABLE table_name_26 (size__steps_ VARCHAR, just_ratio VARCHAR, size__cents_ VARCHAR)
### OUTPUT
SELECT COUNT(size__steps_) FROM table_name_26 WHERE just_ratio = "10:9" AND size__cents_ > 160 | {
"input": "CREATE TABLE table_name_26 (size__steps_ VARCHAR, just_ratio VARCHAR, size__cents_ VARCHAR)",
"instruction": "What is the value of the size (steps) that has just ratio 10:9 and a size (cents) more than 160",
"output": "SELECT COUNT(size__steps_) FROM table_name_26 WHERE just_ratio = \"10:9\" AND size__cents_ > 160"
} |
### INSTRUCTION
Which Model has Comments of curved daggerboards. design: morelli und melvin?
### INPUT
CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR)
### OUTPUT
SELECT model FROM table_name_61 WHERE comments = "curved daggerboards. design: morelli und melvin" | {
"input": "CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR)",
"instruction": "Which Model has Comments of curved daggerboards. design: morelli und melvin?",
"output": "SELECT model FROM table_name_61 WHERE comments = \"curved daggerboards. design: morelli und melvin\""
} |
### INSTRUCTION
List the names of departments where some physicians are primarily affiliated with.
### INPUT
CREATE TABLE affiliated_with (department VARCHAR); CREATE TABLE department (name VARCHAR, departmentid VARCHAR)
### OUTPUT
SELECT DISTINCT T2.name FROM affiliated_with AS T1 JOIN department AS T2 ON T1.department = T2.departmentid WHERE PrimaryAffiliation = 1 | {
"input": "CREATE TABLE affiliated_with (department VARCHAR); CREATE TABLE department (name VARCHAR, departmentid VARCHAR)",
"instruction": "List the names of departments where some physicians are primarily affiliated with.",
"output": "SELECT DISTINCT T2.name FROM affiliated_with AS T1 JOIN department AS T2 ON T1.department = T2.departmentid WHERE PrimaryAffiliation = 1"
} |
### INSTRUCTION
Name the event for hans ruep
### INPUT
CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR)
### OUTPUT
SELECT event FROM table_18646111_13 WHERE athlete = "Hans Ruep" | {
"input": "CREATE TABLE table_18646111_13 (event VARCHAR, athlete VARCHAR)",
"instruction": "Name the event for hans ruep",
"output": "SELECT event FROM table_18646111_13 WHERE athlete = \"Hans Ruep\""
} |
### INSTRUCTION
Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7?
### INPUT
CREATE TABLE table_name_17 (week INTEGER, points_against VARCHAR, points_for VARCHAR, opponent VARCHAR)
### OUTPUT
SELECT MAX(week) FROM table_name_17 WHERE points_for > 19 AND opponent = "philadelphia eagles" AND points_against > 7 | {
"input": "CREATE TABLE table_name_17 (week INTEGER, points_against VARCHAR, points_for VARCHAR, opponent VARCHAR)",
"instruction": "Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7?",
"output": "SELECT MAX(week) FROM table_name_17 WHERE points_for > 19 AND opponent = \"philadelphia eagles\" AND points_against > 7"
} |
### INSTRUCTION
Which home team played against Geelong?
### INPUT
CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)
### OUTPUT
SELECT home_team FROM table_name_39 WHERE away_team = "geelong" | {
"input": "CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)",
"instruction": "Which home team played against Geelong?",
"output": "SELECT home_team FROM table_name_39 WHERE away_team = \"geelong\""
} |
### INSTRUCTION
What is the storm name and max speed which affected the greatest number of regions?
### INPUT
CREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR)
### OUTPUT
SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"input": "CREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR)",
"instruction": "What is the storm name and max speed which affected the greatest number of regions?",
"output": "SELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1"
} |
### INSTRUCTION
What is the average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps?
### INPUT
CREATE TABLE table_name_98 (year INTEGER, drivers VARCHAR, poles VARCHAR, fast_laps VARCHAR)
### OUTPUT
SELECT AVG(year) FROM table_name_98 WHERE poles < 2 AND fast_laps = 0 AND drivers = "adrian quaife-hobbs" | {
"input": "CREATE TABLE table_name_98 (year INTEGER, drivers VARCHAR, poles VARCHAR, fast_laps VARCHAR)",
"instruction": "What is the average Year during which the Driver Adrian Quaife-Hobbs has fewer than 2 Poles, and 0 Fast laps?",
"output": "SELECT AVG(year) FROM table_name_98 WHERE poles < 2 AND fast_laps = 0 AND drivers = \"adrian quaife-hobbs\""
} |
### INSTRUCTION
What is the Release date of the Filmography directed by Robert McKimson in MM Series with Production Number 1665?
### INPUT
CREATE TABLE table_name_16 (release_date VARCHAR, production_number VARCHAR, director VARCHAR, series VARCHAR)
### OUTPUT
SELECT release_date FROM table_name_16 WHERE director = "robert mckimson" AND series = "mm" AND production_number = "1665" | {
"input": "CREATE TABLE table_name_16 (release_date VARCHAR, production_number VARCHAR, director VARCHAR, series VARCHAR)",
"instruction": "What is the Release date of the Filmography directed by Robert McKimson in MM Series with Production Number 1665?",
"output": "SELECT release_date FROM table_name_16 WHERE director = \"robert mckimson\" AND series = \"mm\" AND production_number = \"1665\""
} |
### INSTRUCTION
What is the Attendance number when the Opponent was purdue?
### INPUT
CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR)
### OUTPUT
SELECT attendance FROM table_name_15 WHERE opponent_number = "purdue" | {
"input": "CREATE TABLE table_name_15 (attendance VARCHAR, opponent_number VARCHAR)",
"instruction": "What is the Attendance number when the Opponent was purdue?",
"output": "SELECT attendance FROM table_name_15 WHERE opponent_number = \"purdue\""
} |
### INSTRUCTION
Which controller has an interface of pcie 2.0 × 8?
### INPUT
CREATE TABLE table_name_37 (controller VARCHAR, interface VARCHAR)
### OUTPUT
SELECT controller FROM table_name_37 WHERE interface = "pcie 2.0 × 8" | {
"input": "CREATE TABLE table_name_37 (controller VARCHAR, interface VARCHAR)",
"instruction": "Which controller has an interface of pcie 2.0 × 8?",
"output": "SELECT controller FROM table_name_37 WHERE interface = \"pcie 2.0 × 8\""
} |
### INSTRUCTION
Tell me the lowest date commissioned for iron rmsrhone and gross tonnage less than 2,738
### INPUT
CREATE TABLE table_name_69 (date_commissioned INTEGER, gross_tonnage VARCHAR, material VARCHAR, ship VARCHAR)
### OUTPUT
SELECT MIN(date_commissioned) FROM table_name_69 WHERE material = "iron" AND ship = "rmsrhone" AND gross_tonnage < 2 OFFSET 738 | {
"input": "CREATE TABLE table_name_69 (date_commissioned INTEGER, gross_tonnage VARCHAR, material VARCHAR, ship VARCHAR)",
"instruction": "Tell me the lowest date commissioned for iron rmsrhone and gross tonnage less than 2,738",
"output": "SELECT MIN(date_commissioned) FROM table_name_69 WHERE material = \"iron\" AND ship = \"rmsrhone\" AND gross_tonnage < 2 OFFSET 738"
} |
### INSTRUCTION
What is the connection with Australia when the connection with America shows born in the u.s.; mother is u.s. citizen?
### INPUT
CREATE TABLE table_name_74 (connection_with_australia VARCHAR, connection_with_america VARCHAR)
### OUTPUT
SELECT connection_with_australia FROM table_name_74 WHERE connection_with_america = "born in the u.s.; mother is u.s. citizen" | {
"input": "CREATE TABLE table_name_74 (connection_with_australia VARCHAR, connection_with_america VARCHAR)",
"instruction": "What is the connection with Australia when the connection with America shows born in the u.s.; mother is u.s. citizen?",
"output": "SELECT connection_with_australia FROM table_name_74 WHERE connection_with_america = \"born in the u.s.; mother is u.s. citizen\""
} |
### INSTRUCTION
What is the first name and last name of the customer that has email "[email protected]"?
### INPUT
CREATE TABLE CUSTOMER (FirstName VARCHAR, LastName VARCHAR, Email VARCHAR)
### OUTPUT
SELECT FirstName, LastName FROM CUSTOMER WHERE Email = "[email protected]" | {
"input": "CREATE TABLE CUSTOMER (FirstName VARCHAR, LastName VARCHAR, Email VARCHAR)",
"instruction": "What is the first name and last name of the customer that has email \"[email protected]\"?",
"output": "SELECT FirstName, LastName FROM CUSTOMER WHERE Email = \"[email protected]\""
} |
### INSTRUCTION
What was Barreto's song choice where the original artist was Patricia Marx?
### INPUT
CREATE TABLE table_27614571_1 (song_choice VARCHAR, original_artist VARCHAR)
### OUTPUT
SELECT song_choice FROM table_27614571_1 WHERE original_artist = "Patricia Marx" | {
"input": "CREATE TABLE table_27614571_1 (song_choice VARCHAR, original_artist VARCHAR)",
"instruction": "What was Barreto's song choice where the original artist was Patricia Marx?",
"output": "SELECT song_choice FROM table_27614571_1 WHERE original_artist = \"Patricia Marx\""
} |
### INSTRUCTION
List the project details of the projects launched by the organisation
### INPUT
CREATE TABLE Projects (project_details VARCHAR, organisation_id VARCHAR)
### OUTPUT
SELECT project_details FROM Projects WHERE organisation_id IN (SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY COUNT(*) DESC LIMIT 1) | {
"input": "CREATE TABLE Projects (project_details VARCHAR, organisation_id VARCHAR)",
"instruction": "List the project details of the projects launched by the organisation",
"output": "SELECT project_details FROM Projects WHERE organisation_id IN (SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY COUNT(*) DESC LIMIT 1)"
} |
### INSTRUCTION
Find the dates of assessment notes for students with first name "Fanny".
### INPUT
CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR); CREATE TABLE Assessment_Notes (date_of_notes VARCHAR, student_id VARCHAR)
### OUTPUT
SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.first_name = "Fanny" | {
"input": "CREATE TABLE Students (student_id VARCHAR, first_name VARCHAR); CREATE TABLE Assessment_Notes (date_of_notes VARCHAR, student_id VARCHAR)",
"instruction": "Find the dates of assessment notes for students with first name \"Fanny\".",
"output": "SELECT T1.date_of_notes FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id WHERE T2.first_name = \"Fanny\""
} |
### INSTRUCTION
How many points did Newport RFC get?
### INPUT
CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)
### OUTPUT
SELECT points FROM table_name_58 WHERE club = "newport rfc" | {
"input": "CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)",
"instruction": "How many points did Newport RFC get?",
"output": "SELECT points FROM table_name_58 WHERE club = \"newport rfc\""
} |
### INSTRUCTION
Name the lowest round for when pole position and winning driver is michael schumacher
### INPUT
CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
### OUTPUT
SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND winning_driver = "michael schumacher" AND pole_position = "michael schumacher" | {
"input": "CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)",
"instruction": "Name the lowest round for when pole position and winning driver is michael schumacher",
"output": "SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = \"michael schumacher\" AND winning_driver = \"michael schumacher\" AND pole_position = \"michael schumacher\""
} |
### INSTRUCTION
What's the year that Hagerstown joined?
### INPUT
CREATE TABLE table_name_66 (year_joined VARCHAR, school VARCHAR)
### OUTPUT
SELECT year_joined FROM table_name_66 WHERE school = "hagerstown" | {
"input": "CREATE TABLE table_name_66 (year_joined VARCHAR, school VARCHAR)",
"instruction": "What's the year that Hagerstown joined?",
"output": "SELECT year_joined FROM table_name_66 WHERE school = \"hagerstown\""
} |
### INSTRUCTION
Find the name and capacity of the dorm with least number of amenities.
### INPUT
CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR, student_capacity VARCHAR, dormid VARCHAR)
### OUTPUT
SELECT T1.dorm_name, T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid GROUP BY T2.dormid ORDER BY COUNT(*) LIMIT 1 | {
"input": "CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR, student_capacity VARCHAR, dormid VARCHAR)",
"instruction": "Find the name and capacity of the dorm with least number of amenities.",
"output": "SELECT T1.dorm_name, T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid GROUP BY T2.dormid ORDER BY COUNT(*) LIMIT 1"
} |
### INSTRUCTION
Name the least tomina for el villar being 4
### INPUT
CREATE TABLE table_2509350_3 (tomina_municipality INTEGER, el_villar_municipality VARCHAR)
### OUTPUT
SELECT MIN(tomina_municipality) FROM table_2509350_3 WHERE el_villar_municipality = 4 | {
"input": "CREATE TABLE table_2509350_3 (tomina_municipality INTEGER, el_villar_municipality VARCHAR)",
"instruction": "Name the least tomina for el villar being 4",
"output": "SELECT MIN(tomina_municipality) FROM table_2509350_3 WHERE el_villar_municipality = 4"
} |
### INSTRUCTION
What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"?
### INPUT
CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR)
### OUTPUT
SELECT location_attendance FROM table_name_55 WHERE high_points = "d. mckey (24)" AND score = "l 96-105" | {
"input": "CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR)",
"instruction": "What is the Location Attendance, when High Points is \"D. McKey (24)\", and when Score is \"L 96-105\"?",
"output": "SELECT location_attendance FROM table_name_55 WHERE high_points = \"d. mckey (24)\" AND score = \"l 96-105\""
} |
### INSTRUCTION
Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version?
### INPUT
CREATE TABLE table_2160215_1 (original_japanese VARCHAR, english___manga_uk__ VARCHAR)
### OUTPUT
SELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = "Sean Barrett" | {
"input": "CREATE TABLE table_2160215_1 (original_japanese VARCHAR, english___manga_uk__ VARCHAR)",
"instruction": "Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version?",
"output": "SELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = \"Sean Barrett\""
} |
### INSTRUCTION
What are the email addresses of the drama workshop groups with address in Alaska state?
### INPUT
CREATE TABLE Drama_Workshop_Groups (Store_Email_Address VARCHAR, Address_ID VARCHAR); CREATE TABLE Addresses (Address_ID VARCHAR, State_County VARCHAR)
### OUTPUT
SELECT T2.Store_Email_Address FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.State_County = "Alaska" | {
"input": "CREATE TABLE Drama_Workshop_Groups (Store_Email_Address VARCHAR, Address_ID VARCHAR); CREATE TABLE Addresses (Address_ID VARCHAR, State_County VARCHAR)",
"instruction": "What are the email addresses of the drama workshop groups with address in Alaska state?",
"output": "SELECT T2.Store_Email_Address FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID WHERE T1.State_County = \"Alaska\""
} |
### INSTRUCTION
Give me a list of names and years of races that had any driver whose forename is Lewis?
### INPUT
CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (name VARCHAR, year VARCHAR, raceid VARCHAR); CREATE TABLE results (raceid VARCHAR, driverid VARCHAR)
### OUTPUT
SELECT T2.name, T2.year FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T1.driverid = T3.driverid WHERE T3.forename = "Lewis" | {
"input": "CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (name VARCHAR, year VARCHAR, raceid VARCHAR); CREATE TABLE results (raceid VARCHAR, driverid VARCHAR)",
"instruction": "Give me a list of names and years of races that had any driver whose forename is Lewis?",
"output": "SELECT T2.name, T2.year FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T1.driverid = T3.driverid WHERE T3.forename = \"Lewis\""
} |
### INSTRUCTION
Which Nationality has a College/Junior/Club Team (League) of swift current broncos (wchl)?
### INPUT
CREATE TABLE table_name_84 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
### OUTPUT
SELECT nationality FROM table_name_84 WHERE college_junior_club_team__league_ = "swift current broncos (wchl)" | {
"input": "CREATE TABLE table_name_84 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)",
"instruction": "Which Nationality has a College/Junior/Club Team (League) of swift current broncos (wchl)?",
"output": "SELECT nationality FROM table_name_84 WHERE college_junior_club_team__league_ = \"swift current broncos (wchl)\""
} |
### INSTRUCTION
Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?
### INPUT
CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR)
### OUTPUT
SELECT district FROM table_1346118_5 WHERE candidates = "John I. Nolan (R) 87% Thomas F. Feeley (S) 13%" | {
"input": "CREATE TABLE table_1346118_5 (district VARCHAR, candidates VARCHAR)",
"instruction": "Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?",
"output": "SELECT district FROM table_1346118_5 WHERE candidates = \"John I. Nolan (R) 87% Thomas F. Feeley (S) 13%\""
} |
### INSTRUCTION
Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?
### INPUT
CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)
### OUTPUT
SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = "Frankfurt" AND year < 1993.0 | {
"input": "CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)",
"instruction": "Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?",
"output": "SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = \"Frankfurt\" AND year < 1993.0"
} |
### INSTRUCTION
Which Best Film has a Best Supporting Actress of shamaine buencamino for niño?
### INPUT
CREATE TABLE table_name_42 (best_film VARCHAR, best_supporting_actress VARCHAR)
### OUTPUT
SELECT best_film FROM table_name_42 WHERE best_supporting_actress = "shamaine buencamino for niño" | {
"input": "CREATE TABLE table_name_42 (best_film VARCHAR, best_supporting_actress VARCHAR)",
"instruction": "Which Best Film has a Best Supporting Actress of shamaine buencamino for niño?",
"output": "SELECT best_film FROM table_name_42 WHERE best_supporting_actress = \"shamaine buencamino for niño\""
} |
### INSTRUCTION
What time was the game played against Cagliari that lasted 16 rounds?
### INPUT
CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR)
### OUTPUT
SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16" | {
"input": "CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR)",
"instruction": "What time was the game played against Cagliari that lasted 16 rounds?",
"output": "SELECT time FROM table_name_32 WHERE opponent = \"cagliari\" AND round = \"16\""
} |
### INSTRUCTION
Which Player has a Score of 74-67-74-71=286?
### INPUT
CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR)
### OUTPUT
SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286 | {
"input": "CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR)",
"instruction": "Which Player has a Score of 74-67-74-71=286?",
"output": "SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286"
} |
### INSTRUCTION
What's the subject of 20 questions in those issues where Jillian Grace is the centerfold model?
### INPUT
CREATE TABLE table_1566852_6 (centerfold_model VARCHAR)
### OUTPUT
SELECT 20 AS _questions FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace" | {
"input": "CREATE TABLE table_1566852_6 (centerfold_model VARCHAR)",
"instruction": "What's the subject of 20 questions in those issues where Jillian Grace is the centerfold model?",
"output": "SELECT 20 AS _questions FROM table_1566852_6 WHERE centerfold_model = \"Jillian Grace\""
} |
### INSTRUCTION
What is every total for the University of the Cordilleras UC Dance Squad?
### INPUT
CREATE TABLE table_21995420_6 (total VARCHAR, school VARCHAR)
### OUTPUT
SELECT total FROM table_21995420_6 WHERE school = "University of the Cordilleras UC Dance Squad" | {
"input": "CREATE TABLE table_21995420_6 (total VARCHAR, school VARCHAR)",
"instruction": "What is every total for the University of the Cordilleras UC Dance Squad?",
"output": "SELECT total FROM table_21995420_6 WHERE school = \"University of the Cordilleras UC Dance Squad\""
} |
### INSTRUCTION
When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis?
### INPUT
CREATE TABLE table_name_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR)
### OUTPUT
SELECT year FROM table_name_12 WHERE winner = "olympiacos" AND venue = "georgios karaiskakis stadium" AND runner_up = "iraklis" | {
"input": "CREATE TABLE table_name_12 (year VARCHAR, runner_up VARCHAR, winner VARCHAR, venue VARCHAR)",
"instruction": "When is the winner olympiacos, the venue is georgios karaiskakis stadium and the runner-up is iraklis?",
"output": "SELECT year FROM table_name_12 WHERE winner = \"olympiacos\" AND venue = \"georgios karaiskakis stadium\" AND runner_up = \"iraklis\""
} |
### INSTRUCTION
I want the constructor for brakes and grid less than 14
### INPUT
CREATE TABLE table_name_39 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)
### OUTPUT
SELECT constructor FROM table_name_39 WHERE time_retired = "brakes" AND grid < 14 | {
"input": "CREATE TABLE table_name_39 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR)",
"instruction": "I want the constructor for brakes and grid less than 14",
"output": "SELECT constructor FROM table_name_39 WHERE time_retired = \"brakes\" AND grid < 14"
} |
### INSTRUCTION
Name the total number of series for march 19, 2000
### INPUT
CREATE TABLE table_1876825_2 (no_in_series VARCHAR, original_air_date VARCHAR)
### OUTPUT
SELECT COUNT(no_in_series) FROM table_1876825_2 WHERE original_air_date = "March 19, 2000" | {
"input": "CREATE TABLE table_1876825_2 (no_in_series VARCHAR, original_air_date VARCHAR)",
"instruction": "Name the total number of series for march 19, 2000",
"output": "SELECT COUNT(no_in_series) FROM table_1876825_2 WHERE original_air_date = \"March 19, 2000\""
} |
### INSTRUCTION
What is the fewest number of occ championships for the team that last won an outright occ championship in 2006?
### INPUT
CREATE TABLE table_17429402_7 (occ_championships INTEGER, last_outright_occ_championship VARCHAR)
### OUTPUT
SELECT MIN(occ_championships) FROM table_17429402_7 WHERE last_outright_occ_championship = "2006" | {
"input": "CREATE TABLE table_17429402_7 (occ_championships INTEGER, last_outright_occ_championship VARCHAR)",
"instruction": "What is the fewest number of occ championships for the team that last won an outright occ championship in 2006?",
"output": "SELECT MIN(occ_championships) FROM table_17429402_7 WHERE last_outright_occ_championship = \"2006\""
} |
### INSTRUCTION
What class had a Championship Test event with a 62.516 result?
### INPUT
CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR)
### OUTPUT
SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" | {
"input": "CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR)",
"instruction": "What class had a Championship Test event with a 62.516 result?",
"output": "SELECT class FROM table_name_66 WHERE event = \"championship test\" AND result = \"62.516\""
} |
### INSTRUCTION
What nationality is Northwood School (N.Y.)?
### INPUT
CREATE TABLE table_name_44 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
### OUTPUT
SELECT nationality FROM table_name_44 WHERE college_junior_club_team__league_ = "northwood school (n.y.)" | {
"input": "CREATE TABLE table_name_44 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)",
"instruction": "What nationality is Northwood School (N.Y.)?",
"output": "SELECT nationality FROM table_name_44 WHERE college_junior_club_team__league_ = \"northwood school (n.y.)\""
} |
### INSTRUCTION
what is the analog type for wxmi?
### INPUT
CREATE TABLE table_name_9 (analog VARCHAR, callsign VARCHAR)
### OUTPUT
SELECT analog FROM table_name_9 WHERE callsign = "wxmi" | {
"input": "CREATE TABLE table_name_9 (analog VARCHAR, callsign VARCHAR)",
"instruction": "what is the analog type for wxmi?",
"output": "SELECT analog FROM table_name_9 WHERE callsign = \"wxmi\""
} |
### INSTRUCTION
What is the name for Nagpur district, with a reserved for ( SC / ST /None) of none, and a Constituency number of 59?
### INPUT
CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
### OUTPUT
SELECT name FROM table_name_56 WHERE district = "nagpur" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "59" | {
"input": "CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)",
"instruction": "What is the name for Nagpur district, with a reserved for ( SC / ST /None) of none, and a Constituency number of 59?",
"output": "SELECT name FROM table_name_56 WHERE district = \"nagpur\" AND reserved_for___sc___st__none_ = \"none\" AND constituency_number = \"59\""
} |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.