DBMS Ca-2 K20SV Set-1
DBMS Ca-2 K20SV Set-1
DBMS Ca-2 K20SV Set-1
Q1. Create the given database with the condition that entered salary should not
be less than 75000 and no null values to be there in FIRST_NAME.
(3 Marks)
1. SQL query to fetch “FIRST_NAME” from Employee table using the alias name
as ‘Employee_NAME’. (2 Mark)
2. Write an SQL query to fetch “LAST_NAME” from the table in upper case.
(1 Mark)
All the methods for checking the serializability should be discussed with well
drawn schedules and diagrams, if any.
(10 Marks)
Q3. Suppose a transaction T accesses (for read or write operations), a certain set
of objects {O1,...,Ok}. This is done in the following manner: Step 1. T acquires
exclusive locks to O1, . . . , Ok in increasing order of their addresses. Step 2.
The required operations are performed. Step 3. All locks are released.
Which Concurrency control protocol will be suitable for the given scenario, justify
the answer will schedule as an example. (10 Marks)