Answer the following questions using SQL statements.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Answer the following questions using SQL statements. a) Display the IDs and names of all instructors who have never taught a course. b) Show the names of the students whose names include substring 'cr' twice or end with 'ng'. c) Find the IDs, names of all the students who take more than 10 credits in a semester. d) Show IDs and names of the students if they do not take any course that is offered by the 'CSCI' department. e) For each department, show both the department budget and the remaining department budget after paying all its instructor's salaries. f) Show the ID of the students having taken the most courses offered by the 'CSCI' department.
section
course id
sec_id
semester
year
building
room_no
time_slot_id
classroom
building
room no
capacity
takes
ID
course_id
sec_id
semester
year
grade
time_slot
time_slot_id
day
start_time
end time
teaches
ID
course id
sec_id
semester
year
course
course_id
title
dept_name
credits
prereq
course id
prereq id
student
ID
name
dept_name
tot cred
department
dept name
building
budget
instructor
ID
name
dept_name
salary
advisor
s.id
Transcribed Image Text:section course id sec_id semester year building room_no time_slot_id classroom building room no capacity takes ID course_id sec_id semester year grade time_slot time_slot_id day start_time end time teaches ID course id sec_id semester year course course_id title dept_name credits prereq course id prereq id student ID name dept_name tot cred department dept name building budget instructor ID name dept_name salary advisor s.id
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY