text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
After 1979, where was the European Indoor Championships held?
### CONTEXT
CREATE TABLE table_name_27 (venue VARCHAR, competition VARCHAR, year VARCHAR)
### ANSWER
SELECT venue FROM table_name_27 WHERE competition = "european indoor championships" AND year > 1979 | {
"answer": "SELECT venue FROM table_name_27 WHERE competition = \"european indoor championships\" AND year > 1979",
"context": "CREATE TABLE table_name_27 (venue VARCHAR, competition VARCHAR, year VARCHAR)",
"question": "After 1979, where was the European Indoor Championships held?"
} |
### QUESTION
Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host?
### CONTEXT
CREATE TABLE table_name_1 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)
### ANSWER
SELECT studio_host FROM table_name_1 WHERE play_by_play = "sean grande" AND flagship_station = "wrko" AND year = "2005-06" | {
"answer": "SELECT studio_host FROM table_name_1 WHERE play_by_play = \"sean grande\" AND flagship_station = \"wrko\" AND year = \"2005-06\"",
"context": "CREATE TABLE table_name_1 (studio_host VARCHAR, year VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)",
"question": "Play-by-play of sean grande, and a Flagship Station of wrko, and a Year of 2005-06 had what studio host?"
} |
### QUESTION
How many export volume of goods and services values are associated with GDP at current prices of 161.340?
### CONTEXT
CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)
### ANSWER
SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "161.340" | {
"answer": "SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = \"161.340\"",
"context": "CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)",
"question": "How many export volume of goods and services values are associated with GDP at current prices of 161.340?"
} |
### QUESTION
What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?
### CONTEXT
CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_name_24 WHERE team = "fc bayern munich" AND date_of_appointment = "27 april 2009" | {
"answer": "SELECT date_of_vacancy FROM table_name_24 WHERE team = \"fc bayern munich\" AND date_of_appointment = \"27 april 2009\"",
"context": "CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)",
"question": "What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?"
} |
### QUESTION
I want to know the highest heat rank for overall rank of t63 and time less than 25.47
### CONTEXT
CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR)
### ANSWER
SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47 | {
"answer": "SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = \"t63\" AND time < 25.47",
"context": "CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR)",
"question": "I want to know the highest heat rank for overall rank of t63 and time less than 25.47"
} |
### QUESTION
Which WYSIWYG Editor has a User-selectable themes of yes, and an Unread message tracking of session, and an Image attachment of plugin?
### CONTEXT
CREATE TABLE table_name_79 (wysiwyg_editor VARCHAR, image_attachment VARCHAR, user_selectable_themes VARCHAR, unread_message_tracking VARCHAR)
### ANSWER
SELECT wysiwyg_editor FROM table_name_79 WHERE user_selectable_themes = "yes" AND unread_message_tracking = "session" AND image_attachment = "plugin" | {
"answer": "SELECT wysiwyg_editor FROM table_name_79 WHERE user_selectable_themes = \"yes\" AND unread_message_tracking = \"session\" AND image_attachment = \"plugin\"",
"context": "CREATE TABLE table_name_79 (wysiwyg_editor VARCHAR, image_attachment VARCHAR, user_selectable_themes VARCHAR, unread_message_tracking VARCHAR)",
"question": "Which WYSIWYG Editor has a User-selectable themes of yes, and an Unread message tracking of session, and an Image attachment of plugin?"
} |
### QUESTION
When 3 is the position what is the sail number?
### CONTEXT
CREATE TABLE table_1858574_2 (sail_number VARCHAR, position VARCHAR)
### ANSWER
SELECT sail_number FROM table_1858574_2 WHERE position = 3 | {
"answer": "SELECT sail_number FROM table_1858574_2 WHERE position = 3",
"context": "CREATE TABLE table_1858574_2 (sail_number VARCHAR, position VARCHAR)",
"question": "When 3 is the position what is the sail number?"
} |
### QUESTION
When the genre is fighting what is the game?
### CONTEXT
CREATE TABLE table_name_89 (game VARCHAR, genre VARCHAR)
### ANSWER
SELECT game FROM table_name_89 WHERE genre = "fighting" | {
"answer": "SELECT game FROM table_name_89 WHERE genre = \"fighting\"",
"context": "CREATE TABLE table_name_89 (game VARCHAR, genre VARCHAR)",
"question": "When the genre is fighting what is the game?"
} |
### QUESTION
Who is the director of Cannibal vegetarian, which is the film title used in nomination?
### CONTEXT
CREATE TABLE table_name_92 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
### ANSWER
SELECT director_s_ FROM table_name_92 WHERE film_title_used_in_nomination = "cannibal vegetarian" | {
"answer": "SELECT director_s_ FROM table_name_92 WHERE film_title_used_in_nomination = \"cannibal vegetarian\"",
"context": "CREATE TABLE table_name_92 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)",
"question": "Who is the director of Cannibal vegetarian, which is the film title used in nomination?"
} |
### QUESTION
What is the average duration of songs that have mp3 format and resolution below 800?
### CONTEXT
CREATE TABLE files (duration INTEGER, f_id VARCHAR, formats VARCHAR); CREATE TABLE song (f_id VARCHAR, resolution VARCHAR)
### ANSWER
SELECT AVG(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = "mp3" AND T2.resolution < 800 | {
"answer": "SELECT AVG(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = \"mp3\" AND T2.resolution < 800",
"context": "CREATE TABLE files (duration INTEGER, f_id VARCHAR, formats VARCHAR); CREATE TABLE song (f_id VARCHAR, resolution VARCHAR)",
"question": "What is the average duration of songs that have mp3 format and resolution below 800?"
} |
### QUESTION
How many rounds did Pierre Bland have a pick larger than 148?
### CONTEXT
CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
### ANSWER
SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = "pierre bland" | {
"answer": "SELECT COUNT(round) FROM table_name_13 WHERE pick > 148 AND player = \"pierre bland\"",
"context": "CREATE TABLE table_name_13 (round VARCHAR, pick VARCHAR, player VARCHAR)",
"question": "How many rounds did Pierre Bland have a pick larger than 148?"
} |
### QUESTION
Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25?
### CONTEXT
CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR)
### ANSWER
SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = "banana boat" AND length = "4:25" | {
"answer": "SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = \"banana boat\" AND length = \"4:25\"",
"context": "CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR)",
"question": "Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25?"
} |
### QUESTION
If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27?
### CONTEXT
CREATE TABLE table_26986076_1 (fri_27_aug VARCHAR, tues_24_aug VARCHAR)
### ANSWER
SELECT fri_27_aug FROM table_26986076_1 WHERE tues_24_aug = "20' 49.46 108.709mph" | {
"answer": "SELECT fri_27_aug FROM table_26986076_1 WHERE tues_24_aug = \"20' 49.46 108.709mph\"",
"context": "CREATE TABLE table_26986076_1 (fri_27_aug VARCHAR, tues_24_aug VARCHAR)",
"question": "If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27?"
} |
### QUESTION
When 2010 is the first elected and Florida 7 is the district who are the candidates?
### CONTEXT
CREATE TABLE table_25030512_12 (candidates VARCHAR, district VARCHAR, first_elected VARCHAR)
### ANSWER
SELECT candidates FROM table_25030512_12 WHERE district = "Florida 7" AND first_elected = "2010" | {
"answer": "SELECT candidates FROM table_25030512_12 WHERE district = \"Florida 7\" AND first_elected = \"2010\"",
"context": "CREATE TABLE table_25030512_12 (candidates VARCHAR, district VARCHAR, first_elected VARCHAR)",
"question": "When 2010 is the first elected and Florida 7 is the district who are the candidates?"
} |
### QUESTION
Which Top Division debut for Kitazakura has Tournaments less than 88?
### CONTEXT
CREATE TABLE table_name_12 (top_division_debut VARCHAR, tournaments VARCHAR, name VARCHAR)
### ANSWER
SELECT top_division_debut FROM table_name_12 WHERE tournaments < 88 AND name = "kitazakura" | {
"answer": "SELECT top_division_debut FROM table_name_12 WHERE tournaments < 88 AND name = \"kitazakura\"",
"context": "CREATE TABLE table_name_12 (top_division_debut VARCHAR, tournaments VARCHAR, name VARCHAR)",
"question": "Which Top Division debut for Kitazakura has Tournaments less than 88?"
} |
### QUESTION
Name the average Played with a Points of 0*?
### CONTEXT
CREATE TABLE table_name_72 (played INTEGER, points VARCHAR)
### ANSWER
SELECT AVG(played) FROM table_name_72 WHERE points = "0*" | {
"answer": "SELECT AVG(played) FROM table_name_72 WHERE points = \"0*\"",
"context": "CREATE TABLE table_name_72 (played INTEGER, points VARCHAR)",
"question": "Name the average Played with a Points of 0*?"
} |
### QUESTION
Which Date has a Winning constructor of fiat and a Winning driver of louis wagner?
### CONTEXT
CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)
### ANSWER
SELECT date FROM table_name_34 WHERE winning_constructor = "fiat" AND winning_driver = "louis wagner" | {
"answer": "SELECT date FROM table_name_34 WHERE winning_constructor = \"fiat\" AND winning_driver = \"louis wagner\"",
"context": "CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)",
"question": "Which Date has a Winning constructor of fiat and a Winning driver of louis wagner?"
} |
### QUESTION
List the object number of railways that do not have any trains.
### CONTEXT
CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)
### ANSWER
SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train) | {
"answer": "SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train)",
"context": "CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)",
"question": "List the object number of railways that do not have any trains."
} |
### QUESTION
Who was the opponent when Richmond played as the home team?
### CONTEXT
CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR)
### ANSWER
SELECT away_team FROM table_name_56 WHERE home_team = "richmond" | {
"answer": "SELECT away_team FROM table_name_56 WHERE home_team = \"richmond\"",
"context": "CREATE TABLE table_name_56 (away_team VARCHAR, home_team VARCHAR)",
"question": "Who was the opponent when Richmond played as the home team?"
} |
### QUESTION
What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004?
### CONTEXT
CREATE TABLE table_name_83 (march VARCHAR, year VARCHAR, average_monthly_additions_in_millions_ VARCHAR, january VARCHAR, december VARCHAR)
### ANSWER
SELECT COUNT(march) FROM table_name_83 WHERE january < 8.77 AND december > 1.69 AND average_monthly_additions_in_millions_ < 5.35 AND year < 2004 | {
"answer": "SELECT COUNT(march) FROM table_name_83 WHERE january < 8.77 AND december > 1.69 AND average_monthly_additions_in_millions_ < 5.35 AND year < 2004",
"context": "CREATE TABLE table_name_83 (march VARCHAR, year VARCHAR, average_monthly_additions_in_millions_ VARCHAR, january VARCHAR, december VARCHAR)",
"question": "What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004?"
} |
### QUESTION
What is the mascot for the school founded in 1923 with the school colors of blue, red & white?
### CONTEXT
CREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR)
### ANSWER
SELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = "Blue, Red & White" | {
"answer": "SELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = \"Blue, Red & White\"",
"context": "CREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR)",
"question": "What is the mascot for the school founded in 1923 with the school colors of blue, red & white?"
} |
### QUESTION
What was the endowment in 2008 of the college that was established in 1961?
### CONTEXT
CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR)
### ANSWER
SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961 | {
"answer": "SELECT endowment_as_of_2008 FROM table_name_55 WHERE established = 1961",
"context": "CREATE TABLE table_name_55 (endowment_as_of_2008 VARCHAR, established VARCHAR)",
"question": "What was the endowment in 2008 of the college that was established in 1961?"
} |
### QUESTION
What is the roll number of Orautoha school in Raetihi, which has a decile smaller than 8?
### CONTEXT
CREATE TABLE table_name_63 (roll INTEGER, decile VARCHAR, area VARCHAR, name VARCHAR)
### ANSWER
SELECT SUM(roll) FROM table_name_63 WHERE area = "raetihi" AND name = "orautoha school" AND decile < 8 | {
"answer": "SELECT SUM(roll) FROM table_name_63 WHERE area = \"raetihi\" AND name = \"orautoha school\" AND decile < 8",
"context": "CREATE TABLE table_name_63 (roll INTEGER, decile VARCHAR, area VARCHAR, name VARCHAR)",
"question": "What is the roll number of Orautoha school in Raetihi, which has a decile smaller than 8?"
} |
### QUESTION
How many entries are there for class when the prior experience is shasta h.s.
### CONTEXT
CREATE TABLE table_14342210_13 (class VARCHAR, prior_experience VARCHAR)
### ANSWER
SELECT COUNT(class) FROM table_14342210_13 WHERE prior_experience = "Shasta H.S." | {
"answer": "SELECT COUNT(class) FROM table_14342210_13 WHERE prior_experience = \"Shasta H.S.\"",
"context": "CREATE TABLE table_14342210_13 (class VARCHAR, prior_experience VARCHAR)",
"question": "How many entries are there for class when the prior experience is shasta h.s."
} |
### QUESTION
What is the earliest year with less than 45 points for Yamaha team in 21st rank?
### CONTEXT
CREATE TABLE table_name_49 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = "yamaha" AND rank = "21st" | {
"answer": "SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = \"yamaha\" AND rank = \"21st\"",
"context": "CREATE TABLE table_name_49 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR)",
"question": "What is the earliest year with less than 45 points for Yamaha team in 21st rank?"
} |
### QUESTION
Which Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita?
### CONTEXT
CREATE TABLE table_name_44 (japanese_title VARCHAR, disc VARCHAR, artist VARCHAR)
### ANSWER
SELECT japanese_title FROM table_name_44 WHERE disc < 12 AND artist = "kōzō murashita" | {
"answer": "SELECT japanese_title FROM table_name_44 WHERE disc < 12 AND artist = \"kōzō murashita\"",
"context": "CREATE TABLE table_name_44 (japanese_title VARCHAR, disc VARCHAR, artist VARCHAR)",
"question": "Which Japanese title has a Disc smaller than 12, and an Artist of kōzō murashita?"
} |
### QUESTION
I want the country for score of 274 and runner-up of virginie lagoutte-clément
### CONTEXT
CREATE TABLE table_name_93 (country VARCHAR, score VARCHAR, runner_s__up VARCHAR)
### ANSWER
SELECT country FROM table_name_93 WHERE score = "274" AND runner_s__up = "virginie lagoutte-clément" | {
"answer": "SELECT country FROM table_name_93 WHERE score = \"274\" AND runner_s__up = \"virginie lagoutte-clément\"",
"context": "CREATE TABLE table_name_93 (country VARCHAR, score VARCHAR, runner_s__up VARCHAR)",
"question": "I want the country for score of 274 and runner-up of virginie lagoutte-clément"
} |
### QUESTION
Which Volleyball has a Golf of 2, and an Indoor track of 3?
### CONTEXT
CREATE TABLE table_name_52 (volleyball VARCHAR, golf VARCHAR, indoor_track VARCHAR)
### ANSWER
SELECT volleyball FROM table_name_52 WHERE golf = "2" AND indoor_track = "3" | {
"answer": "SELECT volleyball FROM table_name_52 WHERE golf = \"2\" AND indoor_track = \"3\"",
"context": "CREATE TABLE table_name_52 (volleyball VARCHAR, golf VARCHAR, indoor_track VARCHAR)",
"question": "Which Volleyball has a Golf of 2, and an Indoor track of 3?"
} |
### QUESTION
What is the name of the player with a To par of –4?
### CONTEXT
CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)
### ANSWER
SELECT player FROM table_name_41 WHERE to_par = "–4" | {
"answer": "SELECT player FROM table_name_41 WHERE to_par = \"–4\"",
"context": "CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)",
"question": "What is the name of the player with a To par of –4?"
} |
### QUESTION
When was the average attendance 789?
### CONTEXT
CREATE TABLE table_2380212_1 (year INTEGER, avg_attendance VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789 | {
"answer": "SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789",
"context": "CREATE TABLE table_2380212_1 (year INTEGER, avg_attendance VARCHAR)",
"question": "When was the average attendance 789?"
} |
### QUESTION
What is the Bulgarian Commander in Autumn 1040 at the Battle of Thessalonica?
### CONTEXT
CREATE TABLE table_name_41 (bulgarian_commander VARCHAR, battle VARCHAR, date VARCHAR)
### ANSWER
SELECT bulgarian_commander FROM table_name_41 WHERE battle = "battle of thessalonica" AND date = "autumn 1040" | {
"answer": "SELECT bulgarian_commander FROM table_name_41 WHERE battle = \"battle of thessalonica\" AND date = \"autumn 1040\"",
"context": "CREATE TABLE table_name_41 (bulgarian_commander VARCHAR, battle VARCHAR, date VARCHAR)",
"question": "What is the Bulgarian Commander in Autumn 1040 at the Battle of Thessalonica?"
} |
### QUESTION
Which winning song had a debut album in progress?
### CONTEXT
CREATE TABLE table_name_32 (winning_song VARCHAR, debut_album VARCHAR)
### ANSWER
SELECT winning_song FROM table_name_32 WHERE debut_album = "in progress" | {
"answer": "SELECT winning_song FROM table_name_32 WHERE debut_album = \"in progress\"",
"context": "CREATE TABLE table_name_32 (winning_song VARCHAR, debut_album VARCHAR)",
"question": "Which winning song had a debut album in progress?"
} |
### QUESTION
Which 2005 has a Tournament of grand slam tournaments?
### CONTEXT
CREATE TABLE table_name_52 (tournament VARCHAR)
### ANSWER
SELECT 2005 FROM table_name_52 WHERE tournament = "grand slam tournaments" | {
"answer": "SELECT 2005 FROM table_name_52 WHERE tournament = \"grand slam tournaments\"",
"context": "CREATE TABLE table_name_52 (tournament VARCHAR)",
"question": "Which 2005 has a Tournament of grand slam tournaments?"
} |
### QUESTION
What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/rf) of 9 (22)?
### CONTEXT
CREATE TABLE table_name_75 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR, owned_since VARCHAR, affiliation VARCHAR)
### ANSWER
SELECT city_of_license__market FROM table_name_75 WHERE owned_since < 2011 AND affiliation = "abc" AND channel___tv___rf__ = "9 (22)" | {
"answer": "SELECT city_of_license__market FROM table_name_75 WHERE owned_since < 2011 AND affiliation = \"abc\" AND channel___tv___rf__ = \"9 (22)\"",
"context": "CREATE TABLE table_name_75 (city_of_license__market VARCHAR, channel___tv___rf__ VARCHAR, owned_since VARCHAR, affiliation VARCHAR)",
"question": "What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/rf) of 9 (22)?"
} |
### QUESTION
Which Intelli Trace has a No Extension and Windows Phone development of no?
### CONTEXT
CREATE TABLE table_name_10 (intellitrace VARCHAR, extensions VARCHAR, windows_phone_development VARCHAR)
### ANSWER
SELECT intellitrace FROM table_name_10 WHERE extensions = "no" AND windows_phone_development = "no" | {
"answer": "SELECT intellitrace FROM table_name_10 WHERE extensions = \"no\" AND windows_phone_development = \"no\"",
"context": "CREATE TABLE table_name_10 (intellitrace VARCHAR, extensions VARCHAR, windows_phone_development VARCHAR)",
"question": "Which Intelli Trace has a No Extension and Windows Phone development of no?"
} |
### QUESTION
Show the average amount of transactions for different investors.
### CONTEXT
CREATE TABLE TRANSACTIONS (investor_id VARCHAR, amount_of_transaction INTEGER)
### ANSWER
SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id | {
"answer": "SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id",
"context": "CREATE TABLE TRANSACTIONS (investor_id VARCHAR, amount_of_transaction INTEGER)",
"question": "Show the average amount of transactions for different investors."
} |
### QUESTION
Which dance has the worst dancer(s) as marissa jaret winokur?
### CONTEXT
CREATE TABLE table_name_52 (dance VARCHAR, worst_dancer_s_ VARCHAR)
### ANSWER
SELECT dance FROM table_name_52 WHERE worst_dancer_s_ = "marissa jaret winokur" | {
"answer": "SELECT dance FROM table_name_52 WHERE worst_dancer_s_ = \"marissa jaret winokur\"",
"context": "CREATE TABLE table_name_52 (dance VARCHAR, worst_dancer_s_ VARCHAR)",
"question": "Which dance has the worst dancer(s) as marissa jaret winokur?"
} |
### QUESTION
Find the last name of the first ever contact person of the organization with the highest UK Vat number.
### CONTEXT
CREATE TABLE organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, uk_vat_number INTEGER); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR)
### ANSWER
SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to LIMIT 1 | {
"answer": "SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to LIMIT 1",
"context": "CREATE TABLE organizations (uk_vat_number INTEGER); CREATE TABLE individuals (individual_last_name VARCHAR, individual_id VARCHAR); CREATE TABLE organizations (organization_id VARCHAR, uk_vat_number INTEGER); CREATE TABLE organization_contact_individuals (organization_id VARCHAR, individual_id VARCHAR, date_contact_to VARCHAR)",
"question": "Find the last name of the first ever contact person of the organization with the highest UK Vat number."
} |
### QUESTION
In what year was The House of Blue Leaves nominated for outstanding actress in a play?
### CONTEXT
CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_62 WHERE nominated_work = "the house of blue leaves" AND category = "outstanding actress in a play" | {
"answer": "SELECT SUM(year) FROM table_name_62 WHERE nominated_work = \"the house of blue leaves\" AND category = \"outstanding actress in a play\"",
"context": "CREATE TABLE table_name_62 (year INTEGER, nominated_work VARCHAR, category VARCHAR)",
"question": "In what year was The House of Blue Leaves nominated for outstanding actress in a play?"
} |
### QUESTION
Find the name and city of the airport which is the source for the most number of flight routes.
### CONTEXT
CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)
### ANSWER
SELECT T1.name, T1.city, T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T2.src_apid ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.name, T1.city, T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T2.src_apid ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)",
"question": "Find the name and city of the airport which is the source for the most number of flight routes."
} |
### QUESTION
Find the movies with the highest average rating. Return the movie titles and average rating.
### CONTEXT
CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
### ANSWER
SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) DESC LIMIT 1 | {
"answer": "SELECT T2.title, AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.mID ORDER BY AVG(T1.stars) DESC LIMIT 1",
"context": "CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)",
"question": "Find the movies with the highest average rating. Return the movie titles and average rating."
} |
### QUESTION
Name the candidates for new york 21
### CONTEXT
CREATE TABLE table_2668243_17 (candidates VARCHAR, district VARCHAR)
### ANSWER
SELECT candidates FROM table_2668243_17 WHERE district = "New York 21" | {
"answer": "SELECT candidates FROM table_2668243_17 WHERE district = \"New York 21\"",
"context": "CREATE TABLE table_2668243_17 (candidates VARCHAR, district VARCHAR)",
"question": "Name the candidates for new york 21"
} |
### QUESTION
Who is the driver of the team with the crew chief Derrick Finley?
### CONTEXT
CREATE TABLE table_name_16 (driver_s_ VARCHAR, crew_chief VARCHAR)
### ANSWER
SELECT driver_s_ FROM table_name_16 WHERE crew_chief = "derrick finley" | {
"answer": "SELECT driver_s_ FROM table_name_16 WHERE crew_chief = \"derrick finley\"",
"context": "CREATE TABLE table_name_16 (driver_s_ VARCHAR, crew_chief VARCHAR)",
"question": "Who is the driver of the team with the crew chief Derrick Finley?"
} |
### QUESTION
Which player has 0 goals, 1 tries, 4 points, and plays in the Prop position?
### CONTEXT
CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, points VARCHAR, goals VARCHAR, tries VARCHAR)
### ANSWER
SELECT player FROM table_name_19 WHERE goals = 0 AND tries = 1 AND points = 4 AND position = "prop" | {
"answer": "SELECT player FROM table_name_19 WHERE goals = 0 AND tries = 1 AND points = 4 AND position = \"prop\"",
"context": "CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, points VARCHAR, goals VARCHAR, tries VARCHAR)",
"question": "Which player has 0 goals, 1 tries, 4 points, and plays in the Prop position?"
} |
### QUESTION
What is the FCC info of the translator with an Irmo, South Carolina city license?
### CONTEXT
CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR)
### ANSWER
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina" | {
"answer": "SELECT fcc_info FROM table_name_51 WHERE city_of_license = \"irmo, south carolina\"",
"context": "CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR)",
"question": "What is the FCC info of the translator with an Irmo, South Carolina city license?"
} |
### QUESTION
Name the high assists for madison square garden 19,763 and record is 39–38
### CONTEXT
CREATE TABLE table_27713583_11 (high_assists VARCHAR, location_attendance VARCHAR, record VARCHAR)
### ANSWER
SELECT high_assists FROM table_27713583_11 WHERE location_attendance = "Madison Square Garden 19,763" AND record = "39–38" | {
"answer": "SELECT high_assists FROM table_27713583_11 WHERE location_attendance = \"Madison Square Garden 19,763\" AND record = \"39–38\"",
"context": "CREATE TABLE table_27713583_11 (high_assists VARCHAR, location_attendance VARCHAR, record VARCHAR)",
"question": "Name the high assists for madison square garden 19,763 and record is 39–38"
} |
### QUESTION
The EVA that started 8 July 12:38 was from what spacecraft?
### CONTEXT
CREATE TABLE table_name_96 (spacecraft VARCHAR, start_date_time VARCHAR)
### ANSWER
SELECT spacecraft FROM table_name_96 WHERE start_date_time = "8 july 12:38" | {
"answer": "SELECT spacecraft FROM table_name_96 WHERE start_date_time = \"8 july 12:38\"",
"context": "CREATE TABLE table_name_96 (spacecraft VARCHAR, start_date_time VARCHAR)",
"question": "The EVA that started 8 July 12:38 was from what spacecraft?"
} |
### QUESTION
What are the scores when total score/week is 41/60 and co-contestant is Shalini Chandran?
### CONTEXT
CREATE TABLE table_name_10 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
### ANSWER
SELECT scores_by_each_individual_judge FROM table_name_10 WHERE total_score_week = "41/60" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" | {
"answer": "SELECT scores_by_each_individual_judge FROM table_name_10 WHERE total_score_week = \"41/60\" AND co_contestant__yaar_vs_pyaar_ = \"shalini chandran\"",
"context": "CREATE TABLE table_name_10 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)",
"question": "What are the scores when total score/week is 41/60 and co-contestant is Shalini Chandran?"
} |
### QUESTION
What is the sum of Week when there were 67,968 people in attendance?
### CONTEXT
CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR)
### ANSWER
SELECT SUM(week) FROM table_name_66 WHERE attendance = "67,968" | {
"answer": "SELECT SUM(week) FROM table_name_66 WHERE attendance = \"67,968\"",
"context": "CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR)",
"question": "What is the sum of Week when there were 67,968 people in attendance?"
} |
### QUESTION
What was the film title that emma thompson was the actress nominated for best supporting actress?
### CONTEXT
CREATE TABLE table_name_81 (film_title_used_in_nomination VARCHAR, actor_actress VARCHAR, category VARCHAR)
### ANSWER
SELECT film_title_used_in_nomination FROM table_name_81 WHERE actor_actress = "emma thompson" AND category = "best supporting actress" | {
"answer": "SELECT film_title_used_in_nomination FROM table_name_81 WHERE actor_actress = \"emma thompson\" AND category = \"best supporting actress\"",
"context": "CREATE TABLE table_name_81 (film_title_used_in_nomination VARCHAR, actor_actress VARCHAR, category VARCHAR)",
"question": "What was the film title that emma thompson was the actress nominated for best supporting actress?"
} |
### QUESTION
What's the leader team in the Trofeo Fast Team in stage 20?
### CONTEXT
CREATE TABLE table_12261714_2 (trofeo_fast_team VARCHAR, stage VARCHAR)
### ANSWER
SELECT trofeo_fast_team FROM table_12261714_2 WHERE stage = "20" | {
"answer": "SELECT trofeo_fast_team FROM table_12261714_2 WHERE stage = \"20\"",
"context": "CREATE TABLE table_12261714_2 (trofeo_fast_team VARCHAR, stage VARCHAR)",
"question": "What's the leader team in the Trofeo Fast Team in stage 20?"
} |
### QUESTION
What is Position, when Province / Club is Example, when Date of Birth (Age) is Example, and when Player is Michael Elumeze?
### CONTEXT
CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR, province___club VARCHAR, date_of_birth__age_ VARCHAR)
### ANSWER
SELECT position FROM table_name_52 WHERE province___club = "example" AND date_of_birth__age_ = "example" AND player = "michael elumeze" | {
"answer": "SELECT position FROM table_name_52 WHERE province___club = \"example\" AND date_of_birth__age_ = \"example\" AND player = \"michael elumeze\"",
"context": "CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR, province___club VARCHAR, date_of_birth__age_ VARCHAR)",
"question": "What is Position, when Province / Club is Example, when Date of Birth (Age) is Example, and when Player is Michael Elumeze?"
} |
### QUESTION
For a vehicle below 25 feet, that was retired in 2005 and had a navistar t444e engine, what was the total width?
### CONTEXT
CREATE TABLE table_name_11 (width__inches_ VARCHAR, length__feet_ VARCHAR, engine VARCHAR, retired VARCHAR)
### ANSWER
SELECT COUNT(width__inches_) FROM table_name_11 WHERE engine = "navistar t444e" AND retired = "2005" AND length__feet_ < 25 | {
"answer": "SELECT COUNT(width__inches_) FROM table_name_11 WHERE engine = \"navistar t444e\" AND retired = \"2005\" AND length__feet_ < 25",
"context": "CREATE TABLE table_name_11 (width__inches_ VARCHAR, length__feet_ VARCHAR, engine VARCHAR, retired VARCHAR)",
"question": "For a vehicle below 25 feet, that was retired in 2005 and had a navistar t444e engine, what was the total width?"
} |
### QUESTION
What location did david mccann receive a siver and morgan fox win the gold?
### CONTEXT
CREATE TABLE table_name_38 (location VARCHAR, silver VARCHAR, gold VARCHAR)
### ANSWER
SELECT location FROM table_name_38 WHERE silver = "david mccann" AND gold = "morgan fox" | {
"answer": "SELECT location FROM table_name_38 WHERE silver = \"david mccann\" AND gold = \"morgan fox\"",
"context": "CREATE TABLE table_name_38 (location VARCHAR, silver VARCHAR, gold VARCHAR)",
"question": "What location did david mccann receive a siver and morgan fox win the gold?"
} |
### QUESTION
What is the location with enrollment of 316 and county is 68 Randolph?
### CONTEXT
CREATE TABLE table_name_21 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR)
### ANSWER
SELECT location FROM table_name_21 WHERE _number___county = "68 randolph" AND enrollment = 316 | {
"answer": "SELECT location FROM table_name_21 WHERE _number___county = \"68 randolph\" AND enrollment = 316",
"context": "CREATE TABLE table_name_21 (location VARCHAR, _number___county VARCHAR, enrollment VARCHAR)",
"question": "What is the location with enrollment of 316 and county is 68 Randolph?"
} |
### QUESTION
How many position does Teodor Salparov play on?
### CONTEXT
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
### ANSWER
SELECT COUNT(position) FROM table_14038363_1 WHERE player = "Teodor Salparov" | {
"answer": "SELECT COUNT(position) FROM table_14038363_1 WHERE player = \"Teodor Salparov\"",
"context": "CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)",
"question": "How many position does Teodor Salparov play on? "
} |
### QUESTION
Show the name of the shop that has the most kind of devices in stock.
### CONTEXT
CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_ID VARCHAR)
### ANSWER
SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_ID VARCHAR)",
"question": "Show the name of the shop that has the most kind of devices in stock."
} |
### QUESTION
Name the condition with platelet count of unaffected and bleeding time of unaffected with prothrombin time of prolonged and partial thromboplastin time of prolonged
### CONTEXT
CREATE TABLE table_name_52 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR)
### ANSWER
SELECT condition FROM table_name_52 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND prothrombin_time = "prolonged" AND partial_thromboplastin_time = "prolonged" | {
"answer": "SELECT condition FROM table_name_52 WHERE platelet_count = \"unaffected\" AND bleeding_time = \"unaffected\" AND prothrombin_time = \"prolonged\" AND partial_thromboplastin_time = \"prolonged\"",
"context": "CREATE TABLE table_name_52 (condition VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR)",
"question": "Name the condition with platelet count of unaffected and bleeding time of unaffected with prothrombin time of prolonged and partial thromboplastin time of prolonged"
} |
### QUESTION
Tell me the sum of interview for evening gown more than 8.37 and average of 8.363
### CONTEXT
CREATE TABLE table_name_57 (interview INTEGER, average VARCHAR, evening_gown VARCHAR)
### ANSWER
SELECT SUM(interview) FROM table_name_57 WHERE average = 8.363 AND evening_gown > 8.37 | {
"answer": "SELECT SUM(interview) FROM table_name_57 WHERE average = 8.363 AND evening_gown > 8.37",
"context": "CREATE TABLE table_name_57 (interview INTEGER, average VARCHAR, evening_gown VARCHAR)",
"question": "Tell me the sum of interview for evening gown more than 8.37 and average of 8.363"
} |
### QUESTION
What's the date when Yelena Isinbayeva for Russia was in Beijing, China?
### CONTEXT
CREATE TABLE table_name_82 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR)
### ANSWER
SELECT date FROM table_name_82 WHERE nation = "russia" AND place = "beijing, china" AND athlete = "yelena isinbayeva" | {
"answer": "SELECT date FROM table_name_82 WHERE nation = \"russia\" AND place = \"beijing, china\" AND athlete = \"yelena isinbayeva\"",
"context": "CREATE TABLE table_name_82 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR)",
"question": "What's the date when Yelena Isinbayeva for Russia was in Beijing, China?"
} |
### QUESTION
Show the school name and driver name for all school buses.
### CONTEXT
CREATE TABLE school (school VARCHAR, school_id VARCHAR); CREATE TABLE school_bus (school_id VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR)
### ANSWER
SELECT T2.school, T3.name FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN driver AS T3 ON T1.driver_id = T3.driver_id | {
"answer": "SELECT T2.school, T3.name FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id JOIN driver AS T3 ON T1.driver_id = T3.driver_id",
"context": "CREATE TABLE school (school VARCHAR, school_id VARCHAR); CREATE TABLE school_bus (school_id VARCHAR, driver_id VARCHAR); CREATE TABLE driver (name VARCHAR, driver_id VARCHAR)",
"question": "Show the school name and driver name for all school buses."
} |
### QUESTION
Show names of all high school students who do not have any friends.
### CONTEXT
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Highschooler (name VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
### ANSWER
SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id | {
"answer": "SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id",
"context": "CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Highschooler (name VARCHAR); CREATE TABLE Friend (student_id VARCHAR)",
"question": "Show names of all high school students who do not have any friends."
} |
### QUESTION
Who handled production for the race when the championship went to david wall and challenge was jordan ormsby?
### CONTEXT
CREATE TABLE table_26686908_2 (production VARCHAR, championship VARCHAR, challenge VARCHAR)
### ANSWER
SELECT production FROM table_26686908_2 WHERE championship = "David Wall" AND challenge = "Jordan Ormsby" | {
"answer": "SELECT production FROM table_26686908_2 WHERE championship = \"David Wall\" AND challenge = \"Jordan Ormsby\"",
"context": "CREATE TABLE table_26686908_2 (production VARCHAR, championship VARCHAR, challenge VARCHAR)",
"question": "Who handled production for the race when the championship went to david wall and challenge was jordan ormsby?"
} |
### QUESTION
How many events for orville moody, ranking below 3?
### CONTEXT
CREATE TABLE table_name_67 (events INTEGER, rank VARCHAR, player VARCHAR)
### ANSWER
SELECT SUM(events) FROM table_name_67 WHERE rank > 3 AND player = "orville moody" | {
"answer": "SELECT SUM(events) FROM table_name_67 WHERE rank > 3 AND player = \"orville moody\"",
"context": "CREATE TABLE table_name_67 (events INTEGER, rank VARCHAR, player VARCHAR)",
"question": "How many events for orville moody, ranking below 3?"
} |
### QUESTION
What is the average assets in billions of the company Bank of America, which has less than 49.01 billions in sales?
### CONTEXT
CREATE TABLE table_name_70 (assets__billion_ INTEGER, company VARCHAR, sales__billion_$_ VARCHAR)
### ANSWER
SELECT AVG(assets__billion_) AS $_ FROM table_name_70 WHERE company = "bank of america" AND sales__billion_$_ < 49.01 | {
"answer": "SELECT AVG(assets__billion_) AS $_ FROM table_name_70 WHERE company = \"bank of america\" AND sales__billion_$_ < 49.01",
"context": "CREATE TABLE table_name_70 (assets__billion_ INTEGER, company VARCHAR, sales__billion_$_ VARCHAR)",
"question": "What is the average assets in billions of the company Bank of America, which has less than 49.01 billions in sales?"
} |
### QUESTION
Manager of marty berghammer, and a Finish of 1st involved what lowest year?
### CONTEXT
CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR)
### ANSWER
SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st" | {
"answer": "SELECT MIN(year) FROM table_name_59 WHERE manager = \"marty berghammer\" AND finish = \"1st\"",
"context": "CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR)",
"question": "Manager of marty berghammer, and a Finish of 1st involved what lowest year?"
} |
### QUESTION
What Singapore League Cup does Masahiro Fukasawa have?
### CONTEXT
CREATE TABLE table_name_99 (singapore_league_cup VARCHAR, name VARCHAR)
### ANSWER
SELECT singapore_league_cup FROM table_name_99 WHERE name = "masahiro fukasawa" | {
"answer": "SELECT singapore_league_cup FROM table_name_99 WHERE name = \"masahiro fukasawa\"",
"context": "CREATE TABLE table_name_99 (singapore_league_cup VARCHAR, name VARCHAR)",
"question": "What Singapore League Cup does Masahiro Fukasawa have?"
} |
### QUESTION
Name the date for race title lakeside
### CONTEXT
CREATE TABLE table_name_21 (date VARCHAR, race_title VARCHAR)
### ANSWER
SELECT date FROM table_name_21 WHERE race_title = "lakeside" | {
"answer": "SELECT date FROM table_name_21 WHERE race_title = \"lakeside\"",
"context": "CREATE TABLE table_name_21 (date VARCHAR, race_title VARCHAR)",
"question": "Name the date for race title lakeside"
} |
### QUESTION
What was the score of the match that was a played on a hard surface against Peter Gojowczyk?
### CONTEXT
CREATE TABLE table_name_85 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
### ANSWER
SELECT score FROM table_name_85 WHERE surface = "hard" AND opponent_in_the_final = "peter gojowczyk" | {
"answer": "SELECT score FROM table_name_85 WHERE surface = \"hard\" AND opponent_in_the_final = \"peter gojowczyk\"",
"context": "CREATE TABLE table_name_85 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)",
"question": "What was the score of the match that was a played on a hard surface against Peter Gojowczyk?"
} |
### QUESTION
What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?
### CONTEXT
CREATE TABLE table_name_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR)
### ANSWER
SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = "danish kaneria" AND average > 13.8 | {
"answer": "SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = \"danish kaneria\" AND average > 13.8",
"context": "CREATE TABLE table_name_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR)",
"question": "What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?"
} |
### QUESTION
Name the team #2 for river plate
### CONTEXT
CREATE TABLE table_23812628_1 (team__number2 VARCHAR, team__number1 VARCHAR)
### ANSWER
SELECT team__number2 FROM table_23812628_1 WHERE team__number1 = "River Plate" | {
"answer": "SELECT team__number2 FROM table_23812628_1 WHERE team__number1 = \"River Plate\"",
"context": "CREATE TABLE table_23812628_1 (team__number2 VARCHAR, team__number1 VARCHAR)",
"question": "Name the team #2 for river plate"
} |
### QUESTION
What is the broadcast date when 8.3 million viewers watched?
### CONTEXT
CREATE TABLE table_1785117_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
### ANSWER
SELECT broadcast_date FROM table_1785117_1 WHERE viewers__in_millions_ = "8.3" | {
"answer": "SELECT broadcast_date FROM table_1785117_1 WHERE viewers__in_millions_ = \"8.3\"",
"context": "CREATE TABLE table_1785117_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)",
"question": "What is the broadcast date when 8.3 million viewers watched?"
} |
### QUESTION
What are first and last names of players participating in all star game in 1998?
### CONTEXT
CREATE TABLE all_star (player_id VARCHAR); CREATE TABLE player (player_id VARCHAR)
### ANSWER
SELECT name_first, name_last FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id WHERE YEAR = 1998 | {
"answer": "SELECT name_first, name_last FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id WHERE YEAR = 1998",
"context": "CREATE TABLE all_star (player_id VARCHAR); CREATE TABLE player (player_id VARCHAR)",
"question": "What are first and last names of players participating in all star game in 1998?"
} |
### QUESTION
Name the result with notes of quarter-finals and event of adcc 2001 absolute
### CONTEXT
CREATE TABLE table_name_65 (result VARCHAR, notes VARCHAR, event VARCHAR)
### ANSWER
SELECT result FROM table_name_65 WHERE notes = "quarter-finals" AND event = "adcc 2001 absolute" | {
"answer": "SELECT result FROM table_name_65 WHERE notes = \"quarter-finals\" AND event = \"adcc 2001 absolute\"",
"context": "CREATE TABLE table_name_65 (result VARCHAR, notes VARCHAR, event VARCHAR)",
"question": "Name the result with notes of quarter-finals and event of adcc 2001 absolute"
} |
### QUESTION
If the pole position is Johnny Rutherford and the track is the Ontario Motor Speedway, what is the RND total number?
### CONTEXT
CREATE TABLE table_22670216_1 (rnd VARCHAR, track VARCHAR, pole_position VARCHAR)
### ANSWER
SELECT COUNT(rnd) FROM table_22670216_1 WHERE track = "Ontario Motor Speedway" AND pole_position = "Johnny Rutherford" | {
"answer": "SELECT COUNT(rnd) FROM table_22670216_1 WHERE track = \"Ontario Motor Speedway\" AND pole_position = \"Johnny Rutherford\"",
"context": "CREATE TABLE table_22670216_1 (rnd VARCHAR, track VARCHAR, pole_position VARCHAR)",
"question": "If the pole position is Johnny Rutherford and the track is the Ontario Motor Speedway, what is the RND total number?"
} |
### QUESTION
What kind of Replaced has a Manner of departure of end of contract on dec. 16, 2008?
### CONTEXT
CREATE TABLE table_name_49 (replaced_by VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR)
### ANSWER
SELECT replaced_by FROM table_name_49 WHERE manner_of_departure = "end of contract" AND date_of_appointment = "dec. 16, 2008" | {
"answer": "SELECT replaced_by FROM table_name_49 WHERE manner_of_departure = \"end of contract\" AND date_of_appointment = \"dec. 16, 2008\"",
"context": "CREATE TABLE table_name_49 (replaced_by VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR)",
"question": "What kind of Replaced has a Manner of departure of end of contract on dec. 16, 2008?"
} |
### QUESTION
What driver has 5 as the zan 2?
### CONTEXT
CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)
### ANSWER
SELECT driver FROM table_name_69 WHERE zan_2 = "5" | {
"answer": "SELECT driver FROM table_name_69 WHERE zan_2 = \"5\"",
"context": "CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)",
"question": "What driver has 5 as the zan 2?"
} |
### QUESTION
Which rd. took place at Hockenheimring?
### CONTEXT
CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR)
### ANSWER
SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring" | {
"answer": "SELECT MIN(rd) FROM table_1137718_2 WHERE location = \"Hockenheimring\"",
"context": "CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR)",
"question": "Which rd. took place at Hockenheimring?"
} |
### QUESTION
When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the population (2010) (rank)?
### CONTEXT
CREATE TABLE table_14253123_1 (population__2010___rank_ VARCHAR, area_sq_mi__km_2____rank_ VARCHAR)
### ANSWER
SELECT population__2010___rank_ FROM table_14253123_1 WHERE area_sq_mi__km_2____rank_ = "sqmi (km2) (5)" | {
"answer": "SELECT population__2010___rank_ FROM table_14253123_1 WHERE area_sq_mi__km_2____rank_ = \"sqmi (km2) (5)\"",
"context": "CREATE TABLE table_14253123_1 (population__2010___rank_ VARCHAR, area_sq_mi__km_2____rank_ VARCHAR)",
"question": "When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the population (2010) (rank)?"
} |
### QUESTION
When are the birthdays of customer who are classified as 'Good Customer' status?
### CONTEXT
CREATE TABLE Customers (date_of_birth VARCHAR, customer_status_code VARCHAR)
### ANSWER
SELECT date_of_birth FROM Customers WHERE customer_status_code = 'Good Customer' | {
"answer": "SELECT date_of_birth FROM Customers WHERE customer_status_code = 'Good Customer'",
"context": "CREATE TABLE Customers (date_of_birth VARCHAR, customer_status_code VARCHAR)",
"question": "When are the birthdays of customer who are classified as 'Good Customer' status?"
} |
### QUESTION
Which Nominee has a Category of outstanding musical?
### CONTEXT
CREATE TABLE table_name_88 (nominee VARCHAR, category VARCHAR)
### ANSWER
SELECT nominee FROM table_name_88 WHERE category = "outstanding musical" | {
"answer": "SELECT nominee FROM table_name_88 WHERE category = \"outstanding musical\"",
"context": "CREATE TABLE table_name_88 (nominee VARCHAR, category VARCHAR)",
"question": "Which Nominee has a Category of outstanding musical?"
} |
### QUESTION
What tournament is listed as A in 1972 and 2R in 1975?
### CONTEXT
CREATE TABLE table_name_69 (tournament VARCHAR)
### ANSWER
SELECT tournament FROM table_name_69 WHERE 1972 = "a" AND 1975 = "2r" | {
"answer": "SELECT tournament FROM table_name_69 WHERE 1972 = \"a\" AND 1975 = \"2r\"",
"context": "CREATE TABLE table_name_69 (tournament VARCHAR)",
"question": "What tournament is listed as A in 1972 and 2R in 1975?"
} |
### QUESTION
Who was the home team when the record was 27–14–6?
### CONTEXT
CREATE TABLE table_name_15 (home VARCHAR, record VARCHAR)
### ANSWER
SELECT home FROM table_name_15 WHERE record = "27–14–6" | {
"answer": "SELECT home FROM table_name_15 WHERE record = \"27–14–6\"",
"context": "CREATE TABLE table_name_15 (home VARCHAR, record VARCHAR)",
"question": "Who was the home team when the record was 27–14–6?"
} |
### QUESTION
What is the number of the rank when the time is 2:15.98, in a lane larger than 7?
### CONTEXT
CREATE TABLE table_name_55 (rank VARCHAR, time VARCHAR, lane VARCHAR)
### ANSWER
SELECT COUNT(rank) FROM table_name_55 WHERE time = "2:15.98" AND lane > 7 | {
"answer": "SELECT COUNT(rank) FROM table_name_55 WHERE time = \"2:15.98\" AND lane > 7",
"context": "CREATE TABLE table_name_55 (rank VARCHAR, time VARCHAR, lane VARCHAR)",
"question": "What is the number of the rank when the time is 2:15.98, in a lane larger than 7?"
} |
### QUESTION
What is the grid with 71 laps and the driver, Allan McNish.
### CONTEXT
CREATE TABLE table_name_55 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
### ANSWER
SELECT grid FROM table_name_55 WHERE laps = "71" AND driver = "allan mcnish" | {
"answer": "SELECT grid FROM table_name_55 WHERE laps = \"71\" AND driver = \"allan mcnish\"",
"context": "CREATE TABLE table_name_55 (grid VARCHAR, laps VARCHAR, driver VARCHAR)",
"question": "What is the grid with 71 laps and the driver, Allan McNish."
} |
### QUESTION
Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back?
### CONTEXT
CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)
### ANSWER
SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back" | {
"answer": "SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = \"defensive back\"",
"context": "CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)",
"question": "Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back?"
} |
### QUESTION
What is the highest round played by Chris Phillips?
### CONTEXT
CREATE TABLE table_name_67 (round INTEGER, player VARCHAR)
### ANSWER
SELECT MAX(round) FROM table_name_67 WHERE player = "chris phillips" | {
"answer": "SELECT MAX(round) FROM table_name_67 WHERE player = \"chris phillips\"",
"context": "CREATE TABLE table_name_67 (round INTEGER, player VARCHAR)",
"question": "What is the highest round played by Chris Phillips?"
} |
### QUESTION
Who was the CM winning team when the FM winning team was #17 Elva - Ford?
### CONTEXT
CREATE TABLE table_29225103_2 (cm_winning_team VARCHAR, fm_winning_team VARCHAR)
### ANSWER
SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford" | {
"answer": "SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = \"#17 Elva - Ford\"",
"context": "CREATE TABLE table_29225103_2 (cm_winning_team VARCHAR, fm_winning_team VARCHAR)",
"question": "Who was the CM winning team when the FM winning team was #17 Elva - Ford?"
} |
### QUESTION
What is the to par that has england as the country, with 66 as a score?
### CONTEXT
CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR, score VARCHAR)
### ANSWER
SELECT to_par FROM table_name_95 WHERE country = "england" AND score = 66 | {
"answer": "SELECT to_par FROM table_name_95 WHERE country = \"england\" AND score = 66",
"context": "CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR, score VARCHAR)",
"question": "What is the to par that has england as the country, with 66 as a score?"
} |
### QUESTION
what is the score when the result is loss, the year is 1980 and the competition is world group, consolation round?
### CONTEXT
CREATE TABLE table_name_45 (score VARCHAR, competition VARCHAR, result VARCHAR, year VARCHAR)
### ANSWER
SELECT score FROM table_name_45 WHERE result = "loss" AND year = "1980" AND competition = "world group, consolation round" | {
"answer": "SELECT score FROM table_name_45 WHERE result = \"loss\" AND year = \"1980\" AND competition = \"world group, consolation round\"",
"context": "CREATE TABLE table_name_45 (score VARCHAR, competition VARCHAR, result VARCHAR, year VARCHAR)",
"question": "what is the score when the result is loss, the year is 1980 and the competition is world group, consolation round?"
} |
### QUESTION
Who was the manager for the team with captain Neil Redfearn?
### CONTEXT
CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR)
### ANSWER
SELECT manager_1 FROM table_name_24 WHERE captain = "neil redfearn" | {
"answer": "SELECT manager_1 FROM table_name_24 WHERE captain = \"neil redfearn\"",
"context": "CREATE TABLE table_name_24 (manager_1 VARCHAR, captain VARCHAR)",
"question": "Who was the manager for the team with captain Neil Redfearn?"
} |
### QUESTION
List the all the distinct names of the products with the characteristic name 'warm'.
### CONTEXT
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### ANSWER
SELECT DISTINCT t1.product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t3.characteristic_name = "warm" | {
"answer": "SELECT DISTINCT t1.product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t3.characteristic_name = \"warm\"",
"context": "CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)",
"question": "List the all the distinct names of the products with the characteristic name 'warm'."
} |
### QUESTION
List the project details of the projects launched by the organisation
### CONTEXT
CREATE TABLE Projects (project_details VARCHAR, organisation_id VARCHAR)
### ANSWER
SELECT project_details FROM Projects WHERE organisation_id IN (SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY COUNT(*) DESC LIMIT 1) | {
"answer": "SELECT project_details FROM Projects WHERE organisation_id IN (SELECT organisation_id FROM Projects GROUP BY organisation_id ORDER BY COUNT(*) DESC LIMIT 1)",
"context": "CREATE TABLE Projects (project_details VARCHAR, organisation_id VARCHAR)",
"question": "List the project details of the projects launched by the organisation"
} |
### QUESTION
Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?
### CONTEXT
CREATE TABLE table_name_53 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
### ANSWER
SELECT winning_driver FROM table_name_53 WHERE winning_constructor = "alfa romeo" AND name = "roussillon grand prix" | {
"answer": "SELECT winning_driver FROM table_name_53 WHERE winning_constructor = \"alfa romeo\" AND name = \"roussillon grand prix\"",
"context": "CREATE TABLE table_name_53 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)",
"question": "Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?"
} |
### QUESTION
Name the number of spring enrollment for sioux falls seminary
### CONTEXT
CREATE TABLE table_2076557_2 (enrollment__spring_2012_ VARCHAR, school VARCHAR)
### ANSWER
SELECT COUNT(enrollment__spring_2012_) FROM table_2076557_2 WHERE school = "Sioux Falls Seminary" | {
"answer": "SELECT COUNT(enrollment__spring_2012_) FROM table_2076557_2 WHERE school = \"Sioux Falls Seminary\"",
"context": "CREATE TABLE table_2076557_2 (enrollment__spring_2012_ VARCHAR, school VARCHAR)",
"question": "Name the number of spring enrollment for sioux falls seminary"
} |
### QUESTION
How many regions have a capital of matanzas and a 2005 population under 670427?
### CONTEXT
CREATE TABLE table_name_85 (area__km²_ VARCHAR, capital VARCHAR, population__2005_ VARCHAR)
### ANSWER
SELECT COUNT(area__km²_) FROM table_name_85 WHERE capital = "matanzas" AND population__2005_ < 670427 | {
"answer": "SELECT COUNT(area__km²_) FROM table_name_85 WHERE capital = \"matanzas\" AND population__2005_ < 670427",
"context": "CREATE TABLE table_name_85 (area__km²_ VARCHAR, capital VARCHAR, population__2005_ VARCHAR)",
"question": "How many regions have a capital of matanzas and a 2005 population under 670427?"
} |
### QUESTION
Where is the kap shui mun bridge?
### CONTEXT
CREATE TABLE table_name_35 (location VARCHAR, name VARCHAR)
### ANSWER
SELECT location FROM table_name_35 WHERE name = "kap shui mun bridge" | {
"answer": "SELECT location FROM table_name_35 WHERE name = \"kap shui mun bridge\"",
"context": "CREATE TABLE table_name_35 (location VARCHAR, name VARCHAR)",
"question": "Where is the kap shui mun bridge?"
} |
### QUESTION
I want the average for evening gown of 7.52 and swimsuit larger than 7.78
### CONTEXT
CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR)
### ANSWER
SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78 | {
"answer": "SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78",
"context": "CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR)",
"question": "I want the average for evening gown of 7.52 and swimsuit larger than 7.78"
} |
### QUESTION
Which Date has a Stadium of giants stadium, and a Week smaller than 13, and an Opponent of seattle seahawks?
### CONTEXT
CREATE TABLE table_name_79 (date VARCHAR, opponent VARCHAR, stadium VARCHAR, week VARCHAR)
### ANSWER
SELECT date FROM table_name_79 WHERE stadium = "giants stadium" AND week < 13 AND opponent = "seattle seahawks" | {
"answer": "SELECT date FROM table_name_79 WHERE stadium = \"giants stadium\" AND week < 13 AND opponent = \"seattle seahawks\"",
"context": "CREATE TABLE table_name_79 (date VARCHAR, opponent VARCHAR, stadium VARCHAR, week VARCHAR)",
"question": "Which Date has a Stadium of giants stadium, and a Week smaller than 13, and an Opponent of seattle seahawks?"
} |
### QUESTION
What is the location of Blanca Peak?
### CONTEXT
CREATE TABLE table_name_77 (location VARCHAR, mountain_peak VARCHAR)
### ANSWER
SELECT location FROM table_name_77 WHERE mountain_peak = "blanca peak" | {
"answer": "SELECT location FROM table_name_77 WHERE mountain_peak = \"blanca peak\"",
"context": "CREATE TABLE table_name_77 (location VARCHAR, mountain_peak VARCHAR)",
"question": "What is the location of Blanca Peak?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.