Showing posts with label DBMS. Show all posts
Showing posts with label DBMS. Show all posts

Consider the following tables T1 and T2. [G17S2Q19]




Explanation

Two transactions T1 and T2 are given as [G17S2Q44]




Explanation

Consider the following database table named top-scorer. [G17S2Q46]




Explanation

Consider following schedules involving two transactions : [J17P3Q7]






Explanation

Which one is correct w.r.t. RDBMS ? [J17P3Q8]





Explanation

Let pk(R) denotes primary key of relation R. A many-to-one relationship that exists between two relations R1 and R2 can be expressed as follows : [J17P3Q9]





Explanation

For a database relation R(A, B, C, D) where the domains of A, B, C and D include only atomic values, only the following functional dependencies and those that can be inferred from them are : [J17P3Q10]





Explanation

Consider the following relation : Works (emp_name, company_name, salary) Here, emp_name is primary key. Consider the following SQL query [J17P3Q11]





Explanation

If following sequence of keys are inserted in a B+ tree with K(=3) pointers : 8, 5, 1, 7, 3, 12, 9, 6 Which of the following shall be correct B+ tree ? [J17P3Q12]





Explanation

The following functional dependencies hold true for the relational schema R{V,W,X,Y,Z}: [G17S1Q16]




Explanation

Consider a database that has the relation schema EMP (EmpId, EmpName, and DeptName). An instance of the schema EMP and a SQL query on it are given below. [G17S1Q23]




Explanation

Consider a database that has the relation schemas EMP(EmpId, EmpName, DeptId), and DEPT(DeptName, DeptId). Note that the DeptId can be permitted to be NULL in the relation EMP. [G17S1Q41]




Explanation

In a database system, unique timestamps are assigned to each transaction using Lamport's logical clock. Let TS(T1) and TS(T2) be the time stamps of transactions T1 and T2 respectively. [G17S1Q42]




Explanation

Consider a database that has the relation schema CR(StudentName, CourseName). An instance of the schema CR is as given below. [G17S1Q46]




Explanation