SlideShare a Scribd company logo
1 of 2
Download to read offline
A d v a n c e d S Q L
Q u e s t i o n P a p e r ( A p r i l – 2 0 1 5 ) [ R e v i s e d C o u r s e ]
1 | Page
M u m b a i B . S c . I T S t u d y
F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e
– Kamal T.
Time: 3 Hours Total Marks: 100
N.B.: (1) All Questions are Compulsory.
Q.1 Attempt Both The Question: (10 Marks)
(A) Explain the following operators:
(i) %TYPE (ii) %ROWTYPE
(5)
(B) Explain any five Aggregate functions with example. (5)
Q.2 Attempt Any Three From The Following: (15 Marks)
(A) Consider the following database Salesman(SID, Date_Sale, Sale, Target,_Area,
Branch_ID)
Branch(Branch_ID, Bname, Loc)
(i) List all the salesman whose name’s second character is ‘a’.
(ii) List all the salesman whose sale is in between 10000 to 50000.
(iii) List all the branches names located in Delhi.
(iv) List the salesman whose salary is maximum in the mouth of April.
(v) List all the salesman of Delhi branch.
(5)
(B) What is Primary Key Constraint? Explain with example. (5)
(C) What is View? Give example for creating, updating and deleting the view. (5)
(D) What is a sequences? Explain the syntax for creating a sequence. (5)
Q.3 Attempt Any Three From The Following: (15 Marks)
(A) Explain different types of set operators with example. (5)
(B) What is a Privilege? Explain Grant and Revoke commands with example. (5)
(C) What is Scalar Subquery? Explain with suitable example. (5)
(D) What is a Hierarchical Query? Explain with example. (5)
Q.4 Attempt Any Three From The Following: (15 Marks)
(A) What are the benefits of PL/SQL? Explain the PL/SQL Block. (5)
(B) Explain the purpose ROLLBACK AND SAVEPOINT with example. (5)
(C) What is an Identifier? What are the rules for naming them? (5)
(D) Explain the different types of operators used in PL/SQL. (5)
A d v a n c e d S Q L
Q u e s t i o n P a p e r ( A p r i l – 2 0 1 5 ) [ R e v i s e d C o u r s e ]
2 | Page
M u m b a i B . S c . I T S t u d y
F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e
– Kamal T.
Q.5 Attempt Any Three From The Following: (15 Marks)
(A) Explain IF-THEN-ELSE statement with example. (5)
(B) Explain Index By Table with the help of example. (5)
(C) Write a PL/SQL Block of code to print even number in between 1 to 100. (5)
(D) What are the different types of Cursors? Explain with an example. (5)
Q.6 Attempt Any Three From The Following: (15 Marks)
(E) What are a packages in PL/SQL? What are the advantages of packages? (5)
(F) Write a PL/SQL Block of code for a procedure which displays the information of a
student table.
(5)
(G) What is Stored Procedure? Explain how to create Stored Procedure. (5)
(H) What are stored functions? Explain its creation and calling example. (5)
Q.7 Attempt Any Three From The Following: (15 Marks)
(A) Define Triggers. Explain the syntax of creating triggers in the PL/SQL. (5)
(B) Explain BEFORE and AFTER Trigger with example. (5)
(C) Write a short note on Dynamic SQL. (5)
(D) Create a trigger to change the commission amount to 2500. Every time the
commission amount exceed 1500 an appropriate message is displayed.
(5)

More Related Content

What's hot

What's hot (20)

ASP.NET With C# (Revised Syllabus) [QP / April - 2015]
ASP.NET With C# (Revised Syllabus) [QP / April - 2015]ASP.NET With C# (Revised Syllabus) [QP / April - 2015]
ASP.NET With C# (Revised Syllabus) [QP / April - 2015]
 
Advanced Java (Revised Syllabus) [QP / May - 2016]
Advanced Java (Revised Syllabus) [QP / May - 2016]Advanced Java (Revised Syllabus) [QP / May - 2016]
Advanced Java (Revised Syllabus) [QP / May - 2016]
 
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
 
ASP.NET With C# (Revised Syllabus) [QP / May - 2016]
ASP.NET With C# (Revised Syllabus) [QP / May - 2016]ASP.NET With C# (Revised Syllabus) [QP / May - 2016]
ASP.NET With C# (Revised Syllabus) [QP / May - 2016]
 
[Question Paper] Web Technology (Revised Course) [June / 2016]
[Question Paper] Web Technology (Revised Course) [June / 2016][Question Paper] Web Technology (Revised Course) [June / 2016]
[Question Paper] Web Technology (Revised Course) [June / 2016]
 
[Question Paper] Network Security (Revised Syllabus) [April / 2015]
[Question Paper] Network Security (Revised Syllabus) [April / 2015][Question Paper] Network Security (Revised Syllabus) [April / 2015]
[Question Paper] Network Security (Revised Syllabus) [April / 2015]
 
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2015]
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2015][Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2015]
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2015]
 
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2014]
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2014][Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2014]
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2014]
 
[Question Paper] ASP.NET With C# (75:25 Pattern) [April / 2016]
[Question Paper] ASP.NET With C# (75:25 Pattern) [April / 2016][Question Paper] ASP.NET With C# (75:25 Pattern) [April / 2016]
[Question Paper] ASP.NET With C# (75:25 Pattern) [April / 2016]
 
ASP.NET With C# (Revised Syllabus) [QP / May - 2017]
ASP.NET With C# (Revised Syllabus) [QP / May - 2017]ASP.NET With C# (Revised Syllabus) [QP / May - 2017]
ASP.NET With C# (Revised Syllabus) [QP / May - 2017]
 
ASP.NET With C# (Revised Syllabus) [QP / April - 2013]
ASP.NET With C# (Revised Syllabus) [QP / April - 2013]ASP.NET With C# (Revised Syllabus) [QP / April - 2013]
ASP.NET With C# (Revised Syllabus) [QP / April - 2013]
 
Advanced Java (Revised Syllabus) [QP / October - 2016]
Advanced Java (Revised Syllabus) [QP / October - 2016]Advanced Java (Revised Syllabus) [QP / October - 2016]
Advanced Java (Revised Syllabus) [QP / October - 2016]
 
Data Warehousing (May – 2016) [75:25 Pattern | Question Paper]
Data Warehousing (May – 2016) [75:25 Pattern | Question Paper]Data Warehousing (May – 2016) [75:25 Pattern | Question Paper]
Data Warehousing (May – 2016) [75:25 Pattern | Question Paper]
 
Network Security (Revised Syllabus) [QP / April - 2015]
Network Security (Revised Syllabus) [QP / April - 2015]Network Security (Revised Syllabus) [QP / April - 2015]
Network Security (Revised Syllabus) [QP / April - 2015]
 
[Question Paper] ASP.NET With C# (60:40 Pattern) [October / 2013]
[Question Paper] ASP.NET With C# (60:40 Pattern) [October / 2013][Question Paper] ASP.NET With C# (60:40 Pattern) [October / 2013]
[Question Paper] ASP.NET With C# (60:40 Pattern) [October / 2013]
 
[Question Paper] Web Technology (Revised Course) [September / 2013]
[Question Paper] Web Technology (Revised Course) [September / 2013][Question Paper] Web Technology (Revised Course) [September / 2013]
[Question Paper] Web Technology (Revised Course) [September / 2013]
 
[Question Paper] Network Security (Revised Syllabus) [October / 2016]
[Question Paper] Network Security (Revised Syllabus) [October / 2016][Question Paper] Network Security (Revised Syllabus) [October / 2016]
[Question Paper] Network Security (Revised Syllabus) [October / 2016]
 
Geographic Information Systems (April – 2013) [Question Paper | IDOL: Revised...
Geographic Information Systems (April – 2013) [Question Paper | IDOL: Revised...Geographic Information Systems (April – 2013) [Question Paper | IDOL: Revised...
Geographic Information Systems (April – 2013) [Question Paper | IDOL: Revised...
 
[Question Paper] Network Security (Revised Syllabus) [May / 2016]
[Question Paper] Network Security (Revised Syllabus) [May / 2016][Question Paper] Network Security (Revised Syllabus) [May / 2016]
[Question Paper] Network Security (Revised Syllabus) [May / 2016]
 

Similar to [Question Paper] Advanced SQL (Revised Course) [April / 2015]

Similar to [Question Paper] Advanced SQL (Revised Course) [April / 2015] (20)

[Question Paper] Advanced SQL (Revised Course) [April / 2014]
[Question Paper] Advanced SQL (Revised Course) [April / 2014][Question Paper] Advanced SQL (Revised Course) [April / 2014]
[Question Paper] Advanced SQL (Revised Course) [April / 2014]
 
[Question Paper] Advanced SQL (Revised Course) [January / 2017]
[Question Paper] Advanced SQL (Revised Course) [January / 2017][Question Paper] Advanced SQL (Revised Course) [January / 2017]
[Question Paper] Advanced SQL (Revised Course) [January / 2017]
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
 
[Question Paper] Database Management Systems (Revised Course) [April / 2015]
[Question Paper] Database Management Systems (Revised Course) [April / 2015][Question Paper] Database Management Systems (Revised Course) [April / 2015]
[Question Paper] Database Management Systems (Revised Course) [April / 2015]
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [June ...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [June ...[Question Paper] Object Oriented Programming With C++ (Revised Course) [June ...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [June ...
 
[Question Paper] Database Management Systems (Revised Course) [September / 2013]
[Question Paper] Database Management Systems (Revised Course) [September / 2013][Question Paper] Database Management Systems (Revised Course) [September / 2013]
[Question Paper] Database Management Systems (Revised Course) [September / 2013]
 
Java and Data Structure (April - 2015) [Revised Course | Question Paper]
Java and Data Structure (April - 2015) [Revised Course | Question Paper]Java and Data Structure (April - 2015) [Revised Course | Question Paper]
Java and Data Structure (April - 2015) [Revised Course | Question Paper]
 
[Question Paper] Software Engineering (Revised Course) [April / 2015]
[Question Paper] Software Engineering (Revised Course) [April / 2015][Question Paper] Software Engineering (Revised Course) [April / 2015]
[Question Paper] Software Engineering (Revised Course) [April / 2015]
 
Java and Data Structure (October - 2016) [Revised Course | Question Paper]
Java and Data Structure (October - 2016) [Revised Course | Question Paper]Java and Data Structure (October - 2016) [Revised Course | Question Paper]
Java and Data Structure (October - 2016) [Revised Course | Question Paper]
 
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2016]
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2016][Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2016]
[Question Paper] ASP.NET With C# (75:25 Pattern) [November / 2016]
 
Software Testing (December – 2017) [Revised Syllabus | Question Paper]
Software Testing (December – 2017) [Revised Syllabus | Question Paper]Software Testing (December – 2017) [Revised Syllabus | Question Paper]
Software Testing (December – 2017) [Revised Syllabus | Question Paper]
 
[Question Paper] Web Technology (Revised Course) [June / 2014]
[Question Paper] Web Technology (Revised Course) [June / 2014][Question Paper] Web Technology (Revised Course) [June / 2014]
[Question Paper] Web Technology (Revised Course) [June / 2014]
 
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
 
[Question Paper] Software Engineering (Revised Course) [October / 2016]
[Question Paper] Software Engineering (Revised Course) [October / 2016][Question Paper] Software Engineering (Revised Course) [October / 2016]
[Question Paper] Software Engineering (Revised Course) [October / 2016]
 
Software Testing (Revised Syllabus) [QP / October - 2016]
Software Testing (Revised Syllabus) [QP / October - 2016]Software Testing (Revised Syllabus) [QP / October - 2016]
Software Testing (Revised Syllabus) [QP / October - 2016]
 
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
BScIT: Semester – V (May - 2018) [IDOL: Old Course | Question Paper]
 
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
 
Data Warehousing (April – 2015) [75:25 Pattern | Question Paper]
Data Warehousing (April – 2015) [75:25 Pattern | Question Paper]Data Warehousing (April – 2015) [75:25 Pattern | Question Paper]
Data Warehousing (April – 2015) [75:25 Pattern | Question Paper]
 
[Question Paper] Operating System (Old Course) [June / 2014]
[Question Paper] Operating System (Old Course) [June / 2014][Question Paper] Operating System (Old Course) [June / 2014]
[Question Paper] Operating System (Old Course) [June / 2014]
 
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (April – 2015) [Revised Course | Question Paper]
 

More from Mumbai B.Sc.IT Study

More from Mumbai B.Sc.IT Study (20)

Linux System Administration (November – 2018) [Choice Based | Question Paper]
Linux System Administration (November – 2018) [Choice Based | Question Paper]Linux System Administration (November – 2018) [Choice Based | Question Paper]
Linux System Administration (November – 2018) [Choice Based | Question Paper]
 
Advanced Web Programming (November – 2018) [Choice Based | Question Paper]
Advanced Web Programming (November – 2018) [Choice Based | Question Paper]Advanced Web Programming (November – 2018) [Choice Based | Question Paper]
Advanced Web Programming (November – 2018) [Choice Based | Question Paper]
 
Artificial Intelligence (November – 2018) [Choice Based | Question Paper]
Artificial Intelligence (November – 2018) [Choice Based | Question Paper]Artificial Intelligence (November – 2018) [Choice Based | Question Paper]
Artificial Intelligence (November – 2018) [Choice Based | Question Paper]
 
Software Project Management (November – 2018) [Choice Based | Question Paper]
Software Project Management (November – 2018) [Choice Based | Question Paper]Software Project Management (November – 2018) [Choice Based | Question Paper]
Software Project Management (November – 2018) [Choice Based | Question Paper]
 
Next Generation Technologies (November – 2018) [Choice Based | Question Paper]
Next Generation Technologies (November – 2018) [Choice Based | Question Paper]Next Generation Technologies (November – 2018) [Choice Based | Question Paper]
Next Generation Technologies (November – 2018) [Choice Based | Question Paper]
 
Internet Of Things (November – 2018) [Choice Based | Question Paper]
Internet Of Things (November – 2018) [Choice Based | Question Paper]Internet Of Things (November – 2018) [Choice Based | Question Paper]
Internet Of Things (November – 2018) [Choice Based | Question Paper]
 
Enterprise Java (November – 2018) [Choice Based | Question Paper]
Enterprise Java (November – 2018) [Choice Based | Question Paper]Enterprise Java (November – 2018) [Choice Based | Question Paper]
Enterprise Java (November – 2018) [Choice Based | Question Paper]
 
Enterprise Networking (May – 2019) [Choice Based | Question Paper]
Enterprise Networking (May – 2019) [Choice Based | Question Paper]Enterprise Networking (May – 2019) [Choice Based | Question Paper]
Enterprise Networking (May – 2019) [Choice Based | Question Paper]
 
Business Intelligence (May – 2019) [Choice Based | Question Paper]
Business Intelligence (May – 2019) [Choice Based | Question Paper]Business Intelligence (May – 2019) [Choice Based | Question Paper]
Business Intelligence (May – 2019) [Choice Based | Question Paper]
 
Software Quality Assurance (May – 2019) [Choice Based | Question Paper]
Software Quality Assurance (May – 2019) [Choice Based | Question Paper]Software Quality Assurance (May – 2019) [Choice Based | Question Paper]
Software Quality Assurance (May – 2019) [Choice Based | Question Paper]
 
Project Management (April - 2016) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2016) [CBSGS - Paper Solution] {Mumbai University}Project Management (April - 2016) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2016) [CBSGS - Paper Solution] {Mumbai University}
 
Project Management (April - 2015) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2015) [CBSGS - Paper Solution] {Mumbai University}Project Management (April - 2015) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2015) [CBSGS - Paper Solution] {Mumbai University}
 
Project Management (October - 2017) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2017) [CBSGS - Paper Solution] {Mumbai University}Project Management (October - 2017) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2017) [CBSGS - Paper Solution] {Mumbai University}
 
Project Management (October - 2016) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2016) [CBSGS - Paper Solution] {Mumbai University}Project Management (October - 2016) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2016) [CBSGS - Paper Solution] {Mumbai University}
 
Project Management (October - 2015) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2015) [CBSGS - Paper Solution] {Mumbai University}Project Management (October - 2015) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2015) [CBSGS - Paper Solution] {Mumbai University}
 
Project Management (October - 2014) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2014) [CBSGS - Paper Solution] {Mumbai University}Project Management (October - 2014) [CBSGS - Paper Solution] {Mumbai University}
Project Management (October - 2014) [CBSGS - Paper Solution] {Mumbai University}
 
Project Management (May - 2018) [CBSGS - Paper Solution] {Mumbai University}
Project Management (May - 2018) [CBSGS - Paper Solution] {Mumbai University}Project Management (May - 2018) [CBSGS - Paper Solution] {Mumbai University}
Project Management (May - 2018) [CBSGS - Paper Solution] {Mumbai University}
 
Project Management (April - 2017) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2017) [CBSGS - Paper Solution] {Mumbai University}Project Management (April - 2017) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2017) [CBSGS - Paper Solution] {Mumbai University}
 
Project Management (April - 2014) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2014) [CBSGS - Paper Solution] {Mumbai University}Project Management (April - 2014) [CBSGS - Paper Solution] {Mumbai University}
Project Management (April - 2014) [CBSGS - Paper Solution] {Mumbai University}
 
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

[Question Paper] Advanced SQL (Revised Course) [April / 2015]

  • 1. A d v a n c e d S Q L Q u e s t i o n P a p e r ( A p r i l – 2 0 1 5 ) [ R e v i s e d C o u r s e ] 1 | Page M u m b a i B . S c . I T S t u d y F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e – Kamal T. Time: 3 Hours Total Marks: 100 N.B.: (1) All Questions are Compulsory. Q.1 Attempt Both The Question: (10 Marks) (A) Explain the following operators: (i) %TYPE (ii) %ROWTYPE (5) (B) Explain any five Aggregate functions with example. (5) Q.2 Attempt Any Three From The Following: (15 Marks) (A) Consider the following database Salesman(SID, Date_Sale, Sale, Target,_Area, Branch_ID) Branch(Branch_ID, Bname, Loc) (i) List all the salesman whose name’s second character is ‘a’. (ii) List all the salesman whose sale is in between 10000 to 50000. (iii) List all the branches names located in Delhi. (iv) List the salesman whose salary is maximum in the mouth of April. (v) List all the salesman of Delhi branch. (5) (B) What is Primary Key Constraint? Explain with example. (5) (C) What is View? Give example for creating, updating and deleting the view. (5) (D) What is a sequences? Explain the syntax for creating a sequence. (5) Q.3 Attempt Any Three From The Following: (15 Marks) (A) Explain different types of set operators with example. (5) (B) What is a Privilege? Explain Grant and Revoke commands with example. (5) (C) What is Scalar Subquery? Explain with suitable example. (5) (D) What is a Hierarchical Query? Explain with example. (5) Q.4 Attempt Any Three From The Following: (15 Marks) (A) What are the benefits of PL/SQL? Explain the PL/SQL Block. (5) (B) Explain the purpose ROLLBACK AND SAVEPOINT with example. (5) (C) What is an Identifier? What are the rules for naming them? (5) (D) Explain the different types of operators used in PL/SQL. (5)
  • 2. A d v a n c e d S Q L Q u e s t i o n P a p e r ( A p r i l – 2 0 1 5 ) [ R e v i s e d C o u r s e ] 2 | Page M u m b a i B . S c . I T S t u d y F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e – Kamal T. Q.5 Attempt Any Three From The Following: (15 Marks) (A) Explain IF-THEN-ELSE statement with example. (5) (B) Explain Index By Table with the help of example. (5) (C) Write a PL/SQL Block of code to print even number in between 1 to 100. (5) (D) What are the different types of Cursors? Explain with an example. (5) Q.6 Attempt Any Three From The Following: (15 Marks) (E) What are a packages in PL/SQL? What are the advantages of packages? (5) (F) Write a PL/SQL Block of code for a procedure which displays the information of a student table. (5) (G) What is Stored Procedure? Explain how to create Stored Procedure. (5) (H) What are stored functions? Explain its creation and calling example. (5) Q.7 Attempt Any Three From The Following: (15 Marks) (A) Define Triggers. Explain the syntax of creating triggers in the PL/SQL. (5) (B) Explain BEFORE and AFTER Trigger with example. (5) (C) Write a short note on Dynamic SQL. (5) (D) Create a trigger to change the commission amount to 2500. Every time the commission amount exceed 1500 an appropriate message is displayed. (5)