text
stringlengths 146
1.06k
| source
dict |
---|---|
### QUESTION
Name the least matches for runs being 276
### CONTEXT
CREATE TABLE table_17900317_5 (matches INTEGER, runs VARCHAR)
### ANSWER
SELECT MIN(matches) FROM table_17900317_5 WHERE runs = 276
|
{
"answer": "SELECT MIN(matches) FROM table_17900317_5 WHERE runs = 276",
"context": "CREATE TABLE table_17900317_5 (matches INTEGER, runs VARCHAR)",
"question": "Name the least matches for runs being 276"
}
|
### QUESTION
Find the names and descriptions of courses that belong to the subject named "Computer Science".
### CONTEXT
CREATE TABLE Courses (course_name VARCHAR, course_description VARCHAR, subject_id VARCHAR); CREATE TABLE Subjects (subject_id VARCHAR, subject_name VARCHAR)
### ANSWER
SELECT T1.course_name, T1.course_description FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id WHERE T2.subject_name = "Computer Science"
|
{
"answer": "SELECT T1.course_name, T1.course_description FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id WHERE T2.subject_name = \"Computer Science\"",
"context": "CREATE TABLE Courses (course_name VARCHAR, course_description VARCHAR, subject_id VARCHAR); CREATE TABLE Subjects (subject_id VARCHAR, subject_name VARCHAR)",
"question": "Find the names and descriptions of courses that belong to the subject named \"Computer Science\"."
}
|
### QUESTION
Find the first and last name of all the students of age 18 who have vice president votes.
### CONTEXT
CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR, age VARCHAR); CREATE TABLE VOTING_RECORD (VICE_President_VOTE VARCHAR)
### ANSWER
SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.VICE_President_VOTE WHERE T1.age = 18
|
{
"answer": "SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.VICE_President_VOTE WHERE T1.age = 18",
"context": "CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR, age VARCHAR); CREATE TABLE VOTING_RECORD (VICE_President_VOTE VARCHAR)",
"question": "Find the first and last name of all the students of age 18 who have vice president votes."
}
|
### QUESTION
Who was the driver when the time in part 3 was 1:31.386?
### CONTEXT
CREATE TABLE table_20159025_1 (driver VARCHAR, part_1 VARCHAR)
### ANSWER
SELECT driver FROM table_20159025_1 WHERE part_1 = "1:31.386"
|
{
"answer": "SELECT driver FROM table_20159025_1 WHERE part_1 = \"1:31.386\"",
"context": "CREATE TABLE table_20159025_1 (driver VARCHAR, part_1 VARCHAR)",
"question": "Who was the driver when the time in part 3 was 1:31.386?"
}
|
### QUESTION
How many different types of settlements does Nova Pazova fall into?
### CONTEXT
CREATE TABLE table_2562572_53 (type VARCHAR, settlement VARCHAR)
### ANSWER
SELECT COUNT(type) FROM table_2562572_53 WHERE settlement = "Nova Pazova"
|
{
"answer": "SELECT COUNT(type) FROM table_2562572_53 WHERE settlement = \"Nova Pazova\"",
"context": "CREATE TABLE table_2562572_53 (type VARCHAR, settlement VARCHAR)",
"question": "How many different types of settlements does Nova Pazova fall into?"
}
|
### QUESTION
Find all the ids and dates of the logs for the problem whose id is 10.
### CONTEXT
CREATE TABLE problem_log (problem_log_id VARCHAR, log_entry_date VARCHAR, problem_id VARCHAR)
### ANSWER
SELECT problem_log_id, log_entry_date FROM problem_log WHERE problem_id = 10
|
{
"answer": "SELECT problem_log_id, log_entry_date FROM problem_log WHERE problem_id = 10",
"context": "CREATE TABLE problem_log (problem_log_id VARCHAR, log_entry_date VARCHAR, problem_id VARCHAR)",
"question": "Find all the ids and dates of the logs for the problem whose id is 10."
}
|
### QUESTION
Show the names of aircrafts that are associated with both an airport named "London Heathrow" and an airport named "London Gatwick"
### CONTEXT
CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
### ANSWER
SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Heathrow" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = "London Gatwick"
|
{
"answer": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"",
"context": "CREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)",
"question": "Show the names of aircrafts that are associated with both an airport named \"London Heathrow\" and an airport named \"London Gatwick\""
}
|
### QUESTION
Show all paragraph ids and texts for the document with name 'Welcome to NY'.
### CONTEXT
CREATE TABLE Documents (document_id VARCHAR, Document_Name VARCHAR); CREATE TABLE Paragraphs (paragraph_id VARCHAR, paragraph_text VARCHAR, document_id VARCHAR)
### ANSWER
SELECT T1.paragraph_id, T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'
|
{
"answer": "SELECT T1.paragraph_id, T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.Document_Name = 'Welcome to NY'",
"context": "CREATE TABLE Documents (document_id VARCHAR, Document_Name VARCHAR); CREATE TABLE Paragraphs (paragraph_id VARCHAR, paragraph_text VARCHAR, document_id VARCHAR)",
"question": "Show all paragraph ids and texts for the document with name 'Welcome to NY'."
}
|
### QUESTION
Which WYSIWYG Editor has an Image attachment of yes, and a Calendar of plugin?
### CONTEXT
CREATE TABLE table_name_75 (wysiwyg_editor VARCHAR, image_attachment VARCHAR, calendar VARCHAR)
### ANSWER
SELECT wysiwyg_editor FROM table_name_75 WHERE image_attachment = "yes" AND calendar = "plugin"
|
{
"answer": "SELECT wysiwyg_editor FROM table_name_75 WHERE image_attachment = \"yes\" AND calendar = \"plugin\"",
"context": "CREATE TABLE table_name_75 (wysiwyg_editor VARCHAR, image_attachment VARCHAR, calendar VARCHAR)",
"question": "Which WYSIWYG Editor has an Image attachment of yes, and a Calendar of plugin?"
}
|
### QUESTION
Which Numbers (Quantity Ordered) have a Make/ Model of eldorado national passport?
### CONTEXT
CREATE TABLE table_name_88 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR)
### ANSWER
SELECT numbers__quantity_ordered_ FROM table_name_88 WHERE make__model = "eldorado national passport"
|
{
"answer": "SELECT numbers__quantity_ordered_ FROM table_name_88 WHERE make__model = \"eldorado national passport\"",
"context": "CREATE TABLE table_name_88 (numbers__quantity_ordered_ VARCHAR, make__model VARCHAR)",
"question": "Which Numbers (Quantity Ordered) have a Make/ Model of eldorado national passport?"
}
|
### QUESTION
What is the age of the friend of Zach with longest year relationship?
### CONTEXT
CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR, year VARCHAR); CREATE TABLE PersonFriend (YEAR INTEGER, name VARCHAR); CREATE TABLE Person (age VARCHAR, name VARCHAR)
### ANSWER
SELECT T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Zach' AND T2.year = (SELECT MAX(YEAR) FROM PersonFriend WHERE name = 'Zach')
|
{
"answer": "SELECT T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Zach' AND T2.year = (SELECT MAX(YEAR) FROM PersonFriend WHERE name = 'Zach')",
"context": "CREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR, year VARCHAR); CREATE TABLE PersonFriend (YEAR INTEGER, name VARCHAR); CREATE TABLE Person (age VARCHAR, name VARCHAR)",
"question": "What is the age of the friend of Zach with longest year relationship?"
}
|
### QUESTION
What was the winning score when Steve Stricker was runner-up?
### CONTEXT
CREATE TABLE table_name_1 (winning_score VARCHAR, runner_s__up VARCHAR)
### ANSWER
SELECT winning_score FROM table_name_1 WHERE runner_s__up = "steve stricker"
|
{
"answer": "SELECT winning_score FROM table_name_1 WHERE runner_s__up = \"steve stricker\"",
"context": "CREATE TABLE table_name_1 (winning_score VARCHAR, runner_s__up VARCHAR)",
"question": "What was the winning score when Steve Stricker was runner-up?"
}
|
### QUESTION
what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi
### CONTEXT
CREATE TABLE table_1277350_1 (saturday_saturnus___saturn_ VARCHAR, wednesday_mercurius__mercury_ VARCHAR)
### ANSWER
SELECT saturday_saturnus___saturn_ FROM table_1277350_1 WHERE wednesday_mercurius__mercury_ = "Mercuridi"
|
{
"answer": "SELECT saturday_saturnus___saturn_ FROM table_1277350_1 WHERE wednesday_mercurius__mercury_ = \"Mercuridi\"",
"context": "CREATE TABLE table_1277350_1 (saturday_saturnus___saturn_ VARCHAR, wednesday_mercurius__mercury_ VARCHAR)",
"question": "what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi"
}
|
### QUESTION
Which class to 1928 value had years of manufacture of 1921/23 and class from 1928 of BCi-21?
### CONTEXT
CREATE TABLE table_name_21 (class_to_1928 VARCHAR, year_s__of_manufacture VARCHAR, class_from_1928 VARCHAR)
### ANSWER
SELECT class_to_1928 FROM table_name_21 WHERE year_s__of_manufacture = "1921/23" AND class_from_1928 = "bci-21"
|
{
"answer": "SELECT class_to_1928 FROM table_name_21 WHERE year_s__of_manufacture = \"1921/23\" AND class_from_1928 = \"bci-21\"",
"context": "CREATE TABLE table_name_21 (class_to_1928 VARCHAR, year_s__of_manufacture VARCHAR, class_from_1928 VARCHAR)",
"question": "Which class to 1928 value had years of manufacture of 1921/23 and class from 1928 of BCi-21?"
}
|
### QUESTION
Result of missed*, and a Game time of 2nd quarter (0:00), and a Kicker of mason crosby involves what date?
### CONTEXT
CREATE TABLE table_name_3 (date VARCHAR, kicker VARCHAR, result VARCHAR, game_time VARCHAR)
### ANSWER
SELECT date FROM table_name_3 WHERE result = "missed*" AND game_time = "2nd quarter (0:00)" AND kicker = "mason crosby"
|
{
"answer": "SELECT date FROM table_name_3 WHERE result = \"missed*\" AND game_time = \"2nd quarter (0:00)\" AND kicker = \"mason crosby\"",
"context": "CREATE TABLE table_name_3 (date VARCHAR, kicker VARCHAR, result VARCHAR, game_time VARCHAR)",
"question": "Result of missed*, and a Game time of 2nd quarter (0:00), and a Kicker of mason crosby involves what date?"
}
|
### QUESTION
What selection was the springfield olympics (nejhl)?
### CONTEXT
CREATE TABLE table_2850912_12 (pick__number INTEGER, college_junior_club_team VARCHAR)
### ANSWER
SELECT MAX(pick__number) FROM table_2850912_12 WHERE college_junior_club_team = "Springfield Olympics (NEJHL)"
|
{
"answer": "SELECT MAX(pick__number) FROM table_2850912_12 WHERE college_junior_club_team = \"Springfield Olympics (NEJHL)\"",
"context": "CREATE TABLE table_2850912_12 (pick__number INTEGER, college_junior_club_team VARCHAR)",
"question": "What selection was the springfield olympics (nejhl)?"
}
|
### QUESTION
Who's Fourth District has a Second District of bob springstead?
### CONTEXT
CREATE TABLE table_name_72 (fourth_district VARCHAR, second_district VARCHAR)
### ANSWER
SELECT fourth_district FROM table_name_72 WHERE second_district = "bob springstead"
|
{
"answer": "SELECT fourth_district FROM table_name_72 WHERE second_district = \"bob springstead\"",
"context": "CREATE TABLE table_name_72 (fourth_district VARCHAR, second_district VARCHAR)",
"question": "Who's Fourth District has a Second District of bob springstead?"
}
|
### QUESTION
What is the road team playing against Boston on April 16?
### CONTEXT
CREATE TABLE table_name_94 (road_team VARCHAR, home_team VARCHAR, date VARCHAR)
### ANSWER
SELECT road_team FROM table_name_94 WHERE home_team = "boston" AND date = "april 16"
|
{
"answer": "SELECT road_team FROM table_name_94 WHERE home_team = \"boston\" AND date = \"april 16\"",
"context": "CREATE TABLE table_name_94 (road_team VARCHAR, home_team VARCHAR, date VARCHAR)",
"question": "What is the road team playing against Boston on April 16?"
}
|
### QUESTION
How many different isolation numbers does the Jack Mountain peak have?
### CONTEXT
CREATE TABLE table_19716903_1 (isolation VARCHAR, mountain_peak VARCHAR)
### ANSWER
SELECT COUNT(isolation) FROM table_19716903_1 WHERE mountain_peak = "Jack Mountain"
|
{
"answer": "SELECT COUNT(isolation) FROM table_19716903_1 WHERE mountain_peak = \"Jack Mountain\"",
"context": "CREATE TABLE table_19716903_1 (isolation VARCHAR, mountain_peak VARCHAR)",
"question": "How many different isolation numbers does the Jack Mountain peak have?"
}
|
### QUESTION
What is the total number of electorates in 2009 with a constituency of 193?
### CONTEXT
CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR)
### ANSWER
SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = "193"
|
{
"answer": "SELECT COUNT(number_of_electorates__2009_) FROM table_name_83 WHERE constituency_number = \"193\"",
"context": "CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR)",
"question": "What is the total number of electorates in 2009 with a constituency of 193?"
}
|
### QUESTION
WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY?
### CONTEXT
CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR)
### ANSWER
SELECT package_version FROM table_name_9 WHERE device = "blackberry storm 9530" AND applications = "5.0.0.419" AND carrier = "mts mobility"
|
{
"answer": "SELECT package_version FROM table_name_9 WHERE device = \"blackberry storm 9530\" AND applications = \"5.0.0.419\" AND carrier = \"mts mobility\"",
"context": "CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR)",
"question": "WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY?"
}
|
### QUESTION
What was the smallest crowd size at a home game for Footscray?
### CONTEXT
CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR)
### ANSWER
SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "footscray"
|
{
"answer": "SELECT MIN(crowd) FROM table_name_93 WHERE home_team = \"footscray\"",
"context": "CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR)",
"question": "What was the smallest crowd size at a home game for Footscray?"
}
|
### QUESTION
Which Crowd has a Away team of sydney?
### CONTEXT
CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR)
### ANSWER
SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "sydney"
|
{
"answer": "SELECT MAX(crowd) FROM table_name_85 WHERE away_team = \"sydney\"",
"context": "CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR)",
"question": "Which Crowd has a Away team of sydney?"
}
|
### QUESTION
How many rushing yards are listed when the passing yards are 244?
### CONTEXT
CREATE TABLE table_28697228_4 (rushing_yards VARCHAR, passing_yards VARCHAR)
### ANSWER
SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards = 244
|
{
"answer": "SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards = 244",
"context": "CREATE TABLE table_28697228_4 (rushing_yards VARCHAR, passing_yards VARCHAR)",
"question": "How many rushing yards are listed when the passing yards are 244?"
}
|
### QUESTION
What was the Result of the game on December 14, 1986 after Week 11?
### CONTEXT
CREATE TABLE table_name_10 (result VARCHAR, week VARCHAR, date VARCHAR)
### ANSWER
SELECT result FROM table_name_10 WHERE week > 11 AND date = "december 14, 1986"
|
{
"answer": "SELECT result FROM table_name_10 WHERE week > 11 AND date = \"december 14, 1986\"",
"context": "CREATE TABLE table_name_10 (result VARCHAR, week VARCHAR, date VARCHAR)",
"question": "What was the Result of the game on December 14, 1986 after Week 11?"
}
|
### QUESTION
Which Total has a Set 2 of 19–25?
### CONTEXT
CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR)
### ANSWER
SELECT total FROM table_name_60 WHERE set_2 = "19–25"
|
{
"answer": "SELECT total FROM table_name_60 WHERE set_2 = \"19–25\"",
"context": "CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR)",
"question": "Which Total has a Set 2 of 19–25?"
}
|
### QUESTION
What province in Tumbes has less than 11 districts and a UBIGEO of 2401?
### CONTEXT
CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)
### ANSWER
SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401
|
{
"answer": "SELECT province FROM table_name_9 WHERE districts < 11 AND region = \"tumbes\" AND ubigeo = 2401",
"context": "CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)",
"question": "What province in Tumbes has less than 11 districts and a UBIGEO of 2401?"
}
|
### QUESTION
Name how ashtagrama lyers say it for engal veetil, engal agathil
### CONTEXT
CREATE TABLE table_name_6 (how_ashtagrama_iyers_say_it VARCHAR, pure_tamil VARCHAR)
### ANSWER
SELECT how_ashtagrama_iyers_say_it FROM table_name_6 WHERE pure_tamil = "engal veetil, engal agathil"
|
{
"answer": "SELECT how_ashtagrama_iyers_say_it FROM table_name_6 WHERE pure_tamil = \"engal veetil, engal agathil\"",
"context": "CREATE TABLE table_name_6 (how_ashtagrama_iyers_say_it VARCHAR, pure_tamil VARCHAR)",
"question": "Name how ashtagrama lyers say it for engal veetil, engal agathil"
}
|
### QUESTION
what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904?
### CONTEXT
CREATE TABLE table_name_87 (name VARCHAR, rank VARCHAR, begin_date VARCHAR)
### ANSWER
SELECT name FROM table_name_87 WHERE rank = "lieutenant colonel" AND begin_date = "1904-02-22 22 february 1904"
|
{
"answer": "SELECT name FROM table_name_87 WHERE rank = \"lieutenant colonel\" AND begin_date = \"1904-02-22 22 february 1904\"",
"context": "CREATE TABLE table_name_87 (name VARCHAR, rank VARCHAR, begin_date VARCHAR)",
"question": "what name has a Rank of lieutenant colonel, and a Begin Date of 1904-02-22 22 february 1904?"
}
|
### QUESTION
Find the last names of all the authors that have written a paper with title containing the word "Monadic".
### CONTEXT
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)
### ANSWER
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Monadic%"
|
{
"answer": "SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE \"%Monadic%\"",
"context": "CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)",
"question": "Find the last names of all the authors that have written a paper with title containing the word \"Monadic\"."
}
|
### QUESTION
What is the classification for the school in the NEC Conference located in New Britain, Connecticut?
### CONTEXT
CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR)
### ANSWER
SELECT classification FROM table_name_4 WHERE current_conference = "nec" AND location = "new britain, connecticut"
|
{
"answer": "SELECT classification FROM table_name_4 WHERE current_conference = \"nec\" AND location = \"new britain, connecticut\"",
"context": "CREATE TABLE table_name_4 (classification VARCHAR, current_conference VARCHAR, location VARCHAR)",
"question": "What is the classification for the school in the NEC Conference located in New Britain, Connecticut?"
}
|
### QUESTION
How many ranks by average for the couple Tana and Stuart?
### CONTEXT
CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR)
### ANSWER
SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Tana and Stuart"
|
{
"answer": "SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = \"Tana and Stuart\"",
"context": "CREATE TABLE table_26375386_28 (rank_by_average VARCHAR, couple VARCHAR)",
"question": "How many ranks by average for the couple Tana and Stuart?"
}
|
### QUESTION
what being the maximum total passengers 2008 with change 2008/09 being 6.5%
### CONTEXT
CREATE TABLE table_13836704_4 (total_passengers_2008 INTEGER, change_2008_09 VARCHAR)
### ANSWER
SELECT MAX(total_passengers_2008) FROM table_13836704_4 WHERE change_2008_09 = "6.5%"
|
{
"answer": "SELECT MAX(total_passengers_2008) FROM table_13836704_4 WHERE change_2008_09 = \"6.5%\"",
"context": "CREATE TABLE table_13836704_4 (total_passengers_2008 INTEGER, change_2008_09 VARCHAR)",
"question": "what being the maximum total passengers 2008 with change 2008/09 being 6.5%"
}
|
### QUESTION
What are all the course names of the courses which ever have students enrolled in?
### CONTEXT
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Enrolment_Courses (course_id VARCHAR)
### ANSWER
SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id
|
{
"answer": "SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id",
"context": "CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Enrolment_Courses (course_id VARCHAR)",
"question": "What are all the course names of the courses which ever have students enrolled in?"
}
|
### QUESTION
Who directed the epsiode with production number 109?
### CONTEXT
CREATE TABLE table_2400842_1 (directed_by VARCHAR, prod__number VARCHAR)
### ANSWER
SELECT directed_by FROM table_2400842_1 WHERE prod__number = 109
|
{
"answer": "SELECT directed_by FROM table_2400842_1 WHERE prod__number = 109",
"context": "CREATE TABLE table_2400842_1 (directed_by VARCHAR, prod__number VARCHAR)",
"question": "Who directed the epsiode with production number 109?"
}
|
### QUESTION
What event type had BODY CMAS in 1980 and underwater hockey?
### CONTEXT
CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR)
### ANSWER
SELECT event_type FROM table_name_57 WHERE body = "cmas" AND year = "1980" AND sport = "underwater hockey"
|
{
"answer": "SELECT event_type FROM table_name_57 WHERE body = \"cmas\" AND year = \"1980\" AND sport = \"underwater hockey\"",
"context": "CREATE TABLE table_name_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR)",
"question": "What event type had BODY CMAS in 1980 and underwater hockey?"
}
|
### QUESTION
What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973?
### CONTEXT
CREATE TABLE table_name_98 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR)
### ANSWER
SELECT name FROM table_name_98 WHERE spike > 343 AND date_of_birth = "02.03.1973"
|
{
"answer": "SELECT name FROM table_name_98 WHERE spike > 343 AND date_of_birth = \"02.03.1973\"",
"context": "CREATE TABLE table_name_98 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR)",
"question": "What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973?"
}
|
### QUESTION
Which sport did the United States win?
### CONTEXT
CREATE TABLE table_name_29 (sport VARCHAR, nation_represented VARCHAR)
### ANSWER
SELECT sport FROM table_name_29 WHERE nation_represented = "united states"
|
{
"answer": "SELECT sport FROM table_name_29 WHERE nation_represented = \"united states\"",
"context": "CREATE TABLE table_name_29 (sport VARCHAR, nation_represented VARCHAR)",
"question": "Which sport did the United States win?"
}
|
### QUESTION
List the email, cell phone and home phone of all the professionals.
### CONTEXT
CREATE TABLE professionals (email_address VARCHAR, cell_number VARCHAR, home_phone VARCHAR)
### ANSWER
SELECT email_address, cell_number, home_phone FROM professionals
|
{
"answer": "SELECT email_address, cell_number, home_phone FROM professionals",
"context": "CREATE TABLE professionals (email_address VARCHAR, cell_number VARCHAR, home_phone VARCHAR)",
"question": "List the email, cell phone and home phone of all the professionals."
}
|
### QUESTION
What date was a friendly match played that ended in a 3-0 score?
### CONTEXT
CREATE TABLE table_name_74 (date VARCHAR, result VARCHAR, competition VARCHAR)
### ANSWER
SELECT date FROM table_name_74 WHERE result = "3-0" AND competition = "friendly match"
|
{
"answer": "SELECT date FROM table_name_74 WHERE result = \"3-0\" AND competition = \"friendly match\"",
"context": "CREATE TABLE table_name_74 (date VARCHAR, result VARCHAR, competition VARCHAR)",
"question": "What date was a friendly match played that ended in a 3-0 score?"
}
|
### QUESTION
What was the result of the election when Tic Forrester ran as an incumbent?
### CONTEXT
CREATE TABLE table_1342149_11 (result VARCHAR, incumbent VARCHAR)
### ANSWER
SELECT result FROM table_1342149_11 WHERE incumbent = "Tic Forrester"
|
{
"answer": "SELECT result FROM table_1342149_11 WHERE incumbent = \"Tic Forrester\"",
"context": "CREATE TABLE table_1342149_11 (result VARCHAR, incumbent VARCHAR)",
"question": "What was the result of the election when Tic Forrester ran as an incumbent?"
}
|
### QUESTION
What was the essendon score when they were at home?
### CONTEXT
CREATE TABLE table_name_25 (home_team VARCHAR)
### ANSWER
SELECT home_team AS score FROM table_name_25 WHERE home_team = "essendon"
|
{
"answer": "SELECT home_team AS score FROM table_name_25 WHERE home_team = \"essendon\"",
"context": "CREATE TABLE table_name_25 (home_team VARCHAR)",
"question": "What was the essendon score when they were at home?"
}
|
### QUESTION
What is the name of the tourist attraction that is associated with the photo "game1"?
### CONTEXT
CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE PHOTOS (Tourist_Attraction_ID VARCHAR, Name VARCHAR)
### ANSWER
SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T1.Name = "game1"
|
{
"answer": "SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T1.Name = \"game1\"",
"context": "CREATE TABLE TOURIST_ATTRACTIONS (Name VARCHAR, Tourist_Attraction_ID VARCHAR); CREATE TABLE PHOTOS (Tourist_Attraction_ID VARCHAR, Name VARCHAR)",
"question": "What is the name of the tourist attraction that is associated with the photo \"game1\"?"
}
|
### QUESTION
Who performed the song named "Le Pop"?
### CONTEXT
CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)
### ANSWER
SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = "Le Pop"
|
{
"answer": "SELECT T2.firstname, T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T3.Title = \"Le Pop\"",
"context": "CREATE TABLE Band (firstname VARCHAR, lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Songs (SongId VARCHAR, Title VARCHAR)",
"question": "Who performed the song named \"Le Pop\"?"
}
|
### QUESTION
What religious groups made up 0.72% of the Indian population in 2001?
### CONTEXT
CREATE TABLE table_10710364_1 (religious_group VARCHAR, population__percentage_2001 VARCHAR)
### ANSWER
SELECT religious_group FROM table_10710364_1 WHERE population__percentage_2001 = "0.72%"
|
{
"answer": "SELECT religious_group FROM table_10710364_1 WHERE population__percentage_2001 = \"0.72%\"",
"context": "CREATE TABLE table_10710364_1 (religious_group VARCHAR, population__percentage_2001 VARCHAR)",
"question": "What religious groups made up 0.72% of the Indian population in 2001?"
}
|
### QUESTION
Find the names and total checking and savings balances of accounts whose savings balance is higher than the average savings balance.
### CONTEXT
CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
### ANSWER
SELECT T1.name, T2.balance + T3.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 > (SELECT AVG(balance) FROM savings)
|
{
"answer": "SELECT T1.name, T2.balance + T3.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 > (SELECT AVG(balance) FROM savings)",
"context": "CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)",
"question": "Find the names and total checking and savings balances of accounts whose savings balance is higher than the average savings balance."
}
|
### QUESTION
what is the location when the circuit is lowood circuit and the race is lowood trophy?
### CONTEXT
CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)
### ANSWER
SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy"
|
{
"answer": "SELECT location FROM table_name_47 WHERE circuit = \"lowood circuit\" AND race = \"lowood trophy\"",
"context": "CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)",
"question": "what is the location when the circuit is lowood circuit and the race is lowood trophy?"
}
|
### QUESTION
How many positions did the player from Spring High School play?
### CONTEXT
CREATE TABLE table_11677100_4 (position VARCHAR, school VARCHAR)
### ANSWER
SELECT COUNT(position) FROM table_11677100_4 WHERE school = "Spring High school"
|
{
"answer": "SELECT COUNT(position) FROM table_11677100_4 WHERE school = \"Spring High school\"",
"context": "CREATE TABLE table_11677100_4 (position VARCHAR, school VARCHAR)",
"question": "How many positions did the player from Spring High School play?"
}
|
### QUESTION
Find each target user's name and average trust score.
### CONTEXT
CREATE TABLE trust (target_u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)
### ANSWER
SELECT T1.name, AVG(trust) FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.target_u_id GROUP BY T2.target_u_id
|
{
"answer": "SELECT T1.name, AVG(trust) FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.target_u_id GROUP BY T2.target_u_id",
"context": "CREATE TABLE trust (target_u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)",
"question": "Find each target user's name and average trust score."
}
|
### QUESTION
What is the theme for Audition week?
### CONTEXT
CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR)
### ANSWER
SELECT theme FROM table_26250176_1 WHERE week__number = "Audition"
|
{
"answer": "SELECT theme FROM table_26250176_1 WHERE week__number = \"Audition\"",
"context": "CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR)",
"question": "What is the theme for Audition week?"
}
|
### QUESTION
Who directed the episode that originally aired on February 25, 2001?
### CONTEXT
CREATE TABLE table_name_10 (directed_by VARCHAR, original_airdate VARCHAR)
### ANSWER
SELECT directed_by FROM table_name_10 WHERE original_airdate = "february 25, 2001"
|
{
"answer": "SELECT directed_by FROM table_name_10 WHERE original_airdate = \"february 25, 2001\"",
"context": "CREATE TABLE table_name_10 (directed_by VARCHAR, original_airdate VARCHAR)",
"question": "Who directed the episode that originally aired on February 25, 2001?"
}
|
### QUESTION
What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins?
### CONTEXT
CREATE TABLE table_name_57 (finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR)
### ANSWER
SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = "lambros athanassoulas"
|
{
"answer": "SELECT SUM(finishes) FROM table_name_57 WHERE podiums = 0 AND stage_wins = 0 AND driver = \"lambros athanassoulas\"",
"context": "CREATE TABLE table_name_57 (finishes INTEGER, driver VARCHAR, podiums VARCHAR, stage_wins VARCHAR)",
"question": "What's the finishes for Lambros Athanassoulas having 0 podiums and 0 stage wins?"
}
|
### QUESTION
which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley?
### CONTEXT
CREATE TABLE table_name_82 (channel VARCHAR, studio_analysts VARCHAR, play_by_play VARCHAR, studio_host VARCHAR)
### ANSWER
SELECT channel FROM table_name_82 WHERE play_by_play = "paul sunderland" AND studio_host = "bill macdonald" AND studio_analysts = "jack haley"
|
{
"answer": "SELECT channel FROM table_name_82 WHERE play_by_play = \"paul sunderland\" AND studio_host = \"bill macdonald\" AND studio_analysts = \"jack haley\"",
"context": "CREATE TABLE table_name_82 (channel VARCHAR, studio_analysts VARCHAR, play_by_play VARCHAR, studio_host VARCHAR)",
"question": "which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley?"
}
|
### QUESTION
What is the sum of Year(s), when Postion is 6th, and when Competition is Commonwealth Games?
### CONTEXT
CREATE TABLE table_name_68 (year INTEGER, position VARCHAR, competition VARCHAR)
### ANSWER
SELECT SUM(year) FROM table_name_68 WHERE position = "6th" AND competition = "commonwealth games"
|
{
"answer": "SELECT SUM(year) FROM table_name_68 WHERE position = \"6th\" AND competition = \"commonwealth games\"",
"context": "CREATE TABLE table_name_68 (year INTEGER, position VARCHAR, competition VARCHAR)",
"question": "What is the sum of Year(s), when Postion is 6th, and when Competition is Commonwealth Games?"
}
|
### QUESTION
List all singer names in concerts in year 2014.
### CONTEXT
CREATE TABLE singer_in_concert (singer_id VARCHAR, concert_id VARCHAR); CREATE TABLE concert (concert_id VARCHAR, year VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)
### ANSWER
SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014
|
{
"answer": "SELECT T2.name FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id JOIN concert AS T3 ON T1.concert_id = T3.concert_id WHERE T3.year = 2014",
"context": "CREATE TABLE singer_in_concert (singer_id VARCHAR, concert_id VARCHAR); CREATE TABLE concert (concert_id VARCHAR, year VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)",
"question": "List all singer names in concerts in year 2014."
}
|
### QUESTION
Which Prothrombin time that has a Partial thromboplastin time of unaffected, and a Condition of thrombocytopenia?
### CONTEXT
CREATE TABLE table_name_6 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, condition VARCHAR)
### ANSWER
SELECT prothrombin_time FROM table_name_6 WHERE partial_thromboplastin_time = "unaffected" AND condition = "thrombocytopenia"
|
{
"answer": "SELECT prothrombin_time FROM table_name_6 WHERE partial_thromboplastin_time = \"unaffected\" AND condition = \"thrombocytopenia\"",
"context": "CREATE TABLE table_name_6 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, condition VARCHAR)",
"question": "Which Prothrombin time that has a Partial thromboplastin time of unaffected, and a Condition of thrombocytopenia?"
}
|
### QUESTION
Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani?
### CONTEXT
CREATE TABLE table_name_77 (constructor VARCHAR, entrant VARCHAR, driver VARCHAR)
### ANSWER
SELECT constructor FROM table_name_77 WHERE entrant = "officine alfieri maserati" AND driver = "sergio mantovani"
|
{
"answer": "SELECT constructor FROM table_name_77 WHERE entrant = \"officine alfieri maserati\" AND driver = \"sergio mantovani\"",
"context": "CREATE TABLE table_name_77 (constructor VARCHAR, entrant VARCHAR, driver VARCHAR)",
"question": "Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani?"
}
|
### QUESTION
How many points categories are there when the losing bonus is 2 and points for are 642?
### CONTEXT
CREATE TABLE table_17625749_3 (points VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)
### ANSWER
SELECT COUNT(points) FROM table_17625749_3 WHERE losing_bonus = "2" AND points_for = "642"
|
{
"answer": "SELECT COUNT(points) FROM table_17625749_3 WHERE losing_bonus = \"2\" AND points_for = \"642\"",
"context": "CREATE TABLE table_17625749_3 (points VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)",
"question": "How many points categories are there when the losing bonus is 2 and points for are 642?"
}
|
### QUESTION
Find the names of stadiums that some Australian swimmers have been to.
### CONTEXT
CREATE TABLE swimmer (id VARCHAR, nationality VARCHAR); CREATE TABLE record (swimmer_id VARCHAR, event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (id VARCHAR, stadium_id VARCHAR)
### ANSWER
SELECT t4.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id JOIN event AS t3 ON t2.event_id = t3.id JOIN stadium AS t4 ON t4.id = t3.stadium_id WHERE t1.nationality = 'Australia'
|
{
"answer": "SELECT t4.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id JOIN event AS t3 ON t2.event_id = t3.id JOIN stadium AS t4 ON t4.id = t3.stadium_id WHERE t1.nationality = 'Australia'",
"context": "CREATE TABLE swimmer (id VARCHAR, nationality VARCHAR); CREATE TABLE record (swimmer_id VARCHAR, event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (id VARCHAR, stadium_id VARCHAR)",
"question": "Find the names of stadiums that some Australian swimmers have been to."
}
|
### QUESTION
What was the new membership total at the nchc (men only) conference?
### CONTEXT
CREATE TABLE table_27671835_3 (new_membership_total VARCHAR, conference VARCHAR)
### ANSWER
SELECT new_membership_total FROM table_27671835_3 WHERE conference = "NCHC (men only)"
|
{
"answer": "SELECT new_membership_total FROM table_27671835_3 WHERE conference = \"NCHC (men only)\"",
"context": "CREATE TABLE table_27671835_3 (new_membership_total VARCHAR, conference VARCHAR)",
"question": "What was the new membership total at the nchc (men only) conference?"
}
|
### QUESTION
What date and time has a sub-orbital of orbit, a function of aeronomy research, and a Nike Orion rocket, as well as a Poker Flat site?
### CONTEXT
CREATE TABLE table_name_23 (date_and_time___utc__ VARCHAR, site VARCHAR, rocket VARCHAR, orbit VARCHAR, function VARCHAR)
### ANSWER
SELECT date_and_time___utc__ FROM table_name_23 WHERE orbit = "sub-orbital" AND function = "aeronomy research" AND rocket = "nike orion" AND site = "poker flat"
|
{
"answer": "SELECT date_and_time___utc__ FROM table_name_23 WHERE orbit = \"sub-orbital\" AND function = \"aeronomy research\" AND rocket = \"nike orion\" AND site = \"poker flat\"",
"context": "CREATE TABLE table_name_23 (date_and_time___utc__ VARCHAR, site VARCHAR, rocket VARCHAR, orbit VARCHAR, function VARCHAR)",
"question": "What date and time has a sub-orbital of orbit, a function of aeronomy research, and a Nike Orion rocket, as well as a Poker Flat site?"
}
|
### QUESTION
Which player plays for the college of manitoba?
### CONTEXT
CREATE TABLE table_name_96 (player VARCHAR, college VARCHAR)
### ANSWER
SELECT player FROM table_name_96 WHERE college = "manitoba"
|
{
"answer": "SELECT player FROM table_name_96 WHERE college = \"manitoba\"",
"context": "CREATE TABLE table_name_96 (player VARCHAR, college VARCHAR)",
"question": "Which player plays for the college of manitoba?"
}
|
### QUESTION
What country has a compulsory deduction of 29.3%?
### CONTEXT
CREATE TABLE table_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR)
### ANSWER
SELECT country FROM table_24486462_1 WHERE compulsory_deduction = "29.3%"
|
{
"answer": "SELECT country FROM table_24486462_1 WHERE compulsory_deduction = \"29.3%\"",
"context": "CREATE TABLE table_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR)",
"question": "What country has a compulsory deduction of 29.3%?"
}
|
### QUESTION
Name the january 15-16 where march 27-29 where march 29, 2006
### CONTEXT
CREATE TABLE table_1708610_3 (january_15_16 VARCHAR, march_27_29 VARCHAR)
### ANSWER
SELECT january_15_16 FROM table_1708610_3 WHERE march_27_29 = "March 29, 2006"
|
{
"answer": "SELECT january_15_16 FROM table_1708610_3 WHERE march_27_29 = \"March 29, 2006\"",
"context": "CREATE TABLE table_1708610_3 (january_15_16 VARCHAR, march_27_29 VARCHAR)",
"question": "Name the january 15-16 where march 27-29 where march 29, 2006"
}
|
### QUESTION
Find the name of the most popular party form.
### CONTEXT
CREATE TABLE party_forms (form_id VARCHAR); CREATE TABLE forms (form_name VARCHAR, form_id VARCHAR)
### ANSWER
SELECT t1.form_name FROM forms AS t1 JOIN party_forms AS t2 ON t1.form_id = t2.form_id GROUP BY t2.form_id ORDER BY COUNT(*) DESC LIMIT 1
|
{
"answer": "SELECT t1.form_name FROM forms AS t1 JOIN party_forms AS t2 ON t1.form_id = t2.form_id GROUP BY t2.form_id ORDER BY COUNT(*) DESC LIMIT 1",
"context": "CREATE TABLE party_forms (form_id VARCHAR); CREATE TABLE forms (form_name VARCHAR, form_id VARCHAR)",
"question": "Find the name of the most popular party form."
}
|
### QUESTION
What is the highest Assets (USD) Millions from Equity Bank and less than 44 branches?
### CONTEXT
CREATE TABLE table_name_37 (assets__usd__millions INTEGER, bank VARCHAR, number_of_branches VARCHAR)
### ANSWER
SELECT MAX(assets__usd__millions) FROM table_name_37 WHERE bank = "equity bank" AND number_of_branches < 44
|
{
"answer": "SELECT MAX(assets__usd__millions) FROM table_name_37 WHERE bank = \"equity bank\" AND number_of_branches < 44",
"context": "CREATE TABLE table_name_37 (assets__usd__millions INTEGER, bank VARCHAR, number_of_branches VARCHAR)",
"question": "What is the highest Assets (USD) Millions from Equity Bank and less than 44 branches?"
}
|
### QUESTION
Find the name and level of catalog structure with level between 5 and 10.
### CONTEXT
CREATE TABLE Catalog_Structure (catalog_level_name VARCHAR, catalog_level_number INTEGER)
### ANSWER
SELECT catalog_level_name, catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10
|
{
"answer": "SELECT catalog_level_name, catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10",
"context": "CREATE TABLE Catalog_Structure (catalog_level_name VARCHAR, catalog_level_number INTEGER)",
"question": "Find the name and level of catalog structure with level between 5 and 10."
}
|
### QUESTION
What's the lowest series number that originally aired before 2009 with more than 7 episodes and had a DVD Region 2 release date of 26 july 2004?
### CONTEXT
CREATE TABLE table_name_69 (series_number INTEGER, number_of_episodes VARCHAR, original_air_date VARCHAR, dvd_region_2_release_date VARCHAR)
### ANSWER
SELECT MIN(series_number) FROM table_name_69 WHERE original_air_date < 2009 AND dvd_region_2_release_date = "26 july 2004" AND number_of_episodes > 7
|
{
"answer": "SELECT MIN(series_number) FROM table_name_69 WHERE original_air_date < 2009 AND dvd_region_2_release_date = \"26 july 2004\" AND number_of_episodes > 7",
"context": "CREATE TABLE table_name_69 (series_number INTEGER, number_of_episodes VARCHAR, original_air_date VARCHAR, dvd_region_2_release_date VARCHAR)",
"question": "What's the lowest series number that originally aired before 2009 with more than 7 episodes and had a DVD Region 2 release date of 26 july 2004?"
}
|
### QUESTION
What is the location of the school named Brisbane Girls' Grammar School?
### CONTEXT
CREATE TABLE table_11318462_29 (location VARCHAR, school VARCHAR)
### ANSWER
SELECT location FROM table_11318462_29 WHERE school = "Brisbane Girls' Grammar school"
|
{
"answer": "SELECT location FROM table_11318462_29 WHERE school = \"Brisbane Girls' Grammar school\"",
"context": "CREATE TABLE table_11318462_29 (location VARCHAR, school VARCHAR)",
"question": "What is the location of the school named Brisbane Girls' Grammar School?"
}
|
### QUESTION
Find the average weight for each pet type.
### CONTEXT
CREATE TABLE pets (pettype VARCHAR, weight INTEGER)
### ANSWER
SELECT AVG(weight), pettype FROM pets GROUP BY pettype
|
{
"answer": "SELECT AVG(weight), pettype FROM pets GROUP BY pettype",
"context": "CREATE TABLE pets (pettype VARCHAR, weight INTEGER)",
"question": "Find the average weight for each pet type."
}
|
### QUESTION
Name the title that aired on 5 august 1967
### CONTEXT
CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR)
### ANSWER
SELECT COUNT(title) FROM table_20345624_2 WHERE original_airdate = "5 August 1967"
|
{
"answer": "SELECT COUNT(title) FROM table_20345624_2 WHERE original_airdate = \"5 August 1967\"",
"context": "CREATE TABLE table_20345624_2 (title VARCHAR, original_airdate VARCHAR)",
"question": "Name the title that aired on 5 august 1967"
}
|
### QUESTION
Show all artist names who didn't have an exhibition in 2004.
### CONTEXT
CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)
### ANSWER
SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004
|
{
"answer": "SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004",
"context": "CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)",
"question": "Show all artist names who didn't have an exhibition in 2004."
}
|
### QUESTION
Which year was the film Rang Barse introduced?
### CONTEXT
CREATE TABLE table_name_63 (year VARCHAR, film_name VARCHAR)
### ANSWER
SELECT COUNT(year) FROM table_name_63 WHERE film_name = "rang barse"
|
{
"answer": "SELECT COUNT(year) FROM table_name_63 WHERE film_name = \"rang barse\"",
"context": "CREATE TABLE table_name_63 (year VARCHAR, film_name VARCHAR)",
"question": "Which year was the film Rang Barse introduced?"
}
|
### QUESTION
Find the last name and gender of the students who are playing both Call of Destiny and Works of Widenius games.
### CONTEXT
CREATE TABLE Plays_games (StuID VARCHAR, GameID VARCHAR); CREATE TABLE Student (lname VARCHAR, sex VARCHAR, StuID VARCHAR); CREATE TABLE Video_games (GameID VARCHAR, Gname VARCHAR)
### ANSWER
SELECT lname, sex FROM Student WHERE StuID IN (SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID = T2.GameID WHERE T2.Gname = "Call of Destiny" INTERSECT SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID = T2.GameID WHERE T2.Gname = "Works of Widenius")
|
{
"answer": "SELECT lname, sex FROM Student WHERE StuID IN (SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID = T2.GameID WHERE T2.Gname = \"Call of Destiny\" INTERSECT SELECT T1.StuID FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.GameID = T2.GameID WHERE T2.Gname = \"Works of Widenius\")",
"context": "CREATE TABLE Plays_games (StuID VARCHAR, GameID VARCHAR); CREATE TABLE Student (lname VARCHAR, sex VARCHAR, StuID VARCHAR); CREATE TABLE Video_games (GameID VARCHAR, Gname VARCHAR)",
"question": "Find the last name and gender of the students who are playing both Call of Destiny and Works of Widenius games."
}
|
### QUESTION
What is the method of the match in the Road fc 12 at 5:00 with less than 3 rounds, and a loss result?
### CONTEXT
CREATE TABLE table_name_72 (method VARCHAR, event VARCHAR, res VARCHAR, time VARCHAR, round VARCHAR)
### ANSWER
SELECT method FROM table_name_72 WHERE time = "5:00" AND round < 3 AND res = "loss" AND event = "road fc 12"
|
{
"answer": "SELECT method FROM table_name_72 WHERE time = \"5:00\" AND round < 3 AND res = \"loss\" AND event = \"road fc 12\"",
"context": "CREATE TABLE table_name_72 (method VARCHAR, event VARCHAR, res VARCHAR, time VARCHAR, round VARCHAR)",
"question": "What is the method of the match in the Road fc 12 at 5:00 with less than 3 rounds, and a loss result?"
}
|
### QUESTION
Name the player for chicago black hawks
### CONTEXT
CREATE TABLE table_1473672_8 (player VARCHAR, nhl_team VARCHAR)
### ANSWER
SELECT player FROM table_1473672_8 WHERE nhl_team = "Chicago Black Hawks"
|
{
"answer": "SELECT player FROM table_1473672_8 WHERE nhl_team = \"Chicago Black Hawks\"",
"context": "CREATE TABLE table_1473672_8 (player VARCHAR, nhl_team VARCHAR)",
"question": "Name the player for chicago black hawks"
}
|
### QUESTION
What is the place of birth when elevated is May 16, 1288, and cardinalatial title is Deacon of S. Eustachio?
### CONTEXT
CREATE TABLE table_name_78 (place_of_birth VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR)
### ANSWER
SELECT place_of_birth FROM table_name_78 WHERE elevated = "may 16, 1288" AND cardinalatial_title = "deacon of s. eustachio"
|
{
"answer": "SELECT place_of_birth FROM table_name_78 WHERE elevated = \"may 16, 1288\" AND cardinalatial_title = \"deacon of s. eustachio\"",
"context": "CREATE TABLE table_name_78 (place_of_birth VARCHAR, elevated VARCHAR, cardinalatial_title VARCHAR)",
"question": "What is the place of birth when elevated is May 16, 1288, and cardinalatial title is Deacon of S. Eustachio?"
}
|
### QUESTION
Find the name and savings balance of the top 3 accounts with the highest saving balance sorted by savings balance in descending order.
### CONTEXT
CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
### ANSWER
SELECT T1.name, T2.balance FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T2.balance DESC LIMIT 3
|
{
"answer": "SELECT T1.name, T2.balance FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T2.balance DESC LIMIT 3",
"context": "CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)",
"question": "Find the name and savings balance of the top 3 accounts with the highest saving balance sorted by savings balance in descending order."
}
|
### QUESTION
Name the film titled for marcel camus category:articles with hcards
### CONTEXT
CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR)
### ANSWER
SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = "Marcel Camus Category:Articles with hCards"
|
{
"answer": "SELECT film_title_used_in_nomination FROM table_18987377_1 WHERE director = \"Marcel Camus Category:Articles with hCards\"",
"context": "CREATE TABLE table_18987377_1 (film_title_used_in_nomination VARCHAR, director VARCHAR)",
"question": "Name the film titled for marcel camus category:articles with hcards"
}
|
### QUESTION
What is the average crowd size for games with hawthorn as the home side?
### CONTEXT
CREATE TABLE table_name_8 (crowd INTEGER, home_team VARCHAR)
### ANSWER
SELECT AVG(crowd) FROM table_name_8 WHERE home_team = "hawthorn"
|
{
"answer": "SELECT AVG(crowd) FROM table_name_8 WHERE home_team = \"hawthorn\"",
"context": "CREATE TABLE table_name_8 (crowd INTEGER, home_team VARCHAR)",
"question": "What is the average crowd size for games with hawthorn as the home side?"
}
|
### QUESTION
What is the number of floors when the r Rank larger than 41, and a City of parel?
### CONTEXT
CREATE TABLE table_name_72 (floors VARCHAR, rank VARCHAR, city VARCHAR)
### ANSWER
SELECT floors FROM table_name_72 WHERE rank > 41 AND city = "parel"
|
{
"answer": "SELECT floors FROM table_name_72 WHERE rank > 41 AND city = \"parel\"",
"context": "CREATE TABLE table_name_72 (floors VARCHAR, rank VARCHAR, city VARCHAR)",
"question": "What is the number of floors when the r Rank larger than 41, and a City of parel?"
}
|
### QUESTION
What programs were held at highland speedway?
### CONTEXT
CREATE TABLE table_16275828_4 (program VARCHAR, track_name VARCHAR)
### ANSWER
SELECT program FROM table_16275828_4 WHERE track_name = "Highland Speedway"
|
{
"answer": "SELECT program FROM table_16275828_4 WHERE track_name = \"Highland Speedway\"",
"context": "CREATE TABLE table_16275828_4 (program VARCHAR, track_name VARCHAR)",
"question": "What programs were held at highland speedway?"
}
|
### QUESTION
List the name and phone number of all suppliers in the alphabetical order of their addresses.
### CONTEXT
CREATE TABLE addresses (address_id VARCHAR, address_details VARCHAR); CREATE TABLE supplier_addresses (supplier_id VARCHAR, address_id VARCHAR); CREATE TABLE Suppliers (supplier_name VARCHAR, supplier_phone VARCHAR, supplier_id VARCHAR)
### ANSWER
SELECT T1.supplier_name, T1.supplier_phone FROM Suppliers AS T1 JOIN supplier_addresses AS T2 ON T1.supplier_id = T2.supplier_id JOIN addresses AS T3 ON T2.address_id = T3.address_id ORDER BY T3.address_details
|
{
"answer": "SELECT T1.supplier_name, T1.supplier_phone FROM Suppliers AS T1 JOIN supplier_addresses AS T2 ON T1.supplier_id = T2.supplier_id JOIN addresses AS T3 ON T2.address_id = T3.address_id ORDER BY T3.address_details",
"context": "CREATE TABLE addresses (address_id VARCHAR, address_details VARCHAR); CREATE TABLE supplier_addresses (supplier_id VARCHAR, address_id VARCHAR); CREATE TABLE Suppliers (supplier_name VARCHAR, supplier_phone VARCHAR, supplier_id VARCHAR)",
"question": "List the name and phone number of all suppliers in the alphabetical order of their addresses."
}
|
### QUESTION
What is Pick, when Round is "6", when Nationality is "Canada", when Draft is greater than 1983, and when Player is "Ed Ward Category:Articles with hCards"?
### CONTEXT
CREATE TABLE table_name_37 (pick VARCHAR, player VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)
### ANSWER
SELECT pick FROM table_name_37 WHERE round = "6" AND nationality = "canada" AND draft > 1983 AND player = "ed ward category:articles with hcards"
|
{
"answer": "SELECT pick FROM table_name_37 WHERE round = \"6\" AND nationality = \"canada\" AND draft > 1983 AND player = \"ed ward category:articles with hcards\"",
"context": "CREATE TABLE table_name_37 (pick VARCHAR, player VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)",
"question": "What is Pick, when Round is \"6\", when Nationality is \"Canada\", when Draft is greater than 1983, and when Player is \"Ed Ward Category:Articles with hCards\"?"
}
|
### QUESTION
What was the categorie in 2002 at the Berlin international Film Festival that Danielle Darrieux was in?
### CONTEXT
CREATE TABLE table_name_39 (categorie VARCHAR, year VARCHAR, awards VARCHAR)
### ANSWER
SELECT categorie FROM table_name_39 WHERE year = 2002 AND awards = "berlin international film festival"
|
{
"answer": "SELECT categorie FROM table_name_39 WHERE year = 2002 AND awards = \"berlin international film festival\"",
"context": "CREATE TABLE table_name_39 (categorie VARCHAR, year VARCHAR, awards VARCHAR)",
"question": "What was the categorie in 2002 at the Berlin international Film Festival that Danielle Darrieux was in?"
}
|
### QUESTION
What is the listed Location with a # found of 4?
### CONTEXT
CREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR)
### ANSWER
SELECT location FROM table_name_47 WHERE _number_found = "4"
|
{
"answer": "SELECT location FROM table_name_47 WHERE _number_found = \"4\"",
"context": "CREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR)",
"question": "What is the listed Location with a # found of 4?"
}
|
### QUESTION
What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)?
### CONTEXT
CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR)
### ANSWER
SELECT enrollment FROM table_262534_2 WHERE location__population_ = "Lebanon, Tennessee (20,235)"
|
{
"answer": "SELECT enrollment FROM table_262534_2 WHERE location__population_ = \"Lebanon, Tennessee (20,235)\"",
"context": "CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR)",
"question": "What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)?"
}
|
### QUESTION
Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007?
### CONTEXT
CREATE TABLE table_name_58 (glendale_principal VARCHAR, year VARCHAR, ms_principal VARCHAR, hs_principal VARCHAR)
### ANSWER
SELECT glendale_principal FROM table_name_58 WHERE ms_principal = "greg smorel" AND hs_principal = "joleen reinholz" AND year = "2006-2007"
|
{
"answer": "SELECT glendale_principal FROM table_name_58 WHERE ms_principal = \"greg smorel\" AND hs_principal = \"joleen reinholz\" AND year = \"2006-2007\"",
"context": "CREATE TABLE table_name_58 (glendale_principal VARCHAR, year VARCHAR, ms_principal VARCHAR, hs_principal VARCHAR)",
"question": "Who is the Glendale principal with Greg Smorel as m.s. principal and Joleen Reinholz as H.S. principal during 2006-2007?"
}
|
### QUESTION
What is the Name with a Year of junior, and a High School with wheatley?
### CONTEXT
CREATE TABLE table_name_54 (name VARCHAR, year VARCHAR, high_school VARCHAR)
### ANSWER
SELECT name FROM table_name_54 WHERE year = "junior" AND high_school = "wheatley"
|
{
"answer": "SELECT name FROM table_name_54 WHERE year = \"junior\" AND high_school = \"wheatley\"",
"context": "CREATE TABLE table_name_54 (name VARCHAR, year VARCHAR, high_school VARCHAR)",
"question": "What is the Name with a Year of junior, and a High School with wheatley?"
}
|
### QUESTION
What film festival had the Best Male Actor?
### CONTEXT
CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR)
### ANSWER
SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor"
|
{
"answer": "SELECT film_festival FROM table_26282750_1 WHERE category = \"Best Male Actor\"",
"context": "CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR)",
"question": "What film festival had the Best Male Actor?"
}
|
### QUESTION
Name trofeo fast team with young rider classification of francesco casagrande and stage of 10
### CONTEXT
CREATE TABLE table_name_55 (trofeo_fast_team VARCHAR, young_rider_classification VARCHAR, stage VARCHAR)
### ANSWER
SELECT trofeo_fast_team FROM table_name_55 WHERE young_rider_classification = "francesco casagrande" AND stage = "10"
|
{
"answer": "SELECT trofeo_fast_team FROM table_name_55 WHERE young_rider_classification = \"francesco casagrande\" AND stage = \"10\"",
"context": "CREATE TABLE table_name_55 (trofeo_fast_team VARCHAR, young_rider_classification VARCHAR, stage VARCHAR)",
"question": "Name trofeo fast team with young rider classification of francesco casagrande and stage of 10"
}
|
### QUESTION
What year was a movie with the original title La Leggenda del Santo Bevitore submitted?
### CONTEXT
CREATE TABLE table_10321805_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
### ANSWER
SELECT year__ceremony_ FROM table_10321805_1 WHERE original_title = "La leggenda del santo bevitore"
|
{
"answer": "SELECT year__ceremony_ FROM table_10321805_1 WHERE original_title = \"La leggenda del santo bevitore\"",
"context": "CREATE TABLE table_10321805_1 (year__ceremony_ VARCHAR, original_title VARCHAR)",
"question": "What year was a movie with the original title La Leggenda del Santo Bevitore submitted?"
}
|
### QUESTION
What is the current account balance for a GDP at current prices of 142.640?
### CONTEXT
CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)
### ANSWER
SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "142.640"
|
{
"answer": "SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = \"142.640\"",
"context": "CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)",
"question": "What is the current account balance for a GDP at current prices of 142.640?"
}
|
### QUESTION
What is the college/junior/club team for player don barber?
### CONTEXT
CREATE TABLE table_2679061_6 (college_junior_club_team VARCHAR, player VARCHAR)
### ANSWER
SELECT college_junior_club_team FROM table_2679061_6 WHERE player = "Don Barber"
|
{
"answer": "SELECT college_junior_club_team FROM table_2679061_6 WHERE player = \"Don Barber\"",
"context": "CREATE TABLE table_2679061_6 (college_junior_club_team VARCHAR, player VARCHAR)",
"question": "What is the college/junior/club team for player don barber?"
}
|
### QUESTION
Name the wicket for 19-03-2007
### CONTEXT
CREATE TABLE table_name_59 (wicket VARCHAR, date VARCHAR)
### ANSWER
SELECT wicket FROM table_name_59 WHERE date = "19-03-2007"
|
{
"answer": "SELECT wicket FROM table_name_59 WHERE date = \"19-03-2007\"",
"context": "CREATE TABLE table_name_59 (wicket VARCHAR, date VARCHAR)",
"question": "Name the wicket for 19-03-2007"
}
|
### QUESTION
How many laps for robin montgomerie-charrington, and a Grid smaller than 15?
### CONTEXT
CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
### ANSWER
SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 15
|
{
"answer": "SELECT COUNT(laps) FROM table_name_18 WHERE driver = \"robin montgomerie-charrington\" AND grid < 15",
"context": "CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR)",
"question": "How many laps for robin montgomerie-charrington, and a Grid smaller than 15?"
}
|
### QUESTION
For teams that played 5 games, what was the smallest number of wins?
### CONTEXT
CREATE TABLE table_14288212_1 (win INTEGER, played VARCHAR)
### ANSWER
SELECT MIN(win) FROM table_14288212_1 WHERE played = 5
|
{
"answer": "SELECT MIN(win) FROM table_14288212_1 WHERE played = 5",
"context": "CREATE TABLE table_14288212_1 (win INTEGER, played VARCHAR)",
"question": "For teams that played 5 games, what was the smallest number of wins?"
}
|
### QUESTION
when was the next coach appointed after niger tornadoes fired their coach?
### CONTEXT
CREATE TABLE table_28164986_4 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, team VARCHAR)
### ANSWER
SELECT date_of_appointment FROM table_28164986_4 WHERE manner_of_departure = "fired" AND team = "Niger Tornadoes"
|
{
"answer": "SELECT date_of_appointment FROM table_28164986_4 WHERE manner_of_departure = \"fired\" AND team = \"Niger Tornadoes\"",
"context": "CREATE TABLE table_28164986_4 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, team VARCHAR)",
"question": "when was the next coach appointed after niger tornadoes fired their coach?"
}
|
### QUESTION
What is the lowest amount of floors after rank 1 in the Trillium (residential) building?
### CONTEXT
CREATE TABLE table_name_33 (floors INTEGER, rank VARCHAR, building VARCHAR)
### ANSWER
SELECT MIN(floors) FROM table_name_33 WHERE rank > 1 AND building = "the trillium (residential)"
|
{
"answer": "SELECT MIN(floors) FROM table_name_33 WHERE rank > 1 AND building = \"the trillium (residential)\"",
"context": "CREATE TABLE table_name_33 (floors INTEGER, rank VARCHAR, building VARCHAR)",
"question": "What is the lowest amount of floors after rank 1 in the Trillium (residential) building?"
}
|
### QUESTION
What Country had a Score of 71-67=138?
### CONTEXT
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
### ANSWER
SELECT country FROM table_name_76 WHERE score = 71 - 67 = 138
|
{
"answer": "SELECT country FROM table_name_76 WHERE score = 71 - 67 = 138",
"context": "CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)",
"question": "What Country had a Score of 71-67=138?"
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.