Question: The textbook the problem refers to is Database System Concepts, Sixth Edition by Avi Silberschatz, Henry F. Korth, S. Sudarshan. I need the commands to

 The textbook the problem refers to is Database System Concepts, Sixth

The textbook the problem refers to is Database System Concepts, Sixth Edition by Avi Silberschatz, Henry F. Korth, S. Sudarshan. I need the commands to enter for B. I tried inputting: UPDATE INSTRUCTOR SET SALARY = 10000 * (select count(course_id) from instructor natural left outer join teaches); Instructors have an ID, courses have an ID, teaches is what keeps the data of who teaches the course and when it is offered. Into myphpadmin. I get some sort of error due to instructor being put beside UPDATE and from. Is this the right way to get everyone an update salary as well?

Write queries for following statements and provide screenshot of the query result. [5x10 -50 points] [For a, b, d and e, considers the university database from the textbook] 1. Find all courses whose identifier starts with the string "CS-1" Update the salary of each instructor to 10000 times the number of course sections they have taught Assume you are given two relations, student(name, rollno) and marks(rollno, exam, mark) a. b. c. Show names of all students who have got marks in at least two exams Create a view CSinstructors, showing all information about instructors from the Comp. Sci. department. Grant permission to one of your friends to view all data in your student relation. Also make sure that you are granting your friend to pass the permission to others. d. e

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!