expand icon
book Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe cover

Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe

Edition 6ISBN: 0136086209
book Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe cover

Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe

Edition 6ISBN: 0136086209
Exercise 8
  -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.
-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.
Explanation
Verified
like image
like image

(a) INSERT INTO STUDENT
VALUES ('Johnson...

close menu
Database Systems 6th Edition by Ramez Elmasri, Shamkant B. Navathe
cross icon