text
stringlengths
146
1.06k
source
dict
### QUESTION What Scores by each individual judge has a Status of current, and a Co-contestant (Yaar vs. Pyaar) of krushna abhishek? ### CONTEXT CREATE TABLE table_name_67 (scores_by_each_individual_judge VARCHAR, status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) ### ANSWER SELECT scores_by_each_individual_judge FROM table_name_67 WHERE status = "current" AND co_contestant__yaar_vs_pyaar_ = "krushna abhishek"
{ "answer": "SELECT scores_by_each_individual_judge FROM table_name_67 WHERE status = \"current\" AND co_contestant__yaar_vs_pyaar_ = \"krushna abhishek\"", "context": "CREATE TABLE table_name_67 (scores_by_each_individual_judge VARCHAR, status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)", "question": "What Scores by each individual judge has a Status of current, and a Co-contestant (Yaar vs. Pyaar) of krushna abhishek?" }
### QUESTION What was the duration of Robert Joy's portrayal? ### CONTEXT CREATE TABLE table_11240028_1 (duration VARCHAR, portrayed_by VARCHAR) ### ANSWER SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = "Robert Joy"
{ "answer": "SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = \"Robert Joy\"", "context": "CREATE TABLE table_11240028_1 (duration VARCHAR, portrayed_by VARCHAR)", "question": "What was the duration of Robert Joy's portrayal?" }
### QUESTION What is the latest year a ride opened that was manufactured by Zamperla, was a convoy ride, and had a name of Tiny Truckers? ### CONTEXT CREATE TABLE table_name_93 (opened_in INTEGER, ride_name VARCHAR, manufacture VARCHAR, type VARCHAR) ### ANSWER SELECT MAX(opened_in) FROM table_name_93 WHERE manufacture = "zamperla" AND type = "convoy ride" AND ride_name = "tiny truckers"
{ "answer": "SELECT MAX(opened_in) FROM table_name_93 WHERE manufacture = \"zamperla\" AND type = \"convoy ride\" AND ride_name = \"tiny truckers\"", "context": "CREATE TABLE table_name_93 (opened_in INTEGER, ride_name VARCHAR, manufacture VARCHAR, type VARCHAR)", "question": "What is the latest year a ride opened that was manufactured by Zamperla, was a convoy ride, and had a name of Tiny Truckers?" }
### QUESTION What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal? ### CONTEXT CREATE TABLE table_name_90 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) ### ANSWER SELECT AVG(gold) FROM table_name_90 WHERE total > 1 AND bronze < 10 AND nation = "switzerland" AND silver > 1
{ "answer": "SELECT AVG(gold) FROM table_name_90 WHERE total > 1 AND bronze < 10 AND nation = \"switzerland\" AND silver > 1", "context": "CREATE TABLE table_name_90 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)", "question": "What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal?" }
### QUESTION Which Opponents have a Surface of hard, and an Outcome of runner-up, and a Partner of jarmila gajdošová? ### CONTEXT CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR, surface VARCHAR, outcome VARCHAR) ### ANSWER SELECT opponents FROM table_name_80 WHERE surface = "hard" AND outcome = "runner-up" AND partner = "jarmila gajdošová"
{ "answer": "SELECT opponents FROM table_name_80 WHERE surface = \"hard\" AND outcome = \"runner-up\" AND partner = \"jarmila gajdošová\"", "context": "CREATE TABLE table_name_80 (opponents VARCHAR, partner VARCHAR, surface VARCHAR, outcome VARCHAR)", "question": "Which Opponents have a Surface of hard, and an Outcome of runner-up, and a Partner of jarmila gajdošová?" }
### QUESTION In 1971 at MCG, what was the score of the VFL Reserves? ### CONTEXT CREATE TABLE table_name_35 (score VARCHAR, year VARCHAR, competition VARCHAR, venue VARCHAR) ### ANSWER SELECT score FROM table_name_35 WHERE competition = "vfl reserves" AND venue = "mcg" AND year = "1971"
{ "answer": "SELECT score FROM table_name_35 WHERE competition = \"vfl reserves\" AND venue = \"mcg\" AND year = \"1971\"", "context": "CREATE TABLE table_name_35 (score VARCHAR, year VARCHAR, competition VARCHAR, venue VARCHAR)", "question": "In 1971 at MCG, what was the score of the VFL Reserves?" }
### QUESTION Who was the sponsor for the bill introduced February 28, 2005 with cosponsors less than 200? ### CONTEXT CREATE TABLE table_name_18 (sponsor_s_ VARCHAR, _number_of_cosponsors VARCHAR, date_introduced VARCHAR) ### ANSWER SELECT sponsor_s_ FROM table_name_18 WHERE _number_of_cosponsors < 200 AND date_introduced = "february 28, 2005"
{ "answer": "SELECT sponsor_s_ FROM table_name_18 WHERE _number_of_cosponsors < 200 AND date_introduced = \"february 28, 2005\"", "context": "CREATE TABLE table_name_18 (sponsor_s_ VARCHAR, _number_of_cosponsors VARCHAR, date_introduced VARCHAR)", "question": "Who was the sponsor for the bill introduced February 28, 2005 with cosponsors less than 200?" }
### QUESTION What is the total frequency have a Status of owned by cumulus media, and a Format of news? ### CONTEXT CREATE TABLE table_name_66 (frequency INTEGER, status VARCHAR, format VARCHAR) ### ANSWER SELECT SUM(frequency) FROM table_name_66 WHERE status = "owned by cumulus media" AND format = "news"
{ "answer": "SELECT SUM(frequency) FROM table_name_66 WHERE status = \"owned by cumulus media\" AND format = \"news\"", "context": "CREATE TABLE table_name_66 (frequency INTEGER, status VARCHAR, format VARCHAR)", "question": "What is the total frequency have a Status of owned by cumulus media, and a Format of news?" }
### QUESTION Who were the visitors when the Atlanta Falcons were the home team? ### CONTEXT CREATE TABLE table_name_42 (designated_visitors VARCHAR, designated_home VARCHAR) ### ANSWER SELECT designated_visitors FROM table_name_42 WHERE designated_home = "atlanta falcons"
{ "answer": "SELECT designated_visitors FROM table_name_42 WHERE designated_home = \"atlanta falcons\"", "context": "CREATE TABLE table_name_42 (designated_visitors VARCHAR, designated_home VARCHAR)", "question": "Who were the visitors when the Atlanta Falcons were the home team?" }
### QUESTION Which Calendar has a WYSIWYG Editor of no, and an Unread message tracking of session, and an Image attachment of no? ### CONTEXT CREATE TABLE table_name_91 (calendar VARCHAR, image_attachment VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR) ### ANSWER SELECT calendar FROM table_name_91 WHERE wysiwyg_editor = "no" AND unread_message_tracking = "session" AND image_attachment = "no"
{ "answer": "SELECT calendar FROM table_name_91 WHERE wysiwyg_editor = \"no\" AND unread_message_tracking = \"session\" AND image_attachment = \"no\"", "context": "CREATE TABLE table_name_91 (calendar VARCHAR, image_attachment VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR)", "question": "Which Calendar has a WYSIWYG Editor of no, and an Unread message tracking of session, and an Image attachment of no?" }
### QUESTION For the United Kingdom, what's the date? ### CONTEXT CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR) ### ANSWER SELECT date FROM table_name_88 WHERE country = "united kingdom"
{ "answer": "SELECT date FROM table_name_88 WHERE country = \"united kingdom\"", "context": "CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR)", "question": "For the United Kingdom, what's the date?" }
### QUESTION What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683 ### CONTEXT CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR) ### ANSWER SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683
{ "answer": "SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683", "context": "CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR)", "question": "What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683" }
### QUESTION Find the names of customers who either have an deputy policy or uniformed policy. ### CONTEXT CREATE TABLE policies (customer_id VARCHAR, policy_type_code VARCHAR); CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR) ### ANSWER SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.policy_type_code = "Deputy" OR t1.policy_type_code = "Uniform"
{ "answer": "SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.policy_type_code = \"Deputy\" OR t1.policy_type_code = \"Uniform\"", "context": "CREATE TABLE policies (customer_id VARCHAR, policy_type_code VARCHAR); CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR)", "question": "Find the names of customers who either have an deputy policy or uniformed policy." }
### QUESTION Find distinct cities of addresses of people? ### CONTEXT CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR) ### ANSWER SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id
{ "answer": "SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id", "context": "CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR)", "question": "Find distinct cities of addresses of people?" }
### QUESTION What is the opening date of the musical at the adelphi theatre? ### CONTEXT CREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR) ### ANSWER SELECT opening_date FROM table_name_6 WHERE classification = "musical" AND theatre = "adelphi theatre"
{ "answer": "SELECT opening_date FROM table_name_6 WHERE classification = \"musical\" AND theatre = \"adelphi theatre\"", "context": "CREATE TABLE table_name_6 (opening_date VARCHAR, classification VARCHAR, theatre VARCHAR)", "question": "What is the opening date of the musical at the adelphi theatre?" }
### QUESTION What year had the Chassis of march 762 and more than 0 points? ### CONTEXT CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR) ### ANSWER SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0
{ "answer": "SELECT COUNT(year) FROM table_name_64 WHERE chassis = \"march 762\" AND points > 0", "context": "CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR)", "question": "What year had the Chassis of march 762 and more than 0 points?" }
### QUESTION Tell me the total number of top 25 for wins less than 1 and cuts made of 22 ### CONTEXT CREATE TABLE table_name_59 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR) ### ANSWER SELECT COUNT(top_25) FROM table_name_59 WHERE cuts_made = 22 AND wins < 1
{ "answer": "SELECT COUNT(top_25) FROM table_name_59 WHERE cuts_made = 22 AND wins < 1", "context": "CREATE TABLE table_name_59 (top_25 VARCHAR, cuts_made VARCHAR, wins VARCHAR)", "question": "Tell me the total number of top 25 for wins less than 1 and cuts made of 22" }
### QUESTION How many Australians were in the UN commission on Korea? ### CONTEXT CREATE TABLE table_10121127_1 (number_of_australians_involved VARCHAR, un_operation_title VARCHAR) ### ANSWER SELECT COUNT(number_of_australians_involved) FROM table_10121127_1 WHERE un_operation_title = "UN Commission on Korea"
{ "answer": "SELECT COUNT(number_of_australians_involved) FROM table_10121127_1 WHERE un_operation_title = \"UN Commission on Korea\"", "context": "CREATE TABLE table_10121127_1 (number_of_australians_involved VARCHAR, un_operation_title VARCHAR)", "question": "How many Australians were in the UN commission on Korea?" }
### QUESTION Who directed the movie when John Wayne played the role of John Travers? ### CONTEXT CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR) ### ANSWER SELECT director FROM table_name_54 WHERE role = "john travers"
{ "answer": "SELECT director FROM table_name_54 WHERE role = \"john travers\"", "context": "CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR)", "question": "Who directed the movie when John Wayne played the role of John Travers?" }
### QUESTION Which date's week was more than 4 with the venue being City Stadium and where the attendance was more than 14,297? ### CONTEXT CREATE TABLE table_name_1 (date VARCHAR, attendance VARCHAR, week VARCHAR, venue VARCHAR) ### ANSWER SELECT date FROM table_name_1 WHERE week > 4 AND venue = "city stadium" AND attendance > 14 OFFSET 297
{ "answer": "SELECT date FROM table_name_1 WHERE week > 4 AND venue = \"city stadium\" AND attendance > 14 OFFSET 297", "context": "CREATE TABLE table_name_1 (date VARCHAR, attendance VARCHAR, week VARCHAR, venue VARCHAR)", "question": "Which date's week was more than 4 with the venue being City Stadium and where the attendance was more than 14,297?" }
### QUESTION How many teachers does the student named MADLOCK RAY have? ### CONTEXT CREATE TABLE teachers (classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) ### ANSWER SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "MADLOCK" AND T1.lastname = "RAY"
{ "answer": "SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = \"MADLOCK\" AND T1.lastname = \"RAY\"", "context": "CREATE TABLE teachers (classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)", "question": "How many teachers does the student named MADLOCK RAY have?" }
### QUESTION What is the highest number of losses of club cf calvo sotelo, which has more than 31 goals against, 38 goals for, and less than 30 played? ### CONTEXT CREATE TABLE table_name_85 (losses INTEGER, played VARCHAR, club VARCHAR, goals_against VARCHAR, goals_for VARCHAR) ### ANSWER SELECT MAX(losses) FROM table_name_85 WHERE goals_against > 31 AND goals_for = 38 AND club = "cf calvo sotelo" AND played < 30
{ "answer": "SELECT MAX(losses) FROM table_name_85 WHERE goals_against > 31 AND goals_for = 38 AND club = \"cf calvo sotelo\" AND played < 30", "context": "CREATE TABLE table_name_85 (losses INTEGER, played VARCHAR, club VARCHAR, goals_against VARCHAR, goals_for VARCHAR)", "question": "What is the highest number of losses of club cf calvo sotelo, which has more than 31 goals against, 38 goals for, and less than 30 played?" }
### QUESTION How many elections had 1423 average voters per candidate? ### CONTEXT CREATE TABLE table_19698421_1 (change__percentage_points_ VARCHAR, average_voters_per_candidate VARCHAR) ### ANSWER SELECT COUNT(change__percentage_points_) FROM table_19698421_1 WHERE average_voters_per_candidate = 1423
{ "answer": "SELECT COUNT(change__percentage_points_) FROM table_19698421_1 WHERE average_voters_per_candidate = 1423", "context": "CREATE TABLE table_19698421_1 (change__percentage_points_ VARCHAR, average_voters_per_candidate VARCHAR)", "question": "How many elections had 1423 average voters per candidate?" }
### QUESTION What were the ratings for host Chris Economaki who had 12.3 million viewers? ### CONTEXT CREATE TABLE table_name_83 (ratings VARCHAR, host VARCHAR, viewers VARCHAR) ### ANSWER SELECT ratings FROM table_name_83 WHERE host = "chris economaki" AND viewers = "12.3 million"
{ "answer": "SELECT ratings FROM table_name_83 WHERE host = \"chris economaki\" AND viewers = \"12.3 million\"", "context": "CREATE TABLE table_name_83 (ratings VARCHAR, host VARCHAR, viewers VARCHAR)", "question": "What were the ratings for host Chris Economaki who had 12.3 million viewers?" }
### QUESTION When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number? ### CONTEXT CREATE TABLE table_name_86 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR) ### ANSWER SELECT constituency_number FROM table_name_86 WHERE reserved_for___sc___st__none_ = "none" AND name = "badnawar"
{ "answer": "SELECT constituency_number FROM table_name_86 WHERE reserved_for___sc___st__none_ = \"none\" AND name = \"badnawar\"", "context": "CREATE TABLE table_name_86 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)", "question": "When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number?" }
### QUESTION Can you tell me the highest DCSF number that has the Name of field, and the Ofsted number larger than 117160? ### CONTEXT CREATE TABLE table_name_52 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR) ### ANSWER SELECT MAX(dcsf_number) FROM table_name_52 WHERE name = "field" AND ofsted_number > 117160
{ "answer": "SELECT MAX(dcsf_number) FROM table_name_52 WHERE name = \"field\" AND ofsted_number > 117160", "context": "CREATE TABLE table_name_52 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR)", "question": "Can you tell me the highest DCSF number that has the Name of field, and the Ofsted number larger than 117160?" }
### QUESTION What is the highest Grid with a time of +1:19.905, and less than 20 laps? ### CONTEXT CREATE TABLE table_name_22 (grid INTEGER, time VARCHAR, laps VARCHAR) ### ANSWER SELECT MAX(grid) FROM table_name_22 WHERE time = "+1:19.905" AND laps < 20
{ "answer": "SELECT MAX(grid) FROM table_name_22 WHERE time = \"+1:19.905\" AND laps < 20", "context": "CREATE TABLE table_name_22 (grid INTEGER, time VARCHAR, laps VARCHAR)", "question": "What is the highest Grid with a time of +1:19.905, and less than 20 laps?" }
### QUESTION How many dates of vacancy were on 30 october 2010? ### CONTEXT CREATE TABLE table_27683516_3 (team VARCHAR, date_of_vacancy VARCHAR) ### ANSWER SELECT COUNT(team) FROM table_27683516_3 WHERE date_of_vacancy = "30 October 2010"
{ "answer": "SELECT COUNT(team) FROM table_27683516_3 WHERE date_of_vacancy = \"30 October 2010\"", "context": "CREATE TABLE table_27683516_3 (team VARCHAR, date_of_vacancy VARCHAR)", "question": "How many dates of vacancy were on 30 october 2010?" }
### QUESTION List the id of students who registered course statistics in the order of registration date. ### CONTEXT CREATE TABLE student_course_registrations (student_id VARCHAR, course_id VARCHAR, registration_date VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR) ### ANSWER SELECT T2.student_id FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "statistics" ORDER BY T2.registration_date
{ "answer": "SELECT T2.student_id FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"statistics\" ORDER BY T2.registration_date", "context": "CREATE TABLE student_course_registrations (student_id VARCHAR, course_id VARCHAR, registration_date VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)", "question": "List the id of students who registered course statistics in the order of registration date." }
### QUESTION What was Saskatoon Accelerators score on January 6, 2008? ### CONTEXT CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR) ### ANSWER SELECT score FROM table_name_66 WHERE home_team = "saskatoon accelerators" AND date = "january 6, 2008"
{ "answer": "SELECT score FROM table_name_66 WHERE home_team = \"saskatoon accelerators\" AND date = \"january 6, 2008\"", "context": "CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)", "question": "What was Saskatoon Accelerators score on January 6, 2008?" }
### QUESTION What is the sequence length (aa) of the protein with the common name Purple Sea Urchin and a divergence from human lineage less than 742.9? ### CONTEXT CREATE TABLE table_name_67 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR) ### ANSWER SELECT SUM(sequence_length__aa_) FROM table_name_67 WHERE common_name = "purple sea urchin" AND divergence_from_human_lineage__mya_ < 742.9
{ "answer": "SELECT SUM(sequence_length__aa_) FROM table_name_67 WHERE common_name = \"purple sea urchin\" AND divergence_from_human_lineage__mya_ < 742.9", "context": "CREATE TABLE table_name_67 (sequence_length__aa_ INTEGER, common_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)", "question": "What is the sequence length (aa) of the protein with the common name Purple Sea Urchin and a divergence from human lineage less than 742.9?" }
### QUESTION What losses have points for less than 1175, wins greater than 2, points against greater than 894, and 24 as the points? ### CONTEXT CREATE TABLE table_name_84 (loses VARCHAR, points VARCHAR, points_against VARCHAR, points_for VARCHAR, wins VARCHAR) ### ANSWER SELECT loses FROM table_name_84 WHERE points_for < 1175 AND wins > 2 AND points_against > 894 AND points = 24
{ "answer": "SELECT loses FROM table_name_84 WHERE points_for < 1175 AND wins > 2 AND points_against > 894 AND points = 24", "context": "CREATE TABLE table_name_84 (loses VARCHAR, points VARCHAR, points_against VARCHAR, points_for VARCHAR, wins VARCHAR)", "question": "What losses have points for less than 1175, wins greater than 2, points against greater than 894, and 24 as the points?" }
### QUESTION Who is the opponent in the final on 24 November 2008? ### CONTEXT CREATE TABLE table_name_43 (opponent_in_the_final VARCHAR, date VARCHAR) ### ANSWER SELECT opponent_in_the_final FROM table_name_43 WHERE date = "24 november 2008"
{ "answer": "SELECT opponent_in_the_final FROM table_name_43 WHERE date = \"24 november 2008\"", "context": "CREATE TABLE table_name_43 (opponent_in_the_final VARCHAR, date VARCHAR)", "question": "Who is the opponent in the final on 24 November 2008?" }
### QUESTION Please show the titles of films and the types of market estimations. ### CONTEXT CREATE TABLE film (Title VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Type VARCHAR, Film_ID VARCHAR) ### ANSWER SELECT T1.Title, T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID
{ "answer": "SELECT T1.Title, T2.Type FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID", "context": "CREATE TABLE film (Title VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Type VARCHAR, Film_ID VARCHAR)", "question": "Please show the titles of films and the types of market estimations." }
### QUESTION What are the Colt model numbers of the models named GAU-5A/A, with no bayonet lug, no case deflector and stock of 2nd generation? ### CONTEXT CREATE TABLE table_12834315_1 (colt_model_no VARCHAR, name VARCHAR, case_deflector VARCHAR, bayonet_lug VARCHAR, stock VARCHAR) ### ANSWER SELECT colt_model_no FROM table_12834315_1 WHERE bayonet_lug = "No" AND stock = "2nd Generation" AND case_deflector = "No" AND name = "GAU-5A/A"
{ "answer": "SELECT colt_model_no FROM table_12834315_1 WHERE bayonet_lug = \"No\" AND stock = \"2nd Generation\" AND case_deflector = \"No\" AND name = \"GAU-5A/A\"", "context": "CREATE TABLE table_12834315_1 (colt_model_no VARCHAR, name VARCHAR, case_deflector VARCHAR, bayonet_lug VARCHAR, stock VARCHAR)", "question": "What are the Colt model numbers of the models named GAU-5A/A, with no bayonet lug, no case deflector and stock of 2nd generation? " }
### QUESTION List the names of entrepreneurs and their companies in descending order of money requested? ### CONTEXT CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR, Money_Requested VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) ### ANSWER SELECT T2.Name, T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Money_Requested
{ "answer": "SELECT T2.Name, T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Money_Requested", "context": "CREATE TABLE entrepreneur (Company VARCHAR, People_ID VARCHAR, Money_Requested VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)", "question": "List the names of entrepreneurs and their companies in descending order of money requested?" }
### QUESTION What's the original NFL team when the POS is S and college is Georgia Tech? ### CONTEXT CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR) ### ANSWER SELECT original_nfl_team FROM table_name_31 WHERE pos = "s" AND college = "georgia tech"
{ "answer": "SELECT original_nfl_team FROM table_name_31 WHERE pos = \"s\" AND college = \"georgia tech\"", "context": "CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR)", "question": "What's the original NFL team when the POS is S and college is Georgia Tech?" }
### QUESTION Tell me the constellation which has a right ascension of 18h17m41.1s ### CONTEXT CREATE TABLE table_name_54 (constellation VARCHAR, right_ascension___j2000__ VARCHAR) ### ANSWER SELECT constellation FROM table_name_54 WHERE right_ascension___j2000__ = "18h17m41.1s"
{ "answer": "SELECT constellation FROM table_name_54 WHERE right_ascension___j2000__ = \"18h17m41.1s\"", "context": "CREATE TABLE table_name_54 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)", "question": "Tell me the constellation which has a right ascension of 18h17m41.1s" }
### QUESTION Name the total water resources m3 for rainfall being 650 ### CONTEXT CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR) ### ANSWER SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854436_1 WHERE average_annual_rainfall__mm_ = "650"
{ "answer": "SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854436_1 WHERE average_annual_rainfall__mm_ = \"650\"", "context": "CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR)", "question": "Name the total water resources m3 for rainfall being 650" }
### QUESTION What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eustachio? ### CONTEXT CREATE TABLE table_name_7 (elevated VARCHAR, elevator VARCHAR, cardinalatial_order_and_title VARCHAR) ### ANSWER SELECT elevated FROM table_name_7 WHERE elevator = "nicholas iii" AND cardinalatial_order_and_title = "cardinal-deacon of s. eustachio"
{ "answer": "SELECT elevated FROM table_name_7 WHERE elevator = \"nicholas iii\" AND cardinalatial_order_and_title = \"cardinal-deacon of s. eustachio\"", "context": "CREATE TABLE table_name_7 (elevated VARCHAR, elevator VARCHAR, cardinalatial_order_and_title VARCHAR)", "question": "What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eustachio?" }
### QUESTION How many episodes were originally aired Saturday, May 30, 2009? ### CONTEXT CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR) ### ANSWER SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 30, 2009"
{ "answer": "SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = \"Saturday, May 30, 2009\"", "context": "CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR)", "question": "How many episodes were originally aired Saturday, May 30, 2009?" }
### QUESTION What is the lyric fm for rnag 93.2? ### CONTEXT CREATE TABLE table_18475946_2 (lyric_fm__mhz_ VARCHAR, rnag__mhz_ VARCHAR) ### ANSWER SELECT lyric_fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "93.2"
{ "answer": "SELECT lyric_fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = \"93.2\"", "context": "CREATE TABLE table_18475946_2 (lyric_fm__mhz_ VARCHAR, rnag__mhz_ VARCHAR)", "question": "What is the lyric fm for rnag 93.2?" }
### QUESTION What are the largest Cars Entered with a Winning Driver of rodger ward, and a Season smaller than 1959? ### CONTEXT CREATE TABLE table_name_33 (cars_entered INTEGER, winning_driver VARCHAR, season VARCHAR) ### ANSWER SELECT MAX(cars_entered) FROM table_name_33 WHERE winning_driver = "rodger ward" AND season < 1959
{ "answer": "SELECT MAX(cars_entered) FROM table_name_33 WHERE winning_driver = \"rodger ward\" AND season < 1959", "context": "CREATE TABLE table_name_33 (cars_entered INTEGER, winning_driver VARCHAR, season VARCHAR)", "question": "What are the largest Cars Entered with a Winning Driver of rodger ward, and a Season smaller than 1959?" }
### QUESTION What is the largest issue date for an album that reached position of 3? ### CONTEXT CREATE TABLE table_name_6 (issue_date INTEGER, highest_position VARCHAR) ### ANSWER SELECT MAX(issue_date) FROM table_name_6 WHERE highest_position = 3
{ "answer": "SELECT MAX(issue_date) FROM table_name_6 WHERE highest_position = 3", "context": "CREATE TABLE table_name_6 (issue_date INTEGER, highest_position VARCHAR)", "question": "What is the largest issue date for an album that reached position of 3?" }
### QUESTION What is the date of the game with a result of W 13-10? ### CONTEXT CREATE TABLE table_name_53 (date VARCHAR, result VARCHAR) ### ANSWER SELECT date FROM table_name_53 WHERE result = "w 13-10"
{ "answer": "SELECT date FROM table_name_53 WHERE result = \"w 13-10\"", "context": "CREATE TABLE table_name_53 (date VARCHAR, result VARCHAR)", "question": "What is the date of the game with a result of W 13-10?" }
### QUESTION Find the name of the makers that produced some cars in the year of 1970? ### CONTEXT CREATE TABLE MODEL_LIST (Maker VARCHAR, model VARCHAR); CREATE TABLE CAR_MAKERS (Maker VARCHAR, Id VARCHAR); CREATE TABLE CARS_DATA (id VARCHAR, year VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR) ### ANSWER SELECT DISTINCT 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 JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970'
{ "answer": "SELECT DISTINCT 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 JOIN CARS_DATA AS T4 ON T3.MakeId = T4.id WHERE T4.year = '1970'", "context": "CREATE TABLE MODEL_LIST (Maker VARCHAR, model VARCHAR); CREATE TABLE CAR_MAKERS (Maker VARCHAR, Id VARCHAR); CREATE TABLE CARS_DATA (id VARCHAR, year VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR)", "question": "Find the name of the makers that produced some cars in the year of 1970?" }
### QUESTION What is the hardness for the alloy that is liquid at 243 degrees C? ### CONTEXT CREATE TABLE table_name_45 (hardness VARCHAR, liquid_at__°c_ VARCHAR) ### ANSWER SELECT hardness FROM table_name_45 WHERE liquid_at__°c_ = "243"
{ "answer": "SELECT hardness FROM table_name_45 WHERE liquid_at__°c_ = \"243\"", "context": "CREATE TABLE table_name_45 (hardness VARCHAR, liquid_at__°c_ VARCHAR)", "question": "What is the hardness for the alloy that is liquid at 243 degrees C?" }
### QUESTION List the number of takeaways with 1 rejection. ### CONTEXT CREATE TABLE table_24906653_5 (steals VARCHAR, blocks VARCHAR) ### ANSWER SELECT COUNT(steals) FROM table_24906653_5 WHERE blocks = 1
{ "answer": "SELECT COUNT(steals) FROM table_24906653_5 WHERE blocks = 1", "context": "CREATE TABLE table_24906653_5 (steals VARCHAR, blocks VARCHAR)", "question": "List the number of takeaways with 1 rejection." }
### QUESTION What is the serials issued in 1982 with a format of ABC-123? ### CONTEXT CREATE TABLE table_name_60 (serials_issued VARCHAR, serial_format VARCHAR, issued VARCHAR) ### ANSWER SELECT serials_issued FROM table_name_60 WHERE serial_format = "abc-123" AND issued = "1982"
{ "answer": "SELECT serials_issued FROM table_name_60 WHERE serial_format = \"abc-123\" AND issued = \"1982\"", "context": "CREATE TABLE table_name_60 (serials_issued VARCHAR, serial_format VARCHAR, issued VARCHAR)", "question": "What is the serials issued in 1982 with a format of ABC-123?" }
### QUESTION which MSDN integration has a Load testing of no, and a Test impact analysis of no? ### CONTEXT CREATE TABLE table_name_16 (msdn_integration VARCHAR, load_testing VARCHAR, test_impact_analysis VARCHAR) ### ANSWER SELECT msdn_integration FROM table_name_16 WHERE load_testing = "no" AND test_impact_analysis = "no"
{ "answer": "SELECT msdn_integration FROM table_name_16 WHERE load_testing = \"no\" AND test_impact_analysis = \"no\"", "context": "CREATE TABLE table_name_16 (msdn_integration VARCHAR, load_testing VARCHAR, test_impact_analysis VARCHAR)", "question": "which MSDN integration has a Load testing of no, and a Test impact analysis of no?" }
### QUESTION Which High rebounds has a Game smaller than 9, and a Opponent of detroit? ### CONTEXT CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR) ### ANSWER SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = "detroit"
{ "answer": "SELECT high_rebounds FROM table_name_94 WHERE game < 9 AND opponent = \"detroit\"", "context": "CREATE TABLE table_name_94 (high_rebounds VARCHAR, game VARCHAR, opponent VARCHAR)", "question": "Which High rebounds has a Game smaller than 9, and a Opponent of detroit?" }
### QUESTION What is the average rank of a player with fewer than 3 matches? ### CONTEXT CREATE TABLE table_name_38 (rank INTEGER, matches INTEGER) ### ANSWER SELECT AVG(rank) FROM table_name_38 WHERE matches < 3
{ "answer": "SELECT AVG(rank) FROM table_name_38 WHERE matches < 3", "context": "CREATE TABLE table_name_38 (rank INTEGER, matches INTEGER)", "question": "What is the average rank of a player with fewer than 3 matches?" }
### QUESTION What is the date for Hydra Head Records with a CD format? ### CONTEXT CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR, format VARCHAR) ### ANSWER SELECT date FROM table_name_21 WHERE label = "hydra head records" AND format = "cd"
{ "answer": "SELECT date FROM table_name_21 WHERE label = \"hydra head records\" AND format = \"cd\"", "context": "CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR, format VARCHAR)", "question": "What is the date for Hydra Head Records with a CD format?" }
### QUESTION Who was the successor that was formally installed on March 30, 1870? ### CONTEXT CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR) ### ANSWER SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = "March 30, 1870"
{ "answer": "SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = \"March 30, 1870\"", "context": "CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)", "question": "Who was the successor that was formally installed on March 30, 1870?" }
### QUESTION How much Body Width/mm has a Part Number of tsop40/44, and a Body Length/mm smaller than 18.42? ### CONTEXT CREATE TABLE table_name_66 (body_width_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR) ### ANSWER SELECT SUM(body_width_mm) FROM table_name_66 WHERE part_number = "tsop40/44" AND body_length_mm < 18.42
{ "answer": "SELECT SUM(body_width_mm) FROM table_name_66 WHERE part_number = \"tsop40/44\" AND body_length_mm < 18.42", "context": "CREATE TABLE table_name_66 (body_width_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR)", "question": "How much Body Width/mm has a Part Number of tsop40/44, and a Body Length/mm smaller than 18.42?" }
### QUESTION Nationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn? ### CONTEXT CREATE TABLE table_name_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR) ### ANSWER SELECT MIN(drawn) FROM table_name_5 WHERE nationality = "england" AND matches < 510 AND lost = 4 AND win__percentage < 28.6
{ "answer": "SELECT MIN(drawn) FROM table_name_5 WHERE nationality = \"england\" AND matches < 510 AND lost = 4 AND win__percentage < 28.6", "context": "CREATE TABLE table_name_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR)", "question": "Nationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn?" }
### QUESTION What's the tail number of the airplane involved in the accident described as crashed? ### CONTEXT CREATE TABLE table_229917_2 (tail_number VARCHAR, brief_description VARCHAR) ### ANSWER SELECT tail_number FROM table_229917_2 WHERE brief_description = "Crashed"
{ "answer": "SELECT tail_number FROM table_229917_2 WHERE brief_description = \"Crashed\"", "context": "CREATE TABLE table_229917_2 (tail_number VARCHAR, brief_description VARCHAR)", "question": "What's the tail number of the airplane involved in the accident described as crashed?" }
### QUESTION When 446004 is the production code who are the writers? ### CONTEXT CREATE TABLE table_2409041_2 (written_by VARCHAR, production_code VARCHAR) ### ANSWER SELECT written_by FROM table_2409041_2 WHERE production_code = 446004
{ "answer": "SELECT written_by FROM table_2409041_2 WHERE production_code = 446004", "context": "CREATE TABLE table_2409041_2 (written_by VARCHAR, production_code VARCHAR)", "question": "When 446004 is the production code who are the writers?" }
### QUESTION Show the names and ages of editors and the theme of journals for which they serve on committees, in ascending alphabetical order of theme. ### CONTEXT CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, age VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR) ### ANSWER SELECT T2.Name, T2.age, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID ORDER BY T3.Theme
{ "answer": "SELECT T2.Name, T2.age, T3.Theme FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID ORDER BY T3.Theme", "context": "CREATE TABLE journal_committee (Editor_ID VARCHAR, Journal_ID VARCHAR); CREATE TABLE editor (Name VARCHAR, age VARCHAR, Editor_ID VARCHAR); CREATE TABLE journal (Theme VARCHAR, Journal_ID VARCHAR)", "question": "Show the names and ages of editors and the theme of journals for which they serve on committees, in ascending alphabetical order of theme." }
### QUESTION Name the most laps for grid more than 9 and the driver being jan heylen ### CONTEXT CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, driver VARCHAR) ### ANSWER SELECT MAX(laps) FROM table_name_9 WHERE grid > 9 AND driver = "jan heylen"
{ "answer": "SELECT MAX(laps) FROM table_name_9 WHERE grid > 9 AND driver = \"jan heylen\"", "context": "CREATE TABLE table_name_9 (laps INTEGER, grid VARCHAR, driver VARCHAR)", "question": "Name the most laps for grid more than 9 and the driver being jan heylen" }
### QUESTION which player has a conv of 14? ### CONTEXT CREATE TABLE table_name_45 (player VARCHAR, conv VARCHAR) ### ANSWER SELECT player FROM table_name_45 WHERE conv = "14"
{ "answer": "SELECT player FROM table_name_45 WHERE conv = \"14\"", "context": "CREATE TABLE table_name_45 (player VARCHAR, conv VARCHAR)", "question": "which player has a conv of 14?" }
### QUESTION What are the maximum duration and resolution of songs grouped and ordered by languages? ### CONTEXT CREATE TABLE song (languages VARCHAR, resolution INTEGER, f_id VARCHAR); CREATE TABLE files (duration INTEGER, f_id VARCHAR) ### ANSWER SELECT MAX(T1.duration), MAX(T2.resolution), T2.languages FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY T2.languages ORDER BY T2.languages
{ "answer": "SELECT MAX(T1.duration), MAX(T2.resolution), T2.languages FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY T2.languages ORDER BY T2.languages", "context": "CREATE TABLE song (languages VARCHAR, resolution INTEGER, f_id VARCHAR); CREATE TABLE files (duration INTEGER, f_id VARCHAR)", "question": "What are the maximum duration and resolution of songs grouped and ordered by languages?" }
### QUESTION What is the brand name for the antibody Brentuximab Vedotin? ### CONTEXT CREATE TABLE table_1661124_1 (brand_name VARCHAR, antibody VARCHAR) ### ANSWER SELECT brand_name FROM table_1661124_1 WHERE antibody = "Brentuximab vedotin"
{ "answer": "SELECT brand_name FROM table_1661124_1 WHERE antibody = \"Brentuximab vedotin\"", "context": "CREATE TABLE table_1661124_1 (brand_name VARCHAR, antibody VARCHAR)", "question": "What is the brand name for the antibody Brentuximab Vedotin?" }
### QUESTION What is the Propulsion for the model offered in 2003-2004 by neoplan usa? ### CONTEXT CREATE TABLE table_name_68 (propulsion VARCHAR, order_year VARCHAR, manufacturer VARCHAR) ### ANSWER SELECT propulsion FROM table_name_68 WHERE order_year = "2003-2004" AND manufacturer = "neoplan usa"
{ "answer": "SELECT propulsion FROM table_name_68 WHERE order_year = \"2003-2004\" AND manufacturer = \"neoplan usa\"", "context": "CREATE TABLE table_name_68 (propulsion VARCHAR, order_year VARCHAR, manufacturer VARCHAR)", "question": "What is the Propulsion for the model offered in 2003-2004 by neoplan usa?" }
### QUESTION What is the name of the course that has the most student enrollment? ### CONTEXT CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR) ### ANSWER SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)", "question": "What is the name of the course that has the most student enrollment?" }
### QUESTION Find the first name and office of history professor who did not get a Ph.D. degree. ### CONTEXT CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR) ### ANSWER SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T1.dept_code = T3.dept_code WHERE T3.dept_name = 'History' AND T1.prof_high_degree <> 'Ph.D.'
{ "answer": "SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T1.dept_code = T3.dept_code WHERE T3.dept_name = 'History' AND T1.prof_high_degree <> 'Ph.D.'", "context": "CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)", "question": "Find the first name and office of history professor who did not get a Ph.D. degree." }
### QUESTION How many pageants were margaret ann awitan bayot the delegate of? ### CONTEXT CREATE TABLE table_1825751_14 (pageant VARCHAR, delegate VARCHAR) ### ANSWER SELECT COUNT(pageant) FROM table_1825751_14 WHERE delegate = "Margaret Ann Awitan Bayot"
{ "answer": "SELECT COUNT(pageant) FROM table_1825751_14 WHERE delegate = \"Margaret Ann Awitan Bayot\"", "context": "CREATE TABLE table_1825751_14 (pageant VARCHAR, delegate VARCHAR)", "question": "How many pageants were margaret ann awitan bayot the delegate of?" }
### QUESTION What is the highest market value in billions of the company with profits of 20.96 billions and 166.99 billions in assets? ### CONTEXT CREATE TABLE table_name_79 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) ### ANSWER SELECT MAX(market_value__billion_) AS $_ FROM table_name_79 WHERE profits__billion_$_ = 20.96 AND assets__billion_$_ > 166.99
{ "answer": "SELECT MAX(market_value__billion_) AS $_ FROM table_name_79 WHERE profits__billion_$_ = 20.96 AND assets__billion_$_ > 166.99", "context": "CREATE TABLE table_name_79 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)", "question": "What is the highest market value in billions of the company with profits of 20.96 billions and 166.99 billions in assets?" }
### QUESTION What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference? ### CONTEXT CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR) ### ANSWER SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = "real avilés cf" AND goal_difference > -10
{ "answer": "SELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = \"real avilés cf\" AND goal_difference > -10", "context": "CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)", "question": "What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference?" }
### QUESTION Which school, club team, or country played for the rockets in the years 2000-01? ### CONTEXT CREATE TABLE table_11734041_3 (school_club_team_country VARCHAR, years_for_rockets VARCHAR) ### ANSWER SELECT school_club_team_country FROM table_11734041_3 WHERE years_for_rockets = "2000-01"
{ "answer": "SELECT school_club_team_country FROM table_11734041_3 WHERE years_for_rockets = \"2000-01\"", "context": "CREATE TABLE table_11734041_3 (school_club_team_country VARCHAR, years_for_rockets VARCHAR)", "question": "Which school, club team, or country played for the rockets in the years 2000-01?" }
### QUESTION Which date was hermanos rodríguez the location? ### CONTEXT CREATE TABLE table_name_37 (date VARCHAR, location VARCHAR) ### ANSWER SELECT date FROM table_name_37 WHERE location = "hermanos rodríguez"
{ "answer": "SELECT date FROM table_name_37 WHERE location = \"hermanos rodríguez\"", "context": "CREATE TABLE table_name_37 (date VARCHAR, location VARCHAR)", "question": "Which date was hermanos rodríguez the location?" }
### QUESTION What is the total number of picks for PBA team san miguel beermen who picked rommel daep? ### CONTEXT CREATE TABLE table_name_26 (pick VARCHAR, pba_team VARCHAR, player VARCHAR) ### ANSWER SELECT COUNT(pick) FROM table_name_26 WHERE pba_team = "san miguel beermen" AND player = "rommel daep"
{ "answer": "SELECT COUNT(pick) FROM table_name_26 WHERE pba_team = \"san miguel beermen\" AND player = \"rommel daep\"", "context": "CREATE TABLE table_name_26 (pick VARCHAR, pba_team VARCHAR, player VARCHAR)", "question": "What is the total number of picks for PBA team san miguel beermen who picked rommel daep?" }
### QUESTION how many times is the fuel propulsion is cng? ### CONTEXT CREATE TABLE table_10007452_3 (fleet_series__quantity_ VARCHAR, fuel_propulsion VARCHAR) ### ANSWER SELECT COUNT(fleet_series__quantity_) FROM table_10007452_3 WHERE fuel_propulsion = "CNG"
{ "answer": "SELECT COUNT(fleet_series__quantity_) FROM table_10007452_3 WHERE fuel_propulsion = \"CNG\"", "context": "CREATE TABLE table_10007452_3 (fleet_series__quantity_ VARCHAR, fuel_propulsion VARCHAR)", "question": "how many times is the fuel propulsion is cng?" }
### QUESTION How many yards for the player with tfl-yds of 2.5-4? ### CONTEXT CREATE TABLE table_18064020_21 (no_yds VARCHAR, tfl_yds VARCHAR) ### ANSWER SELECT no_yds FROM table_18064020_21 WHERE tfl_yds = "2.5-4"
{ "answer": "SELECT no_yds FROM table_18064020_21 WHERE tfl_yds = \"2.5-4\"", "context": "CREATE TABLE table_18064020_21 (no_yds VARCHAR, tfl_yds VARCHAR)", "question": "How many yards for the player with tfl-yds of 2.5-4?" }
### QUESTION Find the first name of the band mate that has performed in most songs. ### CONTEXT CREATE TABLE Songs (SongId VARCHAR); CREATE TABLE Band (firstname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR) ### ANSWER SELECT t2.firstname FROM Performance AS t1 JOIN Band AS t2 ON t1.bandmate = t2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY firstname ORDER BY COUNT(*) DESC LIMIT 1
{ "answer": "SELECT t2.firstname FROM Performance AS t1 JOIN Band AS t2 ON t1.bandmate = t2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId GROUP BY firstname ORDER BY COUNT(*) DESC LIMIT 1", "context": "CREATE TABLE Songs (SongId VARCHAR); CREATE TABLE Band (firstname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR)", "question": "Find the first name of the band mate that has performed in most songs." }
### QUESTION what is the percentage of male voters where the level of maturity is 123726 ### CONTEXT CREATE TABLE table_25042332_30 (e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR) ### ANSWER SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726
{ "answer": "SELECT e_vap_ratio_total FROM table_25042332_30 WHERE men_of_voting_age = 123726", "context": "CREATE TABLE table_25042332_30 (e_vap_ratio_total VARCHAR, men_of_voting_age VARCHAR)", "question": "what is the percentage of male voters where the level of maturity is 123726" }
### QUESTION Name the Losing BP with 22 played and 9 Try BP. ### CONTEXT CREATE TABLE table_name_72 (losing_bp VARCHAR, played VARCHAR, try_bp VARCHAR) ### ANSWER SELECT losing_bp FROM table_name_72 WHERE played = "22" AND try_bp = "9"
{ "answer": "SELECT losing_bp FROM table_name_72 WHERE played = \"22\" AND try_bp = \"9\"", "context": "CREATE TABLE table_name_72 (losing_bp VARCHAR, played VARCHAR, try_bp VARCHAR)", "question": "Name the Losing BP with 22 played and 9 Try BP." }
### QUESTION What was the 2nd leg when Team 1 was Chicago Croatian? ### CONTEXT CREATE TABLE table_name_57 (team_1 VARCHAR) ### ANSWER SELECT 2 AS nd_leg FROM table_name_57 WHERE team_1 = "chicago croatian"
{ "answer": "SELECT 2 AS nd_leg FROM table_name_57 WHERE team_1 = \"chicago croatian\"", "context": "CREATE TABLE table_name_57 (team_1 VARCHAR)", "question": "What was the 2nd leg when Team 1 was Chicago Croatian?" }
### QUESTION What is the Birthdate for the person with a height less than 191, and weight of 84 kg? ### CONTEXT CREATE TABLE table_name_23 (birthdate VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR) ### ANSWER SELECT birthdate FROM table_name_23 WHERE height__cm_ < 191 AND weight__kg_ = 84
{ "answer": "SELECT birthdate FROM table_name_23 WHERE height__cm_ < 191 AND weight__kg_ = 84", "context": "CREATE TABLE table_name_23 (birthdate VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR)", "question": "What is the Birthdate for the person with a height less than 191, and weight of 84 kg?" }
### QUESTION If the salary range is 4,000-9,000, what is the Indians %? ### CONTEXT CREATE TABLE table_27257896_2 (indians VARCHAR, salary_range VARCHAR) ### ANSWER SELECT indians FROM table_27257896_2 WHERE salary_range = "4,000-9,000"
{ "answer": "SELECT indians FROM table_27257896_2 WHERE salary_range = \"4,000-9,000\"", "context": "CREATE TABLE table_27257896_2 (indians VARCHAR, salary_range VARCHAR)", "question": "If the salary range is 4,000-9,000, what is the Indians %?" }
### QUESTION How many picks did the Chicago Black Hawks get? ### CONTEXT CREATE TABLE table_2679061_11 (pick__number VARCHAR, nhl_team VARCHAR) ### ANSWER SELECT COUNT(pick__number) FROM table_2679061_11 WHERE nhl_team = "Chicago Black Hawks"
{ "answer": "SELECT COUNT(pick__number) FROM table_2679061_11 WHERE nhl_team = \"Chicago Black Hawks\"", "context": "CREATE TABLE table_2679061_11 (pick__number VARCHAR, nhl_team VARCHAR)", "question": "How many picks did the Chicago Black Hawks get?" }
### QUESTION What was the women's singles were men's doubles were steen fladberg jens peter nierhoff? ### CONTEXT CREATE TABLE table_12186309_1 (womens_singles VARCHAR, mens_doubles VARCHAR) ### ANSWER SELECT womens_singles FROM table_12186309_1 WHERE mens_doubles = "Steen Fladberg Jens Peter Nierhoff"
{ "answer": "SELECT womens_singles FROM table_12186309_1 WHERE mens_doubles = \"Steen Fladberg Jens Peter Nierhoff\"", "context": "CREATE TABLE table_12186309_1 (womens_singles VARCHAR, mens_doubles VARCHAR)", "question": "What was the women's singles were men's doubles were steen fladberg jens peter nierhoff?" }
### QUESTION After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins? ### CONTEXT CREATE TABLE table_name_61 (attendance VARCHAR, week VARCHAR, game_site VARCHAR, opponent VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_61 WHERE game_site = "rich stadium" AND opponent = "miami dolphins" AND week > 2
{ "answer": "SELECT COUNT(attendance) FROM table_name_61 WHERE game_site = \"rich stadium\" AND opponent = \"miami dolphins\" AND week > 2", "context": "CREATE TABLE table_name_61 (attendance VARCHAR, week VARCHAR, game_site VARCHAR, opponent VARCHAR)", "question": "After week 2, how many people attended the game at Rich Stadium against the Miami Dolphins?" }
### QUESTION What is the dpi for the scanner with a max page size of 216mm x 355mm? ### CONTEXT CREATE TABLE table_16409745_1 (dpi VARCHAR, max_page_size VARCHAR) ### ANSWER SELECT dpi FROM table_16409745_1 WHERE max_page_size = "216mm x 355mm"
{ "answer": "SELECT dpi FROM table_16409745_1 WHERE max_page_size = \"216mm x 355mm\"", "context": "CREATE TABLE table_16409745_1 (dpi VARCHAR, max_page_size VARCHAR)", "question": "What is the dpi for the scanner with a max page size of 216mm x 355mm?" }
### QUESTION Show the name, phone, and payment method code for all customers in descending order of customer number. ### CONTEXT CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, payment_method_code VARCHAR, customer_number VARCHAR) ### ANSWER SELECT customer_name, customer_phone, payment_method_code FROM customers ORDER BY customer_number DESC
{ "answer": "SELECT customer_name, customer_phone, payment_method_code FROM customers ORDER BY customer_number DESC", "context": "CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, payment_method_code VARCHAR, customer_number VARCHAR)", "question": "Show the name, phone, and payment method code for all customers in descending order of customer number." }
### QUESTION What's the total losses for the vancouver burrards in the 1947 season with fewer than 24 games? ### CONTEXT CREATE TABLE table_name_8 (losses VARCHAR, games VARCHAR, team_name VARCHAR, season VARCHAR) ### ANSWER SELECT COUNT(losses) FROM table_name_8 WHERE team_name = "vancouver burrards" AND season = "1947" AND games < 24
{ "answer": "SELECT COUNT(losses) FROM table_name_8 WHERE team_name = \"vancouver burrards\" AND season = \"1947\" AND games < 24", "context": "CREATE TABLE table_name_8 (losses VARCHAR, games VARCHAR, team_name VARCHAR, season VARCHAR)", "question": "What's the total losses for the vancouver burrards in the 1947 season with fewer than 24 games?" }
### QUESTION Who is the runner(s)-up for a winning score of −3 (71-74-66-66=277)? ### CONTEXT CREATE TABLE table_name_65 (runner_s__up VARCHAR, winning_score VARCHAR) ### ANSWER SELECT runner_s__up FROM table_name_65 WHERE winning_score = −3(71 - 74 - 66 - 66 = 277)
{ "answer": "SELECT runner_s__up FROM table_name_65 WHERE winning_score = −3(71 - 74 - 66 - 66 = 277)", "context": "CREATE TABLE table_name_65 (runner_s__up VARCHAR, winning_score VARCHAR)", "question": "Who is the runner(s)-up for a winning score of −3 (71-74-66-66=277)?" }
### QUESTION Total larger than 285, and a Finish of t30 belongs to what player? ### CONTEXT CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, finish VARCHAR) ### ANSWER SELECT player FROM table_name_83 WHERE total > 285 AND finish = "t30"
{ "answer": "SELECT player FROM table_name_83 WHERE total > 285 AND finish = \"t30\"", "context": "CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, finish VARCHAR)", "question": "Total larger than 285, and a Finish of t30 belongs to what player?" }
### QUESTION What is the least amount of appearances by new zealand when they scored 4 goals? ### CONTEXT CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR) ### ANSWER SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"
{ "answer": "SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = \"new zealand\"", "context": "CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)", "question": "What is the least amount of appearances by new zealand when they scored 4 goals?" }
### QUESTION What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals? ### CONTEXT CREATE TABLE table_name_72 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR) ### ANSWER SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = "austria"
{ "answer": "SELECT MIN(silver) FROM table_name_72 WHERE total > 3 AND bronze > 22 AND gold < 395 AND nation = \"austria\"", "context": "CREATE TABLE table_name_72 (silver INTEGER, nation VARCHAR, gold VARCHAR, total VARCHAR, bronze VARCHAR)", "question": "What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals?" }
### QUESTION What is the total number of games played that correlates with a first game in 1991, a percentage of 22.22%, and less than 7 losses? ### CONTEXT CREATE TABLE table_name_22 (played VARCHAR, lost VARCHAR, first_game VARCHAR, percentage VARCHAR) ### ANSWER SELECT COUNT(played) FROM table_name_22 WHERE first_game = 1991 AND percentage = "22.22%" AND lost > 7
{ "answer": "SELECT COUNT(played) FROM table_name_22 WHERE first_game = 1991 AND percentage = \"22.22%\" AND lost > 7", "context": "CREATE TABLE table_name_22 (played VARCHAR, lost VARCHAR, first_game VARCHAR, percentage VARCHAR)", "question": "What is the total number of games played that correlates with a first game in 1991, a percentage of 22.22%, and less than 7 losses?" }
### QUESTION What is the lowest Taijiquan of the athlete who has a Taijijian of 9.7 and a total more than 19.34? ### CONTEXT CREATE TABLE table_name_90 (taijiquan INTEGER, taijijian VARCHAR, total VARCHAR) ### ANSWER SELECT MIN(taijiquan) FROM table_name_90 WHERE taijijian = 9.7 AND total > 19.34
{ "answer": "SELECT MIN(taijiquan) FROM table_name_90 WHERE taijijian = 9.7 AND total > 19.34", "context": "CREATE TABLE table_name_90 (taijiquan INTEGER, taijijian VARCHAR, total VARCHAR)", "question": "What is the lowest Taijiquan of the athlete who has a Taijijian of 9.7 and a total more than 19.34?" }
### QUESTION Which Manhattan number appeared when Richmond (Staten Island) was 78%? ### CONTEXT CREATE TABLE table_name_21 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) ### ANSWER SELECT manhattan FROM table_name_21 WHERE richmond_[staten_is] = "78%"
{ "answer": "SELECT manhattan FROM table_name_21 WHERE richmond_[staten_is] = \"78%\"", "context": "CREATE TABLE table_name_21 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)", "question": "Which Manhattan number appeared when Richmond (Staten Island) was 78%?" }
### QUESTION What is the smallest height (ft) of a building in Frankfurt with a height (m) of 257 and less than 55 floors? ### CONTEXT CREATE TABLE table_name_24 (height__ft_ INTEGER, floors VARCHAR, city VARCHAR, height__m_ VARCHAR) ### ANSWER SELECT MIN(height__ft_) FROM table_name_24 WHERE city = "frankfurt" AND height__m_ = 257 AND floors < 55
{ "answer": "SELECT MIN(height__ft_) FROM table_name_24 WHERE city = \"frankfurt\" AND height__m_ = 257 AND floors < 55", "context": "CREATE TABLE table_name_24 (height__ft_ INTEGER, floors VARCHAR, city VARCHAR, height__m_ VARCHAR)", "question": "What is the smallest height (ft) of a building in Frankfurt with a height (m) of 257 and less than 55 floors?" }
### QUESTION What is the division for the season earlier than 2004? ### CONTEXT CREATE TABLE table_name_60 (division VARCHAR, season INTEGER) ### ANSWER SELECT division FROM table_name_60 WHERE season < 2004
{ "answer": "SELECT division FROM table_name_60 WHERE season < 2004", "context": "CREATE TABLE table_name_60 (division VARCHAR, season INTEGER)", "question": "What is the division for the season earlier than 2004?" }
### QUESTION What was the Attendance on 31 January 1987? ### CONTEXT CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) ### ANSWER SELECT COUNT(attendance) FROM table_name_44 WHERE date = "31 january 1987"
{ "answer": "SELECT COUNT(attendance) FROM table_name_44 WHERE date = \"31 january 1987\"", "context": "CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR)", "question": "What was the Attendance on 31 January 1987?" }
### QUESTION Name the least points for patrick ### CONTEXT CREATE TABLE table_14342592_4 (points INTEGER, player VARCHAR) ### ANSWER SELECT MIN(points) FROM table_14342592_4 WHERE player = "Patrick"
{ "answer": "SELECT MIN(points) FROM table_14342592_4 WHERE player = \"Patrick\"", "context": "CREATE TABLE table_14342592_4 (points INTEGER, player VARCHAR)", "question": "Name the least points for patrick" }
### QUESTION What is Injured, when Date is "09.15 Sep. 15"? ### CONTEXT CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR) ### ANSWER SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15"
{ "answer": "SELECT injured FROM table_name_98 WHERE date = \"09.15 sep. 15\"", "context": "CREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR)", "question": "What is Injured, when Date is \"09.15 Sep. 15\"?" }
### QUESTION How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s? ### CONTEXT CREATE TABLE table_name_66 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_5 VARCHAR) ### ANSWER SELECT SUM(events) FROM table_name_66 WHERE cuts_made > 12 AND top_5 > 2 AND top_10 > 11
{ "answer": "SELECT SUM(events) FROM table_name_66 WHERE cuts_made > 12 AND top_5 > 2 AND top_10 > 11", "context": "CREATE TABLE table_name_66 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_5 VARCHAR)", "question": "How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s?" }
### QUESTION What is Format, when Label is Bronze, when Date is 1982, and when Catalogue is 204 636? ### CONTEXT CREATE TABLE table_name_12 (format VARCHAR, catalogue VARCHAR, label VARCHAR, date VARCHAR) ### ANSWER SELECT format FROM table_name_12 WHERE label = "bronze" AND date = "1982" AND catalogue = "204 636"
{ "answer": "SELECT format FROM table_name_12 WHERE label = \"bronze\" AND date = \"1982\" AND catalogue = \"204 636\"", "context": "CREATE TABLE table_name_12 (format VARCHAR, catalogue VARCHAR, label VARCHAR, date VARCHAR)", "question": "What is Format, when Label is Bronze, when Date is 1982, and when Catalogue is 204 636?" }