text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Which song has picturization by only vijay?
### CONTEXT
CREATE TABLE table_10848177_1 (song VARCHAR, picturization VARCHAR)
### ANSWER
SELECT song FROM table_10848177_1 WHERE picturization = "Vijay" | {
"answer": "SELECT song FROM table_10848177_1 WHERE picturization = \"Vijay\"",
"context": "CREATE TABLE table_10848177_1 (song VARCHAR, picturization VARCHAR)",
"question": "Which song has picturization by only vijay?"
} |
### QUESTION
What is the iclandic of the glossary for presenta for mi locaria
### CONTEXT
CREATE TABLE table_13003460_1 (the_icelandic_of_the_glossary VARCHAR, the_basque_of_the_glossary VARCHAR)
### ANSWER
SELECT the_icelandic_of_the_glossary FROM table_13003460_1 WHERE the_basque_of_the_glossary = "presenta for mi locaria" | {
"answer": "SELECT the_icelandic_of_the_glossary FROM table_13003460_1 WHERE the_basque_of_the_glossary = \"presenta for mi locaria\"",
"context": "CREATE TABLE table_13003460_1 (the_icelandic_of_the_glossary VARCHAR, the_basque_of_the_glossary VARCHAR)",
"question": "What is the iclandic of the glossary for presenta for mi locaria"
} |
### QUESTION
Name the average econ for runs more than 703 and ovrs more than 25.5
### CONTEXT
CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR)
### ANSWER
SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703 | {
"answer": "SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703",
"context": "CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR)",
"question": "Name the average econ for runs more than 703 and ovrs more than 25.5"
} |
### QUESTION
Which round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I?
### CONTEXT
CREATE TABLE table_22656187_9 (round VARCHAR, w_l VARCHAR, edition VARCHAR)
### ANSWER
SELECT round FROM table_22656187_9 WHERE w_l = "Loss" AND edition = "2012 Fed Cup Europe/Africa Group I" | {
"answer": "SELECT round FROM table_22656187_9 WHERE w_l = \"Loss\" AND edition = \"2012 Fed Cup Europe/Africa Group I\"",
"context": "CREATE TABLE table_22656187_9 (round VARCHAR, w_l VARCHAR, edition VARCHAR)",
"question": "Which round has a win-loss result of loss and an edition of 2012 Fed Cup Europe/Africa Group I?"
} |
### QUESTION
Find the name and total checking and savings balance of the accounts whose savings balance is lower than corresponding checking balance.
### CONTEXT
CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
### ANSWER
SELECT T1.name, T3.balance + T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T3.balance < T2.balance | {
"answer": "SELECT T1.name, T3.balance + T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T3.balance < T2.balance",
"context": "CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)",
"question": "Find the name and total checking and savings balance of the accounts whose savings balance is lower than corresponding checking balance."
} |
### QUESTION
Which Bronze has a Total larger than 7 and a Silver of 3, and a Games of summer, and a Gold of 5?
### CONTEXT
CREATE TABLE table_name_65 (bronze VARCHAR, gold VARCHAR, games VARCHAR, total VARCHAR, silver VARCHAR)
### ANSWER
SELECT bronze FROM table_name_65 WHERE total > 7 AND silver = 3 AND games = "summer" AND gold = 5 | {
"answer": "SELECT bronze FROM table_name_65 WHERE total > 7 AND silver = 3 AND games = \"summer\" AND gold = 5",
"context": "CREATE TABLE table_name_65 (bronze VARCHAR, gold VARCHAR, games VARCHAR, total VARCHAR, silver VARCHAR)",
"question": "Which Bronze has a Total larger than 7 and a Silver of 3, and a Games of summer, and a Gold of 5?"
} |
### QUESTION
what is the technology when the gel pouring is no and the analysis time is 8 days?
### CONTEXT
CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR)
### ANSWER
SELECT technology FROM table_name_88 WHERE gel_pouring = "no" AND analysis_time = "8 days" | {
"answer": "SELECT technology FROM table_name_88 WHERE gel_pouring = \"no\" AND analysis_time = \"8 days\"",
"context": "CREATE TABLE table_name_88 (technology VARCHAR, gel_pouring VARCHAR, analysis_time VARCHAR)",
"question": "what is the technology when the gel pouring is no and the analysis time is 8 days?"
} |
### QUESTION
What venue held the 1966 fifa world cup qualification on may 7, 1965?
### CONTEXT
CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR)
### ANSWER
SELECT venue FROM table_name_95 WHERE competition = "1966 fifa world cup qualification" AND date = "may 7, 1965" | {
"answer": "SELECT venue FROM table_name_95 WHERE competition = \"1966 fifa world cup qualification\" AND date = \"may 7, 1965\"",
"context": "CREATE TABLE table_name_95 (venue VARCHAR, competition VARCHAR, date VARCHAR)",
"question": "What venue held the 1966 fifa world cup qualification on may 7, 1965?"
} |
### QUESTION
How long is the XXX track used by the Minnesota Vikings?
### CONTEXT
CREATE TABLE table_name_14 (time VARCHAR, team_s_ VARCHAR, artist_s_ VARCHAR)
### ANSWER
SELECT time FROM table_name_14 WHERE team_s_ = "minnesota vikings" AND artist_s_ = "xxx" | {
"answer": "SELECT time FROM table_name_14 WHERE team_s_ = \"minnesota vikings\" AND artist_s_ = \"xxx\"",
"context": "CREATE TABLE table_name_14 (time VARCHAR, team_s_ VARCHAR, artist_s_ VARCHAR)",
"question": "How long is the XXX track used by the Minnesota Vikings?"
} |
### QUESTION
WHAT IS THE TITLE WITH CATEGORY OF best r&b song?
### CONTEXT
CREATE TABLE table_name_95 (title VARCHAR, category VARCHAR)
### ANSWER
SELECT title FROM table_name_95 WHERE category = "best r&b song" | {
"answer": "SELECT title FROM table_name_95 WHERE category = \"best r&b song\"",
"context": "CREATE TABLE table_name_95 (title VARCHAR, category VARCHAR)",
"question": "WHAT IS THE TITLE WITH CATEGORY OF best r&b song?"
} |
### QUESTION
What was the value in 2009 when 2005 was A for the Australian Open?
### CONTEXT
CREATE TABLE table_name_5 (tournament VARCHAR)
### ANSWER
SELECT 2009 FROM table_name_5 WHERE 2005 = "a" AND tournament = "australian open" | {
"answer": "SELECT 2009 FROM table_name_5 WHERE 2005 = \"a\" AND tournament = \"australian open\"",
"context": "CREATE TABLE table_name_5 (tournament VARCHAR)",
"question": "What was the value in 2009 when 2005 was A for the Australian Open?"
} |
### QUESTION
Name the average reported isn for july 2007 for kuwait release of no
### CONTEXT
CREATE TABLE table_name_4 (reported_isn INTEGER, on_july_2007_press_release VARCHAR, citizenship VARCHAR)
### ANSWER
SELECT AVG(reported_isn) FROM table_name_4 WHERE on_july_2007_press_release = "no" AND citizenship = "kuwait" | {
"answer": "SELECT AVG(reported_isn) FROM table_name_4 WHERE on_july_2007_press_release = \"no\" AND citizenship = \"kuwait\"",
"context": "CREATE TABLE table_name_4 (reported_isn INTEGER, on_july_2007_press_release VARCHAR, citizenship VARCHAR)",
"question": "Name the average reported isn for july 2007 for kuwait release of no"
} |
### QUESTION
What are the ids of all students for courses and what are the names of those courses?
### CONTEXT
CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR, course_id VARCHAR)
### ANSWER
SELECT T1.student_id, T2.course_name FROM student_course_registrations AS T1 JOIN courses AS T2 ON T1.course_id = T2.course_id | {
"answer": "SELECT T1.student_id, T2.course_name FROM student_course_registrations AS T1 JOIN courses AS T2 ON T1.course_id = T2.course_id",
"context": "CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR, course_id VARCHAR)",
"question": "What are the ids of all students for courses and what are the names of those courses?"
} |
### QUESTION
How many games have more than 10 points and more than 2 draws?
### CONTEXT
CREATE TABLE table_name_13 (games VARCHAR, points VARCHAR, drawn VARCHAR)
### ANSWER
SELECT COUNT(games) FROM table_name_13 WHERE points = 10 AND drawn > 2 | {
"answer": "SELECT COUNT(games) FROM table_name_13 WHERE points = 10 AND drawn > 2",
"context": "CREATE TABLE table_name_13 (games VARCHAR, points VARCHAR, drawn VARCHAR)",
"question": "How many games have more than 10 points and more than 2 draws?"
} |
### QUESTION
What type of engine does the BF Racing Marron Excavations have that also has Monaco as chassis and Lee Filliponi as the driver?
### CONTEXT
CREATE TABLE table_name_94 (engine VARCHAR, driver VARCHAR, team VARCHAR, chassis VARCHAR)
### ANSWER
SELECT engine FROM table_name_94 WHERE team = "bf racing marron excavations" AND chassis = "monaco" AND driver = "lee filliponi" | {
"answer": "SELECT engine FROM table_name_94 WHERE team = \"bf racing marron excavations\" AND chassis = \"monaco\" AND driver = \"lee filliponi\"",
"context": "CREATE TABLE table_name_94 (engine VARCHAR, driver VARCHAR, team VARCHAR, chassis VARCHAR)",
"question": "What type of engine does the BF Racing Marron Excavations have that also has Monaco as chassis and Lee Filliponi as the driver?"
} |
### QUESTION
Find the government form name and total population for each government form whose average life expectancy is longer than 72.
### CONTEXT
CREATE TABLE country (GovernmentForm VARCHAR, Population INTEGER, LifeExpectancy INTEGER)
### ANSWER
SELECT SUM(Population), GovernmentForm FROM country GROUP BY GovernmentForm HAVING AVG(LifeExpectancy) > 72 | {
"answer": "SELECT SUM(Population), GovernmentForm FROM country GROUP BY GovernmentForm HAVING AVG(LifeExpectancy) > 72",
"context": "CREATE TABLE country (GovernmentForm VARCHAR, Population INTEGER, LifeExpectancy INTEGER)",
"question": "Find the government form name and total population for each government form whose average life expectancy is longer than 72."
} |
### QUESTION
Show all train names and times in stations in London in descending order by train time.
### CONTEXT
CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR); CREATE TABLE station (station_id VARCHAR, location VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, train_id VARCHAR)
### ANSWER
SELECT T3.name, T3.time FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T2.location = 'London' ORDER BY T3.time DESC | {
"answer": "SELECT T3.name, T3.time FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T2.location = 'London' ORDER BY T3.time DESC",
"context": "CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR); CREATE TABLE station (station_id VARCHAR, location VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, train_id VARCHAR)",
"question": "Show all train names and times in stations in London in descending order by train time."
} |
### QUESTION
Name the location for democratic méga-plex taschereau imax
### CONTEXT
CREATE TABLE table_2461720_1 (location VARCHAR, theatre_name VARCHAR)
### ANSWER
SELECT location FROM table_2461720_1 WHERE theatre_name = "Méga-Plex Taschereau IMAX" | {
"answer": "SELECT location FROM table_2461720_1 WHERE theatre_name = \"Méga-Plex Taschereau IMAX\"",
"context": "CREATE TABLE table_2461720_1 (location VARCHAR, theatre_name VARCHAR)",
"question": "Name the location for democratic méga-plex taschereau imax"
} |
### QUESTION
What is the location of the game that was friendly and resulted in 2-3?
### CONTEXT
CREATE TABLE table_name_6 (venue VARCHAR, competition VARCHAR, result VARCHAR)
### ANSWER
SELECT venue FROM table_name_6 WHERE competition = "friendly" AND result = "2-3" | {
"answer": "SELECT venue FROM table_name_6 WHERE competition = \"friendly\" AND result = \"2-3\"",
"context": "CREATE TABLE table_name_6 (venue VARCHAR, competition VARCHAR, result VARCHAR)",
"question": "What is the location of the game that was friendly and resulted in 2-3?"
} |
### QUESTION
What is the total number of interview scores that have an evening gown score of 9.543 and an average that is bigger than 9.521?
### CONTEXT
CREATE TABLE table_name_59 (interview INTEGER, evening_gown VARCHAR, average VARCHAR)
### ANSWER
SELECT SUM(interview) FROM table_name_59 WHERE evening_gown = 9.543 AND average > 9.521 | {
"answer": "SELECT SUM(interview) FROM table_name_59 WHERE evening_gown = 9.543 AND average > 9.521",
"context": "CREATE TABLE table_name_59 (interview INTEGER, evening_gown VARCHAR, average VARCHAR)",
"question": "What is the total number of interview scores that have an evening gown score of 9.543 and an average that is bigger than 9.521?"
} |
### QUESTION
What previous club was born on October 22, 1993?
### CONTEXT
CREATE TABLE table_name_48 (previous_club VARCHAR, date_of_birth VARCHAR)
### ANSWER
SELECT previous_club FROM table_name_48 WHERE date_of_birth = "october 22, 1993" | {
"answer": "SELECT previous_club FROM table_name_48 WHERE date_of_birth = \"october 22, 1993\"",
"context": "CREATE TABLE table_name_48 (previous_club VARCHAR, date_of_birth VARCHAR)",
"question": "What previous club was born on October 22, 1993?"
} |
### QUESTION
Find employee with ID and name of the country presently where (s)he is working.
### CONTEXT
CREATE TABLE countries (country_name VARCHAR, country_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR); CREATE TABLE locations (location_id VARCHAR, country_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR, department_id VARCHAR)
### ANSWER
SELECT T1.employee_id, T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id JOIN countries AS T4 ON T3.country_id = T4.country_id | {
"answer": "SELECT T1.employee_id, T4.country_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id JOIN countries AS T4 ON T3.country_id = T4.country_id",
"context": "CREATE TABLE countries (country_name VARCHAR, country_id VARCHAR); CREATE TABLE departments (department_id VARCHAR, location_id VARCHAR); CREATE TABLE locations (location_id VARCHAR, country_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR, department_id VARCHAR)",
"question": "Find employee with ID and name of the country presently where (s)he is working."
} |
### QUESTION
Who was the Driver, when the Chassis was Bugatti T51, and when the Entrant was Automobiles Ettore Bugatti?
### CONTEXT
CREATE TABLE table_name_87 (driver VARCHAR, chassis VARCHAR, entrant VARCHAR)
### ANSWER
SELECT driver FROM table_name_87 WHERE chassis = "bugatti t51" AND entrant = "automobiles ettore bugatti" | {
"answer": "SELECT driver FROM table_name_87 WHERE chassis = \"bugatti t51\" AND entrant = \"automobiles ettore bugatti\"",
"context": "CREATE TABLE table_name_87 (driver VARCHAR, chassis VARCHAR, entrant VARCHAR)",
"question": "Who was the Driver, when the Chassis was Bugatti T51, and when the Entrant was Automobiles Ettore Bugatti?"
} |
### QUESTION
What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?
### CONTEXT
CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)
### ANSWER
SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "660 Shea Crescent" OR T2.How_to_Get_There = "walk" | {
"answer": "SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = \"660 Shea Crescent\" OR T2.How_to_Get_There = \"walk\"",
"context": "CREATE TABLE Tourist_Attractions (Name VARCHAR, Location_ID VARCHAR, How_to_Get_There VARCHAR); CREATE TABLE Locations (Location_ID VARCHAR, Address VARCHAR)",
"question": "What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?"
} |
### QUESTION
What is the release date of the album written by Goss, James James Goss under Audiogo?
### CONTEXT
CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR)
### ANSWER
SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo" | {
"answer": "SELECT release_date FROM table_name_36 WHERE writer = \"goss, james james goss\" AND company = \"audiogo\"",
"context": "CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR)",
"question": "What is the release date of the album written by Goss, James James Goss under Audiogo?"
} |
### QUESTION
At what time is the site usf softball field • tampa, fl and w4-0 is the result?
### CONTEXT
CREATE TABLE table_22098274_1 (time VARCHAR, site VARCHAR, result VARCHAR)
### ANSWER
SELECT time FROM table_22098274_1 WHERE site = "USF Softball Field • Tampa, FL" AND result = "W4-0" | {
"answer": "SELECT time FROM table_22098274_1 WHERE site = \"USF Softball Field • Tampa, FL\" AND result = \"W4-0\"",
"context": "CREATE TABLE table_22098274_1 (time VARCHAR, site VARCHAR, result VARCHAR)",
"question": "At what time is the site usf softball field • tampa, fl and w4-0 is the result?"
} |
### QUESTION
What is the sum of Date of Official Foundation of Municipality, when Province is "Kermān", when 2006 us "167014", and when Rank is less than 46?
### CONTEXT
CREATE TABLE table_name_65 (date_of_official_foundation_of_municipality INTEGER, rank VARCHAR, province VARCHAR)
### ANSWER
SELECT SUM(date_of_official_foundation_of_municipality) FROM table_name_65 WHERE province = "kermān" AND 2006 = 167014 AND rank < 46 | {
"answer": "SELECT SUM(date_of_official_foundation_of_municipality) FROM table_name_65 WHERE province = \"kermān\" AND 2006 = 167014 AND rank < 46",
"context": "CREATE TABLE table_name_65 (date_of_official_foundation_of_municipality INTEGER, rank VARCHAR, province VARCHAR)",
"question": "What is the sum of Date of Official Foundation of Municipality, when Province is \"Kermān\", when 2006 us \"167014\", and when Rank is less than 46?"
} |
### QUESTION
What stage did team Carrera Jeans-Tassoni have when Mario Cipollini won and Claudio Chiappucci had the points?
### CONTEXT
CREATE TABLE table_name_78 (stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR, winner VARCHAR)
### ANSWER
SELECT stage FROM table_name_78 WHERE trofeo_fast_team = "carrera jeans-tassoni" AND winner = "mario cipollini" AND points_classification = "claudio chiappucci" | {
"answer": "SELECT stage FROM table_name_78 WHERE trofeo_fast_team = \"carrera jeans-tassoni\" AND winner = \"mario cipollini\" AND points_classification = \"claudio chiappucci\"",
"context": "CREATE TABLE table_name_78 (stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR, winner VARCHAR)",
"question": "What stage did team Carrera Jeans-Tassoni have when Mario Cipollini won and Claudio Chiappucci had the points?"
} |
### QUESTION
what is the location when the year is before 1979 and the result is 19-17?
### CONTEXT
CREATE TABLE table_name_68 (location VARCHAR, year VARCHAR, result VARCHAR)
### ANSWER
SELECT location FROM table_name_68 WHERE year < 1979 AND result = "19-17" | {
"answer": "SELECT location FROM table_name_68 WHERE year < 1979 AND result = \"19-17\"",
"context": "CREATE TABLE table_name_68 (location VARCHAR, year VARCHAR, result VARCHAR)",
"question": "what is the location when the year is before 1979 and the result is 19-17?"
} |
### QUESTION
Which years did the player from Providence play for the Grizzlies as small forward?
### CONTEXT
CREATE TABLE table_name_96 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR)
### ANSWER
SELECT years_for_grizzlies FROM table_name_96 WHERE position = "small forward" AND school_club_team = "providence" | {
"answer": "SELECT years_for_grizzlies FROM table_name_96 WHERE position = \"small forward\" AND school_club_team = \"providence\"",
"context": "CREATE TABLE table_name_96 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR)",
"question": "Which years did the player from Providence play for the Grizzlies as small forward?"
} |
### QUESTION
Show the names of employees with role name Editor.
### CONTEXT
CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR); CREATE TABLE Employees (employee_name VARCHAR, role_code VARCHAR)
### ANSWER
SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Editor" | {
"answer": "SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = \"Editor\"",
"context": "CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR); CREATE TABLE Employees (employee_name VARCHAR, role_code VARCHAR)",
"question": "Show the names of employees with role name Editor."
} |
### QUESTION
Show all allergy type with number of students affected.
### CONTEXT
CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergytype VARCHAR, allergy VARCHAR)
### ANSWER
SELECT T2.allergytype, COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy GROUP BY T2.allergytype | {
"answer": "SELECT T2.allergytype, COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy GROUP BY T2.allergytype",
"context": "CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergytype VARCHAR, allergy VARCHAR)",
"question": "Show all allergy type with number of students affected."
} |
### QUESTION
What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?
### CONTEXT
CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR)
### ANSWER
SELECT MAX(laps) FROM table_name_13 WHERE class = "v8" AND entrant = "diet-coke racing" | {
"answer": "SELECT MAX(laps) FROM table_name_13 WHERE class = \"v8\" AND entrant = \"diet-coke racing\"",
"context": "CREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR)",
"question": "What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?"
} |
### QUESTION
What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th?
### CONTEXT
CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR)
### ANSWER
SELECT season FROM table_name_62 WHERE winner = "kanto gakuin university" AND attendance = "n/a" AND title = "37th" | {
"answer": "SELECT season FROM table_name_62 WHERE winner = \"kanto gakuin university\" AND attendance = \"n/a\" AND title = \"37th\"",
"context": "CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR)",
"question": "What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th?"
} |
### QUESTION
What is the highest Population that has a Median household income of $32,902 with a number of households less than 11,125
### CONTEXT
CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)
### ANSWER
SELECT MAX(population) FROM table_name_34 WHERE median_household_income = "$32,902" AND number_of_households < 11 OFFSET 125 | {
"answer": "SELECT MAX(population) FROM table_name_34 WHERE median_household_income = \"$32,902\" AND number_of_households < 11 OFFSET 125",
"context": "CREATE TABLE table_name_34 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR)",
"question": "What is the highest Population that has a Median household income of $32,902 with a number of households less than 11,125"
} |
### QUESTION
How many different scores are there for the game with 10-3-4 record?
### CONTEXT
CREATE TABLE table_23308178_5 (score VARCHAR, record VARCHAR)
### ANSWER
SELECT COUNT(score) FROM table_23308178_5 WHERE record = "10-3-4" | {
"answer": "SELECT COUNT(score) FROM table_23308178_5 WHERE record = \"10-3-4\"",
"context": "CREATE TABLE table_23308178_5 (score VARCHAR, record VARCHAR)",
"question": "How many different scores are there for the game with 10-3-4 record?"
} |
### QUESTION
Find the list of documents that are both in the most three popular type and have the most three popular structure.
### CONTEXT
CREATE TABLE documents (document_name VARCHAR, document_type_code VARCHAR, document_structure_code VARCHAR)
### ANSWER
SELECT document_name FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) DESC LIMIT 3 | {
"answer": "SELECT document_name FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 3 INTERSECT SELECT document_name FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) DESC LIMIT 3",
"context": "CREATE TABLE documents (document_name VARCHAR, document_type_code VARCHAR, document_structure_code VARCHAR)",
"question": "Find the list of documents that are both in the most three popular type and have the most three popular structure."
} |
### QUESTION
What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?
### CONTEXT
CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR)
### ANSWER
SELECT market_share FROM table_23801721_1 WHERE technology = "CDMA EVDO GSM EDGE HSPA+" | {
"answer": "SELECT market_share FROM table_23801721_1 WHERE technology = \"CDMA EVDO GSM EDGE HSPA+\"",
"context": "CREATE TABLE table_23801721_1 (market_share VARCHAR, technology VARCHAR)",
"question": "What was the market share of the operator whose technology is CDMA EVDO GSM EDGE HSPA+?"
} |
### QUESTION
What team has jordan 193 chassis after 1990?
### CONTEXT
CREATE TABLE table_name_61 (team VARCHAR, year VARCHAR, chassis VARCHAR)
### ANSWER
SELECT team FROM table_name_61 WHERE year > 1990 AND chassis = "jordan 193" | {
"answer": "SELECT team FROM table_name_61 WHERE year > 1990 AND chassis = \"jordan 193\"",
"context": "CREATE TABLE table_name_61 (team VARCHAR, year VARCHAR, chassis VARCHAR)",
"question": "What team has jordan 193 chassis after 1990?"
} |
### QUESTION
How many districts in Baltimore City does Cheryl Glenn dictate?
### CONTEXT
CREATE TABLE table_name_40 (district VARCHAR, place_of_birth VARCHAR, delegate VARCHAR)
### ANSWER
SELECT COUNT(district) FROM table_name_40 WHERE place_of_birth = "baltimore city" AND delegate = "cheryl glenn" | {
"answer": "SELECT COUNT(district) FROM table_name_40 WHERE place_of_birth = \"baltimore city\" AND delegate = \"cheryl glenn\"",
"context": "CREATE TABLE table_name_40 (district VARCHAR, place_of_birth VARCHAR, delegate VARCHAR)",
"question": "How many districts in Baltimore City does Cheryl Glenn dictate?"
} |
### QUESTION
Who is the voice actor (harmony gold ova dub) of the character with a voice actor (adv TV/sentai ova dub) Kim Prause?
### CONTEXT
CREATE TABLE table_name_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR)
### ANSWER
SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_10 WHERE voice_actor__adv_tv_sentai_ova_dub_ = "kim prause" | {
"answer": "SELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_10 WHERE voice_actor__adv_tv_sentai_ova_dub_ = \"kim prause\"",
"context": "CREATE TABLE table_name_10 (voice_actor__harmony_gold_ova_dub_ VARCHAR, voice_actor__adv_tv_sentai_ova_dub_ VARCHAR)",
"question": "Who is the voice actor (harmony gold ova dub) of the character with a voice actor (adv TV/sentai ova dub) Kim Prause?"
} |
### QUESTION
How many base pairs are there if the molecular weight is 102?
### CONTEXT
CREATE TABLE table_140968_1 (size___s_base_pair__ VARCHAR, molecular_weight_kda VARCHAR)
### ANSWER
SELECT COUNT(size___s_base_pair__) FROM table_140968_1 WHERE molecular_weight_kda = "102" | {
"answer": "SELECT COUNT(size___s_base_pair__) FROM table_140968_1 WHERE molecular_weight_kda = \"102\"",
"context": "CREATE TABLE table_140968_1 (size___s_base_pair__ VARCHAR, molecular_weight_kda VARCHAR)",
"question": "How many base pairs are there if the molecular weight is 102?"
} |
### QUESTION
Ken Wright of the National Party was from which province?
### CONTEXT
CREATE TABLE table_name_79 (province VARCHAR, party VARCHAR, name VARCHAR)
### ANSWER
SELECT province FROM table_name_79 WHERE party = "national" AND name = "ken wright" | {
"answer": "SELECT province FROM table_name_79 WHERE party = \"national\" AND name = \"ken wright\"",
"context": "CREATE TABLE table_name_79 (province VARCHAR, party VARCHAR, name VARCHAR)",
"question": "Ken Wright of the National Party was from which province?"
} |
### QUESTION
What is High Points, when Game is less than 82, when Location Attendance is "Quicken Loans Arena 20,562", and when High Rebounds is "Žydrūnas Ilgauskas (13)"?
### CONTEXT
CREATE TABLE table_name_19 (high_points VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR)
### ANSWER
SELECT high_points FROM table_name_19 WHERE game < 82 AND location_attendance = "quicken loans arena 20,562" AND high_rebounds = "žydrūnas ilgauskas (13)" | {
"answer": "SELECT high_points FROM table_name_19 WHERE game < 82 AND location_attendance = \"quicken loans arena 20,562\" AND high_rebounds = \"žydrūnas ilgauskas (13)\"",
"context": "CREATE TABLE table_name_19 (high_points VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR)",
"question": "What is High Points, when Game is less than 82, when Location Attendance is \"Quicken Loans Arena 20,562\", and when High Rebounds is \"Žydrūnas Ilgauskas (13)\"?"
} |
### QUESTION
Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257
### CONTEXT
CREATE TABLE table_name_94 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR)
### ANSWER
SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257 | {
"answer": "SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257",
"context": "CREATE TABLE table_name_94 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR)",
"question": "Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257"
} |
### QUESTION
What is the No. 6 of the person with a No. 10 of Joshua and a No. 8 of Andrew?
### CONTEXT
CREATE TABLE table_name_56 (no_6 VARCHAR, no_10 VARCHAR, no_8 VARCHAR)
### ANSWER
SELECT no_6 FROM table_name_56 WHERE no_10 = "joshua" AND no_8 = "andrew" | {
"answer": "SELECT no_6 FROM table_name_56 WHERE no_10 = \"joshua\" AND no_8 = \"andrew\"",
"context": "CREATE TABLE table_name_56 (no_6 VARCHAR, no_10 VARCHAR, no_8 VARCHAR)",
"question": "What is the No. 6 of the person with a No. 10 of Joshua and a No. 8 of Andrew?"
} |
### QUESTION
Name the maximum year built for holmedal kyrkje
### CONTEXT
CREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR)
### ANSWER
SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = "Holmedal kyrkje" | {
"answer": "SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = \"Holmedal kyrkje\"",
"context": "CREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR)",
"question": "Name the maximum year built for holmedal kyrkje"
} |
### QUESTION
How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10?
### CONTEXT
CREATE TABLE table_name_61 (lost VARCHAR, against VARCHAR, drawn VARCHAR, points VARCHAR)
### ANSWER
SELECT COUNT(lost) FROM table_name_61 WHERE drawn > 1 AND points < 14 AND against > 10 | {
"answer": "SELECT COUNT(lost) FROM table_name_61 WHERE drawn > 1 AND points < 14 AND against > 10",
"context": "CREATE TABLE table_name_61 (lost VARCHAR, against VARCHAR, drawn VARCHAR, points VARCHAR)",
"question": "How much Lost has a Drawn larger than 1, and Points smaller than 14, and an Against larger than 10?"
} |
### QUESTION
What kind of decor has the least number of reservations?
### CONTEXT
CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (decor VARCHAR, RoomId VARCHAR)
### ANSWER
SELECT T2.decor FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T2.decor ORDER BY COUNT(T2.decor) LIMIT 1 | {
"answer": "SELECT T2.decor FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T2.decor ORDER BY COUNT(T2.decor) LIMIT 1",
"context": "CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (decor VARCHAR, RoomId VARCHAR)",
"question": "What kind of decor has the least number of reservations?"
} |
### QUESTION
Which film has the most number of actors or actresses? List the film name, film id and description.
### CONTEXT
CREATE TABLE film_actor (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR, description VARCHAR)
### ANSWER
SELECT T2.title, T2.film_id, T2.description FROM film_actor AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id GROUP BY T2.film_id ORDER BY COUNT(*) DESC LIMIT 1 | {
"answer": "SELECT T2.title, T2.film_id, T2.description FROM film_actor AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id GROUP BY T2.film_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE film_actor (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR, description VARCHAR)",
"question": "Which film has the most number of actors or actresses? List the film name, film id and description."
} |
### QUESTION
Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids.
### CONTEXT
CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR, basePrice VARCHAR, maxOccupancy VARCHAR)
### ANSWER
SELECT roomName, RoomId FROM Rooms WHERE basePrice > 160 AND maxOccupancy > 2 | {
"answer": "SELECT roomName, RoomId FROM Rooms WHERE basePrice > 160 AND maxOccupancy > 2",
"context": "CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR, basePrice VARCHAR, maxOccupancy VARCHAR)",
"question": "Find all the rooms that have a price higher than 160 and can accommodate more than 2 people. Report room names and ids."
} |
### QUESTION
How many different writers have written the episode with series number 8?
### CONTEXT
CREATE TABLE table_23958944_2 (written_by VARCHAR, no_by_series VARCHAR)
### ANSWER
SELECT COUNT(written_by) FROM table_23958944_2 WHERE no_by_series = 8 | {
"answer": "SELECT COUNT(written_by) FROM table_23958944_2 WHERE no_by_series = 8",
"context": "CREATE TABLE table_23958944_2 (written_by VARCHAR, no_by_series VARCHAR)",
"question": "How many different writers have written the episode with series number 8?"
} |
### QUESTION
Name the most number for automóvil club argentino for benedicto campos
### CONTEXT
CREATE TABLE table_21977704_1 (no INTEGER, entrant VARCHAR, driver VARCHAR)
### ANSWER
SELECT MAX(no) FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Benedicto Campos" | {
"answer": "SELECT MAX(no) FROM table_21977704_1 WHERE entrant = \"Automóvil Club Argentino\" AND driver = \"Benedicto Campos\"",
"context": "CREATE TABLE table_21977704_1 (no INTEGER, entrant VARCHAR, driver VARCHAR)",
"question": "Name the most number for automóvil club argentino for benedicto campos"
} |
### QUESTION
What is Score, when Location Attendance is "Madison Square Garden Unknown", and when High Rebounds is "Sidney Green (10)"?
### CONTEXT
CREATE TABLE table_name_9 (score VARCHAR, location_attendance VARCHAR, high_rebounds VARCHAR)
### ANSWER
SELECT score FROM table_name_9 WHERE location_attendance = "madison square garden unknown" AND high_rebounds = "sidney green (10)" | {
"answer": "SELECT score FROM table_name_9 WHERE location_attendance = \"madison square garden unknown\" AND high_rebounds = \"sidney green (10)\"",
"context": "CREATE TABLE table_name_9 (score VARCHAR, location_attendance VARCHAR, high_rebounds VARCHAR)",
"question": "What is Score, when Location Attendance is \"Madison Square Garden Unknown\", and when High Rebounds is \"Sidney Green (10)\"?"
} |
### QUESTION
Which Home team has a Venue of arden street oval?
### CONTEXT
CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR)
### ANSWER
SELECT home_team FROM table_name_64 WHERE venue = "arden street oval" | {
"answer": "SELECT home_team FROM table_name_64 WHERE venue = \"arden street oval\"",
"context": "CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR)",
"question": "Which Home team has a Venue of arden street oval?"
} |
### QUESTION
On what surface was the tournament with opponents kathleen horvath marcella mesker in the finals?
### CONTEXT
CREATE TABLE table_name_1 (surface VARCHAR, opponents_in_the_final VARCHAR)
### ANSWER
SELECT surface FROM table_name_1 WHERE opponents_in_the_final = "kathleen horvath marcella mesker" | {
"answer": "SELECT surface FROM table_name_1 WHERE opponents_in_the_final = \"kathleen horvath marcella mesker\"",
"context": "CREATE TABLE table_name_1 (surface VARCHAR, opponents_in_the_final VARCHAR)",
"question": "On what surface was the tournament with opponents kathleen horvath marcella mesker in the finals?"
} |
### QUESTION
What is the average Area (in km²), when Markatal is less than 0?
### CONTEXT
CREATE TABLE table_name_81 (area__in_km²_ INTEGER, markatal INTEGER)
### ANSWER
SELECT AVG(area__in_km²_) FROM table_name_81 WHERE markatal < 0 | {
"answer": "SELECT AVG(area__in_km²_) FROM table_name_81 WHERE markatal < 0",
"context": "CREATE TABLE table_name_81 (area__in_km²_ INTEGER, markatal INTEGER)",
"question": "What is the average Area (in km²), when Markatal is less than 0?"
} |
### QUESTION
What are the names of properties that are either houses or apartments with more than 1 room?
### CONTEXT
CREATE TABLE Properties (property_name VARCHAR, property_type_code VARCHAR, room_count VARCHAR)
### ANSWER
SELECT property_name FROM Properties WHERE property_type_code = "House" UNION SELECT property_name FROM Properties WHERE property_type_code = "Apartment" AND room_count > 1 | {
"answer": "SELECT property_name FROM Properties WHERE property_type_code = \"House\" UNION SELECT property_name FROM Properties WHERE property_type_code = \"Apartment\" AND room_count > 1",
"context": "CREATE TABLE Properties (property_name VARCHAR, property_type_code VARCHAR, room_count VARCHAR)",
"question": "What are the names of properties that are either houses or apartments with more than 1 room?"
} |
### QUESTION
Which Winning constructor has a Winning driver of felice nazzaro?
### CONTEXT
CREATE TABLE table_name_52 (winning_constructor VARCHAR, winning_driver VARCHAR)
### ANSWER
SELECT winning_constructor FROM table_name_52 WHERE winning_driver = "felice nazzaro" | {
"answer": "SELECT winning_constructor FROM table_name_52 WHERE winning_driver = \"felice nazzaro\"",
"context": "CREATE TABLE table_name_52 (winning_constructor VARCHAR, winning_driver VARCHAR)",
"question": "Which Winning constructor has a Winning driver of felice nazzaro?"
} |
### QUESTION
What is the production when engine is 2.7l, and acceleration 0–100km/h (0–62mph) is 8.5 s?
### CONTEXT
CREATE TABLE table_name_5 (production VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
### ANSWER
SELECT production FROM table_name_5 WHERE engine = "2.7l" AND acceleration_0_100km_h__0_62mph_ = "8.5 s" | {
"answer": "SELECT production FROM table_name_5 WHERE engine = \"2.7l\" AND acceleration_0_100km_h__0_62mph_ = \"8.5 s\"",
"context": "CREATE TABLE table_name_5 (production VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)",
"question": "What is the production when engine is 2.7l, and acceleration 0–100km/h (0–62mph) is 8.5 s?"
} |
### QUESTION
Which time/retired had 75 laps and Pedro de la Rosa as a driver?
### CONTEXT
CREATE TABLE table_name_86 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
### ANSWER
SELECT time_retired FROM table_name_86 WHERE laps = 75 AND driver = "pedro de la rosa" | {
"answer": "SELECT time_retired FROM table_name_86 WHERE laps = 75 AND driver = \"pedro de la rosa\"",
"context": "CREATE TABLE table_name_86 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)",
"question": "Which time/retired had 75 laps and Pedro de la Rosa as a driver?"
} |
### QUESTION
What team was the opponent in the 2008–09 season, with a final score of 2–3 l?
### CONTEXT
CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)
### ANSWER
SELECT opponent FROM table_name_43 WHERE season = "2008–09" AND final_score = "2–3 l" | {
"answer": "SELECT opponent FROM table_name_43 WHERE season = \"2008–09\" AND final_score = \"2–3 l\"",
"context": "CREATE TABLE table_name_43 (opponent VARCHAR, season VARCHAR, final_score VARCHAR)",
"question": "What team was the opponent in the 2008–09 season, with a final score of 2–3 l?"
} |
### QUESTION
Which country does customer with first name as Carole and last name as Bernhard lived in?
### CONTEXT
CREATE TABLE Addresses (country VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### ANSWER
SELECT T2.country FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = "Carole" AND T1.last_name = "Bernhard" | {
"answer": "SELECT T2.country FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = \"Carole\" AND T1.last_name = \"Bernhard\"",
"context": "CREATE TABLE Addresses (country VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)",
"question": "Which country does customer with first name as Carole and last name as Bernhard lived in?"
} |
### QUESTION
What is the pick number of Jesse Alexander?
### CONTEXT
CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR)
### ANSWER
SELECT MIN(pick__number) FROM table_name_39 WHERE player = "jesse alexander" | {
"answer": "SELECT MIN(pick__number) FROM table_name_39 WHERE player = \"jesse alexander\"",
"context": "CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR)",
"question": "What is the pick number of Jesse Alexander?"
} |
### QUESTION
When was the Clubhouse built with a Sign-in/Bicker of bicker, and Named cannon club?
### CONTEXT
CREATE TABLE table_name_3 (year_clubhouse_constructed VARCHAR, sign_in_bicker VARCHAR, name VARCHAR)
### ANSWER
SELECT year_clubhouse_constructed FROM table_name_3 WHERE sign_in_bicker = "bicker" AND name = "cannon club" | {
"answer": "SELECT year_clubhouse_constructed FROM table_name_3 WHERE sign_in_bicker = \"bicker\" AND name = \"cannon club\"",
"context": "CREATE TABLE table_name_3 (year_clubhouse_constructed VARCHAR, sign_in_bicker VARCHAR, name VARCHAR)",
"question": "When was the Clubhouse built with a Sign-in/Bicker of bicker, and Named cannon club?"
} |
### QUESTION
What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?
### CONTEXT
CREATE TABLE table_24302700_6 (position VARCHAR, event_6_atlas_stones VARCHAR)
### ANSWER
SELECT position FROM table_24302700_6 WHERE event_6_atlas_stones = "6 (4 in 34.49s)" | {
"answer": "SELECT position FROM table_24302700_6 WHERE event_6_atlas_stones = \"6 (4 in 34.49s)\"",
"context": "CREATE TABLE table_24302700_6 (position VARCHAR, event_6_atlas_stones VARCHAR)",
"question": "What is the position of the player who got 6 (4 in 34.49s) in the 6 atlas stones event?"
} |
### QUESTION
What is the film title used in nomination for the film from South Korea?
### CONTEXT
CREATE TABLE table_name_26 (film_title_used_in_nomination VARCHAR, country VARCHAR)
### ANSWER
SELECT film_title_used_in_nomination FROM table_name_26 WHERE country = "south korea" | {
"answer": "SELECT film_title_used_in_nomination FROM table_name_26 WHERE country = \"south korea\"",
"context": "CREATE TABLE table_name_26 (film_title_used_in_nomination VARCHAR, country VARCHAR)",
"question": "What is the film title used in nomination for the film from South Korea?"
} |
### QUESTION
Find the title of course that is provided by Statistics but not Psychology departments.
### CONTEXT
CREATE TABLE course (title VARCHAR, dept_name VARCHAR)
### ANSWER
SELECT title FROM course WHERE dept_name = 'Statistics' EXCEPT SELECT title FROM course WHERE dept_name = 'Psychology' | {
"answer": "SELECT title FROM course WHERE dept_name = 'Statistics' EXCEPT SELECT title FROM course WHERE dept_name = 'Psychology'",
"context": "CREATE TABLE course (title VARCHAR, dept_name VARCHAR)",
"question": "Find the title of course that is provided by Statistics but not Psychology departments."
} |
### QUESTION
What country does david gilford play for?
### CONTEXT
CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)
### ANSWER
SELECT country FROM table_name_90 WHERE player = "david gilford" | {
"answer": "SELECT country FROM table_name_90 WHERE player = \"david gilford\"",
"context": "CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)",
"question": "What country does david gilford play for?"
} |
### QUESTION
What is the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commentator(s) was Ty Keough?
### CONTEXT
CREATE TABLE table_name_67 (pregame_host VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR)
### ANSWER
SELECT pregame_host FROM table_name_67 WHERE play_by_play = "jp dellacamera" AND year < 2009 AND color_commentator_s_ = "ty keough" | {
"answer": "SELECT pregame_host FROM table_name_67 WHERE play_by_play = \"jp dellacamera\" AND year < 2009 AND color_commentator_s_ = \"ty keough\"",
"context": "CREATE TABLE table_name_67 (pregame_host VARCHAR, color_commentator_s_ VARCHAR, play_by_play VARCHAR, year VARCHAR)",
"question": "What is the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commentator(s) was Ty Keough?"
} |
### QUESTION
What is listed under occupation for someone from Santa Monica, California?
### CONTEXT
CREATE TABLE table_name_71 (occupation VARCHAR, hometown VARCHAR)
### ANSWER
SELECT occupation FROM table_name_71 WHERE hometown = "santa monica, california" | {
"answer": "SELECT occupation FROM table_name_71 WHERE hometown = \"santa monica, california\"",
"context": "CREATE TABLE table_name_71 (occupation VARCHAR, hometown VARCHAR)",
"question": "What is listed under occupation for someone from Santa Monica, California?"
} |
### QUESTION
How many goals were conceded by teams with 32 points, more than 2 losses and more than 22 goals scored?
### CONTEXT
CREATE TABLE table_name_75 (goals_conceded VARCHAR, goals_scored VARCHAR, points VARCHAR, lost VARCHAR)
### ANSWER
SELECT COUNT(goals_conceded) FROM table_name_75 WHERE points = 32 AND lost > 2 AND goals_scored > 22 | {
"answer": "SELECT COUNT(goals_conceded) FROM table_name_75 WHERE points = 32 AND lost > 2 AND goals_scored > 22",
"context": "CREATE TABLE table_name_75 (goals_conceded VARCHAR, goals_scored VARCHAR, points VARCHAR, lost VARCHAR)",
"question": "How many goals were conceded by teams with 32 points, more than 2 losses and more than 22 goals scored?"
} |
### QUESTION
What is the Location when the individual was josé maria cañizares?
### CONTEXT
CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR)
### ANSWER
SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares" | {
"answer": "SELECT location FROM table_name_23 WHERE individual = \"josé maria cañizares\"",
"context": "CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR)",
"question": "What is the Location when the individual was josé maria cañizares?"
} |
### QUESTION
What is the maximum and minimum grade point of students who live in NYC?
### CONTEXT
CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (city_code VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHAR)
### ANSWER
SELECT MAX(T2.gradepoint), MIN(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.city_code = "NYC" | {
"answer": "SELECT MAX(T2.gradepoint), MIN(T2.gradepoint) FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID WHERE T3.city_code = \"NYC\"",
"context": "CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (city_code VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint INTEGER, lettergrade VARCHAR)",
"question": "What is the maximum and minimum grade point of students who live in NYC?"
} |
### QUESTION
Which company name has headquarters in nagaokakyo, kyoto?
### CONTEXT
CREATE TABLE table_237199_1 (company_name VARCHAR, world_headquarters VARCHAR)
### ANSWER
SELECT company_name FROM table_237199_1 WHERE world_headquarters = "Nagaokakyo, Kyoto" | {
"answer": "SELECT company_name FROM table_237199_1 WHERE world_headquarters = \"Nagaokakyo, Kyoto\"",
"context": "CREATE TABLE table_237199_1 (company_name VARCHAR, world_headquarters VARCHAR)",
"question": "Which company name has headquarters in nagaokakyo, kyoto?"
} |
### QUESTION
Which Type has a Date smaller than 1943, and a Builder of alco schenectady, and a Number larger than 822, and Works number of 59867?
### CONTEXT
CREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR)
### ANSWER
SELECT type FROM table_name_46 WHERE date < 1943 AND builder = "alco schenectady" AND number > 822 AND works_number = 59867 | {
"answer": "SELECT type FROM table_name_46 WHERE date < 1943 AND builder = \"alco schenectady\" AND number > 822 AND works_number = 59867",
"context": "CREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR)",
"question": "Which Type has a Date smaller than 1943, and a Builder of alco schenectady, and a Number larger than 822, and Works number of 59867?"
} |
### QUESTION
What is the result after 1993 of the first four rounds?
### CONTEXT
CREATE TABLE table_name_2 (result VARCHAR, year VARCHAR, round VARCHAR)
### ANSWER
SELECT result FROM table_name_2 WHERE year > 1993 AND round = "first four" | {
"answer": "SELECT result FROM table_name_2 WHERE year > 1993 AND round = \"first four\"",
"context": "CREATE TABLE table_name_2 (result VARCHAR, year VARCHAR, round VARCHAR)",
"question": "What is the result after 1993 of the first four rounds?"
} |
### QUESTION
What was the margin of victory when runner-up was K. J. Choi?
### CONTEXT
CREATE TABLE table_247955_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### ANSWER
SELECT margin_of_victory FROM table_247955_2 WHERE runner_s__up = "K. J. Choi" | {
"answer": "SELECT margin_of_victory FROM table_247955_2 WHERE runner_s__up = \"K. J. Choi\"",
"context": "CREATE TABLE table_247955_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR)",
"question": "What was the margin of victory when runner-up was K. J. Choi?"
} |
### QUESTION
List the main industry with highest total market value and its number of companies.
### CONTEXT
CREATE TABLE company (main_industry VARCHAR, market_value INTEGER)
### ANSWER
SELECT main_industry, COUNT(*) FROM company GROUP BY main_industry ORDER BY SUM(market_value) DESC LIMIT 1 | {
"answer": "SELECT main_industry, COUNT(*) FROM company GROUP BY main_industry ORDER BY SUM(market_value) DESC LIMIT 1",
"context": "CREATE TABLE company (main_industry VARCHAR, market_value INTEGER)",
"question": "List the main industry with highest total market value and its number of companies."
} |
### QUESTION
What tournament did she win with a final score of 4–6, 7–5, 6–2?
### CONTEXT
CREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR)
### ANSWER
SELECT championship FROM table_19047_2 WHERE score_in_the_final = "4–6, 7–5, 6–2" | {
"answer": "SELECT championship FROM table_19047_2 WHERE score_in_the_final = \"4–6, 7–5, 6–2\"",
"context": "CREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR)",
"question": "What tournament did she win with a final score of 4–6, 7–5, 6–2?"
} |
### QUESTION
What stadium has a final score of 26–21?
### CONTEXT
CREATE TABLE table_name_8 (stadium VARCHAR, final_score VARCHAR)
### ANSWER
SELECT stadium FROM table_name_8 WHERE final_score = "26–21" | {
"answer": "SELECT stadium FROM table_name_8 WHERE final_score = \"26–21\"",
"context": "CREATE TABLE table_name_8 (stadium VARCHAR, final_score VARCHAR)",
"question": "What stadium has a final score of 26–21?"
} |
### QUESTION
Who has the lowest league total goals with 0 FA cup goals and no FA cup appearances, plays the DF position and has appeared in total of 3 times?
### CONTEXT
CREATE TABLE table_name_84 (league_goals INTEGER, total_apps VARCHAR, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
### ANSWER
SELECT MIN(league_goals) FROM table_name_84 WHERE fa_cup_goals = "0" AND fa_cup_apps = "0" AND position = "df" AND total_apps = "3" | {
"answer": "SELECT MIN(league_goals) FROM table_name_84 WHERE fa_cup_goals = \"0\" AND fa_cup_apps = \"0\" AND position = \"df\" AND total_apps = \"3\"",
"context": "CREATE TABLE table_name_84 (league_goals INTEGER, total_apps VARCHAR, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)",
"question": "Who has the lowest league total goals with 0 FA cup goals and no FA cup appearances, plays the DF position and has appeared in total of 3 times?"
} |
### QUESTION
What is Surface, when Opponent is "Jiří Vaněk"?
### CONTEXT
CREATE TABLE table_name_31 (surface VARCHAR, opponent VARCHAR)
### ANSWER
SELECT surface FROM table_name_31 WHERE opponent = "jiří vaněk" | {
"answer": "SELECT surface FROM table_name_31 WHERE opponent = \"jiří vaněk\"",
"context": "CREATE TABLE table_name_31 (surface VARCHAR, opponent VARCHAR)",
"question": "What is Surface, when Opponent is \"Jiří Vaněk\"?"
} |
### QUESTION
Which Series has an Opponent of calgary flames, and a Score of 9–4?
### CONTEXT
CREATE TABLE table_name_3 (series VARCHAR, opponent VARCHAR, score VARCHAR)
### ANSWER
SELECT series FROM table_name_3 WHERE opponent = "calgary flames" AND score = "9–4" | {
"answer": "SELECT series FROM table_name_3 WHERE opponent = \"calgary flames\" AND score = \"9–4\"",
"context": "CREATE TABLE table_name_3 (series VARCHAR, opponent VARCHAR, score VARCHAR)",
"question": "Which Series has an Opponent of calgary flames, and a Score of 9–4?"
} |
### QUESTION
What is the home team score when the away team is Essendon?
### CONTEXT
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
### ANSWER
SELECT home_team AS score FROM table_name_77 WHERE away_team = "essendon" | {
"answer": "SELECT home_team AS score FROM table_name_77 WHERE away_team = \"essendon\"",
"context": "CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)",
"question": "What is the home team score when the away team is Essendon?"
} |
### QUESTION
Who coached for al farwaniyah?
### CONTEXT
CREATE TABLE table_name_67 (coach VARCHAR, city VARCHAR)
### ANSWER
SELECT coach FROM table_name_67 WHERE city = "al farwaniyah" | {
"answer": "SELECT coach FROM table_name_67 WHERE city = \"al farwaniyah\"",
"context": "CREATE TABLE table_name_67 (coach VARCHAR, city VARCHAR)",
"question": "Who coached for al farwaniyah?"
} |
### QUESTION
When was the loan started when the coutry is eng, the loan club is sunderland and the end source is south wales echo?
### CONTEXT
CREATE TABLE table_name_23 (started VARCHAR, end_source VARCHAR, country VARCHAR, loan_club VARCHAR)
### ANSWER
SELECT started FROM table_name_23 WHERE country = "eng" AND loan_club = "sunderland" AND end_source = "south wales echo" | {
"answer": "SELECT started FROM table_name_23 WHERE country = \"eng\" AND loan_club = \"sunderland\" AND end_source = \"south wales echo\"",
"context": "CREATE TABLE table_name_23 (started VARCHAR, end_source VARCHAR, country VARCHAR, loan_club VARCHAR)",
"question": "When was the loan started when the coutry is eng, the loan club is sunderland and the end source is south wales echo?"
} |
### QUESTION
List the publication dates of publications with 3 lowest prices.
### CONTEXT
CREATE TABLE publication (Publication_Date VARCHAR, Price VARCHAR)
### ANSWER
SELECT Publication_Date FROM publication ORDER BY Price LIMIT 3 | {
"answer": "SELECT Publication_Date FROM publication ORDER BY Price LIMIT 3",
"context": "CREATE TABLE publication (Publication_Date VARCHAR, Price VARCHAR)",
"question": "List the publication dates of publications with 3 lowest prices."
} |
### QUESTION
Show the number of high schoolers for each grade.
### CONTEXT
CREATE TABLE Highschooler (grade VARCHAR)
### ANSWER
SELECT grade, COUNT(*) FROM Highschooler GROUP BY grade | {
"answer": "SELECT grade, COUNT(*) FROM Highschooler GROUP BY grade",
"context": "CREATE TABLE Highschooler (grade VARCHAR)",
"question": "Show the number of high schoolers for each grade."
} |
### QUESTION
Which position has 30 points and Reiner Stuyvenberg as a passenger?
### CONTEXT
CREATE TABLE table_name_95 (position VARCHAR, points VARCHAR, passenger VARCHAR)
### ANSWER
SELECT position FROM table_name_95 WHERE points = 30 AND passenger = "reiner stuyvenberg" | {
"answer": "SELECT position FROM table_name_95 WHERE points = 30 AND passenger = \"reiner stuyvenberg\"",
"context": "CREATE TABLE table_name_95 (position VARCHAR, points VARCHAR, passenger VARCHAR)",
"question": "Which position has 30 points and Reiner Stuyvenberg as a passenger?"
} |
### QUESTION
What year was the Drama Desk award won by nominee George Hearn?
### CONTEXT
CREATE TABLE table_name_44 (year VARCHAR, nominee VARCHAR, award VARCHAR, result VARCHAR)
### ANSWER
SELECT year FROM table_name_44 WHERE award = "drama desk award" AND result = "won" AND nominee = "george hearn" | {
"answer": "SELECT year FROM table_name_44 WHERE award = \"drama desk award\" AND result = \"won\" AND nominee = \"george hearn\"",
"context": "CREATE TABLE table_name_44 (year VARCHAR, nominee VARCHAR, award VARCHAR, result VARCHAR)",
"question": "What year was the Drama Desk award won by nominee George Hearn?"
} |
### QUESTION
What position did the person finish in with a notes of junior men individual 5.64km?
### CONTEXT
CREATE TABLE table_name_95 (position VARCHAR, notes VARCHAR)
### ANSWER
SELECT position FROM table_name_95 WHERE notes = "junior men individual 5.64km" | {
"answer": "SELECT position FROM table_name_95 WHERE notes = \"junior men individual 5.64km\"",
"context": "CREATE TABLE table_name_95 (position VARCHAR, notes VARCHAR)",
"question": "What position did the person finish in with a notes of junior men individual 5.64km?"
} |
### QUESTION
WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?
### CONTEXT
CREATE TABLE table_name_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR)
### ANSWER
SELECT MAX(q1_pos) FROM table_name_90 WHERE q1_time = "1:31.826" AND q1_order > 7 | {
"answer": "SELECT MAX(q1_pos) FROM table_name_90 WHERE q1_time = \"1:31.826\" AND q1_order > 7",
"context": "CREATE TABLE table_name_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR)",
"question": "WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7?"
} |
### QUESTION
What was the time of the games that took place at the cassell coliseum • blacksburg, va?
### CONTEXT
CREATE TABLE table_29535057_4 (time VARCHAR, location VARCHAR)
### ANSWER
SELECT time FROM table_29535057_4 WHERE location = "Cassell Coliseum • Blacksburg, VA" | {
"answer": "SELECT time FROM table_29535057_4 WHERE location = \"Cassell Coliseum • Blacksburg, VA\"",
"context": "CREATE TABLE table_29535057_4 (time VARCHAR, location VARCHAR)",
"question": "What was the time of the games that took place at the cassell coliseum • blacksburg, va?"
} |
### QUESTION
what is the company when the country is greece and the author is aeschylus?
### CONTEXT
CREATE TABLE table_name_28 (company VARCHAR, country VARCHAR, author VARCHAR)
### ANSWER
SELECT company FROM table_name_28 WHERE country = "greece" AND author = "aeschylus" | {
"answer": "SELECT company FROM table_name_28 WHERE country = \"greece\" AND author = \"aeschylus\"",
"context": "CREATE TABLE table_name_28 (company VARCHAR, country VARCHAR, author VARCHAR)",
"question": "what is the company when the country is greece and the author is aeschylus?"
} |
### QUESTION
Who was the Runner-up for the merrill lynch/golf digest commemorative pro-am tournament?
### CONTEXT
CREATE TABLE table_name_21 (runner_s__up VARCHAR, tournament VARCHAR)
### ANSWER
SELECT runner_s__up FROM table_name_21 WHERE tournament = "merrill lynch/golf digest commemorative pro-am" | {
"answer": "SELECT runner_s__up FROM table_name_21 WHERE tournament = \"merrill lynch/golf digest commemorative pro-am\"",
"context": "CREATE TABLE table_name_21 (runner_s__up VARCHAR, tournament VARCHAR)",
"question": "Who was the Runner-up for the merrill lynch/golf digest commemorative pro-am tournament?"
} |
### QUESTION
Name the poll winner for march 19, 2008
### CONTEXT
CREATE TABLE table_15781170_2 (poll_winner VARCHAR, original_air_date VARCHAR)
### ANSWER
SELECT COUNT(poll_winner) FROM table_15781170_2 WHERE original_air_date = "March 19, 2008" | {
"answer": "SELECT COUNT(poll_winner) FROM table_15781170_2 WHERE original_air_date = \"March 19, 2008\"",
"context": "CREATE TABLE table_15781170_2 (poll_winner VARCHAR, original_air_date VARCHAR)",
"question": "Name the poll winner for march 19, 2008"
} |
### QUESTION
Which Winnings have Starts larger than 34, and Poles smaller than 1, and a Top 10 of 5?
### CONTEXT
CREATE TABLE table_name_93 (winnings VARCHAR, top_10 VARCHAR, starts VARCHAR, poles VARCHAR)
### ANSWER
SELECT winnings FROM table_name_93 WHERE starts > 34 AND poles < 1 AND top_10 = 5 | {
"answer": "SELECT winnings FROM table_name_93 WHERE starts > 34 AND poles < 1 AND top_10 = 5",
"context": "CREATE TABLE table_name_93 (winnings VARCHAR, top_10 VARCHAR, starts VARCHAR, poles VARCHAR)",
"question": "Which Winnings have Starts larger than 34, and Poles smaller than 1, and a Top 10 of 5?"
} |
### QUESTION
How many licenses have version 1.2.2.0?
### CONTEXT
CREATE TABLE table_15038373_1 (license VARCHAR, version VARCHAR)
### ANSWER
SELECT COUNT(license) FROM table_15038373_1 WHERE version = "1.2.2.0" | {
"answer": "SELECT COUNT(license) FROM table_15038373_1 WHERE version = \"1.2.2.0\"",
"context": "CREATE TABLE table_15038373_1 (license VARCHAR, version VARCHAR)",
"question": "How many licenses have version 1.2.2.0?"
} |
### QUESTION
What are the id and first name of the student whose addresses have the highest average monthly rental?
### CONTEXT
CREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Addresses (student_id VARCHAR)
### ANSWER
SELECT T1.student_id, T2.first_name FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY AVG(monthly_rental) DESC LIMIT 1 | {
"answer": "SELECT T1.student_id, T2.first_name FROM Student_Addresses AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY AVG(monthly_rental) DESC LIMIT 1",
"context": "CREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Addresses (student_id VARCHAR)",
"question": "What are the id and first name of the student whose addresses have the highest average monthly rental?"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.