query
stringlengths 24
325
| positive
stringlengths 1
580
| negative
stringlengths 1
580
|
---|---|---|
How many basic or medium undergraduate courses are taught by a professor?
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
levels of the all courses refers to courseLevel; teacher no.79 refers to taughtBy.p_id = 79
|
How many basic or medium undergraduate courses are taught by a professor?
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
advisor IDs refers to p_id_dummy and person.p_id where professor = 1; eighth year of program refers to yearsInprogram = 'Year_8'; position status in faculty of those professors refers to hasPosition
|
How many basic or medium undergraduate courses are taught by a professor?
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
professors refers to p_id_dummy; 12th years of program refers to yearsInProgram = 'Year_12'
|
How many basic or medium undergraduate courses are taught by a professor?
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
advisors refers to p_id_dummy; students in Year 3 of the program refers to yearsInProgram = 'Year_3'
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; courses refers to course.course_id
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
professors refers to taughtBy.p_id; high-level or harder undergraduate courses refers to courseLevel = 'Level_400' ; no more than two refers to count(taughtBy.course_id) < = 2
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
advisor with ID 5 refers to p_id_dummy = 5
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
IDs of the professors refers to taughtBy.p_id and professor = 1; teaches more than 3 courses refers to count(course_id) > 3
|
Mention the person ID of faculty professor who taught course ID 104 and the course level.
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
professor ID refers to taughtBy.p_id; course ID from 121 to 130 of basic undergraduate courses refers to courseLevel = 'Level_300' and course.course_id between 121 and 130
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
member of the faculty refers to hasPosition <> 0, most courses refers to max(count(course.course_id))
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
advised student IDs refers to person.p_id; IDs of employing professor in faculty refers to p_id_dummy and hasPosition = 'Faculty_eme'
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; courses refers to course.course_id
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
teachers refers to p_id_dummy; have advised more than 4 others refers to count(advisedBy.p_id) > 4
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
professors refers to taughtBy.p_id; basic or medium undergraduate courses refers to couresLevel = 'Level_300'
|
What level is course 165? List the professors who teach the course.
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
level of the course refers to courseLevel; course with most number of teachers refers to course_id = max(count(taughtBy.p_id))
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
professors refers to professor = 1; students refers to student = 1; ratio = divide(count(person.p_id) when professor = 1, count(person.p_id) when student = 1)
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
IDs of the professors refers to taughtBy.p_id and professor = 1; teaches more than 3 courses refers to count(course_id) > 3
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
teachers refers to professor = 1; faculty employees refers to hasPosition = 'Faculty_eme'
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
courses refers to taughtBy.course_id; more than 4 people refers to count(taughtBy.p_id) > 4
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
harder undergraduate course refers to courseLevel = 'Level_400'; master/graduate courses refers to courseLevel = 'Level_500'; ID of professors refers to taughtBy.p_id
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
Advisor 5 refers to p_id_dummy = 5; are in the 5th year refers to yearsInProgram = 'Year_5'
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
professors refers to course.p_id; highest number of professional or master/undergraduate courses refers to max(count(course.course_id)) where courseLevel = 'Level_500'
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
students refers to advisedBy.p_id; advisor refers to p_id_dummy; average number = avg(count(advisedBy.p_id))
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
professors refers to taughtBy.p_id; course ID 18 refers to taughtBy.course_id
|
Calculate the percentage of high-level undergraduate course.
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
advisor with ID 5 refers to p_id_dummy = 5
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
teachers refers to p_id_dummy; have advised more than 4 others refers to count(advisedBy.p_id) > 4
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
professors refers to taughtBy.p_id; course ID 18 refers to taughtBy.course_id
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
harder undergraduate course refers to courseLevel = 'Level_400'; master/graduate courses refers to courseLevel = 'Level_500'; ID of professors refers to taughtBy.p_id
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
course IDs and levels refers to course.course_id and courseLevel; person IDs from 40 to 50 refers to taughtBy.p_id between 40 and 50
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
professors refers to professor = 1; students refers to student = 1; ratio = divide(count(person.p_id) when professor = 1, count(person.p_id) when student = 1)
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
professors who are faculty employees refers to professor = 1; faculty employees refers to hasPosition = 'Faculty_eme'
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
advisors refers to p_id_dummy; students in Year 3 of the program refers to yearsInProgram = 'Year_3'
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; courses refers to course.course_id
|
How many students that are undergoing the pre-phase of qualification have advisors?
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
professors refers to course.p_id; highest number of professional or master/undergraduate courses refers to max(count(course.course_id)) where courseLevel = 'Level_500'
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
IDs of the professors refers to taughtBy.p_id and professor = 1; teaches more than 3 courses refers to count(course_id) > 3
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
person ID refers to person.p_id; faculty professor refers to professor = 1 and hasPosition ! = 0
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
students refers to advisedBy.p_id; advisor refers to p_id_dummy; average number = avg(count(advisedBy.p_id))
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
course IDs and levels refers to course.course_id and courseLevel; person IDs from 40 to 50 refers to taughtBy.p_id between 40 and 50
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
teachers refers to p_id_dummy; have advised more than 4 others refers to count(advisedBy.p_id) > 4
|
What is the average number of professional or master/undergraduate courses being taught by each professor?
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
professor refers to taughtBy.p_id; least amount of courses refers to min(count(course_id))
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
teachers refers to professor = 1; faculty employees refers to hasPosition = 'Faculty_eme'
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
students refers to student = 1 and ; undergoing the phase of pre-qualification refers to inPhase = 'Pre-Quals'; have advisors refers to advisedBy.p_id
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
professor refers to professor = 1; member of faculty refers to hasPosition <> 0
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
professors refers to taughtBy.p_id; high-level or harder undergraduate courses refers to courseLevel = 'Level_400' ; no more than two refers to count(taughtBy.course_id) < = 2
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
professor refers to taughtBy.p_id; least amount of courses refers to min(count(course_id))
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
advised student IDs refers to person.p_id; IDs of employing professor in faculty refers to p_id_dummy and hasPosition = 'Faculty_eme'
|
What is the sum of year 1 and year 2 students?
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
course 165 refers to course_id = 165; professors refers to taughtBy.p_id
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
courses refers to taughtBy.course_id; more than 4 people refers to count(taughtBy.p_id) > 4
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
professor ID 297 refers to taughtBy.p_id = 297
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
professors refers to taughtBy.p_id; high-level or harder undergraduate courses refers to courseLevel = 'Level_400' ; no more than two refers to count(taughtBy.course_id) < = 2
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
Advisor 5 refers to p_id_dummy = 5; are in the 5th year refers to yearsInProgram = 'Year_5'
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
advisor IDs refers to p_id_dummy and person.p_id where professor = 1; eighth year of program refers to yearsInprogram = 'Year_8'; position status in faculty of those professors refers to hasPosition
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
IDs of the professors refers to taughtBy.p_id and professor = 1; teaches more than 3 courses refers to count(course_id) > 3
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
professor refers to taughtBy.p_id; least amount of courses refers to min(count(course_id))
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
teachers refers to p_id_dummy; have advised more than 4 others refers to count(advisedBy.p_id) > 4
|
Describe the course level and list of person IDs who taught course ID of 147.
|
person IDs refers to taughtBy.p_id; course ID of 147 refers to course.course_id = 147
|
professors refers to course.p_id; highest number of professional or master/undergraduate courses refers to max(count(course.course_id)) where courseLevel = 'Level_500'
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
advisors refers to p_id_dummy; students in Year 3 of the program refers to yearsInProgram = 'Year_3'
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
Advisor 5 refers to p_id_dummy = 5; are in the 5th year refers to yearsInProgram = 'Year_5'
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
professors refers to course.p_id; highest number of professional or master/undergraduate courses refers to max(count(course.course_id)) where courseLevel = 'Level_500'
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
member of the faculty refers to hasPosition <> 0, most courses refers to max(count(course.course_id))
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
harder undergraduate course refers to courseLevel = 'Level_400'; master/graduate courses refers to courseLevel = 'Level_500'; ID of professors refers to taughtBy.p_id
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
IDs of the advisors refers to p_id_dummy; in the 5th year of their program refers to yearsInProgram = 'Year_5'
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
courses refers to taughtBy.course_id; more than 4 people refers to count(taughtBy.p_id) > 4
|
Among the faculty affiliated professor, how many professors teaches professional or master/undergraduate courses?
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
courses refers to course_id; advisors refers to p_id_dummy and taughtBy.p_id; student with ID 376 refers to advisedBy.p_id = 376
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
member of the faculty refers to hasPosition <> 0, most courses refers to max(count(course.course_id))
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
professor ID refers to taughtBy.p_id; course ID from 121 to 130 of basic undergraduate courses refers to courseLevel = 'Level_300' and course.course_id between 121 and 130
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
professors refers to course.p_id; highest number of professional or master/undergraduate courses refers to max(count(course.course_id)) where courseLevel = 'Level_500'
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
year 1 and year 2 students refers to yearsInProgram = 'Year_1' and yearsInProgram = 'Year_2' and student = 1
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
advisor 415 refers to p_id_dummy = 415
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
basic or medium undergraduate courses refers to courseLevel = 'Level_300'; professor refers to professor = 1
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
courses refers to course_id; advisors refers to p_id_dummy and taughtBy.p_id; student with ID 376 refers to advisedBy.p_id = 376
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
professor ID 297 refers to taughtBy.p_id = 297
|
Please list the IDs of all the faculty employees who teaches a basic or medium undergraduate course.
|
faculty employees refers to hasPosition = 'Faculty_eme'; basic or medium undergraduate course refers to courseLevel = 'Level_300'
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
List the person IDs and course levels of the affiliated professors in faculty.
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
professional or master/undergraduate courses refers to courseLevel = 'Level_500'; average number = divide(count(taughtBy.course_id), count(taughtBy.p_id))
|
List the person IDs and course levels of the affiliated professors in faculty.
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
high-level undergraduate course refers to courseLevel = 'Level_400'; percentage = divide(count(course.course_id) when courseLevel = 'Level_400', count(course.course_id)) * 100%
|
List the person IDs and course levels of the affiliated professors in faculty.
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
professor refers to taughtBy.p_id; least amount of courses refers to min(count(course_id))
|
List the person IDs and course levels of the affiliated professors in faculty.
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
courses refers to course_id; advisors refers to p_id_dummy and taughtBy.p_id; student with ID 376 refers to advisedBy.p_id = 376
|
List the person IDs and course levels of the affiliated professors in faculty.
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
professors refers to taughtBy.p_id; basic or medium undergraduate courses refers to couresLevel = 'Level_300'
|
List the person IDs and course levels of the affiliated professors in faculty.
|
person IDs refers to person.p_id; affiliated professors in faculty refers to professor = 1 and hasPosition = 'Faculty_aff'
|
faculty affiliated professor refers to professor = 1 and hasPosition = 'Faculty_aff'; professional or master/undergraduate courses refers to courseLevel = 'Level_500'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.