Question: Write SQL update statements to do the following on the database schema shown in Figure 1.2. (a) Insert a new student in the database. (b)
(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.
Step by Step Solution
3.50 Rating (157 Votes )
There are 3 Steps involved in it
a INSERT INTO STUDENT VALUES Johnson 25 1 MA... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
888-CS-DB (2289).docx
120 KBs Word File
