Write SQL update statements to do the following on the database schema shown in Figure 1.2. (a)

Question:

Write SQL update statements to do the following on the database schema shown in Figure 1.2.
(a) Insert a new student <'Johnson', 25, 1, 'MATH'> in the database.
(b) Change the class of student 'Smith' to 2.
(c) Insert a new course <'Knowledge Engineering','COSC4390', 3,'COSC'>.
(d) Delete the record for the student whose name is 'Smith' and student number is 17.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Fundamentals of Database Systems

ISBN: 978-0136086208

6th edition

Authors: Ramez Elmasri, Shamkant Navathe

Question Posted: