aherntech/sparc huggingface dataset:
Database: college_3
Question sequence:
What are all the course names?
Of those, which have at least five students enrolled?
SQL query sequence:
SELECT CName FROM COURSE
SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID  =  T2.CID GROUP BY T2.CID HAVING COUNT(*)  >=  5
Final question: Give the names of the courses with at least five enrollments.
Final SQL: SELECT T1.CName FROM COURSE AS T1 JOIN ENROLLED_IN AS T2 ON T1.CID  =  T2.CID GROUP BY T2.CID HAVING COUNT(*)  >=  5
Database: college_3
Question sequence:
What are the full names of all faculty?
Of those, which has a course named COMPUTER LITERACY?
SQL query sequence:
SELECT Fname ,  Lname FROM FACULTY
SELECT T2.Fname ,  T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor  =  T2.FacID WHERE T1.CName  =  "COMPUTER LITERACY"
Final question: What is the full name of the instructor who has a course named COMPUTER LITERACY?
Final SQL: SELECT T2.Fname ,  T2.Lname FROM COURSE AS T1 JOIN FACULTY AS T2 ON T1.Instructor  =  T2.FacID WHERE T1.CName  =  "COMPUTER LITERACY"
Database: college_3
Question sequence:
What is all the information about the course INTRODUCTION TO COMPUTER SCIENCE?
What room is it held in?
Also, what is the department name for the department that offers it?
SQL query sequence:
SELECT * FROM COURSE WHERE CName  =  "INTRODUCTION TO COMPUTER SCIENCE"
SELECT T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO  =  T2.DNO WHERE T1.CName  =  "INTRODUCTION TO COMPUTER SCIENCE"
SELECT T2.Dname ,  T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO  =  T2.DNO WHERE T1.CName  =  "INTRODUCTION TO COMPUTER SCIENCE"
Final question: What are the department name and room for the course INTRODUCTION TO COMPUTER SCIENCE?
Final SQL: SELECT T2.Dname ,  T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO  =  T2.DNO WHERE T1.CName  =  "INTRODUCTION TO COMPUTER SCIENCE"
Database: college_3
Question sequence:
What are the full names of all students?
Also, what are the gradepoints for any classes they are enrolled in?
SQL query sequence:
SELECT Fname ,  LName FROM STUDENT
SELECT T3.Fname ,  T3.LName ,  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
Final question: What are the full names and gradepoints for all enrollments?
Final SQL: SELECT T3.Fname ,  T3.LName ,  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
Database: college_3
Question sequence:
What are the distinct first names of students?
Of those, which have a gradepoint of at least 3.8 in one course?
SQL query sequence:
SELECT DISTINCT Fname FROM STUDENT
SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID WHERE T2.gradepoint  >=  3.8
Final question: What are the distinct first names for students with a grade point of 3.8 or above in at least one course?
Final SQL: SELECT DISTINCT T3.Fname FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade  =  T2.lettergrade AND T1.StuID  =  T3.StuID WHERE T2.gradepoint  >=  3.8
Database: college_3
Question sequence:
What are the full names of all the faculty?
Of those, which are a part of department 520?
SQL query sequence:
SELECT Fname ,  Lname FROM FACULTY
SELECT T1.Fname ,  T1.Lname FROM FACULTY AS T1 JOIN MEMBER_OF AS T2 ON T1.FacID  =  T2.FacID WHERE T2.DNO  =  520
Final question: What are the full names of faculty members who are a part of department 520?
Final SQL: SELECT T1.Fname ,  T1.Lname FROM FACULTY AS T1 JOIN MEMBER_OF AS T2 ON T1.FacID  =  T2.FacID WHERE T2.DNO  =  520
Database: college_3
Question sequence:
What are the full names of all students?
Of those, which are minoring in the department with number 140?
SQL query sequence:
SELECT Fname ,  Lname FROM STUDENT
SELECT T2.Fname ,  T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID  =  T2.StuID WHERE T1.DNO  =  140
Final question: What are the full names of students minoring in department 140?
Final SQL: SELECT T2.Fname ,  T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID  =  T2.StuID WHERE T1.DNO  =  140
Database: college_3
Question sequence:
What is all the information about faculty?
Of those, which are in the computer science department?
What are their last names?
SQL query sequence:
SELECT * FROM FACULTY
SELECT * FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO  =  T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID  =  T3.FacID WHERE T1.DName  =  "Computer Science"
SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO  =  T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID  =  T3.FacID WHERE T1.DName  =  "Computer Science"
Final question: What are the last names of faculty who are part of the computer science department?
Final SQL: SELECT T2.Lname FROM DEPARTMENT AS T1 JOIN FACULTY AS T2 ON T1.DNO  =  T3.DNO JOIN MEMBER_OF AS T3 ON T2.FacID  =  T3.FacID WHERE T1.DName  =  "Computer Science"
Database: college_3
Question sequence:
What is the average gradepoint for any students enrolled in courses?
What is this for students with last name Smith?
SQL query sequence:
SELECT avg(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
SELECT avg(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.LName  =  "Smith"
Final question: What is the average gradepoint for students with the last name Smith?
Final SQL: SELECT avg(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.LName  =  "Smith"
Database: college_3
Question sequence:
What is all the information about students living in NYC?
What are their gradepoints for the courses they are enrolled in?
What are the maximum and minimum?
SQL query sequence:
SELECT * FROM STUDENT WHERE city_code  =  "NYC"
SELECT 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"
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"
Final question: Give the maximum and minimum gradepoints for students living in NYC?
Final SQL: 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"
Database: college_3
Question sequence:
What are the names of courses with 3 credits?
What are the names of courses with 1 credit and 4 hours?
What are the names of courses in either group?
SQL query sequence:
SELECT CName FROM COURSE WHERE Credits  =  3
SELECT CName FROM COURSE WHERE Credits  =  1 AND Hours  =  4
SELECT CName FROM COURSE WHERE Credits  =  3 UNION SELECT CName FROM COURSE WHERE Credits  =  1 AND Hours  =  4
Final question: What are the names of courses that give either 3 credits, or 1 credit and 4 hours?
Final SQL: SELECT CName FROM COURSE WHERE Credits  =  3 UNION SELECT CName FROM COURSE WHERE Credits  =  1 AND Hours  =  4
Database: college_3
Question sequence:
What are the department names for departments in division AS?
What are department names for departments in divison EN and building NEB?
What are the names for departments in either group?
SQL query sequence:
SELECT DName FROM DEPARTMENT WHERE Division  =  "AS"
SELECT DName FROM DEPARTMENT WHERE Division  =  "EN" AND Building  =  "NEB"
SELECT DName FROM DEPARTMENT WHERE Division  =  "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division  =  "EN" AND Building  =  "NEB"
Final question: What are the names of departments either in division AS, or in division EN and in building NEB?
Final SQL: SELECT DName FROM DEPARTMENT WHERE Division  =  "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division  =  "EN" AND Building  =  "NEB"
Database: college_3
Question sequence:
What are the student ids for each student?
Of those, which are not enrolled in any courses?
What are their first names?
SQL query sequence:
SELECT StuID FROM STUDENT
SELECT StuID FROM STUDENT WHERE StuID NOT IN (SELECT StuID FROM ENROLLED_IN)
SELECT Fname FROM STUDENT WHERE StuID NOT IN (SELECT StuID FROM ENROLLED_IN)
Final question: What are the first names of all students that are not enrolled in courses?
Final SQL: SELECT Fname FROM STUDENT WHERE StuID NOT IN (SELECT StuID FROM ENROLLED_IN)
Database: soccer_2
Question sequence:
What can you tell me about college?
What are the enrollment numbers for each college?
What is the total enrollment number for all of the colleges?
SQL query sequence:
SELECT * FROM College
SELECT enr FROM College
SELECT SUM(enr) FROM College
Final question: How many students are enrolled in college?
Final SQL: SELECT sum(enr) FROM College
Database: soccer_2
Question sequence:
How many are enrolled for each college?
What is the average number?
SQL query sequence:
SELECT enr FROM College
SELECT AVG(enr) FROM College
Final question: How many students, on average, does each college have enrolled?
Final SQL: SELECT avg(enr) FROM College
Database: soccer_2
Question sequence:
What is all the information on each college?
How many different ones exist?
SQL query sequence:
SELECT * FROM College
SELECT COUNT(*) FROM College
Final question: How many different colleges are there?
Final SQL: SELECT COUNT(*) FROM College
Database: soccer_2
Question sequence:
What information do you have on players?
Which of those refer to people who trained for more than 1000 hours?
How many of them are there?
SQL query sequence:
SELECT * FROM Player
SELECT pName FROM Player WHERE HS  >  1000
SELECT count(*) FROM Player WHERE HS  >  1000
Final question: How many different players trained for more than 1000 hours?
Final SQL: SELECT count(*) FROM Player WHERE HS  >  1000
Database: soccer_2
Question sequence:
What is all the information on colleges?
Which of those have a student population greater than 15000?
How many of them exist?
SQL query sequence:
SELECT * FROM College
SELECT * FROM College WHERE enr  >  15000
SELECT COUNT(*) FROM College WHERE enr  >  15000
Final question: What is the number of colleges with a student population greater than 15000?
Final SQL: SELECT count(*) FROM College WHERE enr  >  15000
Database: soccer_2
Question sequence:
How many hours does each player train for?
What is the average?
SQL query sequence:
SELECT pName ,  HS FROM Player
SELECT avg(HS) FROM Player
Final question: How many hours do the players train on average?
Final SQL: SELECT avg(HS) FROM Player
Database: soccer_2
Question sequence:
What are the names of the players?
Which of those practice for less than 1500 hours?
Also, list the hours worked for each of them.
SQL query sequence:
SELECT pName FROM Player
SELECT pName FROM Player WHERE HS  <  1500
SELECT pName ,  HS FROM Player WHERE HS  <  1500
Final question: What are the names and number of hours spent training for each player who trains for less than 1500 hours?
Final SQL: SELECT pName ,  HS FROM Player WHERE HS  <  1500
Database: soccer_2
Question sequence:
What is the name of the college each student trying out from?
What are the different college names?
How many different ones exist?
SQL query sequence:
SELECT cName FROM tryout
SELECT DISTINCT cName FROM tryout
SELECT count(DISTINCT cName) FROM tryout
Final question: How many different colleges were represented at tryouts?
Final SQL: SELECT count(DISTINCT cName) FROM tryout
Database: soccer_2
Question sequence:
What are the different player positions?
How many of them exist?
SQL query sequence:
SELECT DISTINCT pPos FROM tryout
SELECT count(DISTINCT pPos) FROM tryout
Final question: What are the different types of player positions?
Final SQL: SELECT count(DISTINCT pPos) FROM tryout
Database: soccer_2
Question sequence:
What were the decisions for each player?
Which of the players received a yes?
How many of them exist?
SQL query sequence:
SELECT T2.pNAME ,  decision FROM tryout AS T1 JOIN Player AS T2 ON T2.pID  =  T1.pID
SELECT T2.pNAME FROM tryout AS T1 JOIN Player AS T2 ON T2.pID  =  T1.pID WHERE decision  =  'yes'
SELECT count(*) FROM tryout WHERE decision  =  'yes'
Final question: How many students received a yes from tryouts?
Final SQL: SELECT count(*) FROM tryout WHERE decision  =  'yes'
Database: soccer_2
Question sequence:
What information exists for players tried for the position of goalie?
How many of them tried out?
SQL query sequence:
SELECT * FROM tryout WHERE pPos  =  'goalie'
SELECT count(*) FROM tryout WHERE pPos  =  'goalie'
Final question: What is the number of students playing as a goalie?
Final SQL: SELECT count(*) FROM tryout WHERE pPos  =  'goalie'
Database: soccer_2
Question sequence:
How many hours does each player spend training?
What is the average?
Also, what is the maximum and minimum?
SQL query sequence:
SELECT pNAME ,  HS FROM Player
SELECT avg(HS) FROM Player
SELECT avg(HS) ,  max(HS) ,  min(HS) FROM Player
Final question: What is the average, maximum, and minimum for the number of hours spent training?
Final SQL: SELECT avg(HS) ,  max(HS) ,  min(HS) FROM Player
Database: soccer_2
Question sequence:
What is the number of students enrolled in each college?
Of those, which refer to students enrolled in places in Florida?
What is the average number enrolled for them?
SQL query sequence:
SELECT cName ,  enr FROM College
SELECT cName ,  enr  FROM College WHERE state  =  'FL'
SELECT avg(enr) FROM College WHERE state  =  'FL'
Final question: What is average number of students enrolled in Florida colleges?
Final SQL: SELECT avg(enr) FROM College WHERE state  =  'FL'
Database: soccer_2
Question sequence:
Give me all information about players who train between 500 and 1500 hours.
What are their names?
SQL query sequence:
SELECT * FROM Player WHERE HS BETWEEN 500 AND 1500
SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500
Final question: What are the names of players who train between 500 and 1500 hours?
Final SQL: SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500
Database: soccer_2
Question sequence:
What information is there on players whose name contains the letter a?
What are their names?
What is a list of the unique names?
SQL query sequence:
SELECT * FROM Player WHERE pName LIKE '%a%'
SELECT pName FROM Player WHERE pName LIKE '%a%'
SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'
Final question: Who are the players that have names containing the letter a?
Final SQL: SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'
Database: soccer_2
Question sequence:
What information you have on colleges that have more than 10000 students enrolled?
Of those, which refer to colleges in the state of LA?
What are these colleges' names and enrollment numbers?
SQL query sequence:
SELECT * FROM College WHERE enr  >  10000
SELECT * FROM College WHERE enr  >  10000 AND state = "LA"
SELECT cName ,  enr FROM College WHERE enr  >  10000 AND state = "LA"
Final question: What are the names and enrollment numbers for colleges that have more than 10000 enrolled and are located in Louisiana?
Final SQL: SELECT cName ,  enr FROM College WHERE enr  >  10000 AND state = "LA"
Database: soccer_2
Question sequence:
What information do you have on the colleges?
Sort the information by enrollment numbers.
SQL query sequence:
SELECT * FROM College
SELECT * FROM College ORDER BY enr
Final question: What information do you have on colleges sorted by increasing enrollment numbers?
Final SQL: SELECT * FROM College ORDER BY enr
Database: soccer_2
Question sequence:
What are the college names?
Which of those have more than 18000 students enrolled?
Order them alphabetically.
SQL query sequence:
SELECT cName FROM College
SELECT cName FROM College WHERE enr  >  18000
SELECT cName FROM College WHERE enr  >  18000 ORDER BY cName
Final question: What is the name of every college in alphabetical order that has more than 18000 students enrolled?
Final SQL: SELECT cName FROM College WHERE enr  >  18000 ORDER BY cName
Database: soccer_2
Question sequence:
What are the names of all the players?
Which of those received a card?
Set them in descending order of hours spent training.
SQL query sequence:
SELECT pName FROM Player
SELECT pName FROM Player WHERE yCard  =  'yes'
SELECT pName FROM Player WHERE yCard  =  'yes' ORDER BY HS DESC
Final question: What are the name of the players who received a card in descending order of the hours of training?
Final SQL: SELECT pName FROM Player WHERE yCard  =  'yes' ORDER BY HS DESC
Database: soccer_2
Question sequence:
Order the information on tryouts by college name
What are the names of the colleges?
Make sure they are all unique.
SQL query sequence:
SELECT * FROM tryout ORDER BY cName
SELECT cName FROM tryout ORDER BY cName
SELECT DISTINCT cName FROM tryout ORDER BY cName
Final question: What are the different names of the colleges involved in the tryout in alphabetical order?
Final SQL: SELECT DISTINCT cName FROM tryout ORDER BY cName
Database: soccer_2
Question sequence:
What information do you have for each position?
How many players tried out for each position?
What was the most popular one?
SQL query sequence:
SELECT * FROM tryout GROUP BY pPos
SELECT pPos ,  count(*) FROM tryout GROUP BY pPos
SELECT pPos FROM tryout GROUP BY pPos ORDER BY count(*) DESC LIMIT 1
Final question: What was the most popular position at tryouts?
Final SQL: SELECT pPos FROM tryout GROUP BY pPos ORDER BY count(*) DESC LIMIT 1
Database: soccer_2
Question sequence:
How many students participated in tryouts for each college?
Order them by number of participants.
Make sure it is in descending order.
SQL query sequence:
SELECT count(*) ,  cName FROM tryout GROUP BY cName
SELECT count(*) ,  cName FROM tryout GROUP BY cName ORDER BY count(*)
SELECT count(*) ,  cName FROM tryout GROUP BY cName ORDER BY count(*) DESC
Final question: How many students participated in tryouts for each college by descennding count?
Final SQL: SELECT count(*) ,  cName FROM tryout GROUP BY cName ORDER BY count(*) DESC
Database: soccer_2
Question sequence:
For each position, how much did each player practice?
What is the minimum for each position?
SQL query sequence:
SELECT T2.HS ,   T1.pPos FROM tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID GROUP BY T1.pPos
SELECT min(T2.HS) ,   T1.pPos FROM tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID GROUP BY T1.pPos
Final question: For each position, what is the minimum time students spent practicing?
Final SQL: SELECT min(T2.HS) ,   T1.pPos FROM tryout AS T1 JOIN player AS T2 ON T1.pID  =  T2.pID GROUP BY T1.pPos
Database: soccer_2
Question sequence:
What are the names of each college?
List them in order of descending class size.
What are the top 3?
SQL query sequence:
SELECT cName FROM college
SELECT cName FROM college ORDER BY enr DESC
SELECT cName FROM college ORDER BY enr DESC LIMIT 3
Final question: What are the names of the schools with the top 3 largest class sizes?
Final SQL: SELECT cName FROM college ORDER BY enr DESC LIMIT 3
Database: soccer_2
Question sequence:
Which colleges have students trying out?
What are the different state they are located in?
SQL query sequence:
SELECT T1.cName FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName
SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName
Final question: What are the different states that have students trying out?
Final SQL: SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName
Database: soccer_2
Question sequence:
What are the name of the colleges that had students participate in tryouts?
Of those colleges, which had students that received a yes?
What are the different states those colleges are located in?
SQL query sequence:
SELECT T1.cName FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName
SELECT T1.cName FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.decision  =  'yes'
SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName  WHERE T2.decision  =  'yes'
Final question: What are the different states that had students successfully try out?
Final SQL: SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.decision  =  'yes'
Database: soccer_2
Question sequence:
What are all the players names?
Which of those players tried out and received a yes?
Also, what colleges are they from?
SQL query sequence:
SELECT pName FROM player
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'
SELECT T1.pName ,  T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'
Final question: What are the names of all the players who received a yes during tryouts, and also what are the names of their colleges?
Final SQL: SELECT T1.pName ,  T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'
Database: soccer_2
Question sequence:
What are the players' names?
Which of them tried out?
Sort the list alphabetically.
SQL query sequence:
SELECT pName FROM player
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID ORDER BY T1.pName
Final question: What are the names of all students who tried out in alphabetical order?
Final SQL: SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID ORDER BY T1.pName
Database: soccer_2
Question sequence:
What are the names of all players who participated in tryouts?
Which of those received a yes?
How many hours did each of them practice for?
SQL query sequence:
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'
SELECT T1.pName ,  T1.HS FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'
Final question: What are the names and hours spent practicing of every student who received a yes at tryouts?
Final SQL: SELECT T1.pName ,  T1.HS FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes'
Database: soccer_2
Question sequence:
Which colleges did the students who tried out for the position of striker attend?
What states are those colleges located in?
SQL query sequence:
SELECT T1.cName FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'striker'
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'striker'
Final question: What are the states of the colleges where students who tried out for the striker position attend?
Final SQL: SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName  =  T2.cName WHERE T2.pPos  =  'striker'
Database: soccer_2
Question sequence:
What is every player's name?
Which of those tried out for the position of striker?
Of those, who made the team?
SQL query sequence:
SELECT pName FROM player
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.pPos  =  'striker'
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID  WHERE T2.decision  =  'yes' AND T2.pPos  =  'striker'
Final question: What are the names of all students who successfully tried out for the position of striker?
Final SQL: SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID  =  T2.pID WHERE T2.decision  =  'yes' AND T2.pPos  =  'striker'