You are on page 1of 1
(B) Write answer in detail (any one) (10) (1) 1.NF, 2 NF and 3 NF with definition and examples. (2) 4 NF and 5 NF with definition and examples (C) Give answer of following (5) (1) In SQL, which command is used to SELECT only one copy of cach set of duplicable rows. a) DISTINCT b) UNIQUE. ¢) DIFFERENT d) none of these (2) Which of the following is not a DDL command? a) TRUNCATE b) ALTER c) CREATE d) UPDATE (3) ‘command makes the updates performed by the transaction permanent in the database? a) ROLLBACK b) COMMIT c) TRUNCATE d) DELETE (4) Which of the following is the correct order of a SQL statement? a) SELECT, FROM, GROUP BY. WHERE, HAVING b) SELECT, FROM, WHERE, GROUP BY, HAVING ©) SELECT, FROM, HAVING, WHERE, GROUP BY d) SELECT, FROM, WHERE, HAVING, GROUP BY (8) Which SQL keyword is used to sort the result-set? a) SORT BY b) ORDER c)ORDERBY — d) SORT (D) Write SQL statement on following (any one) (5) Tables are as follow: S(sno,sname,scity,sstatus), p(pno, pname, pweight, pcolor. pcity) Sp(sno, pno, qty), Dept((dept_id, dept_name, dept location), Emp(emp_no, emp_name, emp_dept_id, boss id, salary) (1) Find supplier name who has supply ‘black’ part (2) Find average salary of each department employee (2) Find employee name, depart name, boss name, boss depart name (©) Write answer in detail (any one) © (1) SELECT statement in SQL (2) Create and use Trigger in SQL Question-3 (A) Give answer of following ©) (1) A transaction is a Unit of work. a) logical ) physical ©) unique d) none of these (2) Once a transaction commits, its updates persist in the database. even if there is a subsequent system crash is call. a) Atomicity b)Coreciness _¢) Isolation _d) Durability (3) Which of the following is process for two-phase process? a) select b) rollback ¢) prepare _d) none of these (4) Which of the following is not part of three concurrency problems? a) The lost update problem b) The uncommitted dependency problem c) The inconsistent analysis problem d) None of these (8) Which of the following is deadiock avoidance method? a) Wait b) Wait-Die ¢)Wound — d) none of these (8) Write Short-note on following (any two) (12) (1) Transaction recovery (2) system recovery (3) save point (4) exclusive lock (C) Write answer in detail (any one) Ps (13) (1) Two-phase process, (2) Three concurrency problems. eX: xX X: ‘x: x x X= X: x ‘Xx:

You might also like