db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
soccer_1 | List the names of all left-footed players who have overall rating between 85 and 90. | player_attributes : id (number) , player_fifa_api_id (number) , player_api_id (number) , date (text) , overall_rating (number) , potential (number) , preferred_foot (text) , attacking_work_rate (text) , defensive_work_rate (text) , crossing (number) , finishing (number) , heading_accuracy (number) , short_passing (number) , volleys (number) , dribbling (number) , curve (number) , free_kick_accuracy (number) , long_passing (number) , ball_control (number) , acceleration (number) , sprint_speed (number) , agility (number) , reactions (number) , balance (number) , shot_power (number) , jumping (number) , stamina (number) , strength (number) , long_shots (number) , aggression (number) , interceptions (number) , positioning (number) , vision (number) , penalties (number) , marking (number) , standing_tackle (number) , sliding_tackle (number) , gk_diving (number) , gk_handling (number) , gk_kicking (number) , gk_positioning (number) , gk_reflexes (number) | sqlite_sequence : name (text) , seq (text) | player : id (number) , player_api_id (number) , player_name (text) , player_fifa_api_id (number) , birthday (text) , height (number) , weight (number) | league : id (number) , country_id (number) , name (text) | country : id (number) , name (text) | team : id (number) , team_api_id (number) , team_fifa_api_id (number) , team_long_name (text) , team_short_name (text) | team_attributes : id (number) , team_fifa_api_id (number) , team_api_id (number) , date (text) , buildupplayspeed (number) , buildupplayspeedclass (text) , buildupplaydribbling (number) , buildupplaydribblingclass (text) , buildupplaypassing (number) , buildupplaypassingclass (text) , buildupplaypositioningclass (text) , chancecreationpassing (number) , chancecreationpassingclass (text) , chancecreationcrossing (number) , chancecreationcrossingclass (text) , chancecreationshooting (number) , chancecreationshootingclass (text) , chancecreationpositioningclass (text) , defencepressure (number) , defencepressureclass (text) , defenceaggression (number) , defenceaggressionclass (text) , defenceteamwidth (number) , defenceteamwidthclass (text) , defencedefenderlineclass (text) | player : player_name (text) , player_api_id (number) | player_attributes : player_api_id (number) , preferred_foot (text) , overall_rating (number) | 0.94186 |
soccer_1 | What is the average rating for right-footed players and left-footed players? | player_attributes : id (number) , player_fifa_api_id (number) , player_api_id (number) , date (text) , overall_rating (number) , potential (number) , preferred_foot (text) , attacking_work_rate (text) , defensive_work_rate (text) , crossing (number) , finishing (number) , heading_accuracy (number) , short_passing (number) , volleys (number) , dribbling (number) , curve (number) , free_kick_accuracy (number) , long_passing (number) , ball_control (number) , acceleration (number) , sprint_speed (number) , agility (number) , reactions (number) , balance (number) , shot_power (number) , jumping (number) , stamina (number) , strength (number) , long_shots (number) , aggression (number) , interceptions (number) , positioning (number) , vision (number) , penalties (number) , marking (number) , standing_tackle (number) , sliding_tackle (number) , gk_diving (number) , gk_handling (number) , gk_kicking (number) , gk_positioning (number) , gk_reflexes (number) | sqlite_sequence : name (text) , seq (text) | player : id (number) , player_api_id (number) , player_name (text) , player_fifa_api_id (number) , birthday (text) , height (number) , weight (number) | league : id (number) , country_id (number) , name (text) | country : id (number) , name (text) | team : id (number) , team_api_id (number) , team_fifa_api_id (number) , team_long_name (text) , team_short_name (text) | team_attributes : id (number) , team_fifa_api_id (number) , team_api_id (number) , date (text) , buildupplayspeed (number) , buildupplayspeedclass (text) , buildupplaydribbling (number) , buildupplaydribblingclass (text) , buildupplaypassing (number) , buildupplaypassingclass (text) , buildupplaypositioningclass (text) , chancecreationpassing (number) , chancecreationpassingclass (text) , chancecreationcrossing (number) , chancecreationcrossingclass (text) , chancecreationshooting (number) , chancecreationshootingclass (text) , chancecreationpositioningclass (text) , defencepressure (number) , defencepressureclass (text) , defenceaggression (number) , defenceaggressionclass (text) , defenceteamwidth (number) , defenceteamwidthclass (text) , defencedefenderlineclass (text) | player_attributes : preferred_foot (text) , overall_rating (number) | 0.976744 |
soccer_1 | Of all players with an overall rating greater than 80, how many are right-footed and left-footed? | player_attributes : id (number) , player_fifa_api_id (number) , player_api_id (number) , date (text) , overall_rating (number) , potential (number) , preferred_foot (text) , attacking_work_rate (text) , defensive_work_rate (text) , crossing (number) , finishing (number) , heading_accuracy (number) , short_passing (number) , volleys (number) , dribbling (number) , curve (number) , free_kick_accuracy (number) , long_passing (number) , ball_control (number) , acceleration (number) , sprint_speed (number) , agility (number) , reactions (number) , balance (number) , shot_power (number) , jumping (number) , stamina (number) , strength (number) , long_shots (number) , aggression (number) , interceptions (number) , positioning (number) , vision (number) , penalties (number) , marking (number) , standing_tackle (number) , sliding_tackle (number) , gk_diving (number) , gk_handling (number) , gk_kicking (number) , gk_positioning (number) , gk_reflexes (number) | sqlite_sequence : name (text) , seq (text) | player : id (number) , player_api_id (number) , player_name (text) , player_fifa_api_id (number) , birthday (text) , height (number) , weight (number) | league : id (number) , country_id (number) , name (text) | country : id (number) , name (text) | team : id (number) , team_api_id (number) , team_fifa_api_id (number) , team_long_name (text) , team_short_name (text) | team_attributes : id (number) , team_fifa_api_id (number) , team_api_id (number) , date (text) , buildupplayspeed (number) , buildupplayspeedclass (text) , buildupplaydribbling (number) , buildupplaydribblingclass (text) , buildupplaypassing (number) , buildupplaypassingclass (text) , buildupplaypositioningclass (text) , chancecreationpassing (number) , chancecreationpassingclass (text) , chancecreationcrossing (number) , chancecreationcrossingclass (text) , chancecreationshooting (number) , chancecreationshootingclass (text) , chancecreationpositioningclass (text) , defencepressure (number) , defencepressureclass (text) , defenceaggression (number) , defenceaggressionclass (text) , defenceteamwidth (number) , defenceteamwidthclass (text) , defencedefenderlineclass (text) | player_attributes : preferred_foot (text) , overall_rating (number) , id (number) | 0.965116 |
soccer_1 | List all of the player ids with a height of at least 180cm and an overall rating higher than 85. | player_attributes : id (number) , player_fifa_api_id (number) , player_api_id (number) , date (text) , overall_rating (number) , potential (number) , preferred_foot (text) , attacking_work_rate (text) , defensive_work_rate (text) , crossing (number) , finishing (number) , heading_accuracy (number) , short_passing (number) , volleys (number) , dribbling (number) , curve (number) , free_kick_accuracy (number) , long_passing (number) , ball_control (number) , acceleration (number) , sprint_speed (number) , agility (number) , reactions (number) , balance (number) , shot_power (number) , jumping (number) , stamina (number) , strength (number) , long_shots (number) , aggression (number) , interceptions (number) , positioning (number) , vision (number) , penalties (number) , marking (number) , standing_tackle (number) , sliding_tackle (number) , gk_diving (number) , gk_handling (number) , gk_kicking (number) , gk_positioning (number) , gk_reflexes (number) | sqlite_sequence : name (text) , seq (text) | player : id (number) , player_api_id (number) , player_name (text) , player_fifa_api_id (number) , birthday (text) , height (number) , weight (number) | league : id (number) , country_id (number) , name (text) | country : id (number) , name (text) | team : id (number) , team_api_id (number) , team_fifa_api_id (number) , team_long_name (text) , team_short_name (text) | team_attributes : id (number) , team_fifa_api_id (number) , team_api_id (number) , date (text) , buildupplayspeed (number) , buildupplayspeedclass (text) , buildupplaydribbling (number) , buildupplaydribblingclass (text) , buildupplaypassing (number) , buildupplaypassingclass (text) , buildupplaypositioningclass (text) , chancecreationpassing (number) , chancecreationpassingclass (text) , chancecreationcrossing (number) , chancecreationcrossingclass (text) , chancecreationshooting (number) , chancecreationshootingclass (text) , chancecreationpositioningclass (text) , defencepressure (number) , defencepressureclass (text) , defenceaggression (number) , defenceaggressionclass (text) , defenceteamwidth (number) , defenceteamwidthclass (text) , defencedefenderlineclass (text) | player_attributes : player_api_id (number) , overall_rating (number) | player : player_api_id (number) , height (number) | 0.953488 |
soccer_1 | List all of the ids for left-footed players with a height between 180cm and 190cm. | player_attributes : id (number) , player_fifa_api_id (number) , player_api_id (number) , date (text) , overall_rating (number) , potential (number) , preferred_foot (text) , attacking_work_rate (text) , defensive_work_rate (text) , crossing (number) , finishing (number) , heading_accuracy (number) , short_passing (number) , volleys (number) , dribbling (number) , curve (number) , free_kick_accuracy (number) , long_passing (number) , ball_control (number) , acceleration (number) , sprint_speed (number) , agility (number) , reactions (number) , balance (number) , shot_power (number) , jumping (number) , stamina (number) , strength (number) , long_shots (number) , aggression (number) , interceptions (number) , positioning (number) , vision (number) , penalties (number) , marking (number) , standing_tackle (number) , sliding_tackle (number) , gk_diving (number) , gk_handling (number) , gk_kicking (number) , gk_positioning (number) , gk_reflexes (number) | sqlite_sequence : name (text) , seq (text) | player : id (number) , player_api_id (number) , player_name (text) , player_fifa_api_id (number) , birthday (text) , height (number) , weight (number) | league : id (number) , country_id (number) , name (text) | country : id (number) , name (text) | team : id (number) , team_api_id (number) , team_fifa_api_id (number) , team_long_name (text) , team_short_name (text) | team_attributes : id (number) , team_fifa_api_id (number) , team_api_id (number) , date (text) , buildupplayspeed (number) , buildupplayspeedclass (text) , buildupplaydribbling (number) , buildupplaydribblingclass (text) , buildupplaypassing (number) , buildupplaypassingclass (text) , buildupplaypositioningclass (text) , chancecreationpassing (number) , chancecreationpassingclass (text) , chancecreationcrossing (number) , chancecreationcrossingclass (text) , chancecreationshooting (number) , chancecreationshootingclass (text) , chancecreationpositioningclass (text) , defencepressure (number) , defencepressureclass (text) , defenceaggression (number) , defenceaggressionclass (text) , defenceteamwidth (number) , defenceteamwidthclass (text) , defencedefenderlineclass (text) | player_attributes : player_api_id (number) , preferred_foot (text) | player : player_api_id (number) , height (number) | 0.953488 |
soccer_1 | Who are the top 3 players in terms of overall rating? | player_attributes : id (number) , player_fifa_api_id (number) , player_api_id (number) , date (text) , overall_rating (number) , potential (number) , preferred_foot (text) , attacking_work_rate (text) , defensive_work_rate (text) , crossing (number) , finishing (number) , heading_accuracy (number) , short_passing (number) , volleys (number) , dribbling (number) , curve (number) , free_kick_accuracy (number) , long_passing (number) , ball_control (number) , acceleration (number) , sprint_speed (number) , agility (number) , reactions (number) , balance (number) , shot_power (number) , jumping (number) , stamina (number) , strength (number) , long_shots (number) , aggression (number) , interceptions (number) , positioning (number) , vision (number) , penalties (number) , marking (number) , standing_tackle (number) , sliding_tackle (number) , gk_diving (number) , gk_handling (number) , gk_kicking (number) , gk_positioning (number) , gk_reflexes (number) | sqlite_sequence : name (text) , seq (text) | player : id (number) , player_api_id (number) , player_name (text) , player_fifa_api_id (number) , birthday (text) , height (number) , weight (number) | league : id (number) , country_id (number) , name (text) | country : id (number) , name (text) | team : id (number) , team_api_id (number) , team_fifa_api_id (number) , team_long_name (text) , team_short_name (text) | team_attributes : id (number) , team_fifa_api_id (number) , team_api_id (number) , date (text) , buildupplayspeed (number) , buildupplayspeedclass (text) , buildupplaydribbling (number) , buildupplaydribblingclass (text) , buildupplaypassing (number) , buildupplaypassingclass (text) , buildupplaypositioningclass (text) , chancecreationpassing (number) , chancecreationpassingclass (text) , chancecreationcrossing (number) , chancecreationcrossingclass (text) , chancecreationshooting (number) , chancecreationshootingclass (text) , chancecreationpositioningclass (text) , defencepressure (number) , defencepressureclass (text) , defenceaggression (number) , defenceaggressionclass (text) , defenceteamwidth (number) , defenceteamwidthclass (text) , defencedefenderlineclass (text) | player : player_name (text) , player_api_id (number) | player_attributes : player_api_id (number) , overall_rating (number) | 0.953488 |
soccer_1 | List the names and birthdays of the top five players in terms of potential. | player_attributes : id (number) , player_fifa_api_id (number) , player_api_id (number) , date (text) , overall_rating (number) , potential (number) , preferred_foot (text) , attacking_work_rate (text) , defensive_work_rate (text) , crossing (number) , finishing (number) , heading_accuracy (number) , short_passing (number) , volleys (number) , dribbling (number) , curve (number) , free_kick_accuracy (number) , long_passing (number) , ball_control (number) , acceleration (number) , sprint_speed (number) , agility (number) , reactions (number) , balance (number) , shot_power (number) , jumping (number) , stamina (number) , strength (number) , long_shots (number) , aggression (number) , interceptions (number) , positioning (number) , vision (number) , penalties (number) , marking (number) , standing_tackle (number) , sliding_tackle (number) , gk_diving (number) , gk_handling (number) , gk_kicking (number) , gk_positioning (number) , gk_reflexes (number) | sqlite_sequence : name (text) , seq (text) | player : id (number) , player_api_id (number) , player_name (text) , player_fifa_api_id (number) , birthday (text) , height (number) , weight (number) | league : id (number) , country_id (number) , name (text) | country : id (number) , name (text) | team : id (number) , team_api_id (number) , team_fifa_api_id (number) , team_long_name (text) , team_short_name (text) | team_attributes : id (number) , team_fifa_api_id (number) , team_api_id (number) , date (text) , buildupplayspeed (number) , buildupplayspeedclass (text) , buildupplaydribbling (number) , buildupplaydribblingclass (text) , buildupplaypassing (number) , buildupplaypassingclass (text) , buildupplaypositioningclass (text) , chancecreationpassing (number) , chancecreationpassingclass (text) , chancecreationcrossing (number) , chancecreationcrossingclass (text) , chancecreationshooting (number) , chancecreationshootingclass (text) , chancecreationpositioningclass (text) , defencepressure (number) , defencepressureclass (text) , defenceaggression (number) , defenceaggressionclass (text) , defenceteamwidth (number) , defenceteamwidthclass (text) , defencedefenderlineclass (text) | player : player_name (text) , birthday (text) , player_api_id (number) | player_attributes : player_api_id (number) , potential (number) | 0.94186 |
performance_attendance | How many performances are there? | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : performance_id (number) | 0.916667 |
performance_attendance | List the hosts of performances in ascending order of attendance. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : host (text) , attendance (number) | 0.833333 |
performance_attendance | What are the dates and locations of performances? | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : date (text) , location (text) | 0.833333 |
performance_attendance | Show the attendances of the performances at location "TD Garden" or "Bell Centre" | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : attendance (number) , location (text) | 0.833333 |
performance_attendance | What is the average number of attendees for performances? | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : attendance (number) | 0.916667 |
performance_attendance | What is the date of the performance with the highest number of attendees? | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : date (text) , attendance (number) | 0.833333 |
performance_attendance | Show different locations and the number of performances at each location. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : location (text) , performance_id (number) | 0.833333 |
performance_attendance | Show the most common location of performances. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : location (text) , performance_id (number) | 0.833333 |
performance_attendance | Show the locations that have at least two performances. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : location (text) , performance_id (number) | 0.833333 |
performance_attendance | Show the locations that have both performances with more than 2000 attendees and performances with less than 1000 attendees. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : location (text) , attendance (number) | 0.833333 |
performance_attendance | Show the names of members and the location of the performances they attended. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | member : name (text) , member_id (text) | performance : location (text) , performance_id (number) | member_attendance : member_id (number) , performance_id (number) | 0.5 |
performance_attendance | Show the names of members and the location of performances they attended in ascending alphabetical order of their names. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | member : name (text) , member_id (text) | performance : location (text) , performance_id (number) | member_attendance : member_id (number) , performance_id (number) | 0.5 |
performance_attendance | Show the dates of performances with attending members whose roles are "Violin". | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | performance : date (text) , performance_id (number) | member : member_id (text) , role (text) | member_attendance : member_id (number) , performance_id (number) | 0.5 |
performance_attendance | Show the names of members and the dates of performances they attended in descending order of attendance of the performances. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | member : name (text) , member_id (text) | performance : date (text) , performance_id (number) , attendance (number) | member_attendance : member_id (number) , performance_id (number) | 0.416667 |
performance_attendance | List the names of members who did not attend any performance. | member : member_id (text) , name (text) , nationality (text) , role (text) | performance : performance_id (number) , date (text) , host (text) , location (text) , attendance (number) | member_attendance : member_id (number) , performance_id (number) , num_of_pieces (number) | member : name (text) , member_id (text) | member_attendance : member_id (number) | 0.75 |
college_2 | Find the buildings which have rooms with capacity more than 50. | 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) | classroom : building (text) , capacity (number) | 0.956522 |
college_2 | What are the distinct buildings with capacities of greater than 50? | 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) | classroom : building (text) , capacity (number) | 0.956522 |
college_2 | Count the number of rooms that are not in the Lamberton building. | 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) | classroom : building (text) | 0.978261 |
college_2 | How many classrooms are not in Lamberton? | 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) | classroom : building (text) | 0.978261 |
college_2 | What is the name and building of the departments whose budget is more than the average 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) | department : dept_name (text) , building (text) , budget (number) | 0.934783 |
college_2 | Give the name and building of the departments with greater than average 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) | department : dept_name (text) , building (text) , budget (number) | 0.934783 |
college_2 | Find the room number of the rooms which can sit 50 to 100 students and their buildings. | 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) | classroom : building (text) , room_number (text) , capacity (number) | 0.934783 |
college_2 | What are the room numbers and corresponding buildings for classrooms which can seat between 50 to 100 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) | classroom : building (text) , room_number (text) , capacity (number) | 0.934783 |
college_2 | Find the name and building of 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) | department : dept_name (text) , building (text) , budget (number) | 0.934783 |
college_2 | What is the department name and corresponding building for the department with the greatest 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) | department : dept_name (text) , building (text) , budget (number) | 0.934783 |
college_2 | What is the name of the student who has the highest total credits 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) | student : name (text) , dept_name (text) , tot_cred (number) | 0.934783 |
college_2 | Give the name of the student in the History department with the most 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) | student : name (text) , dept_name (text) , tot_cred (number) | 0.934783 |
college_2 | How many rooms does the Lamberton building have? | 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) | classroom : building (text) | 0.978261 |
college_2 | Count the number of classrooms in Lamberton. | 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) | classroom : building (text) | 0.978261 |
college_2 | How many students have advisors? | 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 : s_id (text) | 0.978261 |
college_2 | Count the number of students who have advisors. | 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 : s_id (text) | 0.978261 |
college_2 | How many departments offer 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) | course : dept_name (text) | 0.978261 |
college_2 | Count the number of departments which offer 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) | course : dept_name (text) | 0.978261 |
college_2 | How many different courses offered by 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) | course : course_id (text) , dept_name (text) | 0.956522 |
college_2 | Count the number of courses 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) | course : course_id (text) , dept_name (text) | 0.956522 |
college_2 | Find the title of courses that have two 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 are the titles for courses with two 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 | Find the title, credit, and department name of courses that have more than one 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) , credits (number) , dept_name (text) , course_id (text) | prereq : course_id (text) | 0.891304 |
college_2 | What is the title, credit value, and department name for courses with more than one 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) , credits (number) , dept_name (text) , course_id (text) | prereq : course_id (text) | 0.891304 |
college_2 | How many courses that do not have 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 | Count the number 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 titles 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 | How many different instructors have taught some 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) | teaches : id (text) | 0.978261 |
college_2 | Count the number of distinct instructors who have taught a 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) | teaches : id (text) | 0.978261 |
college_2 | Find the total budgets of the Marketing or Finance 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) | department : budget (number) , dept_name (text) | 0.956522 |
college_2 | What is the sum of budgets of the Marketing and Finance departments? | 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) | department : budget (number) , dept_name (text) | 0.956522 |
college_2 | Find the department name of the instructor whose name contains 'Soisalon'. | 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) , name (text) | 0.956522 |
college_2 | What is the name of the department with an instructure who has a name like 'Soisalon'? | 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) , name (text) | 0.956522 |
college_2 | How many rooms whose capacity is less than 50 does the Lamberton building have? | 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) | classroom : building (text) , capacity (number) | 0.956522 |
college_2 | Count the number of rooms in Lamberton with capacity lower than 50. | 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) | classroom : building (text) , capacity (number) | 0.956522 |
college_2 | Find the name and budget of departments whose budgets are more than the average 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) | department : dept_name (text) , budget (number) | 0.956522 |
college_2 | What are the names and budgets of departments with budgets greater than the 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) | department : dept_name (text) , budget (number) | 0.956522 |
college_2 | what is the name of the instructor who is in Statistics department and earns the lowest 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 : name (text) , dept_name (text) , salary (number) | 0.934783 |
college_2 | Give the name of the lowest earning instructor in the 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) | instructor : name (text) , dept_name (text) , salary (number) | 0.934783 |
college_2 | Find the title of course that is provided by both Statistics and Psychology departments. | 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) , dept_name (text) | 0.956522 |
college_2 | What is the title of a course that is listed in both the Statistics and Psychology departments? | 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) , dept_name (text) | 0.956522 |
college_2 | Find the title of course that is provided by Statistics but not Psychology departments. | 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) , dept_name (text) | 0.956522 |
college_2 | What are the titles of courses that are in the Statistics department but not the Psychology 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) | course : title (text) , dept_name (text) | 0.956522 |
college_2 | Find the id of instructors who taught a class 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) | teaches : id (text) , semester (text) , year (number) | 0.934783 |
college_2 | What are the ids of instructors who taught in the Fall of 2009 but not 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 name of students who took any class in the years of 2009 and 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) | student : name (text) , id (text) | takes : id (text) , year (number) | 0.913043 |
college_2 | What are the names of the students who took classes in 2009 or 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) | student : name (text) , id (text) | takes : id (text) , year (number) | 0.913043 |
college_2 | Find the names of the top 3 departments that provide the largest amount 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) | course : dept_name (text) , course_id (text) | 0.956522 |
college_2 | What are the names of the 3 departments 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) | course : dept_name (text) , course_id (text) | 0.956522 |
college_2 | Find the name of the department that offers the highest 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) | course : dept_name (text) , credits (number) | 0.956522 |
college_2 | What is the name of the department with the most 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) | course : dept_name (text) , credits (number) | 0.956522 |
college_2 | List the names of all courses ordered by their titles and 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) | course : title (text) , credits (number) | 0.956522 |
college_2 | Given the titles of all courses, in order of titles and 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) | course : title (text) , credits (number) | 0.956522 |
college_2 | Which department has the lowest 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) | department : dept_name (text) , budget (number) | 0.956522 |
college_2 | Give the name of the department with the lowest 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) | department : dept_name (text) , budget (number) | 0.956522 |
college_2 | List the names and buildings of all departments sorted by the budget from large to small. | 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) | department : dept_name (text) , building (text) , budget (number) | 0.934783 |
college_2 | What are the names and buildings of the deparments, sorted by budget descending? | 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) | department : dept_name (text) , building (text) , budget (number) | 0.934783 |
college_2 | Who is the instructor with the highest 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 : name (text) , salary (number) | 0.956522 |
college_2 | Give the name of the highest paid instructor. | 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) | 0.956522 |
college_2 | List the information of all instructors ordered by their salary in ascending order. | 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) , id (text) | 0.956522 |
college_2 | Give all information regarding instructors, in order of salary from least to greatest. | 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) , id (text) | 0.956522 |
college_2 | Find the name of the students and their department names sorted by their total credits in ascending order. | 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) , dept_name (text) , tot_cred (number) | 0.934783 |
college_2 | What are the names of students and their respective departments, ordered by number of credits from least to greatest? | 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) , dept_name (text) , tot_cred (number) | 0.934783 |
college_2 | list in alphabetic order all course names and their instructors' names in year 2008. | 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) | instructor : name (text) , id (text) | teaches : course_id (text) , id (text) , year (number) | 0.847826 |
college_2 | Show all titles and their instructors' names for courses in 2008, in alphabetical order by 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) | course : title (text) , course_id (text) | instructor : name (text) , id (text) | teaches : course_id (text) , id (text) , year (number) | 0.847826 |
college_2 | Find the name of instructors who are advising more than one 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) | advisor : i_id (text) , s_id (text) | 0.913043 |
college_2 | What are the names of instructors who advise more than one 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) | advisor : i_id (text) , s_id (text) | 0.913043 |
college_2 | Find the name of the students who have more than one advisor? | 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) | advisor : s_id (text) | 0.934783 |
college_2 | What are the names of students who have more than one advisor? | 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) | advisor : s_id (text) | 0.934783 |
college_2 | Find the number of rooms with more than 50 capacity for each building. | 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) | classroom : building (text) , capacity (number) | 0.956522 |
college_2 | How many rooms in each building have a capacity of over 50? | 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) | classroom : building (text) , capacity (number) | 0.956522 |
college_2 | Find the maximum and average capacity among rooms in each building. | 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) | classroom : capacity (number) , building (text) | 0.956522 |
college_2 | What are the greatest and average capacity for rooms in each building? | 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) | classroom : capacity (number) , building (text) | 0.956522 |
college_2 | Find the title of the course that is offered by more than one 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) | course : title (text) , course_id (text) | 0.956522 |
college_2 | What are the titles of courses that are offered in more than one 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) | course : title (text) , course_id (text) | 0.956522 |
college_2 | Find the total credits of courses provided by different 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) | course : credits (number) , dept_name (text) | 0.956522 |
college_2 | How many total credits are offered by 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) | course : credits (number) , dept_name (text) | 0.956522 |