text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Tell me the highest week for metropolitan stadium for attendance more than 47,644
### CONTEXT
CREATE TABLE table_name_80 (week INTEGER, venue VARCHAR, attendance VARCHAR)
### ANSWER
SELECT MAX(week) FROM table_name_80 WHERE venue = "metropolitan stadium" AND attendance > 47 OFFSET 644 | {
"answer": "SELECT MAX(week) FROM table_name_80 WHERE venue = \"metropolitan stadium\" AND attendance > 47 OFFSET 644",
"context": "CREATE TABLE table_name_80 (week INTEGER, venue VARCHAR, attendance VARCHAR)",
"question": "Tell me the highest week for metropolitan stadium for attendance more than 47,644"
} |
### QUESTION
Name the total number of troops per one million being 2.76
### CONTEXT
CREATE TABLE table_30108346_1 (troops_per_one_million_population VARCHAR, troops_per_$1_billion___usd___gdp VARCHAR)
### ANSWER
SELECT COUNT(troops_per_one_million_population) FROM table_30108346_1 WHERE troops_per_$1_billion___usd___gdp = "2.76" | {
"answer": "SELECT COUNT(troops_per_one_million_population) FROM table_30108346_1 WHERE troops_per_$1_billion___usd___gdp = \"2.76\"",
"context": "CREATE TABLE table_30108346_1 (troops_per_one_million_population VARCHAR, troops_per_$1_billion___usd___gdp VARCHAR)",
"question": "Name the total number of troops per one million being 2.76"
} |
### QUESTION
find the name of all departments that do actually have one or more employees assigned to them.
### CONTEXT
CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (department_id VARCHAR)
### ANSWER
SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id | {
"answer": "SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id",
"context": "CREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (department_id VARCHAR)",
"question": "find the name of all departments that do actually have one or more employees assigned to them."
} |
### QUESTION
What category was Kasautii Zindagii Kay nominated for after 2005?
### CONTEXT
CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, for_the_show VARCHAR)
### ANSWER
SELECT category FROM table_name_20 WHERE year > 2005 AND for_the_show = "kasautii zindagii kay" | {
"answer": "SELECT category FROM table_name_20 WHERE year > 2005 AND for_the_show = \"kasautii zindagii kay\"",
"context": "CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, for_the_show VARCHAR)",
"question": "What category was Kasautii Zindagii Kay nominated for after 2005?"
} |
### QUESTION
Who directed the episode written by Jason Yoshimura?
### CONTEXT
CREATE TABLE table_2345558_1 (director VARCHAR, writer_s_ VARCHAR)
### ANSWER
SELECT director FROM table_2345558_1 WHERE writer_s_ = "Jason Yoshimura" | {
"answer": "SELECT director FROM table_2345558_1 WHERE writer_s_ = \"Jason Yoshimura\"",
"context": "CREATE TABLE table_2345558_1 (director VARCHAR, writer_s_ VARCHAR)",
"question": "Who directed the episode written by Jason Yoshimura?"
} |
### QUESTION
what is the date of vacancy when the position in table is 10th and the team is balboa?
### CONTEXT
CREATE TABLE table_name_70 (date_of_vacancy VARCHAR, position_in_table VARCHAR, team VARCHAR)
### ANSWER
SELECT date_of_vacancy FROM table_name_70 WHERE position_in_table = "10th" AND team = "balboa" | {
"answer": "SELECT date_of_vacancy FROM table_name_70 WHERE position_in_table = \"10th\" AND team = \"balboa\"",
"context": "CREATE TABLE table_name_70 (date_of_vacancy VARCHAR, position_in_table VARCHAR, team VARCHAR)",
"question": "what is the date of vacancy when the position in table is 10th and the team is balboa?"
} |
### QUESTION
How many points were scored in 1:44:59.557 of time?
### CONTEXT
CREATE TABLE table_name_64 (points VARCHAR, time_retired VARCHAR)
### ANSWER
SELECT points FROM table_name_64 WHERE time_retired = "1:44:59.557" | {
"answer": "SELECT points FROM table_name_64 WHERE time_retired = \"1:44:59.557\"",
"context": "CREATE TABLE table_name_64 (points VARCHAR, time_retired VARCHAR)",
"question": "How many points were scored in 1:44:59.557 of time?"
} |
### QUESTION
How many different results came out of the round in which #98 All American Racers became the GTU winning team?
### CONTEXT
CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR)
### ANSWER
SELECT COUNT(results) FROM table_13643320_2 WHERE gtu_winning_team = "#98 All American Racers" | {
"answer": "SELECT COUNT(results) FROM table_13643320_2 WHERE gtu_winning_team = \"#98 All American Racers\"",
"context": "CREATE TABLE table_13643320_2 (results VARCHAR, gtu_winning_team VARCHAR)",
"question": "How many different results came out of the round in which #98 All American Racers became the GTU winning team? "
} |
### QUESTION
when the max speed for modified speed (6th gear) where standard speed (6th gear) is 98
### CONTEXT
CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ INTEGER, standard_speed__6th_gear_ VARCHAR)
### ANSWER
SELECT MAX(modified_speed__6th_gear_) FROM table_19704392_1 WHERE standard_speed__6th_gear_ = "98" | {
"answer": "SELECT MAX(modified_speed__6th_gear_) FROM table_19704392_1 WHERE standard_speed__6th_gear_ = \"98\"",
"context": "CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ INTEGER, standard_speed__6th_gear_ VARCHAR)",
"question": "when the max speed for modified speed (6th gear) where standard speed (6th gear) is 98"
} |
### QUESTION
what is the last performance of leon varkas category:articles with hcards
### CONTEXT
CREATE TABLE table_19189856_1 (last_performance VARCHAR, performer VARCHAR)
### ANSWER
SELECT last_performance FROM table_19189856_1 WHERE performer = "Leon Varkas category:Articles with hCards" | {
"answer": "SELECT last_performance FROM table_19189856_1 WHERE performer = \"Leon Varkas category:Articles with hCards\"",
"context": "CREATE TABLE table_19189856_1 (last_performance VARCHAR, performer VARCHAR)",
"question": "what is the last performance of leon varkas category:articles with hcards"
} |
### QUESTION
Who was the opponent on the 28 july 2013 final?
### CONTEXT
CREATE TABLE table_name_33 (opponent_in_the_final VARCHAR, date VARCHAR)
### ANSWER
SELECT opponent_in_the_final FROM table_name_33 WHERE date = "28 july 2013" | {
"answer": "SELECT opponent_in_the_final FROM table_name_33 WHERE date = \"28 july 2013\"",
"context": "CREATE TABLE table_name_33 (opponent_in_the_final VARCHAR, date VARCHAR)",
"question": "Who was the opponent on the 28 july 2013 final?"
} |
### QUESTION
Which Tournament has a Semi finalists of martina hingis joannette kruger?
### CONTEXT
CREATE TABLE table_name_62 (tournament VARCHAR, semi_finalists VARCHAR)
### ANSWER
SELECT tournament FROM table_name_62 WHERE semi_finalists = "martina hingis joannette kruger" | {
"answer": "SELECT tournament FROM table_name_62 WHERE semi_finalists = \"martina hingis joannette kruger\"",
"context": "CREATE TABLE table_name_62 (tournament VARCHAR, semi_finalists VARCHAR)",
"question": "Which Tournament has a Semi finalists of martina hingis joannette kruger?"
} |
### QUESTION
What is the total number of bronze medals of the nation with 4 total medals and 1 silver?
### CONTEXT
CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR, silver VARCHAR)
### ANSWER
SELECT COUNT(bronze) FROM table_name_89 WHERE total = 4 AND silver = 1 | {
"answer": "SELECT COUNT(bronze) FROM table_name_89 WHERE total = 4 AND silver = 1",
"context": "CREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR, silver VARCHAR)",
"question": "What is the total number of bronze medals of the nation with 4 total medals and 1 silver?"
} |
### QUESTION
What is the average Gold, when Silver is less than 107, when Bronze is greater than 42, and when Rank is 3?
### CONTEXT
CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR)
### ANSWER
SELECT AVG(gold) FROM table_name_95 WHERE silver < 107 AND bronze > 42 AND rank = "3" | {
"answer": "SELECT AVG(gold) FROM table_name_95 WHERE silver < 107 AND bronze > 42 AND rank = \"3\"",
"context": "CREATE TABLE table_name_95 (gold INTEGER, rank VARCHAR, silver VARCHAR, bronze VARCHAR)",
"question": "What is the average Gold, when Silver is less than 107, when Bronze is greater than 42, and when Rank is 3?"
} |
### QUESTION
What's the margin of victory during the Pocono Northeast Classic?
### CONTEXT
CREATE TABLE table_name_55 (margin_of_victory VARCHAR, tournament VARCHAR)
### ANSWER
SELECT margin_of_victory FROM table_name_55 WHERE tournament = "pocono northeast classic" | {
"answer": "SELECT margin_of_victory FROM table_name_55 WHERE tournament = \"pocono northeast classic\"",
"context": "CREATE TABLE table_name_55 (margin_of_victory VARCHAR, tournament VARCHAR)",
"question": "What's the margin of victory during the Pocono Northeast Classic?"
} |
### QUESTION
What is the minimum number of points for teams averaging 1.412?
### CONTEXT
CREATE TABLE table_2865020_5 (points INTEGER, average VARCHAR)
### ANSWER
SELECT MIN(points) FROM table_2865020_5 WHERE average = "1.412" | {
"answer": "SELECT MIN(points) FROM table_2865020_5 WHERE average = \"1.412\"",
"context": "CREATE TABLE table_2865020_5 (points INTEGER, average VARCHAR)",
"question": "What is the minimum number of points for teams averaging 1.412?"
} |
### QUESTION
What are the names of players who have the best dribbling?
### CONTEXT
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, dribbling VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER)
### ANSWER
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.dribbling = (SELECT MAX(overall_rating) FROM Player_Attributes) | {
"answer": "SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.dribbling = (SELECT MAX(overall_rating) FROM Player_Attributes)",
"context": "CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, dribbling VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER)",
"question": "What are the names of players who have the best dribbling?"
} |
### QUESTION
Which Year has a Category of best original song (รอเธอหันมา – โฟกัส จิระกุล)?
### CONTEXT
CREATE TABLE table_name_58 (year INTEGER, category VARCHAR)
### ANSWER
SELECT MAX(year) FROM table_name_58 WHERE category = "best original song (รอเธอหันมา – โฟกัส จิระกุล)" | {
"answer": "SELECT MAX(year) FROM table_name_58 WHERE category = \"best original song (รอเธอหันมา – โฟกัส จิระกุล)\"",
"context": "CREATE TABLE table_name_58 (year INTEGER, category VARCHAR)",
"question": "Which Year has a Category of best original song (รอเธอหันมา – โฟกัส จิระกุล)?"
} |
### QUESTION
What was the percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative?
### CONTEXT
CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, alternative_fuel VARCHAR)
### ANSWER
SELECT _percentage_cut FROM table_21690339_1 WHERE alternative_fuel = "Fuel oil stocks need only for industry" | {
"answer": "SELECT _percentage_cut FROM table_21690339_1 WHERE alternative_fuel = \"Fuel oil stocks need only for industry\"",
"context": "CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, alternative_fuel VARCHAR)",
"question": "What was the percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative?"
} |
### QUESTION
what is the television order of the episode directed by ben jones, written by j. m. dematteis and originally aired on february6,2009
### CONTEXT
CREATE TABLE table_20360535_2 (television_order VARCHAR, original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
### ANSWER
SELECT television_order FROM table_20360535_2 WHERE directed_by = "Ben Jones" AND written_by = "J. M. DeMatteis" AND original_air_date = "February6,2009" | {
"answer": "SELECT television_order FROM table_20360535_2 WHERE directed_by = \"Ben Jones\" AND written_by = \"J. M. DeMatteis\" AND original_air_date = \"February6,2009\"",
"context": "CREATE TABLE table_20360535_2 (television_order VARCHAR, original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)",
"question": "what is the television order of the episode directed by ben jones, written by j. m. dematteis and originally aired on february6,2009"
} |
### QUESTION
Name the Result of the Lineup of start, an Assist/pass of carli lloyd, and an Competition of 2011 fifa women’s world cup – group stage?
### CONTEXT
CREATE TABLE table_name_63 (result VARCHAR, competition VARCHAR, lineup VARCHAR, assist_pass VARCHAR)
### ANSWER
SELECT result FROM table_name_63 WHERE lineup = "start" AND assist_pass = "carli lloyd" AND competition = "2011 fifa women’s world cup – group stage" | {
"answer": "SELECT result FROM table_name_63 WHERE lineup = \"start\" AND assist_pass = \"carli lloyd\" AND competition = \"2011 fifa women’s world cup – group stage\"",
"context": "CREATE TABLE table_name_63 (result VARCHAR, competition VARCHAR, lineup VARCHAR, assist_pass VARCHAR)",
"question": "Name the Result of the Lineup of start, an Assist/pass of carli lloyd, and an Competition of 2011 fifa women’s world cup – group stage?"
} |
### QUESTION
Which bridge is located in Nectar, in Blount County?
### CONTEXT
CREATE TABLE table_name_17 (name VARCHAR, county VARCHAR, location VARCHAR)
### ANSWER
SELECT name FROM table_name_17 WHERE county = "blount" AND location = "nectar" | {
"answer": "SELECT name FROM table_name_17 WHERE county = \"blount\" AND location = \"nectar\"",
"context": "CREATE TABLE table_name_17 (name VARCHAR, county VARCHAR, location VARCHAR)",
"question": "Which bridge is located in Nectar, in Blount County?"
} |
### QUESTION
Which shipping agent shipped the most documents? List the shipping agent name and the number of documents.
### CONTEXT
CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR)
### ANSWER
SELECT Ref_Shipping_Agents.shipping_agent_name, COUNT(Documents.document_id) FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code GROUP BY Ref_Shipping_Agents.shipping_agent_code ORDER BY COUNT(Documents.document_id) DESC LIMIT 1 | {
"answer": "SELECT Ref_Shipping_Agents.shipping_agent_name, COUNT(Documents.document_id) FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code GROUP BY Ref_Shipping_Agents.shipping_agent_code ORDER BY COUNT(Documents.document_id) DESC LIMIT 1",
"context": "CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR)",
"question": "Which shipping agent shipped the most documents? List the shipping agent name and the number of documents."
} |
### QUESTION
What's the airing date of Armed Reaction 陀槍師姐 with 20 episodes in the Modern Action genre having an official website?
### CONTEXT
CREATE TABLE table_name_50 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR)
### ANSWER
SELECT airing_date FROM table_name_50 WHERE official_website = "official website" AND number_of_episodes = 20 AND genre = "modern action" AND english_title__chinese_title_ = "armed reaction 陀槍師姐" | {
"answer": "SELECT airing_date FROM table_name_50 WHERE official_website = \"official website\" AND number_of_episodes = 20 AND genre = \"modern action\" AND english_title__chinese_title_ = \"armed reaction 陀槍師姐\"",
"context": "CREATE TABLE table_name_50 (airing_date VARCHAR, english_title__chinese_title_ VARCHAR, genre VARCHAR, official_website VARCHAR, number_of_episodes VARCHAR)",
"question": "What's the airing date of Armed Reaction 陀槍師姐 with 20 episodes in the Modern Action genre having an official website?"
} |
### QUESTION
Can you tell me the Giant Slalom that has the Combined of 1, and the Country of united states, and the Victories larger than 11?
### CONTEXT
CREATE TABLE table_name_14 (giant_slalom VARCHAR, victories VARCHAR, combined VARCHAR, country VARCHAR)
### ANSWER
SELECT giant_slalom FROM table_name_14 WHERE combined = "1" AND country = "united states" AND victories > 11 | {
"answer": "SELECT giant_slalom FROM table_name_14 WHERE combined = \"1\" AND country = \"united states\" AND victories > 11",
"context": "CREATE TABLE table_name_14 (giant_slalom VARCHAR, victories VARCHAR, combined VARCHAR, country VARCHAR)",
"question": "Can you tell me the Giant Slalom that has the Combined of 1, and the Country of united states, and the Victories larger than 11?"
} |
### QUESTION
How many times is player Stanislas Wawrinka on the list?
### CONTEXT
CREATE TABLE table_26218783_6 (points VARCHAR, player VARCHAR)
### ANSWER
SELECT COUNT(points) AS defending FROM table_26218783_6 WHERE player = "Stanislas Wawrinka" | {
"answer": "SELECT COUNT(points) AS defending FROM table_26218783_6 WHERE player = \"Stanislas Wawrinka\"",
"context": "CREATE TABLE table_26218783_6 (points VARCHAR, player VARCHAR)",
"question": "How many times is player Stanislas Wawrinka on the list?"
} |
### QUESTION
What South Dakota has Bush of Oklahoma?
### CONTEXT
CREATE TABLE table_name_17 (south_dakota VARCHAR, oklahoma VARCHAR)
### ANSWER
SELECT south_dakota FROM table_name_17 WHERE oklahoma = "bush" | {
"answer": "SELECT south_dakota FROM table_name_17 WHERE oklahoma = \"bush\"",
"context": "CREATE TABLE table_name_17 (south_dakota VARCHAR, oklahoma VARCHAR)",
"question": "What South Dakota has Bush of Oklahoma?"
} |
### QUESTION
Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats?
### CONTEXT
CREATE TABLE table_name_28 (state_ranked_in_partisan_order VARCHAR, percentage_republicans VARCHAR, republican__democratic VARCHAR)
### ANSWER
SELECT state_ranked_in_partisan_order FROM table_name_28 WHERE percentage_republicans = "67%" AND republican__democratic = "24/12" | {
"answer": "SELECT state_ranked_in_partisan_order FROM table_name_28 WHERE percentage_republicans = \"67%\" AND republican__democratic = \"24/12\"",
"context": "CREATE TABLE table_name_28 (state_ranked_in_partisan_order VARCHAR, percentage_republicans VARCHAR, republican__democratic VARCHAR)",
"question": "Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats?"
} |
### QUESTION
What is the name of the person with a courtesy title of sanuki-no-kami/jiju?
### CONTEXT
CREATE TABLE table_name_32 (name VARCHAR, courtesy_title VARCHAR)
### ANSWER
SELECT name FROM table_name_32 WHERE courtesy_title = "sanuki-no-kami/jiju" | {
"answer": "SELECT name FROM table_name_32 WHERE courtesy_title = \"sanuki-no-kami/jiju\"",
"context": "CREATE TABLE table_name_32 (name VARCHAR, courtesy_title VARCHAR)",
"question": "What is the name of the person with a courtesy title of sanuki-no-kami/jiju?"
} |
### QUESTION
Which Song has an Issue date(s) of 29 may - 26 june?
### CONTEXT
CREATE TABLE table_name_17 (song VARCHAR, issue_date_s_ VARCHAR)
### ANSWER
SELECT song FROM table_name_17 WHERE issue_date_s_ = "29 may - 26 june" | {
"answer": "SELECT song FROM table_name_17 WHERE issue_date_s_ = \"29 may - 26 june\"",
"context": "CREATE TABLE table_name_17 (song VARCHAR, issue_date_s_ VARCHAR)",
"question": "Which Song has an Issue date(s) of 29 may - 26 june?"
} |
### QUESTION
What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver?
### CONTEXT
CREATE TABLE table_name_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR)
### ANSWER
SELECT shortstop FROM table_name_40 WHERE catcher = "johnny roseboro" AND third_baseman = "jim lefebvre" AND second_baseman = "nate oliver" | {
"answer": "SELECT shortstop FROM table_name_40 WHERE catcher = \"johnny roseboro\" AND third_baseman = \"jim lefebvre\" AND second_baseman = \"nate oliver\"",
"context": "CREATE TABLE table_name_40 (shortstop VARCHAR, second_baseman VARCHAR, catcher VARCHAR, third_baseman VARCHAR)",
"question": "What is the name of the shortstop when the Catcher was johnny roseboro, and a Third Baseman of jim lefebvre, and a Second Baseman of nate oliver?"
} |
### QUESTION
Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider?
### CONTEXT
CREATE TABLE table_29332810_14 (general_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR)
### ANSWER
SELECT general_classification FROM table_29332810_14 WHERE winner = "Ben Swift" AND young_rider_classification = "Cameron Meyer" | {
"answer": "SELECT general_classification FROM table_29332810_14 WHERE winner = \"Ben Swift\" AND young_rider_classification = \"Cameron Meyer\"",
"context": "CREATE TABLE table_29332810_14 (general_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR)",
"question": "Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider?"
} |
### QUESTION
What is "the date in location from" and "the date in location to" for the document with name "Robin CV"?
### CONTEXT
CREATE TABLE All_documents (document_id VARCHAR, document_name VARCHAR); CREATE TABLE Document_locations (date_in_location_from VARCHAR, date_in_locaton_to VARCHAR, document_id VARCHAR)
### ANSWER
SELECT T1.date_in_location_from, T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Robin CV" | {
"answer": "SELECT T1.date_in_location_from, T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Robin CV\"",
"context": "CREATE TABLE All_documents (document_id VARCHAR, document_name VARCHAR); CREATE TABLE Document_locations (date_in_location_from VARCHAR, date_in_locaton_to VARCHAR, document_id VARCHAR)",
"question": "What is \"the date in location from\" and \"the date in location to\" for the document with name \"Robin CV\"?"
} |
### QUESTION
What is the winning team of the race on 31 August with Audi as the winning manufacturer and Timo Scheider as the winning driver?
### CONTEXT
CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR)
### ANSWER
SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = "audi" AND winning_driver = "timo scheider" AND date = "31 august" | {
"answer": "SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = \"audi\" AND winning_driver = \"timo scheider\" AND date = \"31 august\"",
"context": "CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR)",
"question": "What is the winning team of the race on 31 August with Audi as the winning manufacturer and Timo Scheider as the winning driver?"
} |
### QUESTION
What is the mean Evaluation number (Before April 2009) when the percentage of negative evaluations was 0.8% and the mean Evaluation number of April 2009 was 4.2?
### CONTEXT
CREATE TABLE table_name_41 (evaluation_average__before_april_2009_ VARCHAR, _percentage_of_negative_evaluations VARCHAR, evaluation_average__from_april_2009_ VARCHAR)
### ANSWER
SELECT evaluation_average__before_april_2009_ FROM table_name_41 WHERE _percentage_of_negative_evaluations = "0.8%" AND evaluation_average__from_april_2009_ = "4.2" | {
"answer": "SELECT evaluation_average__before_april_2009_ FROM table_name_41 WHERE _percentage_of_negative_evaluations = \"0.8%\" AND evaluation_average__from_april_2009_ = \"4.2\"",
"context": "CREATE TABLE table_name_41 (evaluation_average__before_april_2009_ VARCHAR, _percentage_of_negative_evaluations VARCHAR, evaluation_average__from_april_2009_ VARCHAR)",
"question": "What is the mean Evaluation number (Before April 2009) when the percentage of negative evaluations was 0.8% and the mean Evaluation number of April 2009 was 4.2?"
} |
### QUESTION
What is the series number for the episode directed by jay sandrich that aired October 23, 1986?
### CONTEXT
CREATE TABLE table_2818164_4 (no_in_series INTEGER, directed_by VARCHAR, original_air_date VARCHAR)
### ANSWER
SELECT MIN(no_in_series) FROM table_2818164_4 WHERE directed_by = "Jay Sandrich" AND original_air_date = "October 23, 1986" | {
"answer": "SELECT MIN(no_in_series) FROM table_2818164_4 WHERE directed_by = \"Jay Sandrich\" AND original_air_date = \"October 23, 1986\"",
"context": "CREATE TABLE table_2818164_4 (no_in_series INTEGER, directed_by VARCHAR, original_air_date VARCHAR)",
"question": "What is the series number for the episode directed by jay sandrich that aired October 23, 1986?"
} |
### QUESTION
What is the round on 30 June with a.z.k./roc-compétition a.z.k./roc-compétition as the winning team?
### CONTEXT
CREATE TABLE table_name_7 (round VARCHAR, winning_team VARCHAR, date VARCHAR)
### ANSWER
SELECT round FROM table_name_7 WHERE winning_team = "a.z.k./roc-compétition a.z.k./roc-compétition" AND date = "30 june" | {
"answer": "SELECT round FROM table_name_7 WHERE winning_team = \"a.z.k./roc-compétition a.z.k./roc-compétition\" AND date = \"30 june\"",
"context": "CREATE TABLE table_name_7 (round VARCHAR, winning_team VARCHAR, date VARCHAR)",
"question": "What is the round on 30 June with a.z.k./roc-compétition a.z.k./roc-compétition as the winning team?"
} |
### QUESTION
What team appointed a manager on 12 June?
### CONTEXT
CREATE TABLE table_17327458_1 (team VARCHAR, date_of_appointment VARCHAR)
### ANSWER
SELECT team FROM table_17327458_1 WHERE date_of_appointment = "12 June" | {
"answer": "SELECT team FROM table_17327458_1 WHERE date_of_appointment = \"12 June\"",
"context": "CREATE TABLE table_17327458_1 (team VARCHAR, date_of_appointment VARCHAR)",
"question": "What team appointed a manager on 12 June?"
} |
### QUESTION
When 17.07 is the loa (metres) what is the type of yacht?
### CONTEXT
CREATE TABLE table_1858574_2 (yacht VARCHAR, loa__metres_ VARCHAR)
### ANSWER
SELECT yacht AS Type FROM table_1858574_2 WHERE loa__metres_ = "17.07" | {
"answer": "SELECT yacht AS Type FROM table_1858574_2 WHERE loa__metres_ = \"17.07\"",
"context": "CREATE TABLE table_1858574_2 (yacht VARCHAR, loa__metres_ VARCHAR)",
"question": "When 17.07 is the loa (metres) what is the type of yacht?"
} |
### QUESTION
What is the highest rank of an athlete from Switzerland in a heat larger than 3?
### CONTEXT
CREATE TABLE table_name_54 (rank INTEGER, heat VARCHAR, nationality VARCHAR)
### ANSWER
SELECT MAX(rank) FROM table_name_54 WHERE heat > 3 AND nationality = "switzerland" | {
"answer": "SELECT MAX(rank) FROM table_name_54 WHERE heat > 3 AND nationality = \"switzerland\"",
"context": "CREATE TABLE table_name_54 (rank INTEGER, heat VARCHAR, nationality VARCHAR)",
"question": "What is the highest rank of an athlete from Switzerland in a heat larger than 3?"
} |
### QUESTION
Which was the position for overall less than 254, round less than 5 and pick number less than 13?
### CONTEXT
CREATE TABLE table_name_64 (position VARCHAR, pick__number VARCHAR, overall VARCHAR, round VARCHAR)
### ANSWER
SELECT position FROM table_name_64 WHERE overall < 254 AND round < 5 AND pick__number < 13 | {
"answer": "SELECT position FROM table_name_64 WHERE overall < 254 AND round < 5 AND pick__number < 13",
"context": "CREATE TABLE table_name_64 (position VARCHAR, pick__number VARCHAR, overall VARCHAR, round VARCHAR)",
"question": "Which was the position for overall less than 254, round less than 5 and pick number less than 13?"
} |
### QUESTION
Which Blackpool has a Preston North End smaller than 46, and a Competition of other, and a Draw larger than 1?
### CONTEXT
CREATE TABLE table_name_94 (blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR)
### ANSWER
SELECT SUM(blackpool) FROM table_name_94 WHERE preston_north_end < 46 AND competition = "other" AND draw > 1 | {
"answer": "SELECT SUM(blackpool) FROM table_name_94 WHERE preston_north_end < 46 AND competition = \"other\" AND draw > 1",
"context": "CREATE TABLE table_name_94 (blackpool INTEGER, draw VARCHAR, preston_north_end VARCHAR, competition VARCHAR)",
"question": "Which Blackpool has a Preston North End smaller than 46, and a Competition of other, and a Draw larger than 1?"
} |
### QUESTION
What is the range (varies by payload weight) for Shahab-4?
### CONTEXT
CREATE TABLE table_name_71 (range__varies_with_payload_weight_ VARCHAR, name_designation VARCHAR)
### ANSWER
SELECT range__varies_with_payload_weight_ FROM table_name_71 WHERE name_designation = "shahab-4" | {
"answer": "SELECT range__varies_with_payload_weight_ FROM table_name_71 WHERE name_designation = \"shahab-4\"",
"context": "CREATE TABLE table_name_71 (range__varies_with_payload_weight_ VARCHAR, name_designation VARCHAR)",
"question": "What is the range (varies by payload weight) for Shahab-4?"
} |
### QUESTION
what's the bleeding time with partial thromboplastin time being unaffected and condition being liver failure , early
### CONTEXT
CREATE TABLE table_14006_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, condition VARCHAR)
### ANSWER
SELECT bleeding_time FROM table_14006_1 WHERE partial_thromboplastin_time = "Unaffected" AND condition = "Liver failure , early" | {
"answer": "SELECT bleeding_time FROM table_14006_1 WHERE partial_thromboplastin_time = \"Unaffected\" AND condition = \"Liver failure , early\"",
"context": "CREATE TABLE table_14006_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, condition VARCHAR)",
"question": "what's the bleeding time with partial thromboplastin time being unaffected and condition being liver failure , early"
} |
### QUESTION
Which is the lowest round to have a pick of 12 and position of linebacker?
### CONTEXT
CREATE TABLE table_name_86 (round INTEGER, pick__number VARCHAR, position VARCHAR)
### ANSWER
SELECT MIN(round) FROM table_name_86 WHERE pick__number = 12 AND position = "linebacker" | {
"answer": "SELECT MIN(round) FROM table_name_86 WHERE pick__number = 12 AND position = \"linebacker\"",
"context": "CREATE TABLE table_name_86 (round INTEGER, pick__number VARCHAR, position VARCHAR)",
"question": "Which is the lowest round to have a pick of 12 and position of linebacker?"
} |
### QUESTION
What is the Electorate when the term of office was 1955–1972, for Peter Howson?
### CONTEXT
CREATE TABLE table_name_16 (electorate VARCHAR, term_of_office VARCHAR, member VARCHAR)
### ANSWER
SELECT electorate FROM table_name_16 WHERE term_of_office = "1955–1972" AND member = "peter howson" | {
"answer": "SELECT electorate FROM table_name_16 WHERE term_of_office = \"1955–1972\" AND member = \"peter howson\"",
"context": "CREATE TABLE table_name_16 (electorate VARCHAR, term_of_office VARCHAR, member VARCHAR)",
"question": "What is the Electorate when the term of office was 1955–1972, for Peter Howson?"
} |
### QUESTION
Who is the opponent the Seattle Seahawks played when their record was 1-3?
### CONTEXT
CREATE TABLE table_name_57 (opponent VARCHAR, record VARCHAR)
### ANSWER
SELECT opponent FROM table_name_57 WHERE record = "1-3" | {
"answer": "SELECT opponent FROM table_name_57 WHERE record = \"1-3\"",
"context": "CREATE TABLE table_name_57 (opponent VARCHAR, record VARCHAR)",
"question": "Who is the opponent the Seattle Seahawks played when their record was 1-3?"
} |
### QUESTION
What is the ISIN that has an amount issued of 223,000,000?
### CONTEXT
CREATE TABLE table_21692771_1 (isin VARCHAR, amount_issued_ VARCHAR, € VARCHAR)
### ANSWER
SELECT isin FROM table_21692771_1 WHERE amount_issued_[€] = "223,000,000" | {
"answer": "SELECT isin FROM table_21692771_1 WHERE amount_issued_[€] = \"223,000,000\"",
"context": "CREATE TABLE table_21692771_1 (isin VARCHAR, amount_issued_ VARCHAR, € VARCHAR)",
"question": "What is the ISIN that has an amount issued of 223,000,000?"
} |
### QUESTION
Show the names of climbers and the heights of mountains they climb.
### CONTEXT
CREATE TABLE mountain (Height VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR)
### ANSWER
SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID | {
"answer": "SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID",
"context": "CREATE TABLE mountain (Height VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR)",
"question": "Show the names of climbers and the heights of mountains they climb."
} |
### QUESTION
What is the ERP for the Rockhampton region?
### CONTEXT
CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR)
### ANSWER
SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = "rockhampton" | {
"answer": "SELECT erp__analog__digital_ FROM table_name_27 WHERE region_served = \"rockhampton\"",
"context": "CREATE TABLE table_name_27 (erp__analog__digital_ VARCHAR, region_served VARCHAR)",
"question": "What is the ERP for the Rockhampton region?"
} |
### QUESTION
How many "goals against" were scored at the club that had a "goal difference" of 0, 12 wins, and more than 44 goals?
### CONTEXT
CREATE TABLE table_name_13 (goals_against VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, wins VARCHAR)
### ANSWER
SELECT COUNT(goals_against) FROM table_name_13 WHERE goal_difference = 0 AND wins = 12 AND goals_for > 44 | {
"answer": "SELECT COUNT(goals_against) FROM table_name_13 WHERE goal_difference = 0 AND wins = 12 AND goals_for > 44",
"context": "CREATE TABLE table_name_13 (goals_against VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, wins VARCHAR)",
"question": "How many \"goals against\" were scored at the club that had a \"goal difference\" of 0, 12 wins, and more than 44 goals?"
} |
### QUESTION
Which Pos has a Make of chevrolet, and a Driver of jack sprague, and a Car # smaller than 2?
### CONTEXT
CREATE TABLE table_name_41 (pos INTEGER, car__number VARCHAR, make VARCHAR, driver VARCHAR)
### ANSWER
SELECT SUM(pos) FROM table_name_41 WHERE make = "chevrolet" AND driver = "jack sprague" AND car__number < 2 | {
"answer": "SELECT SUM(pos) FROM table_name_41 WHERE make = \"chevrolet\" AND driver = \"jack sprague\" AND car__number < 2",
"context": "CREATE TABLE table_name_41 (pos INTEGER, car__number VARCHAR, make VARCHAR, driver VARCHAR)",
"question": "Which Pos has a Make of chevrolet, and a Driver of jack sprague, and a Car # smaller than 2?"
} |
### QUESTION
What is the highest points value for the 500cc class in years after 1962 with 0 wins?
### CONTEXT
CREATE TABLE table_name_71 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR)
### ANSWER
SELECT MAX(points) FROM table_name_71 WHERE class = "500cc" AND year > 1962 AND wins < 0 | {
"answer": "SELECT MAX(points) FROM table_name_71 WHERE class = \"500cc\" AND year > 1962 AND wins < 0",
"context": "CREATE TABLE table_name_71 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR)",
"question": "What is the highest points value for the 500cc class in years after 1962 with 0 wins?"
} |
### QUESTION
What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?
### CONTEXT
CREATE TABLE CAR_NAMES (model VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR, model VARCHAR); CREATE TABLE CAR_MAKERS (Id VARCHAR, Maker VARCHAR)
### ANSWER
SELECT T1.Id, T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING COUNT(*) >= 2 INTERSECT SELECT T1.Id, T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model GROUP BY T1.Id HAVING COUNT(*) > 3 | {
"answer": "SELECT T1.Id, T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker GROUP BY T1.Id HAVING COUNT(*) >= 2 INTERSECT SELECT T1.Id, T1.Maker FROM CAR_MAKERS AS T1 JOIN MODEL_LIST AS T2 ON T1.Id = T2.Maker JOIN CAR_NAMES AS T3 ON T2.model = T3.model GROUP BY T1.Id HAVING COUNT(*) > 3",
"context": "CREATE TABLE CAR_NAMES (model VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR, model VARCHAR); CREATE TABLE CAR_MAKERS (Id VARCHAR, Maker VARCHAR)",
"question": "What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?"
} |
### QUESTION
What event had Xu Zhilin competing?
### CONTEXT
CREATE TABLE table_name_21 (event VARCHAR, name VARCHAR)
### ANSWER
SELECT event FROM table_name_21 WHERE name = "xu zhilin" | {
"answer": "SELECT event FROM table_name_21 WHERE name = \"xu zhilin\"",
"context": "CREATE TABLE table_name_21 (event VARCHAR, name VARCHAR)",
"question": "What event had Xu Zhilin competing?"
} |
### QUESTION
How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3?
### CONTEXT
CREATE TABLE table_name_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR)
### ANSWER
SELECT SUM(poles) FROM table_name_39 WHERE class = "125cc" AND team = "matteoni racing team" AND points > 3 | {
"answer": "SELECT SUM(poles) FROM table_name_39 WHERE class = \"125cc\" AND team = \"matteoni racing team\" AND points > 3",
"context": "CREATE TABLE table_name_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR)",
"question": "How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3?"
} |
### QUESTION
What is the name of the national final co host when David Jacobs was the National final main host, and the selection show was a song for europe in 1966?
### CONTEXT
CREATE TABLE table_name_85 (national_final_co_host VARCHAR, year_s_ VARCHAR, national_final_main_host VARCHAR, selection_show VARCHAR)
### ANSWER
SELECT national_final_co_host FROM table_name_85 WHERE national_final_main_host = "david jacobs" AND selection_show = "a song for europe" AND year_s_ = "1966" | {
"answer": "SELECT national_final_co_host FROM table_name_85 WHERE national_final_main_host = \"david jacobs\" AND selection_show = \"a song for europe\" AND year_s_ = \"1966\"",
"context": "CREATE TABLE table_name_85 (national_final_co_host VARCHAR, year_s_ VARCHAR, national_final_main_host VARCHAR, selection_show VARCHAR)",
"question": "What is the name of the national final co host when David Jacobs was the National final main host, and the selection show was a song for europe in 1966?"
} |
### QUESTION
Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor?
### CONTEXT
CREATE TABLE table_name_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)
### ANSWER
SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = "puma" AND shirt_sponsor = "puma" | {
"answer": "SELECT manager_1 FROM table_name_29 WHERE kit_manufacturer = \"puma\" AND shirt_sponsor = \"puma\"",
"context": "CREATE TABLE table_name_29 (manager_1 VARCHAR, kit_manufacturer VARCHAR, shirt_sponsor VARCHAR)",
"question": "Who is the manager 1 with Puma as the kit manufacturer and Puma as the shirt sponsor?"
} |
### QUESTION
How many total itv viewers were there for the episode with official itv ratings of 10.24 million?
### CONTEXT
CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR)
### ANSWER
SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE official_itv_rating__millions_ = "10.24" | {
"answer": "SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE official_itv_rating__millions_ = \"10.24\"",
"context": "CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR)",
"question": "How many total itv viewers were there for the episode with official itv ratings of 10.24 million?"
} |
### QUESTION
How many descriptions are there when the attribute is "ondragstart"?
### CONTEXT
CREATE TABLE table_1507852_1 (description VARCHAR, attribute VARCHAR)
### ANSWER
SELECT COUNT(description) FROM table_1507852_1 WHERE attribute = "ondragstart" | {
"answer": "SELECT COUNT(description) FROM table_1507852_1 WHERE attribute = \"ondragstart\"",
"context": "CREATE TABLE table_1507852_1 (description VARCHAR, attribute VARCHAR)",
"question": "How many descriptions are there when the attribute is \"ondragstart\"?"
} |
### QUESTION
How many years have a Surface of clay, and a Score of 4 : 0?
### CONTEXT
CREATE TABLE table_name_45 (year VARCHAR, surface VARCHAR, score VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 0" | {
"answer": "SELECT COUNT(year) FROM table_name_45 WHERE surface = \"clay\" AND score = \"4 : 0\"",
"context": "CREATE TABLE table_name_45 (year VARCHAR, surface VARCHAR, score VARCHAR)",
"question": "How many years have a Surface of clay, and a Score of 4 : 0?"
} |
### QUESTION
when does the train arriving at bourne at 11.45 departure
### CONTEXT
CREATE TABLE table_18333678_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR)
### ANSWER
SELECT departure FROM table_18333678_2 WHERE going_to = "Bourne" AND arrival = "11.45" | {
"answer": "SELECT departure FROM table_18333678_2 WHERE going_to = \"Bourne\" AND arrival = \"11.45\"",
"context": "CREATE TABLE table_18333678_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR)",
"question": "when does the train arriving at bourne at 11.45 departure "
} |
### QUESTION
How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?
### CONTEXT
CREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)
### ANSWER
SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13 | {
"answer": "SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13",
"context": "CREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)",
"question": "How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?"
} |
### QUESTION
Which Year Joined has a Size larger than 93, and a Previous Conference of none (new school), and a Mascot of rebels?
### CONTEXT
CREATE TABLE table_name_88 (year_joined INTEGER, mascot VARCHAR, size VARCHAR, previous_conference VARCHAR)
### ANSWER
SELECT AVG(year_joined) FROM table_name_88 WHERE size > 93 AND previous_conference = "none (new school)" AND mascot = "rebels" | {
"answer": "SELECT AVG(year_joined) FROM table_name_88 WHERE size > 93 AND previous_conference = \"none (new school)\" AND mascot = \"rebels\"",
"context": "CREATE TABLE table_name_88 (year_joined INTEGER, mascot VARCHAR, size VARCHAR, previous_conference VARCHAR)",
"question": "Which Year Joined has a Size larger than 93, and a Previous Conference of none (new school), and a Mascot of rebels?"
} |
### QUESTION
What is the total quantity of products purchased by "Rodrick Heaney"?
### CONTEXT
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)
### ANSWER
SELECT SUM(t3.order_quantity) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = "Rodrick Heaney" | {
"answer": "SELECT SUM(t3.order_quantity) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = \"Rodrick Heaney\"",
"context": "CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)",
"question": "What is the total quantity of products purchased by \"Rodrick Heaney\"?"
} |
### QUESTION
Which city has most number of departing flights?
### CONTEXT
CREATE TABLE AIRPORTS (City VARCHAR, AirportCode VARCHAR); CREATE TABLE FLIGHTS (SourceAirport VARCHAR)
### ANSWER
SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.SourceAirport GROUP BY T1.City ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T1.City FROM AIRPORTS AS T1 JOIN FLIGHTS AS T2 ON T1.AirportCode = T2.SourceAirport GROUP BY T1.City ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE AIRPORTS (City VARCHAR, AirportCode VARCHAR); CREATE TABLE FLIGHTS (SourceAirport VARCHAR)",
"question": "Which city has most number of departing flights?"
} |
### QUESTION
Find the production code and channel of the most recently aired cartoon .
### CONTEXT
CREATE TABLE cartoon (production_code VARCHAR, channel VARCHAR, original_air_date VARCHAR)
### ANSWER
SELECT production_code, channel FROM cartoon ORDER BY original_air_date DESC LIMIT 1 | {
"answer": "SELECT production_code, channel FROM cartoon ORDER BY original_air_date DESC LIMIT 1",
"context": "CREATE TABLE cartoon (production_code VARCHAR, channel VARCHAR, original_air_date VARCHAR)",
"question": "Find the production code and channel of the most recently aired cartoon ."
} |
### QUESTION
Who are the recipients that won for David Duchovny role/episode?
### CONTEXT
CREATE TABLE table_name_30 (recipients_and_nominees VARCHAR, role_episode VARCHAR, result VARCHAR)
### ANSWER
SELECT recipients_and_nominees FROM table_name_30 WHERE role_episode = "david duchovny" AND result = "won" | {
"answer": "SELECT recipients_and_nominees FROM table_name_30 WHERE role_episode = \"david duchovny\" AND result = \"won\"",
"context": "CREATE TABLE table_name_30 (recipients_and_nominees VARCHAR, role_episode VARCHAR, result VARCHAR)",
"question": "Who are the recipients that won for David Duchovny role/episode?"
} |
### QUESTION
If the national trophy/rookie is Gerrard Barrabeig, what is the name of the second?
### CONTEXT
CREATE TABLE table_25563779_4 (second VARCHAR, national_trophy_rookie VARCHAR)
### ANSWER
SELECT second FROM table_25563779_4 WHERE national_trophy_rookie = "Gerrard Barrabeig" | {
"answer": "SELECT second FROM table_25563779_4 WHERE national_trophy_rookie = \"Gerrard Barrabeig\"",
"context": "CREATE TABLE table_25563779_4 (second VARCHAR, national_trophy_rookie VARCHAR)",
"question": "If the national trophy/rookie is Gerrard Barrabeig, what is the name of the second?"
} |
### QUESTION
What season had more than 12 contestants in which greydis gil won?
### CONTEXT
CREATE TABLE table_name_98 (season VARCHAR, number_of_contestants VARCHAR, winner VARCHAR)
### ANSWER
SELECT season FROM table_name_98 WHERE number_of_contestants > 12 AND winner = "greydis gil" | {
"answer": "SELECT season FROM table_name_98 WHERE number_of_contestants > 12 AND winner = \"greydis gil\"",
"context": "CREATE TABLE table_name_98 (season VARCHAR, number_of_contestants VARCHAR, winner VARCHAR)",
"question": "What season had more than 12 contestants in which greydis gil won?"
} |
### QUESTION
What RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak of 21?
### CONTEXT
CREATE TABLE table_name_1 (riaa_sales_certification VARCHAR, billboard_200_peak VARCHAR)
### ANSWER
SELECT riaa_sales_certification FROM table_name_1 WHERE billboard_200_peak = 21 | {
"answer": "SELECT riaa_sales_certification FROM table_name_1 WHERE billboard_200_peak = 21",
"context": "CREATE TABLE table_name_1 (riaa_sales_certification VARCHAR, billboard_200_peak VARCHAR)",
"question": "What RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak of 21?"
} |
### QUESTION
How many laps did Nick Heidfeld drive on grids larger than 4?
### CONTEXT
CREATE TABLE table_name_77 (laps INTEGER, grid VARCHAR, driver VARCHAR)
### ANSWER
SELECT SUM(laps) FROM table_name_77 WHERE grid > 4 AND driver = "nick heidfeld" | {
"answer": "SELECT SUM(laps) FROM table_name_77 WHERE grid > 4 AND driver = \"nick heidfeld\"",
"context": "CREATE TABLE table_name_77 (laps INTEGER, grid VARCHAR, driver VARCHAR)",
"question": "How many laps did Nick Heidfeld drive on grids larger than 4?"
} |
### QUESTION
What is the home team for victoria park?
### CONTEXT
CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT home_team FROM table_name_93 WHERE venue = "victoria park" | {
"answer": "SELECT home_team FROM table_name_93 WHERE venue = \"victoria park\"",
"context": "CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR)",
"question": "What is the home team for victoria park?"
} |
### QUESTION
What was the score against New Orleans?
### CONTEXT
CREATE TABLE table_23248967_5 (score VARCHAR, team VARCHAR)
### ANSWER
SELECT score FROM table_23248967_5 WHERE team = "New Orleans" | {
"answer": "SELECT score FROM table_23248967_5 WHERE team = \"New Orleans\"",
"context": "CREATE TABLE table_23248967_5 (score VARCHAR, team VARCHAR)",
"question": "What was the score against New Orleans?"
} |
### QUESTION
What was the record when the TKO (elbows) method was used?
### CONTEXT
CREATE TABLE table_name_12 (record VARCHAR, method VARCHAR)
### ANSWER
SELECT record FROM table_name_12 WHERE method = "tko (elbows)" | {
"answer": "SELECT record FROM table_name_12 WHERE method = \"tko (elbows)\"",
"context": "CREATE TABLE table_name_12 (record VARCHAR, method VARCHAR)",
"question": "What was the record when the TKO (elbows) method was used?"
} |
### QUESTION
What is the enrollment associated with a capacity greater then 35,650?
### CONTEXT
CREATE TABLE table_name_46 (enrollment INTEGER, capacity INTEGER)
### ANSWER
SELECT MIN(enrollment) FROM table_name_46 WHERE capacity > 35 OFFSET 650 | {
"answer": "SELECT MIN(enrollment) FROM table_name_46 WHERE capacity > 35 OFFSET 650",
"context": "CREATE TABLE table_name_46 (enrollment INTEGER, capacity INTEGER)",
"question": "What is the enrollment associated with a capacity greater then 35,650?"
} |
### QUESTION
Find the name of amenities Smith Hall dorm have. ordered the results by amenity names.
### CONTEXT
CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)
### ANSWER
SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T1.dorm_name = 'Smith Hall' ORDER BY T3.amenity_name | {
"answer": "SELECT T3.amenity_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T1.dorm_name = 'Smith Hall' ORDER BY T3.amenity_name",
"context": "CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)",
"question": "Find the name of amenities Smith Hall dorm have. ordered the results by amenity names."
} |
### QUESTION
Which call sign has a Class of A, and a Frequency MHz of 88.7?
### CONTEXT
CREATE TABLE table_name_1 (call_sign VARCHAR, class VARCHAR, frequency_mhz VARCHAR)
### ANSWER
SELECT call_sign FROM table_name_1 WHERE class = "a" AND frequency_mhz = 88.7 | {
"answer": "SELECT call_sign FROM table_name_1 WHERE class = \"a\" AND frequency_mhz = 88.7",
"context": "CREATE TABLE table_name_1 (call_sign VARCHAR, class VARCHAR, frequency_mhz VARCHAR)",
"question": "Which call sign has a Class of A, and a Frequency MHz of 88.7?"
} |
### QUESTION
What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*?
### CONTEXT
CREATE TABLE table_name_91 (population_under_1_year_old_censo_2007_hab_ VARCHAR, population_censo_2007_hab_ VARCHAR)
### ANSWER
SELECT population_under_1_year_old_censo_2007_hab_ FROM table_name_91 WHERE population_censo_2007_hab_ = "112.054*" | {
"answer": "SELECT population_under_1_year_old_censo_2007_hab_ FROM table_name_91 WHERE population_censo_2007_hab_ = \"112.054*\"",
"context": "CREATE TABLE table_name_91 (population_under_1_year_old_censo_2007_hab_ VARCHAR, population_censo_2007_hab_ VARCHAR)",
"question": "What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*?"
} |
### QUESTION
What is the name of the manager that was replaced by Michael Oenning?
### CONTEXT
CREATE TABLE table_name_62 (outgoing_manager VARCHAR, replaced_by VARCHAR)
### ANSWER
SELECT outgoing_manager FROM table_name_62 WHERE replaced_by = "michael oenning" | {
"answer": "SELECT outgoing_manager FROM table_name_62 WHERE replaced_by = \"michael oenning\"",
"context": "CREATE TABLE table_name_62 (outgoing_manager VARCHAR, replaced_by VARCHAR)",
"question": "What is the name of the manager that was replaced by Michael Oenning?"
} |
### QUESTION
What is the most common birth place of people?
### CONTEXT
CREATE TABLE people (Birth_Place VARCHAR)
### ANSWER
SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE people (Birth_Place VARCHAR)",
"question": "What is the most common birth place of people?"
} |
### QUESTION
Which First has Bats of r, and Throws of l, and a DOB of 12 october 1977?
### CONTEXT
CREATE TABLE table_name_86 (first VARCHAR, dob VARCHAR, bats VARCHAR, throws VARCHAR)
### ANSWER
SELECT first FROM table_name_86 WHERE bats = "r" AND throws = "l" AND dob = "12 october 1977" | {
"answer": "SELECT first FROM table_name_86 WHERE bats = \"r\" AND throws = \"l\" AND dob = \"12 october 1977\"",
"context": "CREATE TABLE table_name_86 (first VARCHAR, dob VARCHAR, bats VARCHAR, throws VARCHAR)",
"question": "Which First has Bats of r, and Throws of l, and a DOB of 12 october 1977?"
} |
### QUESTION
Find the number of male (sex is 'M') students who have some food type allery.
### CONTEXT
CREATE TABLE Has_allergy (Allergy VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Student (sex VARCHAR, StuID VARCHAR)
### ANSWER
SELECT COUNT(*) FROM Student WHERE sex = "M" AND StuID IN (SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = "food") | {
"answer": "SELECT COUNT(*) FROM Student WHERE sex = \"M\" AND StuID IN (SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = \"food\")",
"context": "CREATE TABLE Has_allergy (Allergy VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Student (sex VARCHAR, StuID VARCHAR)",
"question": "Find the number of male (sex is 'M') students who have some food type allery."
} |
### QUESTION
What number of Fatalities did the Epicenter Māzandarān have?
### CONTEXT
CREATE TABLE table_name_79 (fatalities VARCHAR, epicenter VARCHAR)
### ANSWER
SELECT fatalities FROM table_name_79 WHERE epicenter = "māzandarān" | {
"answer": "SELECT fatalities FROM table_name_79 WHERE epicenter = \"māzandarān\"",
"context": "CREATE TABLE table_name_79 (fatalities VARCHAR, epicenter VARCHAR)",
"question": "What number of Fatalities did the Epicenter Māzandarān have?"
} |
### QUESTION
What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played?
### CONTEXT
CREATE TABLE table_name_20 (position VARCHAR, played VARCHAR, points VARCHAR, lost VARCHAR)
### ANSWER
SELECT COUNT(position) FROM table_name_20 WHERE points > 2 AND lost > 4 AND played < 10 | {
"answer": "SELECT COUNT(position) FROM table_name_20 WHERE points > 2 AND lost > 4 AND played < 10",
"context": "CREATE TABLE table_name_20 (position VARCHAR, played VARCHAR, points VARCHAR, lost VARCHAR)",
"question": "What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played?"
} |
### QUESTION
What is the highest Goals Against, when Club is "Pontevedra CF", and when Played is less than 38?
### CONTEXT
CREATE TABLE table_name_74 (goals_against INTEGER, club VARCHAR, played VARCHAR)
### ANSWER
SELECT MAX(goals_against) FROM table_name_74 WHERE club = "pontevedra cf" AND played < 38 | {
"answer": "SELECT MAX(goals_against) FROM table_name_74 WHERE club = \"pontevedra cf\" AND played < 38",
"context": "CREATE TABLE table_name_74 (goals_against INTEGER, club VARCHAR, played VARCHAR)",
"question": "What is the highest Goals Against, when Club is \"Pontevedra CF\", and when Played is less than 38?"
} |
### QUESTION
Find the name of the company that produces both furnitures with less than 6 components and furnitures with more than 10 components.
### CONTEXT
CREATE TABLE furniture_manufacte (Furniture_ID VARCHAR, manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR); CREATE TABLE furniture (Furniture_ID VARCHAR, num_of_component INTEGER)
### ANSWER
SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component < 6 INTERSECT SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component > 10 | {
"answer": "SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component < 6 INTERSECT SELECT t3.name FROM furniture AS t1 JOIN furniture_manufacte AS t2 ON t1.Furniture_ID = t2.Furniture_ID JOIN manufacturer AS t3 ON t2.manufacturer_id = t3.manufacturer_id WHERE t1.num_of_component > 10",
"context": "CREATE TABLE furniture_manufacte (Furniture_ID VARCHAR, manufacturer_id VARCHAR); CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR); CREATE TABLE furniture (Furniture_ID VARCHAR, num_of_component INTEGER)",
"question": "Find the name of the company that produces both furnitures with less than 6 components and furnitures with more than 10 components."
} |
### QUESTION
Select the name and price of all products with a price larger than or equal to $180, and sort first by price (in descending order), and then by name (in ascending order).
### CONTEXT
CREATE TABLE products (name VARCHAR, price VARCHAR)
### ANSWER
SELECT name, price FROM products WHERE price >= 180 ORDER BY price DESC, name | {
"answer": "SELECT name, price FROM products WHERE price >= 180 ORDER BY price DESC, name",
"context": "CREATE TABLE products (name VARCHAR, price VARCHAR)",
"question": "Select the name and price of all products with a price larger than or equal to $180, and sort first by price (in descending order), and then by name (in ascending order)."
} |
### QUESTION
Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz?
### CONTEXT
CREATE TABLE table_name_66 (sampling_memory_upgrade_able VARCHAR, sampling_rate VARCHAR)
### ANSWER
SELECT sampling_memory_upgrade_able FROM table_name_66 WHERE sampling_rate = "16-bit 44.1khz" | {
"answer": "SELECT sampling_memory_upgrade_able FROM table_name_66 WHERE sampling_rate = \"16-bit 44.1khz\"",
"context": "CREATE TABLE table_name_66 (sampling_memory_upgrade_able VARCHAR, sampling_rate VARCHAR)",
"question": "Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz?"
} |
### QUESTION
What is the date of the game at Olympic Stadium?
### CONTEXT
CREATE TABLE table_24989925_2 (date VARCHAR, game_site VARCHAR)
### ANSWER
SELECT date FROM table_24989925_2 WHERE game_site = "Olympic Stadium" | {
"answer": "SELECT date FROM table_24989925_2 WHERE game_site = \"Olympic Stadium\"",
"context": "CREATE TABLE table_24989925_2 (date VARCHAR, game_site VARCHAR)",
"question": "What is the date of the game at Olympic Stadium?"
} |
### QUESTION
what is the owner of the callsign wliw
### CONTEXT
CREATE TABLE table_1979203_1 (owner VARCHAR, callsign VARCHAR)
### ANSWER
SELECT owner FROM table_1979203_1 WHERE callsign = "WLIW" | {
"answer": "SELECT owner FROM table_1979203_1 WHERE callsign = \"WLIW\"",
"context": "CREATE TABLE table_1979203_1 (owner VARCHAR, callsign VARCHAR)",
"question": "what is the owner of the callsign wliw"
} |
### QUESTION
List all the characteristic names and data types of product "cumin".
### CONTEXT
CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_data_type VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### ANSWER
SELECT t3.characteristic_name, t3.characteristic_data_type 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 t1.product_name = "cumin" | {
"answer": "SELECT t3.characteristic_name, t3.characteristic_data_type 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 t1.product_name = \"cumin\"",
"context": "CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_data_type VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)",
"question": "List all the characteristic names and data types of product \"cumin\"."
} |
### QUESTION
What are the names of parties with at least 2 events?
### CONTEXT
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE party_events (party_id VARCHAR)
### ANSWER
SELECT T2.party_name FROM party_events AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id HAVING COUNT(*) >= 2 | {
"answer": "SELECT T2.party_name FROM party_events AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id HAVING COUNT(*) >= 2",
"context": "CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE party_events (party_id VARCHAR)",
"question": "What are the names of parties with at least 2 events?"
} |
### QUESTION
what is the smallest series episode number whose production code is 2t7211?
### CONTEXT
CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR)
### ANSWER
SELECT MIN(no) FROM table_21979779_1 WHERE production_code = "2T7211" | {
"answer": "SELECT MIN(no) FROM table_21979779_1 WHERE production_code = \"2T7211\"",
"context": "CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR)",
"question": "what is the smallest series episode number whose production code is 2t7211?"
} |
### QUESTION
What is the status of platelet counts for conditions where bleeding time is prolonged and partial thromboplastin time is unaffected?
### CONTEXT
CREATE TABLE table_20592988_1 (platelet_count VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)
### ANSWER
SELECT platelet_count FROM table_20592988_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Unaffected" | {
"answer": "SELECT platelet_count FROM table_20592988_1 WHERE bleeding_time = \"Prolonged\" AND partial_thromboplastin_time = \"Unaffected\"",
"context": "CREATE TABLE table_20592988_1 (platelet_count VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR)",
"question": "What is the status of platelet counts for conditions where bleeding time is prolonged and partial thromboplastin time is unaffected? "
} |
### QUESTION
How many different locations does the school with code BUS has?
### CONTEXT
CREATE TABLE department (dept_address VARCHAR, school_code VARCHAR)
### ANSWER
SELECT COUNT(DISTINCT dept_address) FROM department WHERE school_code = 'BUS' | {
"answer": "SELECT COUNT(DISTINCT dept_address) FROM department WHERE school_code = 'BUS'",
"context": "CREATE TABLE department (dept_address VARCHAR, school_code VARCHAR)",
"question": "How many different locations does the school with code BUS has?"
} |
### QUESTION
what is the average rank when the day 1 is less than 71 and the country is romania?
### CONTEXT
CREATE TABLE table_name_62 (rank INTEGER, day_1 VARCHAR, country VARCHAR)
### ANSWER
SELECT AVG(rank) FROM table_name_62 WHERE day_1 < 71 AND country = "romania" | {
"answer": "SELECT AVG(rank) FROM table_name_62 WHERE day_1 < 71 AND country = \"romania\"",
"context": "CREATE TABLE table_name_62 (rank INTEGER, day_1 VARCHAR, country VARCHAR)",
"question": "what is the average rank when the day 1 is less than 71 and the country is romania?"
} |
### QUESTION
What is the theme, date, and attendance for the exhibition in year 2004?
### CONTEXT
CREATE TABLE exhibition_record (date VARCHAR, attendance VARCHAR, exhibition_id VARCHAR); CREATE TABLE exhibition (theme VARCHAR, exhibition_id VARCHAR, year VARCHAR)
### ANSWER
SELECT T2.theme, T1.date, T1.attendance FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T2.year = 2004 | {
"answer": "SELECT T2.theme, T1.date, T1.attendance FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T2.year = 2004",
"context": "CREATE TABLE exhibition_record (date VARCHAR, attendance VARCHAR, exhibition_id VARCHAR); CREATE TABLE exhibition (theme VARCHAR, exhibition_id VARCHAR, year VARCHAR)",
"question": "What is the theme, date, and attendance for the exhibition in year 2004?"
} |
### QUESTION
What is the name of the Count Palatine of the Rhine with a Interregnum began of 2 april 1657 death of ferdinand iii?
### CONTEXT
CREATE TABLE table_name_65 (count_palatine_of_the_rhine VARCHAR, interregnum_began VARCHAR)
### ANSWER
SELECT count_palatine_of_the_rhine FROM table_name_65 WHERE interregnum_began = "2 april 1657 death of ferdinand iii" | {
"answer": "SELECT count_palatine_of_the_rhine FROM table_name_65 WHERE interregnum_began = \"2 april 1657 death of ferdinand iii\"",
"context": "CREATE TABLE table_name_65 (count_palatine_of_the_rhine VARCHAR, interregnum_began VARCHAR)",
"question": "What is the name of the Count Palatine of the Rhine with a Interregnum began of 2 april 1657 death of ferdinand iii?"
} |
### QUESTION
what is the debut when the play er is radoslava topalova and the years played is less than 2?
### CONTEXT
CREATE TABLE table_name_33 (debut INTEGER, player VARCHAR, years_played VARCHAR)
### ANSWER
SELECT AVG(debut) FROM table_name_33 WHERE player = "radoslava topalova" AND years_played < 2 | {
"answer": "SELECT AVG(debut) FROM table_name_33 WHERE player = \"radoslava topalova\" AND years_played < 2",
"context": "CREATE TABLE table_name_33 (debut INTEGER, player VARCHAR, years_played VARCHAR)",
"question": "what is the debut when the play er is radoslava topalova and the years played is less than 2?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.