Question: How many matches were played in each year?

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)


Question: Find the name and rank of the 3 youngest winners across all matches.

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)

matches : winner_name (text) , winner_rank (number) , winner_age (number)


Question: What are the names and ranks of the three youngest winners across all matches?

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)

matches : winner_name (text) , winner_rank (number) , winner_age (number)


Question: How many different winners both participated in the WTA Championships and were left handed?

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)

matches : winner_name (text) , tourney_name (text) , winner_hand (text)


Question: Find the number of left handed winners who participated in the WTA Championships.

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)

matches : winner_name (text) , tourney_name (text) , winner_hand (text)


Question: Find the first name, country code and birth date of the winner who has the highest rank points in all matches.

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)

players : first_name (text) , country_code (text) , birth_date (time) , player_id (number) | rankings : player_id (number) | matches : winner_id (number) , winner_rank_points (number)


Question: What is the first name, country code, and birth date of the player with the most winner rank points across all matches?

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)

players : first_name (text) , country_code (text) , birth_date (time) , player_id (number) | rankings : player_id (number) | matches : winner_id (number) , winner_rank_points (number)


Question: Find the number of players for each hand type.

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)

players : hand (text) , player_id (number)


Question: How many players are there for each hand type?

players : player_id (number) , first_name (text) , last_name (text) , hand (text) , birth_date (time) , country_code (text) | matches : best_of (number) , draw_size (number) , loser_age (number) , loser_entry (text) , loser_hand (text) , loser_ht (number) , loser_id (number) , loser_ioc (text) , loser_name (text) , loser_rank (number) , loser_rank_points (number) , loser_seed (number) , match_num (number) , minutes (number) , round (text) , score (text) , surface (text) , tourney_date (time) , tourney_id (text) , tourney_level (text) , tourney_name (text) , winner_age (number) , winner_entry (text) , winner_hand (text) , winner_ht (number) , winner_id (number) , winner_ioc (text) , winner_name (text) , winner_rank (number) , winner_rank_points (number) , winner_seed (number) , year (number) | rankings : ranking_date (time) , ranking (number) , player_id (number) , ranking_points (number) , tours (number)

players : hand (text) , player_id (number)


Question: How many ships ended up being 'Captured'?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

ship : disposition_of_ship (text) , id (number)


Question: List the name and tonnage ordered by in descending alphaetical order for the names.

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : name (text) , id (number) | ship : name (text) , tonnage (text) , id (number)


Question: List the name, date and result of each battle.

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : name (text) , date (text) , id (number) | ship : name (text) , id (number)


Question: What is maximum and minimum death toll caused each time?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)


Question: What is the average number of injuries caused each time?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)


Question: What are the death and injury situations caused by the ship with tonnage 't'?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

death : killed (number) , injured (number) , caused_by_ship_id (number) , id (number) | battle : id (number) | ship : id (number) , tonnage (text)


Question: What are the name and results of the battles when the bulgarian commander is not 'Boril'

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : name (text) , result (text) , bulgarian_commander (text) , id (number) | ship : name (text) , id (number)


Question: What are the different ids and names of the battles that lost any 'Brig' type shipes?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : id (number) , name (text) | ship : id (number) , name (text) , lost_in_battle (number) , ship_type (text) | death : id (number)


Question: What are the ids and names of the battles that led to more than 10 people killed in total.

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : id (number) , name (text) | ship : id (number) , name (text) , lost_in_battle (number) | death : id (number) , caused_by_ship_id (number) , killed (number)


Question: What is the ship id and name that caused most total injuries?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : id (number) , name (text) | ship : id (number) , name (text) | death : id (number) , caused_by_ship_id (number)


Question: What are the distinct battle names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : name (text) , bulgarian_commander (text) , latin_commander (text) , id (number) | ship : name (text) , id (number)


Question: How many different results are there for the battles?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)


Question: How many battles did not lose any ship with tonnage '225'?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : id (number) | ship : id (number) , lost_in_battle (number) , tonnage (text) | death : id (number)


Question: List the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta'

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : name (text) , date (text) , id (number) | ship : name (text) , id (number) , lost_in_battle (number) | death : id (number)


Question: Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)

battle : name (text) , result (text) , bulgarian_commander (text) , id (number) | ship : name (text) , id (number) , lost_in_battle (number) , location (text) | death : id (number)


Question: What are the notes of the death events which has substring 'East'?

battle : id (number) , name (text) , date (text) , bulgarian_commander (text) , latin_commander (text) , result (text) | ship : lost_in_battle (number) , id (number) , name (text) , tonnage (text) , ship_type (text) , location (text) , disposition_of_ship (text) | death : caused_by_ship_id (number) , id (number) , note (text) , killed (number) , injured (number)


Question: what are all the addresses including line 1 and line 2?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

addresses : line_1 (text) , line_2 (text) , address_id (number)


Question: What is the first and second line for all addresses?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

addresses : line_1 (text) , line_2 (text) , address_id (number)


Question: How many courses in total are listed?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)


Question: How many courses are there?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)


Question: How is the math course described?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

courses : course_description (text) , course_name (text) , course_id (number)


Question: What are the descriptions for all the math courses?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

courses : course_description (text) , course_name (text) , course_id (number)


Question: What is the zip code of the address in the city Port Chelsea?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

addresses : zip_postcode (text) , city (text) , address_id (number)


Question: What is the zip code for Port Chelsea?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

addresses : zip_postcode (text) , city (text) , address_id (number)


Question: Which department offers the most number of degrees? List department name and id.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

departments : department_name (text) , department_id (number) | degree_programs : department_id (number) , degree_program_id (number)


Question: What is the name and id of the department with the most number of degrees ?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

departments : department_name (text) , department_id (number) | degree_programs : department_id (number) , degree_program_id (number)


Question: How many departments offer any degree?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

departments : department_id (number) | degree_programs : department_id (number) , degree_program_id (number)


Question: How many different departments offer degrees?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

departments : department_id (number) | degree_programs : department_id (number) , degree_program_id (number)


Question: How many different degree names are offered?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

degree_programs : degree_summary_name (text) , degree_program_id (number)


Question: How many different degrees are offered?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

degree_programs : degree_summary_name (text) , degree_program_id (number)


Question: How many degrees does the engineering department offer?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

departments : department_id (number) , department_name (text) | degree_programs : department_id (number) , degree_program_id (number)


Question: How many degrees does the engineering department have?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

departments : department_id (number) , department_name (text) | degree_programs : department_id (number) , degree_program_id (number)


Question: What are the names and descriptions of all the sections?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

sections : section_name (text) , section_description (text) , section_id (number)


Question: What are the names and descriptions for all the sections?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

sections : section_name (text) , section_description (text) , section_id (number)


Question: What are the names and id of courses having at most 2 sections?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

courses : course_name (text) , course_id (number) | sections : course_id (number) , section_id (number) | student_enrolment_courses : course_id (number) , student_course_id (number)


Question: What are the names and ids of every course with less than 2 sections?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

courses : course_name (text) , course_id (number) | sections : course_id (number) , section_id (number) | student_enrolment_courses : course_id (number) , student_course_id (number)


Question: List the section_name in reversed lexicographical order.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

sections : section_name (text) , section_id (number)


Question: What are the names of the sections in reverse alphabetical order?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

sections : section_name (text) , section_id (number)


Question: What is the semester which most student registered in? Show both the name and the id.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

semesters : semester_name (text) , semester_id (number) | student_enrolment : semester_id (number) , student_enrolment_id (number)


Question: For each semester, what is the name and id of the one with the most students registered?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

semesters : semester_name (text) , semester_id (number) | student_enrolment : semester_id (number) , student_enrolment_id (number)


Question: What is the description of the department whose name has the substring the computer?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

departments : department_description (text) , department_name (text) , department_id (number)


Question: What is the department description for the one whose name has the word computer?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

departments : department_description (text) , department_name (text) , department_id (number)


Question: Who are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

students : first_name (text) , middle_name (text) , last_name (text) , student_id (number) | student_enrolment : student_id (number) , student_enrolment_id (number)


Question: What are the first, middle, and last names, along with the ids, of all students who enrolled in 2 degree programs in one semester?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

students : first_name (text) , middle_name (text) , last_name (text) , student_id (number) | student_enrolment : student_id (number) , student_enrolment_id (number)


Question: Who is enrolled in a Bachelor degree program? List the first name, middle name, last name.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

students : first_name (text) , middle_name (text) , last_name (text) , student_id (number) | student_enrolment : student_id (number) , degree_program_id (number) , student_enrolment_id (number) | degree_programs : degree_program_id (number) , degree_summary_name (text)


Question: What are the first, middle, and last names for everybody enrolled in a Bachelors program?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

students : first_name (text) , middle_name (text) , last_name (text) , student_id (number) | student_enrolment : student_id (number) , degree_program_id (number) , student_enrolment_id (number) | degree_programs : degree_program_id (number) , degree_summary_name (text)


Question: Find the kind of program which most number of students are enrolled in?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

degree_programs : degree_summary_name (text) , degree_program_id (number) | student_enrolment : degree_program_id (number) , student_enrolment_id (number)


Question: What is the degree summary name that has the most number of students enrolled?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

degree_programs : degree_summary_name (text) , degree_program_id (number) | student_enrolment : degree_program_id (number) , student_enrolment_id (number)


Question: Find the program which most number of students are enrolled in. List both the id and the summary.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

degree_programs : degree_program_id (number) , degree_summary_name (text) | student_enrolment : degree_program_id (number) , student_enrolment_id (number)


Question: What is the program id and the summary of the degree that has the most students enrolled?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

degree_programs : degree_program_id (number) , degree_summary_name (text) | student_enrolment : degree_program_id (number) , student_enrolment_id (number)


Question: Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

students : student_id (number) , first_name (text) , middle_name (text) , last_name (text) | student_enrolment : student_id (number) , student_enrolment_id (number)


Question: What is the first, middle, and last name, along with the id and number of enrollments, for the student who enrolled the most in any program?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

students : student_id (number) , first_name (text) , middle_name (text) , last_name (text) | student_enrolment : student_id (number) , student_enrolment_id (number)


Question: Which semesters do not have any student enrolled? List the semester name.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

semesters : semester_name (text) , semester_id (number) | student_enrolment : semester_id (number) , student_enrolment_id (number)


Question: What is the name of the semester with no students enrolled?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

semesters : semester_name (text) , semester_id (number) | student_enrolment : semester_id (number) , student_enrolment_id (number)


Question: What are all the course names of the courses which ever have students enrolled in?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

courses : course_name (text) , course_id (number) | sections : course_id (number) , section_id (number) | student_enrolment_courses : course_id (number) , student_course_id (number)


Question: What are the names of all courses that have some students enrolled?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

courses : course_name (text) , course_id (number) | sections : course_id (number) , section_id (number) | student_enrolment_courses : course_id (number) , student_course_id (number)


Question: What's the name of the course with most number of enrollments?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

courses : course_name (text) , course_id (number) | sections : course_id (number) , section_id (number) | student_enrolment_courses : course_id (number) , student_course_id (number)


Question: What is the name of the course with the most students enrolled?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

courses : course_name (text) , course_id (number) | sections : course_id (number) , section_id (number) | student_enrolment_courses : course_id (number) , student_course_id (number)


Question: Find the last name of the students who currently live in the state of North Carolina but have not registered in any degree program.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

students : last_name (text) , current_address_id (number) , student_id (number) | addresses : address_id (number) , state_province_county (text) | student_enrolment : student_id (number) , student_enrolment_id (number)


Question: What are the last name of the students who live in North Carolina but have not registered in any degree programs?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

students : last_name (text) , current_address_id (number) , student_id (number) | addresses : address_id (number) , state_province_county (text) | student_enrolment : student_id (number) , student_enrolment_id (number)


Question: Show the date and id of the transcript with at least 2 course results.

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

transcripts : transcript_date (time) , transcript_id (number) | transcript_contents : transcript_id (number)


Question: What is the date and id of the transcript with at least 2 courses listed?

addresses : address_id (number) , line_1 (text) , line_2 (text) , line_3 (text) , city (text) , zip_postcode (text) , state_province_county (text) , country (text) , other_address_details (text) | courses : course_id (number) , course_name (text) , course_description (text) , other_details (text) | departments : department_id (number) , department_name (text) , department_description (text) , other_details (text) | degree_programs : degree_program_id (number) , department_id (number) , degree_summary_name (text) , degree_summary_description (text) , other_details (text) | sections : section_id (number) , course_id (number) , section_name (text) , section_description (text) , other_details (text) | semesters : semester_id (number) , semester_name (text) , semester_description (text) , other_details (text) | students : student_id (number) , current_address_id (number) , permanent_address_id (number) , first_name (text) , middle_name (text) , last_name (text) , cell_mobile_number (text) , email_address (text) , ssn (text) , date_first_registered (time) , date_left (time) , other_student_details (text) | student_enrolment : student_enrolment_id (number) , degree_program_id (number) , semester_id (number) , student_id (number) , other_details (text) | student_enrolment_courses : student_course_id (number) , course_id (number) , student_enrolment_id (number) | transcripts : transcript_id (number) , transcript_date (time) , other_details (text) | transcript_contents : student_course_id (number) , transcript_id (number)

transcripts : transcript_date (time) , transcript_id (number) | transcript_contents : transcript_id (number)