db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
college_2 | Find the minimum salary for the departments whose average salary is above the average payment of all instructors. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : salary (number) , dept_name (text) | 0.956522 |
college_2 | What is the lowest salary in departments with average salary greater than the overall average. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : salary (number) , dept_name (text) | 0.956522 |
college_2 | Find the number of courses provided in each semester and year. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : semester (text) , year (number) , course_id (text) | 0.934783 |
college_2 | How many courses are provided in each semester and year? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : semester (text) , year (number) , course_id (text) | 0.934783 |
college_2 | Find the year which offers the largest number of courses. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : year (number) , course_id (text) | 0.956522 |
college_2 | Which year had the greatest number of courses? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : year (number) , course_id (text) | 0.956522 |
college_2 | Find the year and semester when offers the largest number of courses. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : semester (text) , year (number) , course_id (text) | 0.934783 |
college_2 | What is the year and semester with the most courses? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : semester (text) , year (number) , course_id (text) | 0.934783 |
college_2 | Find the name of department has the highest amount of students? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : dept_name (text) , id (text) | 0.956522 |
college_2 | What is the name of the deparment with the highest enrollment? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : dept_name (text) , id (text) | 0.956522 |
college_2 | Find the total number of students in each department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : dept_name (text) , id (text) | 0.956522 |
college_2 | How many students are in each department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : dept_name (text) , id (text) | 0.956522 |
college_2 | Find the semester and year which has the least number of student taking any class. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | takes : semester (text) , year (number) , id (text) | 0.934783 |
college_2 | Which semeseter and year had the fewest students? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | takes : semester (text) , year (number) , id (text) | 0.934783 |
college_2 | What is the id of the instructor who advises of all students from History department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | advisor : i_id (text) , s_id (text) | student : id (text) , dept_name (text) | 0.913043 |
college_2 | Give id of the instructor who advises students in the History department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | advisor : i_id (text) , s_id (text) | student : id (text) , dept_name (text) | 0.913043 |
college_2 | Find the name and salary of the instructors who are advisors of any student from History department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , id (text) , dept_name (text) | student : name (text) , id (text) , dept_name (text) | advisor : i_id (text) , s_id (text) | 0.804348 |
college_2 | What are the names and salaries of instructors who advises students in the History department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , id (text) , dept_name (text) | student : name (text) , id (text) , dept_name (text) | advisor : i_id (text) , s_id (text) | 0.804348 |
college_2 | Find the id of the courses that do not have any prerequisite? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : course_id (text) | prereq : course_id (text) | 0.956522 |
college_2 | What are the ids of courses without prerequisites? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : course_id (text) | prereq : course_id (text) | 0.956522 |
college_2 | Find the name of the courses that do not have any prerequisite? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | prereq : course_id (text) | 0.934783 |
college_2 | What are the names of courses without prerequisites? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | prereq : course_id (text) | 0.934783 |
college_2 | What is the title of the prerequisite class of International Finance course? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | prereq : course_id (text) , prereq_id (text) | 0.913043 |
college_2 | Give the title of the prerequisite to the course International Finance. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | prereq : course_id (text) , prereq_id (text) | 0.913043 |
college_2 | Find the title of course whose prerequisite is course Differential Geometry. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | prereq : course_id (text) , prereq_id (text) | 0.913043 |
college_2 | What is the title of the course with Differential Geometry as a prerequisite? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | prereq : course_id (text) , prereq_id (text) | 0.913043 |
college_2 | Find the names of students who have taken any course in the fall semester of year 2003. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : name (text) , id (text) | takes : id (text) , semester (text) , year (number) | 0.891304 |
college_2 | What are the names of students who took a course in the Fall of 2003? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : name (text) , id (text) | takes : id (text) , semester (text) , year (number) | 0.891304 |
college_2 | What is the title of the course that was offered at building Chandler during the fall semester in the year of 2010? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | section : course_id (text) , building (text) , semester (text) , year (number) | 0.869565 |
college_2 | Give the title of the course offered in Chandler during the Fall of 2010. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | section : course_id (text) , building (text) , semester (text) , year (number) | 0.869565 |
college_2 | Find the name of the instructors who taught C Programming course before. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | teaches : id (text) , course_id (text) | course : course_id (text) , title (text) | 0.869565 |
college_2 | What are the names of instructors who have taught C Programming courses? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | teaches : id (text) , course_id (text) | course : course_id (text) , title (text) | 0.869565 |
college_2 | Find the name and salary of instructors who are advisors of the students from the Math department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , id (text) , dept_name (text) | student : name (text) , id (text) , dept_name (text) | advisor : i_id (text) , s_id (text) | 0.804348 |
college_2 | What are the names and salaries of instructors who advise students in the Math department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , id (text) , dept_name (text) | student : name (text) , id (text) , dept_name (text) | advisor : i_id (text) , s_id (text) | 0.804348 |
college_2 | Find the name of instructors who are advisors of the students from the Math department, and sort the results by students' total credit. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) , dept_name (text) | student : name (text) , id (text) , dept_name (text) , tot_cred (number) | advisor : i_id (text) , s_id (text) | 0.804348 |
college_2 | What are the names of all instructors who advise students in the math depart sorted by total credits of the student. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) , dept_name (text) | student : name (text) , id (text) , dept_name (text) , tot_cred (number) | advisor : i_id (text) , s_id (text) | 0.804348 |
college_2 | What is the course title of the prerequisite of course Mobile Computing? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | prereq : course_id (text) , prereq_id (text) | 0.913043 |
college_2 | What is the title of the course that is a prerequisite for Mobile Computing? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , course_id (text) | prereq : course_id (text) , prereq_id (text) | 0.913043 |
college_2 | Find the name of instructor who is the advisor of the student who has the highest number of total credits. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | student : name (text) , id (text) , tot_cred (number) | advisor : i_id (text) , s_id (text) | 0.847826 |
college_2 | What is the name of the instructor who advises the student with the greatest number of total credits? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | student : name (text) , id (text) , tot_cred (number) | advisor : i_id (text) , s_id (text) | 0.847826 |
college_2 | Find the name of instructors who didn't teach any courses? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | teaches : id (text) | 0.934783 |
college_2 | What are the names of instructors who didn't teach? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | teaches : id (text) | 0.934783 |
college_2 | Find the id of instructors who didn't teach any courses? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : id (text) | teaches : id (text) | 0.956522 |
college_2 | What are the ids of instructors who didnt' teach? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : id (text) | teaches : id (text) | 0.956522 |
college_2 | Find the names of instructors who didn't each any courses in any Spring semester. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | teaches : id (text) , semester (text) | 0.913043 |
college_2 | What are the names of instructors who didn't teach courses in the Spring? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | teaches : id (text) , semester (text) | 0.913043 |
college_2 | Find the name of the department which has the highest average salary of professors. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : dept_name (text) , salary (number) | 0.956522 |
college_2 | Which department has the highest average instructor salary? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : dept_name (text) , salary (number) | 0.956522 |
college_2 | Find the number and averaged salary of all instructors who are in the department with the highest budget. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : salary (number) , dept_name (text) , id (text) | department : dept_name (text) , budget (number) | 0.891304 |
college_2 | How many instructors are in the department with the highest budget, and what is their average salary? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : salary (number) , dept_name (text) , id (text) | department : dept_name (text) , budget (number) | 0.891304 |
college_2 | What is the title and credits of the course that is taught in the largest classroom (with the highest capacity)? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , credits (number) , course_id (text) | classroom : building (text) , room_number (text) , capacity (number) | section : building (text) , room_number (text) , course_id (text) | 0.804348 |
college_2 | Give the title and credits for the course that is taught in the classroom with the greatest capacity. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | course : title (text) , credits (number) , course_id (text) | classroom : building (text) , room_number (text) , capacity (number) | section : building (text) , room_number (text) , course_id (text) | 0.804348 |
college_2 | Find the name of students who didn't take any course from Biology department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : name (text) , id (text) , dept_name (text) | takes : id (text) , course_id (text) | course : course_id (text) , dept_name (text) | 0.847826 |
college_2 | What are the names of students who haven't taken any Biology courses? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : name (text) , id (text) , dept_name (text) | takes : id (text) , course_id (text) | course : course_id (text) , dept_name (text) | 0.847826 |
college_2 | Find the total number of students and total number of instructors for each department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : id (text) , dept_name (text) | student : id (text) , dept_name (text) | department : dept_name (text) | 0.891304 |
college_2 | How many students and instructors are in each department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : id (text) , dept_name (text) | student : id (text) , dept_name (text) | department : dept_name (text) | 0.891304 |
college_2 | Find the name of students who have taken the prerequisite course of the course with title International Finance. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : name (text) , id (text) | takes : id (text) , course_id (text) | course : course_id (text) , title (text) | prereq : course_id (text) , prereq_id (text) | 0.826087 |
college_2 | What are the names of students who have taken the prerequisite for the course International Finance? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : name (text) , id (text) | takes : id (text) , course_id (text) | course : course_id (text) , title (text) | prereq : course_id (text) , prereq_id (text) | 0.826087 |
college_2 | Find the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , dept_name (text) | 0.934783 |
college_2 | What are the names and salaries for instructors who earn less than the average salary of instructors in the Physics department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , dept_name (text) | 0.934783 |
college_2 | Find the name of students who took some course offered by Statistics department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : name (text) , id (text) , dept_name (text) | course : course_id (text) , dept_name (text) | takes : course_id (text) , id (text) | 0.847826 |
college_2 | What are the names of students who have taken Statistics courses? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | student : name (text) , id (text) , dept_name (text) | course : course_id (text) , dept_name (text) | takes : course_id (text) , id (text) | 0.847826 |
college_2 | Find the building, room number, semester and year of all courses offered by Psychology department sorted by course titles. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : building (text) , room_number (text) , semester (text) , year (number) , course_id (text) | course : course_id (text) , dept_name (text) , title (text) | 0.826087 |
college_2 | What are the building, room number, semester and year of courses in the Psychology department, sorted using course title? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : building (text) , room_number (text) , semester (text) , year (number) , course_id (text) | course : course_id (text) , dept_name (text) , title (text) | 0.826087 |
college_2 | Find the names of all instructors in computer science department | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , dept_name (text) | 0.956522 |
college_2 | What are the names of all instructors in the Comp. Sci. department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , dept_name (text) | 0.956522 |
college_2 | Find the names of all instructors in Comp. Sci. department with salary > 80000. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , dept_name (text) , salary (number) | 0.934783 |
college_2 | What are the names of the instructors in the Comp. Sci. department who earn more than 80000? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , dept_name (text) , salary (number) | 0.934783 |
college_2 | Find the names of all instructors who have taught some course and the course_id. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | teaches : course_id (text) , id (text) | 0.913043 |
college_2 | What are the names of all instructors who have taught a course, as well as the corresponding course id? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) | teaches : course_id (text) , id (text) | 0.913043 |
college_2 | Find the names of all instructors in the Art department who have taught some course and the course_id. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) , dept_name (text) | teaches : course_id (text) , id (text) | 0.891304 |
college_2 | What are the names of Art instructors who have taught a course, and the corresponding course id? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , id (text) , dept_name (text) | teaches : course_id (text) , id (text) | 0.891304 |
college_2 | Find the names of all instructors whose name includes the substring “dar”. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) | 0.978261 |
college_2 | What are the names of all instructors with names that include "dar"? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) | 0.978261 |
college_2 | List in alphabetic order the names of all distinct instructors. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) | 0.978261 |
college_2 | List the distinct names of the instructors, ordered by name. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) | 0.978261 |
college_2 | Find courses that ran in Fall 2009 or in Spring 2010. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : course_id (text) , semester (text) , year (number) | 0.934783 |
college_2 | What are the ids for courses in the Fall of 2009 or the Spring of 2010? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : course_id (text) , semester (text) , year (number) | 0.934783 |
college_2 | Find courses that ran in Fall 2009 and in Spring 2010. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : course_id (text) , semester (text) , year (number) | 0.934783 |
college_2 | What are the ids for courses that were offered in both Fall of 2009 and Spring of 2010? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : course_id (text) , semester (text) , year (number) | 0.934783 |
college_2 | Find courses that ran in Fall 2009 but not in Spring 2010. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : course_id (text) , semester (text) , year (number) | 0.934783 |
college_2 | What are the ids of courses offered in Fall of 2009 but not in Spring of 2010? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | section : course_id (text) , semester (text) , year (number) | 0.934783 |
college_2 | Find the salaries of all distinct instructors that are less than the largest salary. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : salary (number) | 0.978261 |
college_2 | What are the distinct salaries of all instructors who earned less than the maximum salary? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : salary (number) | 0.978261 |
college_2 | Find the total number of instructors who teach a course in the Spring 2010 semester. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | teaches : id (text) , semester (text) , year (number) | 0.934783 |
college_2 | How many instructors teach a course in the Spring of 2010? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | teaches : id (text) , semester (text) , year (number) | 0.934783 |
college_2 | Find the names and average salaries of all departments whose average salary is greater than 42000. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : dept_name (text) , salary (number) | 0.956522 |
college_2 | What are the names and average salaries for departments with average salary higher than 42000? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : dept_name (text) , salary (number) | 0.956522 |
college_2 | Find names of instructors with salary greater than that of some (at least one) instructor in the Biology department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , dept_name (text) | 0.934783 |
college_2 | What are the names of instructors who earn more than at least one instructor from the Biology department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , dept_name (text) | 0.934783 |
college_2 | Find the names of all instructors whose salary is greater than the salary of all instructors in the Biology department. | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , dept_name (text) | 0.934783 |
college_2 | What are the names of all instructors with a higher salary than any of the instructors in the Biology department? | classroom : building (text) , room_number (text) , capacity (number) | department : dept_name (text) , building (text) , budget (number) | course : course_id (text) , title (text) , dept_name (text) , credits (number) | instructor : id (text) , name (text) , dept_name (text) , salary (number) | section : course_id (text) , sec_id (text) , semester (text) , year (number) , building (text) , room_number (text) , time_slot_id (text) | teaches : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) | student : id (text) , name (text) , dept_name (text) , tot_cred (number) | takes : id (text) , course_id (text) , sec_id (text) , semester (text) , year (number) , grade (text) | advisor : s_id (text) , i_id (text) | time_slot : time_slot_id (text) , day (text) , start_hr (number) , start_min (number) , end_hr (number) , end_min (number) | prereq : course_id (text) , prereq_id (text) | instructor : name (text) , salary (number) , dept_name (text) | 0.934783 |
debate | How many debates are there? | people : people_id (number) , district (text) , name (text) , party (text) , age (number) | debate : debate_id (number) , date (text) , venue (text) , num_of_audience (number) | debate_people : debate_id (number) , affirmative (number) , negative (number) , if_affirmative_win (others) | debate : debate_id (number) | 0.923077 |
debate | List the venues of debates in ascending order of the number of audience. | people : people_id (number) , district (text) , name (text) , party (text) , age (number) | debate : debate_id (number) , date (text) , venue (text) , num_of_audience (number) | debate_people : debate_id (number) , affirmative (number) , negative (number) , if_affirmative_win (others) | debate : venue (text) , num_of_audience (number) | 0.846154 |
debate | What are the date and venue of each debate? | people : people_id (number) , district (text) , name (text) , party (text) , age (number) | debate : debate_id (number) , date (text) , venue (text) , num_of_audience (number) | debate_people : debate_id (number) , affirmative (number) , negative (number) , if_affirmative_win (others) | debate : date (text) , venue (text) | 0.846154 |
debate | List the dates of debates with number of audience bigger than 150 | people : people_id (number) , district (text) , name (text) , party (text) , age (number) | debate : debate_id (number) , date (text) , venue (text) , num_of_audience (number) | debate_people : debate_id (number) , affirmative (number) , negative (number) , if_affirmative_win (others) | debate : date (text) , num_of_audience (number) | 0.846154 |
debate | Show the names of people aged either 35 or 36. | people : people_id (number) , district (text) , name (text) , party (text) , age (number) | debate : debate_id (number) , date (text) , venue (text) , num_of_audience (number) | debate_people : debate_id (number) , affirmative (number) , negative (number) , if_affirmative_win (others) | people : name (text) , age (number) | 0.846154 |
debate | What is the party of the youngest people? | people : people_id (number) , district (text) , name (text) , party (text) , age (number) | debate : debate_id (number) , date (text) , venue (text) , num_of_audience (number) | debate_people : debate_id (number) , affirmative (number) , negative (number) , if_affirmative_win (others) | people : party (text) , age (number) | 0.846154 |
debate | Show different parties of people along with the number of people in each party. | people : people_id (number) , district (text) , name (text) , party (text) , age (number) | debate : debate_id (number) , date (text) , venue (text) , num_of_audience (number) | debate_people : debate_id (number) , affirmative (number) , negative (number) , if_affirmative_win (others) | people : party (text) , people_id (number) | 0.846154 |
debate | Show the party that has the most people. | people : people_id (number) , district (text) , name (text) , party (text) , age (number) | debate : debate_id (number) , date (text) , venue (text) , num_of_audience (number) | debate_people : debate_id (number) , affirmative (number) , negative (number) , if_affirmative_win (others) | people : party (text) , people_id (number) | 0.846154 |