Advanced SQL (January – 2017) [IDOL - Revised Course | Question Paper]


Click Here: (PDF Link 1) | Click Here: (PDF Link 2) | Click Here: (PDF Link 3)

Click Here: (Image View) | Click Here: (Text View)


B.Sc.IT: Semester – III
[Advanced SQL]
Question Paper (January – 2017) [Revised Course]

Time: 3 Hours
Total Marks: 100

N.B.:      (1) All Questions are Compulsory.
               (2) Figure on right indicate maximum marks.

Q.1 Attempt Both The Question: (10 Marks)
(A) Explain sequence with syntax and example.
(B) Explain any five Aggregate Functions with example.

Q.2 Attempt Any Three From The Following: (15 Marks)
(A) What is Constraint? Explain Foreign Key Constraint with example.
(B) Define View. Explain how to Create, Update and delete the view.
(C) Explain the subqueries manipulation data with example.
(D) Consider the following database Book(BID, Book_Name, Date_Issue, Author, Student_ID)
       Student(Student_ID, Student_name, Course)
       (i) List all the Students whose name’s second character is ‘e’.
       (ii) List all the student who have issued the book in the mouth of june.
       (iii) List all the Books available in library.
       (iv) List all the Books whose author name’s first character is ‘s’.
       (v) List all the students admitted for BMS Course.

Q.3 Attempt Any Three From The Following: (15 Marks)
(A) What is Group by clause? Explain the syntax with example.
(B) Explain Date/Time function with example.
(C) Explain privilege with the help of Grant and Revoke commands example.
(D) What is multiple column subquery? Explain with suitable eample.

Q.4 Attempt Any Three From The Following: (15 Marks)
(A) Explain the PL/SQL Block. Give the benefits of PL/SQL.
(B) Explain the purpose Bind Variables with example.
(C) What is a Scalar Data Type? Explain.
(D) Explain the different types of operators used in PL/SQL.

Q.6 Attempt Any Three From The Following: (15 Marks)
(A) Define package in PL/SQL. Give the advantages of packages?
(B) Write a PL/SQL Block of code for a procedure to display the employee.
(C) Explain Stored Procedure with example.
(D) What is Subprogram? Explain its creation and calling example.

Q.7 Attempt Any Three From The Following: (15 Marks)
(A) Create a trigger to change the revaluation marks to 50. Every time the mark exceeds 100 then an appropriate message is displayed.
(B) How to create triggers in the PL/SQL? Explain with example.
(C) Compare Database Trigger with stored procedure.
(D) Explain Dynamic SQL.

0 Comments