db_id
stringclasses
140 values
question
stringlengths
16
224
op
stringclasses
10 values
sub_question_1
stringlengths
17
161
sub_question_2
stringlengths
21
141
student_assessment
What is the course id of all student registrations?
Scan
null
null
student_assessment
what is id of students who registered some courses but the least number of courses in these students?
TopSort
What is the student id and the number of courses the student registered for each student?
null
student_assessment
What is the student id and the number of courses the student registered for each student?
Aggregate
What is the student id of all course registrations?
null
student_assessment
What is the student id of all course registrations?
Scan
null
null
student_assessment
What are the first and last names of all the candidates?
Join
What are the id of all the candidates?
What are the id, first name and last name of all the people?
student_assessment
What are the id, first name and last name of all the people?
Scan
null
null
student_assessment
What are the id of all the candidates?
Scan
null
null
student_assessment
List the id of students who never attends courses?
Except
List the id of all students.
List the distinct id of students in all student attendances.
student_assessment
List the distinct id of students in all student attendances.
Aggregate
List the id of students in all student attendances.
null
student_assessment
List the id of students in all student attendances.
Scan
null
null
student_assessment
List the id of all students.
Scan
null
null
student_assessment
List the id of students who attended some courses?
Scan
null
null
student_assessment
What are the ids of all students who have attended at least one course?
Scan
null
null
student_assessment
What are the ids of all students for courses and what are the names of those courses?
Join
What are the ids and names of all courses?
What are the all pairs of student id and course id in registrations?
student_assessment
What are the all pairs of student id and course id in registrations?
Scan
null
null
student_assessment
What are the ids and names of all courses?
Scan
null
null
student_assessment
What is detail of the student who most recently registered course?
TopSort
What is detail of the student and the registration date in all student registrations?
null
student_assessment
What is detail of the student and the registration date in all student registrations?
Join
What is the id and details of all students?
What is id of the student and the registration date in all student registrations?
student_assessment
What is id of the student and the registration date in all student registrations?
Scan
null
null
student_assessment
What is the id and details of all students?
Scan
null
null
student_assessment
How many students attend course English?
Aggregate
List 1 for each student attends course English.
null
student_assessment
List 1 for each student attends course English.
Join
Find the id of the course English.
Find the course id in all student attendances.
student_assessment
Find the course id in all student attendances.
Scan
null
null
student_assessment
Find the id of the course English.
Scan
null
null
student_assessment
How many courses does the student with id 171 actually attend?
Aggregate
List 1 for each course the student with id 171 actually attends.
null
student_assessment
List 1 for each course the student with id 171 actually attends.
Join
List the courses ids the student with id 171 actually attends.
List the ids of all courses.
student_assessment
List the ids of all courses.
Scan
null
null
student_assessment
List the courses ids the student with id 171 actually attends.
Scan
null
null
student_assessment
What is the id of the candidate who most recently accessed the course?
TopSort
What are the id and assessment date of all candidates?
null
student_assessment
What are the id and assessment date of all candidates?
Scan
null
null
student_assessment
List the id of students who registered some courses and the number of their registered courses?
Aggregate
List the id of students in all student course registrations.
null
student_assessment
List the id of students in all student course registrations.
Scan
null
null
student_assessment
How many registed students do each course have? List course name and the number of their registered students?
Join
How many registered students do each course have? List course id and the number of their registered students?
List the id and name of all courses.
student_assessment
List the id and name of all courses.
Scan
null
null
student_assessment
How many registered students do each course have? List course id and the number of their registered students?
Aggregate
List the course id in all student registrations.
null
student_assessment
List the course id in all student registrations.
Scan
null
null
student_assessment
Find id of candidates whose assessment code is "Pass"?
Scan
null
null
student_assessment
What are the ids of the candidates that have an outcome code of Pass?
Scan
null
null
student_assessment
What are the cell phone numbers of the candidates that received an assessment code of "Fail"?
Join
What are the candidate ids of assessments that received an assessment code of "Fail"?
What are the ids and cell phone numbers of all people?
student_assessment
What are the ids and cell phone numbers of all people?
Scan
null
null
student_assessment
What are the candidate ids of assessments that received an assessment code of "Fail"?
Scan
null
null
student_assessment
What are the id of students who registered course 301?
Scan
null
null
student_assessment
What are the ids of the students who registered for course 301?
Scan
null
null
student_assessment
What are the ids of the students who registered for course 301 most recently?
TopSort
What are the ids of the students and dates of attendance of attendance for course 301?
null
student_assessment
What are the ids of the students and dates of attendance of attendance for course 301?
Scan
null
null
student_assessment
What are the different cities where people live?
Join
What are the addresses ids where people live?
What are the ids and cities of all people?
student_assessment
What are the ids and cities of all people?
Scan
null
null
student_assessment
What are the addresses ids where people live?
Scan
null
null
student_assessment
What are the different cities where students live?
Join
What are the address ids of all students?
What are the ids and cities of all addresses?
student_assessment
What are the ids and cities of all addresses?
Scan
null
null
student_assessment
What are the address ids of all students?
Join
What are the ids of all students?
What are all person ids and their address ids?
student_assessment
What are all person ids and their address ids?
Scan
null
null
student_assessment
What are the ids of all students?
Scan
null
null
student_assessment
What are the names of the courses in alphabetical order?
Sort
What are the names of the courses?
null
student_assessment
What are the names of the courses?
Scan
null
null
student_assessment
What are the first names of the people in alphabetical order?
Sort
What are the first names of the people?
null
student_assessment
What are the first names of the people?
Scan
null
null
student_assessment
What are the ids of the students who either registered or attended a course?
Union
What are the ids of the students who registered a course?
What are the ids of the students who attended a course?
student_assessment
What are the ids of the students who attended a course?
Aggregate
What are the ids of the students of all student attendance?
null
student_assessment
What are the ids of the students of all student attendance?
Scan
null
null
student_assessment
What are the ids of the students who registered a course?
Aggregate
What are the ids of the students of all student registrations?
null
student_assessment
What are the ids of the students of all student registrations?
Scan
null
null
student_assessment
Find the id of courses which are registered or attended by student whose id is 121?
Union
Find the id of courses which are registered by student whose id is 121.
Find the id of courses which are attended by student whose id is 121.
student_assessment
Find the id of courses which are attended by student whose id is 121.
Scan
null
null
student_assessment
Find the id of courses which are registered by student whose id is 121.
Scan
null
null
student_assessment
List the id of students who registered course statistics in the order of registration date.
Sort
List the id of students who registered course statistics, and the registration dates.
null
student_assessment
List the id of students who registered course statistics, and the registration dates.
Join
List the id of the course statistics.
List the id of student, id of course, date of registration in all student registrations.
student_assessment
List the id of student, id of course, date of registration in all student registrations.
Scan
null
null
student_assessment
List the id of the course statistics.
Scan
null
null
bike_1
Give me the dates when the max temperature was higher than 85.
Scan
null
null
bike_1
What are the dates with a maximum temperature higher than 85?
Scan
null
null
bike_1
What are the names of stations that have latitude lower than 37.5?
Scan
null
null
bike_1
What are the names of all stations with a latitude smaller than 37.5?
Scan
null
null
bike_1
For each city, return the highest latitude among its stations.
Aggregate
Return the city and latitude of all stations.
null
bike_1
Return the city and latitude of all stations.
Scan
null
null
bike_1
Give me the start station and end station for the trips with the three oldest id.
Top
Give me the id, start station and end station of all trips.
null
bike_1
Give me the id, start station and end station of all trips.
Scan
null
null
bike_1
What is the average latitude and longitude of stations located in San Jose city?
Aggregate
What are the latitude and longitude of stations located in San Jose city?
null
bike_1
What are the latitude and longitude of stations located in San Jose city?
Scan
null
null
bike_1
What is the id of the trip that has the shortest duration?
TopSort
What is the id and duration of all trips?
null
bike_1
What is the id and duration of all trips?
Scan
null
null
bike_1
What is the total and maximum duration for all trips with the bike id 636?
Aggregate
What is the duration for all trips with the bike id 636?
null
bike_1
What is the duration for all trips with the bike id 636?
Scan
null
null
bike_1
For each zip code, return the average mean temperature of August there.
Aggregate
Return the zip code and mean temperature of weather records of August.
null
bike_1
Return the zip code and mean temperature of weather records of August.
Scan
null
null
bike_1
How many different bike ids are there?
Aggregate
List the different bike ids.
null
bike_1
List the different bike ids.
Scan
null
null
bike_1
How many different cities have these stations?
Aggregate
List the different cities that have these stations?
null
bike_1
List the different cities that have these stations?
Scan
null
null
bike_1
How many stations are in Mountain View?
Aggregate
List 1 for each station in Mountain View.
null
bike_1
List 1 for each station in Mountain View.
Scan
null
null
bike_1
What are the different names for each station that has ever had 7 bikes available?
Join
What are the different ids for each station that has ever had 7 bikes available?
What are the id and name of all stations?
bike_1
What are the id and name of all stations?
Scan
null
null
bike_1
What are the different ids for each station that has ever had 7 bikes available?
Scan
null
null
bike_1
What are the start station's name and id for the one that had the most start trips in August?
TopSort
For each start station, what are station's name and id and the number of trips in August?
null
bike_1
For each start station, what are station's name and id and the number of trips in August?
Aggregate
What are the start station's name and id for trips in August?
null
bike_1
What are the start station's name and id for trips in August?
Scan
null
null
bike_1
Which bike traveled the most often in zip code 94002?
TopSort
Find the number of travels in zip code 94002 for each bike id.
null
bike_1
Find the number of travels in zip code 94002 for each bike id.
Aggregate
Find bikes ids of travels in zip code 94002.
null
bike_1
Find bikes ids of travels in zip code 94002.
Scan
null
null