aherntech/sparc huggingface dataset:
Database: city_record
Question sequence:
What is the average temperature in March?
How about February?
In this month, which city has the highest temperature?
SQL query sequence:
SELECT AVG(MAR) FROM temperature
SELECT AVG(FEB) FROM temperature
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id ORDER BY T2.Feb DESC LIMIT 1
Final question: Which city has the highest temperature in February?
Final SQL: SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id ORDER BY T2.Feb DESC LIMIT 1
Database: city_record
Question sequence:
What is the average temperature of all cities in October?
How many cities are there whose temperature in March is lower than that in July ?
What are the city names?
Please also show cities whose temperature in March is higher than that in Oct.
SQL query sequence:
SELECT AVG(OCT) FROM temperature
SELECT COUNT(*) FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul OR T2.Mar  >  T2.Oct
Final question: Give me a list of cities whose temperature in March is lower than that in July or higher than that in Oct?
Final SQL: SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul OR T2.Mar  >  T2.Oct
Database: city_record
Question sequence:
Which cities have hosted events?
What is the average temperature in March of these cities?
Among these cities, whose temperature in Mar is lower than that in July?
SQL query sequence:
SELECT City FROM City AS T1 JOIN Hosting_City AS T2 on T1.City_ID = T2.Host_City
SELECT AVG(MAR) FROM City AS T1 JOIN Hosting_City AS T2 on T1.City_ID = T2.Host_City JOIN Temperature AS T3 ON T3.City_ID = T2.Host_City
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul INTERSECT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city
Final question: Give me a list of cities whose temperature in Mar is lower than that in July and which have also served as host cities?
Final SQL: SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Jul INTERSECT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city
Database: city_record
Question sequence:
Which cities have never hosted an event?
What is the average temperature in Dec of these cities?
How about the cities whose temperature in Mar is lower than that in Dec?
SQL query sequence:
SELECT City FROM City EXCEPT SELECT City FROM City AS T1 JOIN Hosting_City AS T2 on T1.City_ID = T2.Host_City
SELECT AVG(DEC) FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city
Final question: Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities.
Final SQL: SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Mar  <  T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city
Database: city_record
Question sequence:
How many cities are there that were once host cities?
How many cities are there whose temperature in Feb is higher than that in Jun?
Please list the city names of the above results.
SQL query sequence:
SELECT COUNT(DISTINCT T1.city) FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id  =  T2.host_city
SELECT Count(*) FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Feb  >  T2.Jun
SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Feb  >  T2.Jun UNION SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city
Final question: Give me a list of cities whose temperature in Feb is higher than that in Jun or cities that were once host cities?
Final SQL: SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id  =  T2.city_id WHERE T2.Feb  >  T2.Jun UNION SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id  =  T4.host_city
Database: city_record
Question sequence:
Which city has the smallest regional population?
How many cities are there that have a regional population over 8000000 or under 5000000?
Please show the names of these cities.
SQL query sequence:
SELECT City FROM CITY ORDER BY regional_population ASC LIMIT 1
SELECT COUNT(*) FROM city WHERE regional_population  >  8000000 OR regional_population  <  5000000
SELECT city FROM city WHERE regional_population  >  8000000 UNION SELECT city FROM city WHERE regional_population  <  5000000
Final question: Please give me a list of cities whose regional population is over 8000000 or under 5000000.
Final SQL: SELECT city FROM city WHERE regional_population  >  8000000 UNION SELECT city FROM city WHERE regional_population  <  5000000
Database: city_record
Question sequence:
Which city has the smallest GDP?
Which city has the largest population?
What is its GDP?
SQL query sequence:
SELECT City FROM CITY ORDER BY gdp ASC LIMIT 1
SELECT CITY FROM city ORDER BY Regional_Population DESC LIMIT 1
SELECT gdp FROM city ORDER BY Regional_Population DESC LIMIT 1
Final question: what is the GDP of the city with the largest population.
Final SQL: SELECT gdp FROM city ORDER BY Regional_Population DESC LIMIT 1
Database: shop_membership
Question sequence:
How many branches are there?
What is their average membership amounts?
How many branches have more membership than that?
SQL query sequence:
SELECT count(*) FROM branch
SELECT avg(membership_amount) FROM branch
SELECT count(*) FROM branch WHERE membership_amount  >  (SELECT avg(membership_amount) FROM branch)
Final question: How many branches where have more than average number of memberships are there?
Final SQL: SELECT count(*) FROM branch WHERE membership_amount  >  (SELECT avg(membership_amount) FROM branch)
Database: shop_membership
Question sequence:
How many branches are there?
How many membership does each of them have?
Show me the top three of them.
Give me only the name.
SQL query sequence:
SELECT count(*) FROM branch
SELECT name, membership_amount FROM branch
SELECT name, membership_amount FROM branch ORDER BY membership_amount DESC LIMIT 3
SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3
Final question: What are names for top three branches with most number of membership?
Final SQL: SELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3
Database: shop_membership
Question sequence:
Give me the name of all branches.
Show me all open years when any of them were opened.
Among them, during which years, at least two shops were opened?
SQL query sequence:
SELECT name FROM branch
SELECT open_year FROM branch GROUP BY open_year
SELECT open_year FROM branch GROUP BY open_year HAVING count(*)  >=  2
Final question: List all open years when at least two shops are opened.
Final SQL: SELECT open_year FROM branch GROUP BY open_year HAVING count(*)  >=  2
Database: shop_membership
Question sequence:
How many branches are there?
What about opened in 2011 or located at London?
Show me the amount of memberships for them.
What are the minimum and maximum among them?
SQL query sequence:
SELECT count(*) FROM branch
SELECT count(*) FROM branch WHERE open_year  =  2011 OR city  =  'London'
SELECT membership_amount FROM branch WHERE open_year  =  2011 OR city  =  'London'
SELECT min(membership_amount) ,  max(membership_amount) FROM branch WHERE open_year  =  2011 OR city  =  'London'
Final question: Show minimum and maximum amount of memberships for all branches opened in 2011 or located at city London.
Final SQL: SELECT min(membership_amount) ,  max(membership_amount) FROM branch WHERE open_year  =  2011 OR city  =  'London'
Database: shop_membership
Question sequence:
How many branches are there?
What about before 2010?
Can you show me those for each city?
SQL query sequence:
SELECT count(*) FROM branch
SELECT count(*) FROM branch WHERE open_year < 2010
SELECT city, count(*) FROM branch WHERE open_year  <  2010 GROUP BY city
Final question: Show the city and the number of branches opened before 2010 for each city.
Final SQL: SELECT city ,  count(*) FROM branch WHERE open_year  <  2010 GROUP BY city
Database: shop_membership
Question sequence:
How many different membership levels are there?
How many members are there in the record?
Which membership level has the most number of members?
SQL query sequence:
SELECT LEVEL FROM member GROUP BY LEVEL
SELECT count(*) FROM member
SELECT LEVEL FROM member GROUP BY LEVEL ORDER BY count(*) DESC LIMIT 1
Final question: Show the membership level with most number of members.
Final SQL: SELECT LEVEL FROM member GROUP BY LEVEL ORDER BY count(*) DESC LIMIT 1
Database: shop_membership
Question sequence:
How many membership registrations are there in file?
Show me the member names and branch names associated with them.
List them in order of their register years.
SQL query sequence:
SELECT count(*) FROM membership_register_branch
SELECT T3.name ,  T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id
SELECT T3.name ,  T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id ORDER BY T1.register_year
Final question: Show all member names and registered branch names sorted by register year.
Final SQL: SELECT T3.name ,  T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id ORDER BY T1.register_year
Database: shop_membership
Question sequence:
How many membership registrations are there in file?
How many of those were registered after 2015?
What about for each branch?
Show me the name for each branch instead of id.
SQL query sequence:
SELECT count(*) FROM membership_register_branch
SELECT count(*) FROM membership_register_branch WHERE register_year > 2015
SELECT branch_id, count(*) FROM membership_register_branch WHERE register_year > 2015 GROUP BY branch_id
SELECT T2.name ,  count(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  >  2015 GROUP BY T2.branch_id
Final question: Show all branch names with the number of members in each branch registered after 2015.
Final SQL: SELECT T2.name ,  count(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  >  2015 GROUP BY T2.branch_id
Database: shop_membership
Question sequence:
How many membership registrations are there in file?
Show me the id of members in any of them.
Give me the name of members who are not one of those.
SQL query sequence:
SELECT count(*) FROM membership_register_branch
SELECT member_id FROM membership_register_branch
SELECT name FROM member WHERE member_id NOT IN (SELECT member_id FROM membership_register_branch)
Final question: Show member names without any registered branch.
Final SQL: SELECT name FROM member WHERE member_id NOT IN (SELECT member_id FROM membership_register_branch)
Database: shop_membership
Question sequence:
How many membership registrations are there in file?
Show me the id of branches in any of them.
Give me the name of branches which are not one of those.
What about their cities?
SQL query sequence:
SELECT count(*) FROM membership_register_branch
SELECT branch_id FROM membership_register_branch
SELECT name FROM branch WHERE branch_id NOT IN (SELECT branch_id FROM membership_register_branch)
SELECT name ,  city FROM branch WHERE branch_id NOT IN (SELECT branch_id FROM membership_register_branch)
Final question: List the branch name and city without any registered members.
Final SQL: SELECT name ,  city FROM branch WHERE branch_id NOT IN (SELECT branch_id FROM membership_register_branch)
Database: shop_membership
Question sequence:
How many membership registrations are there in 2016?
What about for each branch?
Show me the name of branch with the most of them.
What about its open year?
SQL query sequence:
SELECT COUNT(*) FROM membership_register_branch WHERE register_year = 2016
SELECT branch_id, COUNT(*) FROM membership_register_branch WHERE register_year = 2016 GROUP BY branch_id
SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  =  2016 GROUP BY T2.branch_id ORDER BY count(*) DESC LIMIT 1
SELECT T2.name ,  T2.open_year FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  =  2016 GROUP BY T2.branch_id ORDER BY count(*) DESC LIMIT 1
Final question: What is the name and open year for the branch with most number of memberships registered in 2016?
Final SQL: SELECT T2.name ,  T2.open_year FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T1.register_year  =  2016 GROUP BY T2.branch_id ORDER BY count(*) DESC LIMIT 1
Database: shop_membership
Question sequence:
How many membership registrations are there in 2016?
Show me the name of members in them.
Also include their hometowns.
SQL query sequence:
SELECT COUNT(*) FROM membership_register_branch WHERE register_year = 2016
SELECT T2.name FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T1.register_year  =  2016
SELECT T2.name ,  T2.hometown FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T1.register_year  =  2016
Final question: Show the member name and hometown who registered a branch in 2016.
Final SQL: SELECT T2.name ,  T2.hometown FROM membership_register_branch AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T1.register_year  =  2016
Database: shop_membership
Question sequence:
How many branches were opened in 2001?
Among them, how many also have more than 100 membership?
Show me all cities with any of those branches.
SQL query sequence:
SELECT count(*) FROM branch WHERE open_year = 2001
SELECT count(*) FROM branch WHERE open_year = 2001 AND membership_amount  >  100
SELECT city FROM branch WHERE open_year  =  2001 AND membership_amount  >  100
Final question: Show all city with a branch opened in 2001 and a branch with more than 100 membership.
Final SQL: SELECT city FROM branch WHERE open_year  =  2001 AND membership_amount  >  100
Database: shop_membership
Question sequence:
How many branches have more than 100 memberships?
Give me all cities with any of those branches.
What about cities without any of those branches?
SQL query sequence:
SELECT COUNT(*) FROM branch WHERE membership_amount > 100
SELECT city FROM branch WHERE membership_amount  >  100
SELECT city FROM branch EXCEPT SELECT city FROM branch WHERE membership_amount  >  100
Final question: Show all cities without a branch having more than 100 memberships.
Final SQL: SELECT city FROM branch EXCEPT SELECT city FROM branch WHERE membership_amount  >  100
Database: shop_membership
Question sequence:
How many purchases are there in 2018?
How many of them were made through any branch in London?
Show me the sum of total pounds of them.
SQL query sequence:
SELECT COUNT(*) FROM purchase WHERE year = 2018
SELECT COUNT(*) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T2.city  =  'London' AND T1.year  =  2018
SELECT sum(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T2.city  =  'London' AND T1.year  =  2018
Final question: What is the sum of total pounds of purchase in year 2018 for all branches in London?
Final SQL: SELECT sum(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id WHERE T2.city  =  'London' AND T1.year  =  2018
Database: shop_membership
Question sequence:
How many purchases are there in file?
Show me the id of members with level 6.
How many purchases are for any of those members?
SQL query sequence:
SELECT COUNT(*) FROM purchase
SELECT MEMBER_ID FROM member WHERE LEVEL = 6
SELECT count(*) FROM purchase AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T2.level  =  6
Final question: What is the total number of purchases for members with level 6?
Final SQL: SELECT count(*) FROM purchase AS T1 JOIN member AS T2 ON T1.member_id  =  T2.member_id WHERE T2.level  =  6
Database: shop_membership
Question sequence:
How many members' hometown is in Louisville, Kentucky?
Show me the name of branches with any of those members.
Among them, which ones also have members from Hiram, Georgia?
SQL query sequence:
SELECT count(*) FROM MEMBER WHERE hometown = 'Louisville ,  Kentucky'
SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Louisville, Kentucky'
SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Louisville ,  Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Hiram, Georgia'
Final question: Find the name of branches where have some members whose hometown is in Louisville, Kentucky and some in Hiram, Georgia.
Final SQL: SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Louisville ,  Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id  =  T2.branch_id JOIN member AS T3 ON T1.member_id  =  T3.member_id WHERE T3.Hometown  =  'Hiram ,  Georgia'
Database: perpetrator
Question sequence:
Show me all about perpetrator.
How many are there?
SQL query sequence:
SELECT * FROM perpetrator;
SELECT count(*) FROM perpetrator;
Final question: How many perpetrators are there?
Final SQL: SELECT count(*) FROM perpetrator;
Database: perpetrator
Question sequence:
Show me the number of people killed by each perpetrator.
List the date for each in descending order of the number of people killed.
SQL query sequence:
SELECT Killed FROM perpetrator;
SELECT Date FROM perpetrator ORDER BY Killed DESC;
Final question: List the date of perpetrators in descending order of the number of people killed.
Final SQL: SELECT Date FROM perpetrator ORDER BY Killed DESC;
Database: perpetrator
Question sequence:
How many people has each perpetrator killed?
How about injured?
Sort the result in ascending order.
SQL query sequence:
SELECT Killed FROM perpetrator;
SELECT Injured FROM perpetrator;
SELECT Injured FROM perpetrator ORDER BY Injured ASC;
Final question: List the number of people injured by perpetrators in ascending order.
Final SQL: SELECT Injured FROM perpetrator ORDER BY Injured ASC;
Database: perpetrator
Question sequence:
How many people are injured in total by all perpetrators?
How many perpetrators are there?
What is the average number of people injured by all perpetrators?
SQL query sequence:
SELECT sum(Injured) FROM perpetrator;
SELECT count(*) FROM perpetrator;
SELECT avg(Injured) FROM perpetrator;
Final question: What is the average number of people injured by all perpetrators?
Final SQL: SELECT avg(Injured) FROM perpetrator;
Database: perpetrator
Question sequence:
Show me the number of people killed by each perpetrator.
Order the result in descending order.
What's the location for the one who killed the most people?
SQL query sequence:
SELECT Killed FROM perpetrator;
SELECT Killed FROM perpetrator ORDER BY Killed DESC ;
SELECT LOCATION FROM perpetrator ORDER BY Killed DESC LIMIT 1;
Final question: What is the location of the perpetrator with the largest kills.
Final SQL: SELECT LOCATION FROM perpetrator ORDER BY Killed DESC LIMIT 1;
Database: perpetrator
Question sequence:
How many people are there?
What are their names?
Order the result by descending height.
SQL query sequence:
SELECT count(*) FROM People;
SELECT Name FROM People;
SELECT Name FROM People ORDER BY Height ASC;
Final question: What are the names of people in ascending order of height?
Final SQL: SELECT Name FROM People ORDER BY Height ASC;
Database: perpetrator
Question sequence:
What are the heights of all people?
How about their names?
Show just the perpetrators' names.
SQL query sequence:
SELECT Height FROM people;
SELECT Name FROM people;
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID;
Final question: What are the names of perpetrators?
Final SQL: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID;
Database: perpetrator
Question sequence:
Show me the countries of the perpetrators.
What are the names of perpetrators whose country is "China"?
How about those whose country is not "China"?
SQL query sequence:
SELECT Country FROM perpetrator;
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country = "China";
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country != "China";
Final question: What are the names of perpetrators whose country is not "China"?
Final SQL: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country != "China";
Database: perpetrator
Question sequence:
Show me the names of the perpetrators.
Who has the largest height?
How about the highest weight?
SQL query sequence:
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID;
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Height DESC LIMIT 1;
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Weight DESC LIMIT 1;
Final question: What is the name of the perpetrator with the biggest weight.
Final SQL: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID ORDER BY T1.Weight DESC LIMIT 1;
Database: perpetrator
Question sequence:
Show me the names of all the perpetrators with a height of more than 1.84 meters.
What's their average number of killed people?
How about the total?
SQL query sequence:
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  1.84;
SELECT avg(T2.Killed) FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  1.84;
SELECT sum(T2.Killed) FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  1.84;
Final question: What is the total kills of the perpetrators with height more than 1.84.
Final SQL: SELECT sum(T2.Killed) FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T1.Height  >  1.84;
Database: perpetrator
Question sequence:
Show me perpetrators' names.
Among the result, who are in "South Korea"?
How about China or Japan?
SQL query sequence:
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID;
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country  =  "South Korea";
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country  =  "China" OR T2.Country  =  "Japan"
Final question: What are the names of perpetrators in country "China" or "Japan"?
Final SQL: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID  =  T2.People_ID WHERE T2.Country  =  "China" OR T2.Country  =  "Japan"