Database Management Systems DBMS (CS1211) CIE 2 Apr 2026 Question Paper
RV University CIE 2 exam for Database Management Systems DBMS (CS1211), held Apr 2026, semester 2, with 8 questions. Also searched as DBMS, DB. Last updated 2026-11-14.
Questions
1. a) Write a query to create a table COURSE with CourseID and CourseName. b) Write a query to insert one record into the COURSE table. c) Write a query to update CourseName to 'DBMS' where CourseID = 1. d) Write a query to delete all records from the COURSE table. e) Write a query
2a. Using real time examples, draw 3 separate ER diagrams involving two entities for binary 1:1, 1:N and M:N relationships.
2b. Consider the following relations:Department(DeptID, DeptName)Employee(EmpID, EmpName, DeptID)a) Identify the primary key and foreign key in the above relations and explain the primary key constraint and foreign key constraint. b) State the referential integrity constraint between
3a. Consider a database with the following schema:Employee (EmpID, Name, Department)Project (ProjID, Title, Budget)WorksOn (EmpID, ProjID, Hours)1. Retrieve and display the names of employees who are working on projects with a budget greater than 1,00,000 and have worked for more tha
3b. Consider the schema of 3A. Write a TRC and DRC expression to find the names of employees who work on at least one project with a budget greater than 1,00,000.
4a. 1. A database contains two tables:Customers(CustomerID, CustomerName, City)Orders(OrderID, CID, OrderDate)CID in Orders table is the foreign key for customerIDTo display the customer name and order date for customers who are from Bangalore which join operation will be used and ex
4b. Customer Table (cust)customerid custname city grade salesmanid
5. Write SQL queries for:INNER JOIN and FULL OUTER JOINbetween the Student and Department tables. Analyze the difference in their outputs.Student(SID, Name, DeptID) Department(DeptID, DeptName)