Logo

Consider the following database Lecturer (sn, Iname, status, age) Subject (scode, sname, credit) Taught (ccode, sn, semester) Write down the SQL to…

BBA Database Management System · 2022 · Solved Question with Answer

Consider the following database

  • Lecturer (sn, Iname, status, age)

  • Subject (scode, sname, credit)

  • Taught (ccode, sn, semester)

  • Write down the SQL to perform the following: i. Display the name of all lecturer whose age is greater than 50. ii. Display the name of those lecturers whose status is "senior". iii. List all the subject name of 3 credit hours. iv. Update the status of lecturer "Ram" with "senlecturer". v. Delete the lecturer "Rawan" from the lecturer relation.

Solution

Please login to view the answer.