0% found this document useful (0 votes)
10 views4 pages

DBMS

The document outlines a syllabus for a Relational Database Management System lab course, detailing practical exercises involving SQL operations such as table creation, set operations, aggregate functions, joins, and subqueries. It also includes theoretical units covering database applications, the relational model, SQL, relational languages, and database design principles. The course consists of 45 hours of practical exercises and 60 hours of theoretical instruction across five units.

Uploaded by

CS BCA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

DBMS

The document outlines a syllabus for a Relational Database Management System lab course, detailing practical exercises involving SQL operations such as table creation, set operations, aggregate functions, joins, and subqueries. It also includes theoretical units covering database applications, the relational model, SQL, relational languages, and database design principles. The course consists of 45 hours of practical exercises and 60 hours of theoretical instruction across five units.

Uploaded by

CS BCA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

SEMESTER:V 22UCSCP56: RELATIONAL CREDIT:2

PART:III DATABASE MANAGEMENT HOURS:3/W


SYSTEM LAB

1. Create a table and perform the following basic mysql


operations a) Set the primary key b) Alter the structure
of the table c) Insert values d) Delete values
based on constraints e) Display values using various
forms of select clause f) Drop the table.
2. Develop sql queries to implement the following set
operations a) Union b) Union all c) Intersect d) Intersect
all.
3. Develop sql queries to implement the following
aggregate functions a) Sum b) Count c) Average d)
Maximum e) Minimum f) Group by clause & having
clause.
4. Develop sql queries to implement following join
operations a) Natural join b) Inner join c) Outer join-left
outer, right outer, full outer d) Using join conditions.
5. Develop sql queries to implement nested subqueries a)
Set membership (int, not int) b) Set comparison (some,
all) c) Empty relation (exists, not exists) d) Check for
existence of Duplicate tuples(unique, not unique).
6. Develop sql queries to create a views and expand it.
7. Develop sql queries to implement a) String operations
using % b) String operations using ‘_’ c) Sort the element
using asc,desc [*create necessary reletions with requires
attribute].
i. Consider the following database for a banking
enterprise BRANCH(branch-name:string, branch-
city:string, assets:real) ACCOUNT(accno:int, branch-
name:string, balance:real) DEPOSITOR(customer-
name:string, accno:int) CUSTOMER(customer-
name:string, customer-street:string,
customercity:string) LOAN(loan-number:int, branch-
name:string, amount:real) BORROWER(customer-
name:string, loan-number:int)
ii. Create the above tables by properly specifying the
primary keys and the foreign keys
iii. Enter at least five tuples for each relation
iv. Find all the customers who have at least two accounts
at the Main branch.
v. Find all the customers who have an account at all the
branches located in a specific city.
vi. Demonstrate how you delete all account tuples at every
branch located in a specific city.
PRACTICAL EXERCISES:
HOURS:45
SEMESTER: 22UCSCC54 : RELATIONAL CREDIT:4
V DATABASE MANAGEMENT HOURS:4/W
PART:III SYSTEM

Unit I :Introduction:
Hours: 12
Database-System Applications- Purpose of Database
Systems - View of Data -- Database Languages -
Relational Databases - Database Design -Data Storage
and Querying Transaction Management -Data Mining and
Analysis - Database Architecture - Database Users and
Administrators - History of Database Systems.
Unit II: Relational Model:
Hours:12
Structure of Relational Databases -Database Schema -
Keys - Schema Diagrams- Relational Query Languages -
Relational OperationsFundamentalRelationalAlgebra
Operations Additional Relational-Algebra Operations-
Extended Relational-Algebra Operations - Null Values -
Modification of the Database.
Unit III: SQL: Hours:12
Overview of the SQL Query - Language - SQL Data
Definition - Basic Structure of SQL Queries - Additional
Basic Operations - Set Operations - Null Values Aggregate
Functions - Nested Subqueries - Modification of the
Database -Join Expressions - Views - Transactions -
Integrity Constraints - SQL Data Types and Schemas -
Authorization
Unit IV: Relational Languages:
Hours:12
The Tuple Relational Calculus - The Domain Relational
Calculus Database Design and the E-R Model: Overview of
the Design Process - The EntityRelationship Model -
Reduction to Relational Schemas - Entity-Relationship
Design Issues - Extended E-R Features - Alternative
Notations for Modeling Data - Other Aspects of Database
Design.
Unit V: Relational Database Design:
Hours: 12
Features of Good Relational Designs - Atomic Domains
and First Normal Form - Decomposition Using Functional
Dependencies - Functional-Dependency Theory -
Decomposition Using Functional Dependencies -
Decomposition Using Multivalued Dependencies-More
Normal Forms - Database-Design Process.

You might also like