Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COURSE: DATABASE Write the following inserts, deletes or updates in SQL, using the university schema. Increase the salary of each instructor in the Finance department

COURSE: DATABASE

Write the following inserts, deletes or updates in SQL, using the university schema.

image text in transcribed

Increase the salary of each instructor in the Finance department by 10%.

Delete all courses that have never been offered (that is, do not occur in the section relation).

Insert every student whose tot_cred attribute is greater than 150 as an instructor in the same department, with a salary of $25,000.

NOTE: PLEASE Writing is not recommended by hand

ID name dept namesalary 10101 Srinivasan Comp. Sci 12121Wu 15151Mozart 22222Einstein 32343El Said 33456Gold 45565 Katz 58583Califieri 76543 Singh 76766 Crick 83821 Brandt 98345Kim .65000 90000 40000 95000 60000 87000 Comp. Sci.75000 62000 80000 72000 Finance Music Physics History Physics History Finance Biology Comp. Sci.92000 80000 C1. Elec. Eng

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

a sin(2x) x Let f(x)=2x+1 In(be)

Answered: 1 week ago