SlideShare a Scribd company logo
S Q L – 2
Q u e s t i o n P a p e r ( A p r i l – 2 0 1 4 ) [ O l d S y l l a b u s ]
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) Question No. 1 is Compulsory.
(2) Attempt any four questions from Q.2 – Q.7.
(3) Make suitable assumption whenever necessary and state the assumption made.
(4) Answers to the same questions must be written together.
Q.1 Attempt The Following Question: (20 Marks)
(A) What are the different roles that SQL plays? (5)
(B) Explain the Multi-Tier Architecture with the help of an example. (5)
(C) What is differed Constrain Checking? Explain its type. (5)
(D) Write a DDL Statement to perform the following:
(1) Add a constraint chk_price to blocks table to ensure that if price> 660, then grade
= 'A', if price is between 400 and 600, then grade = 'B' else grade = 'C'.
(2) Create an index on column st_name of students table.
(5)
Q.2 Attempt The Following Question: (20 Marks)
(A) What is a transaction? Explain ANSI/ISO Transaction Model. (6)
(B) Explain the Cast & Case Expressions. (6)
(C) Write the following SQL stmts: (Refer table structure given after Q7).
(1) Find the name of student who has paid Highest Fine.
(2) List the category &B count in each category for following categories 'Systems',
'Mgmt', 'Insurance'.
(3) Decrease all Mgmt category book prices by 10%.
(4) Display all the titles of blocks issued to TYIT Class, which are under RS. 550.
(8)
Q.3 Attempt The Following Question: (20 Marks)
(A) Describe the sequence of steps in which SQL stmt is evaluated. (6)
(B) State &explain the various data types available in SQL-2. (6)
(C) Write the following SQL statements: (Refer table structure given after Q7).
(1) List the titles of books issued in descending order of price & ascending order of
author.
(2) Create view to display students' name, book title, issue data & return date.
(3) Get all the titles of books for author 'J.K. Rowling' for which status='issued'.
(4) Delete the rows from book issue table for all the books returned 1 month before
today.
(8)
S Q L – 2
Q u e s t i o n P a p e r ( A p r i l – 2 0 1 4 ) [ O l d S y l l a b u s ]
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.4 Attempt The Following Question: (20 Marks)
(A) What are Parallel Subquires? Explain with the help of an example. (6)
(B) What is a Referential Cycle? What are the problems with it, how to overcome it? (6)
(C) Write the following SQL Statements: (Refer table structure given after Q7).
(1) List all the authors, whose books have been issued by students.
(2) List the student name & title of the book, for the books which are not yet
returned.
(3) Delete all the books which are never issued at all.
(4) Change the grade to 'C', for all blocks had grade 'B' and are in fiction category or
have status 'issued'.
(8)
Q.5 Attempt The Following Question: (20 Marks)
(A) Explain the different search conditions in the where clause. (6)
(B) What is a Domain? How is it created? What are the advantages? (6)
(C) Write the following SQL Statements: (Refer table structure given after Q7).
(1) List the names of students who have issued more than 2 books.
(2) Remove the permission form user SYIT to see or add data into students table.
(3) List the total number of books issued per class.
(4) List the books' title, author, status for which return date is 7 days from today.
(8)
Q.6 Attempt The Following Question: (20 Marks)
(A) Explain the aggregate functions in SQL. (6)
(B) Explain the concept of NULL values. How can we insert NULL values in the table? (6)
(C) Write the following SQL Statements: (Refer table structure given after Q7).
(1) List all the books whose price is < average price of management category books.
(2) List the class & total fine_paid by each class, for those classes which have 60 or
more students.
(3) After table students to add column, phone_number.
(4) Give TYIT user permission to select data from all the tables.
(8)
S Q L – 2
Q u e s t i o n P a p e r ( A p r i l – 2 0 1 4 ) [ O l d S y l l a b u s ]
3 | 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.7 Attempt The Following Question: (20 Marks)
(A) Write a short note on:
(i) Network Model
(ii) Hierarchical Model
(6)
(B) What is Data Integrity? Explain different types of Data Integrity Constraints. (6)
(C) Write the following SQL Statements: (Refer table structure given after Q7).
(1) Using Subquery exists clause, list all the books that are issued by TYIT Class.
(2) Create a view that displays author, category & no. of books written by that
author in each category.
(3) Remove the delete & update permission on books table from all users.
(4) List the book title & number of times the book has been issued, for each book.
(8)
Students Table: –
Column Name Data Type Constraint
libcardno Number Primary Key
st_name Varchar(30)
class Varchar(20)
Books Table: –
Column Name Data Type Constraint
bookid Number Primary Key
category Varchar(30)
title Varchar(30)
author Varchar(30)
price Number
status Varchar(20) Values can be 'issued' or 'available'
grade Char(1) Values can be 'A', 'B' or 'C'
Book issue Table: –
Column Name Data Type Constraint
bookid Number Foreign key references books(bookid)
libcardno Number Foreign key references students(libcardno)
issue_date Date
return_date Date
fine_charged Number
fine_paid Number
bookid, libcardno, issue_date is a composite key.

More Related Content

Similar to [Question Paper] SQL – 2 (Old Syllabus) [April / 2014]

[Question Paper] System Programming (Old Course) [January / 2014]
[Question Paper] System Programming (Old Course) [January / 2014][Question Paper] System Programming (Old Course) [January / 2014]
[Question Paper] System Programming (Old Course) [January / 2014]
Mumbai B.Sc.IT Study
 
Embedded Systems And Programming (May - 2018) [IDOL: Old Course | Question Pa...
Embedded Systems And Programming (May - 2018) [IDOL: Old Course | Question Pa...Embedded Systems And Programming (May - 2018) [IDOL: Old Course | Question Pa...
Embedded Systems And Programming (May - 2018) [IDOL: Old Course | Question Pa...
Mumbai B.Sc.IT Study
 
[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 ...
Mumbai B.Sc.IT Study
 
C# (May - 2018) [IDOL - Old Course | Question Paper]
C# (May - 2018) [IDOL - Old Course | Question Paper]C# (May - 2018) [IDOL - Old Course | Question Paper]
C# (May - 2018) [IDOL - Old Course | Question Paper]
Mumbai B.Sc.IT Study
 
[Question Paper] Database Concept and System (Old Course) [September / 2013]
[Question Paper] Database Concept and System (Old Course) [September / 2013][Question Paper] Database Concept and System (Old Course) [September / 2013]
[Question Paper] Database Concept and System (Old Course) [September / 2013]
Mumbai B.Sc.IT Study
 
[Question Paper] Advanced Java (Old Syllabus) [April / 2014]
[Question Paper] Advanced Java (Old Syllabus) [April / 2014][Question Paper] Advanced Java (Old Syllabus) [April / 2014]
[Question Paper] Advanced Java (Old Syllabus) [April / 2014]
Mumbai B.Sc.IT Study
 
[Question Paper] Advanced Java (Old Syllabus) [April / 2013]
[Question Paper] Advanced Java (Old Syllabus) [April / 2013][Question Paper] Advanced Java (Old Syllabus) [April / 2013]
[Question Paper] Advanced Java (Old Syllabus) [April / 2013]
Mumbai B.Sc.IT Study
 
B.Sc.IT: SEMESTER - V (May - 2018) [IDOL: Old Course | Question Paper]
B.Sc.IT: SEMESTER - V (May - 2018) [IDOL: Old Course | Question Paper]B.Sc.IT: SEMESTER - V (May - 2018) [IDOL: Old Course | Question Paper]
B.Sc.IT: SEMESTER - V (May - 2018) [IDOL: Old Course | Question Paper]
Mumbai B.Sc.IT Study
 
[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]
Mumbai B.Sc.IT Study
 
[Question Paper] C++ and Java (Old Course) [June / 2014]
[Question Paper] C++ and Java (Old Course) [June / 2014][Question Paper] C++ and Java (Old Course) [June / 2014]
[Question Paper] C++ and Java (Old Course) [June / 2014]
Mumbai B.Sc.IT Study
 
[Question Paper] Database Management Systems (Revised Course) [June / 2014]
[Question Paper] Database Management Systems (Revised Course) [June / 2014][Question Paper] Database Management Systems (Revised Course) [June / 2014]
[Question Paper] Database Management Systems (Revised Course) [June / 2014]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
[Question Paper] Software Engineering (Old Course) [September / 2013]
[Question Paper] Software Engineering (Old Course) [September / 2013][Question Paper] Software Engineering (Old Course) [September / 2013]
[Question Paper] Software Engineering (Old Course) [September / 2013]
Mumbai B.Sc.IT Study
 
[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...
Mumbai B.Sc.IT Study
 
[Question Paper] Operating System (Old Course) [September / 2013]
[Question Paper] Operating System (Old Course) [September / 2013][Question Paper] Operating System (Old Course) [September / 2013]
[Question Paper] Operating System (Old Course) [September / 2013]
Mumbai B.Sc.IT Study
 
Smu bsc it Spring 2014 solved assignments
Smu bsc it Spring 2014  solved assignmentsSmu bsc it Spring 2014  solved assignments
Smu bsc it Spring 2014 solved assignments
smumbahelp
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 

Similar to [Question Paper] SQL – 2 (Old Syllabus) [April / 2014] (20)

[Question Paper] System Programming (Old Course) [January / 2014]
[Question Paper] System Programming (Old Course) [January / 2014][Question Paper] System Programming (Old Course) [January / 2014]
[Question Paper] System Programming (Old Course) [January / 2014]
 
Embedded Systems And Programming (May - 2018) [IDOL: Old Course | Question Pa...
Embedded Systems And Programming (May - 2018) [IDOL: Old Course | Question Pa...Embedded Systems And Programming (May - 2018) [IDOL: Old Course | Question Pa...
Embedded Systems And Programming (May - 2018) [IDOL: Old Course | Question Pa...
 
[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 ...
 
C# (May - 2018) [IDOL - Old Course | Question Paper]
C# (May - 2018) [IDOL - Old Course | Question Paper]C# (May - 2018) [IDOL - Old Course | Question Paper]
C# (May - 2018) [IDOL - Old Course | Question Paper]
 
[Question Paper] Database Concept and System (Old Course) [September / 2013]
[Question Paper] Database Concept and System (Old Course) [September / 2013][Question Paper] Database Concept and System (Old Course) [September / 2013]
[Question Paper] Database Concept and System (Old Course) [September / 2013]
 
[Question Paper] Advanced Java (Old Syllabus) [April / 2014]
[Question Paper] Advanced Java (Old Syllabus) [April / 2014][Question Paper] Advanced Java (Old Syllabus) [April / 2014]
[Question Paper] Advanced Java (Old Syllabus) [April / 2014]
 
[Question Paper] Advanced Java (Old Syllabus) [April / 2013]
[Question Paper] Advanced Java (Old Syllabus) [April / 2013][Question Paper] Advanced Java (Old Syllabus) [April / 2013]
[Question Paper] Advanced Java (Old Syllabus) [April / 2013]
 
B.Sc.IT: SEMESTER - V (May - 2018) [IDOL: Old Course | Question Paper]
B.Sc.IT: SEMESTER - V (May - 2018) [IDOL: Old Course | Question Paper]B.Sc.IT: SEMESTER - V (May - 2018) [IDOL: Old Course | Question Paper]
B.Sc.IT: SEMESTER - V (May - 2018) [IDOL: Old Course | Question Paper]
 
[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] C++ and Java (Old Course) [June / 2014]
[Question Paper] C++ and Java (Old Course) [June / 2014][Question Paper] C++ and Java (Old Course) [June / 2014]
[Question Paper] C++ and Java (Old Course) [June / 2014]
 
[Question Paper] Database Management Systems (Revised Course) [June / 2014]
[Question Paper] Database Management Systems (Revised Course) [June / 2014][Question Paper] Database Management Systems (Revised Course) [June / 2014]
[Question Paper] Database Management Systems (Revised Course) [June / 2014]
 
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]
 
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] Software Engineering (Old Course) [September / 2013]
[Question Paper] Software Engineering (Old Course) [September / 2013][Question Paper] Software Engineering (Old Course) [September / 2013]
[Question Paper] Software Engineering (Old Course) [September / 2013]
 
[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] Operating System (Old Course) [September / 2013]
[Question Paper] Operating System (Old Course) [September / 2013][Question Paper] Operating System (Old Course) [September / 2013]
[Question Paper] Operating System (Old Course) [September / 2013]
 
Smu bsc it Spring 2014 solved assignments
Smu bsc it Spring 2014  solved assignmentsSmu bsc it Spring 2014  solved assignments
Smu bsc it Spring 2014 solved assignments
 
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]
 
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]
 
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]
 

More from Mumbai B.Sc.IT Study

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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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]
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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}
Mumbai B.Sc.IT Study
 
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...
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

How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 

Recently uploaded (20)

How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 

[Question Paper] SQL – 2 (Old Syllabus) [April / 2014]

  • 1. S Q L – 2 Q u e s t i o n P a p e r ( A p r i l – 2 0 1 4 ) [ O l d S y l l a b u s ] 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) Question No. 1 is Compulsory. (2) Attempt any four questions from Q.2 – Q.7. (3) Make suitable assumption whenever necessary and state the assumption made. (4) Answers to the same questions must be written together. Q.1 Attempt The Following Question: (20 Marks) (A) What are the different roles that SQL plays? (5) (B) Explain the Multi-Tier Architecture with the help of an example. (5) (C) What is differed Constrain Checking? Explain its type. (5) (D) Write a DDL Statement to perform the following: (1) Add a constraint chk_price to blocks table to ensure that if price> 660, then grade = 'A', if price is between 400 and 600, then grade = 'B' else grade = 'C'. (2) Create an index on column st_name of students table. (5) Q.2 Attempt The Following Question: (20 Marks) (A) What is a transaction? Explain ANSI/ISO Transaction Model. (6) (B) Explain the Cast & Case Expressions. (6) (C) Write the following SQL stmts: (Refer table structure given after Q7). (1) Find the name of student who has paid Highest Fine. (2) List the category &B count in each category for following categories 'Systems', 'Mgmt', 'Insurance'. (3) Decrease all Mgmt category book prices by 10%. (4) Display all the titles of blocks issued to TYIT Class, which are under RS. 550. (8) Q.3 Attempt The Following Question: (20 Marks) (A) Describe the sequence of steps in which SQL stmt is evaluated. (6) (B) State &explain the various data types available in SQL-2. (6) (C) Write the following SQL statements: (Refer table structure given after Q7). (1) List the titles of books issued in descending order of price & ascending order of author. (2) Create view to display students' name, book title, issue data & return date. (3) Get all the titles of books for author 'J.K. Rowling' for which status='issued'. (4) Delete the rows from book issue table for all the books returned 1 month before today. (8)
  • 2. S Q L – 2 Q u e s t i o n P a p e r ( A p r i l – 2 0 1 4 ) [ O l d S y l l a b u s ] 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.4 Attempt The Following Question: (20 Marks) (A) What are Parallel Subquires? Explain with the help of an example. (6) (B) What is a Referential Cycle? What are the problems with it, how to overcome it? (6) (C) Write the following SQL Statements: (Refer table structure given after Q7). (1) List all the authors, whose books have been issued by students. (2) List the student name & title of the book, for the books which are not yet returned. (3) Delete all the books which are never issued at all. (4) Change the grade to 'C', for all blocks had grade 'B' and are in fiction category or have status 'issued'. (8) Q.5 Attempt The Following Question: (20 Marks) (A) Explain the different search conditions in the where clause. (6) (B) What is a Domain? How is it created? What are the advantages? (6) (C) Write the following SQL Statements: (Refer table structure given after Q7). (1) List the names of students who have issued more than 2 books. (2) Remove the permission form user SYIT to see or add data into students table. (3) List the total number of books issued per class. (4) List the books' title, author, status for which return date is 7 days from today. (8) Q.6 Attempt The Following Question: (20 Marks) (A) Explain the aggregate functions in SQL. (6) (B) Explain the concept of NULL values. How can we insert NULL values in the table? (6) (C) Write the following SQL Statements: (Refer table structure given after Q7). (1) List all the books whose price is < average price of management category books. (2) List the class & total fine_paid by each class, for those classes which have 60 or more students. (3) After table students to add column, phone_number. (4) Give TYIT user permission to select data from all the tables. (8)
  • 3. S Q L – 2 Q u e s t i o n P a p e r ( A p r i l – 2 0 1 4 ) [ O l d S y l l a b u s ] 3 | 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.7 Attempt The Following Question: (20 Marks) (A) Write a short note on: (i) Network Model (ii) Hierarchical Model (6) (B) What is Data Integrity? Explain different types of Data Integrity Constraints. (6) (C) Write the following SQL Statements: (Refer table structure given after Q7). (1) Using Subquery exists clause, list all the books that are issued by TYIT Class. (2) Create a view that displays author, category & no. of books written by that author in each category. (3) Remove the delete & update permission on books table from all users. (4) List the book title & number of times the book has been issued, for each book. (8) Students Table: – Column Name Data Type Constraint libcardno Number Primary Key st_name Varchar(30) class Varchar(20) Books Table: – Column Name Data Type Constraint bookid Number Primary Key category Varchar(30) title Varchar(30) author Varchar(30) price Number status Varchar(20) Values can be 'issued' or 'available' grade Char(1) Values can be 'A', 'B' or 'C' Book issue Table: – Column Name Data Type Constraint bookid Number Foreign key references books(bookid) libcardno Number Foreign key references students(libcardno) issue_date Date return_date Date fine_charged Number fine_paid Number bookid, libcardno, issue_date is a composite key.