Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed 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 into the database for this problem.

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What would you do about the verbal homophobic and racial insults?

Answered: 1 week ago

Question

Prepare and properly label figures and tables for written reports.

Answered: 1 week ago