You are on page 1of 5

Lovely Professional University, Punjab

Course Code INT308 Course Category Course Title DBMS LABORATORY NA Course Planner 16866::Harsh Bansal Lectures 0.0 Tutorials Practicals Credits 0.0 2.0 1.0

TextBooks Sr No T-1 Title SQL, PL/SQL: The Programming Language Of Oracle Reference Books Sr No R-1 R-2 Title Database System Concepts Database Systems: Models, Languages, Design and Application Programming Author Edition Year 2010 2013 Publisher Name Tata McGraw - Hill Education Pearson Henry F. Korth, Abraham 6th Silberschatz, S. Sudarshan Ramez Elmasri, Shamkant 6th B. Navathe 8th Author Ivan Bayross Edition 4th Year 2010 Publisher Name BPB Publication

R-3 R-4

An Introduction to Database Systems C. J. Date, S. Swamynathan, A. Kannan

2006 2012

Pearson Cengage Learning

Database Principles: Fundamentals of Peter Rob, Carlos Coronel, 9th Design, Implementation and Steven Morris Management

Relevant Websites Sr No RW-1 RW-2 RW-3 RW-4 RW-5 (Web address) (only if relevant to the course) Salient Features http://www.orafaq.com/faq/what_are_the_difference_between_ddl_dml_and_dcl_comm DDL, DML and DCL Commands ands http://docs.oracle.com/cd/B19306_01/server.102/b14200/clauses002.htm http://dwhlaureate.blogspot.in/2012/08/joins-in-oracle.html http://docs.oracle.com/cd/B10501_01/appdev.920/a96624/toc.htm http://docs.oracle.com/cd/B10500_01/server.920/a96524/c18trigs.htm Constraints Joins in Oracle PL/SQL User Guide and Reference Triggers

Scheme for CA:


Component Practical Evaluation Frequency 8 Out Of 10 Total :Each Marks Total Marks 10 10 80 80

*Each experiment of the lab will be evaluated using following relative scheme:
Component Practical Evaluation % of Marks 100

Detailed Plan For Practicals


Practical No Practical 1 Broad topic (Subtopic) Data Definition Language(Data Types) Data Definition Language(Alter) Data Definition Language(Drop) Data Definition Language(Truncate) Practical Description Learning Outcomes Equipment Used Oracle 9i Oracle 9i Oracle 9i Oracle 9i Oracle 9i Oracle 9i Oracle 9i Oracle 9i DDL commands like Create, Alter, Drop, Learn the commands to deal with the Rename, Truncate structure of the database DDL commands like Create, Alter, Drop, Learn the commands to deal with the Rename, Truncate structure of the database DDL commands like Create, Alter, Drop, Learn the commands to deal with the Rename, Truncate structure of the database DDL commands like Create, Alter, Drop, Learn the commands to deal with the Rename, Truncate structure of the database

Data Definition Language(Introduction to DDL commands like Create, Alter, Drop, Learn the commands to deal with the SQL) Rename, Truncate structure of the database Data Definition Language(Creating Tables) Data Definition Language(Rename) Practical 2 Implementation of Constraints(Default Constraint) Implementation of Constraints(Check Constraint) Implementation of Constraints(Primary Key) Implementation of Constraints(Foreign Key) Implementation of Constraints(Unique Key) Implementation of Constraints(Not Null Contraint) Practical 3 DDL commands like Create, Alter, Drop, Learn the commands to deal with the Rename, Truncate structure of the database DDL commands like Create, Alter, Drop, Learn the commands to deal with the Rename, Truncate structure of the database Constraints like Primary Key, Unique Key, Not Null, Default, Foreign Key, Check Constraint Constraints like Primary Key, Unique Key, Not Null, Default, Foreign Key, Check Constraint Constraints like Primary Key, Unique Key, Not Null, Default, Foreign Key, Check Constraint Constraints like Primary Key, Unique Key, Not Null, Default, Foreign Key, Check Constraint Constraints like Primary Key, Unique Key, Not Null, Default, Foreign Key, Check Constraint Constraints like Primary Key, Unique Key, Not Null, Default, Foreign Key, Check Constraint How to impose certain restrictions on the data being stored in a table How to impose certain restrictions on the data being stored in a table How to impose certain restrictions on the data being stored in a table How to impose certain restrictions on the data being stored in a table How to impose certain restrictions on the data being stored in a table How to impose certain restrictions on the data being stored in a table How the commands that are used to access or manipulate the data in the tables

Oracle 9i

Oracle 9i

Oracle 9i

Oracle 9i

Oracle 9i

Data manipulation language(Retrieval of DML commands like Insert, Update, Rows Using Select Statement) Delete and Select

Oracle 9i

Practical 3

Data manipulation language(Conditional Retrieval of Rows) Data manipulation language(Insert Statement) Data manipulation language(Update Statement) Data manipulation language(Delete Statement)

DML commands like Insert, Update, Delete and Select DML commands like Insert, Update, Delete and Select DML commands like Insert, Update, Delete and Select DML commands like Insert, Update, Delete and Select Advanced DML commands like creation of table from another table, insertion of rows from another table, deletion of rows with value which exists in another table, matching patterns for search, ordering the results of the query and Set operators (Intersect, Union and Minus) Advanced DML commands like creation of table from another table, insertion of rows from another table, deletion of rows with value which exists in another table, matching patterns for search, ordering the results of the query and Set operators (Intersect, Union and Minus)

How the commands that are used to access or manipulate the data in the tables How the commands that are used to access or manipulate the data in the tables How the commands that are used to access or manipulate the data in the tables How the commands that are used to access or manipulate the data in the tables

Oracle 9i

Oracle 9i

Oracle 9i

Oracle 9i

Practical 4

Data manipulation language(Working with Null Values)

Students will come to know about Oracle 9i advanced DML statements and how to search for patterns and order the results fetched from the table.

Data manipulation language(Matching a Pattern from a Table)

Students will come to know about Oracle 9i advanced DML statements and how to search for patterns and order the results fetched from the table.

Data manipulation language(Ordering the Advanced DML commands like creation Result of a Query) of table from another table, insertion of rows from another table, deletion of rows with value which exists in another table, matching patterns for search, ordering the results of the query and Set operators (Intersect, Union and Minus) Data manipulation language(Set Operators) Advanced DML commands like creation of table from another table, insertion of rows from another table, deletion of rows with value which exists in another table, matching patterns for search, ordering the results of the query and Set operators (Intersect, Union and Minus) Making use of aliases in the select statement, grouping the results of the query and excluding the results with having clause, Aggregate Functions

Students will come to know about Oracle 9i advanced DML statements and how to search for patterns and order the results fetched from the table.

Students will come to know about Oracle 9i advanced DML statements and how to search for patterns and order the results fetched from the table.

Practical 5

Data manipulation language(Aggregate Functions)

How to group the results based upon some condition, make use of Oracle inbuilt functions to produce valuable results How to group the results based upon some condition, make use of Oracle inbuilt functions to produce valuable results

Oracle 9i

Data manipulation language(Grouping the Making use of aliases in the select Result of the Query) statement, grouping the results of the query and excluding the results with having clause, Aggregate Functions

Oracle 9i

Practical 6

Data Control Language(Database DCL commands like Grant, Revoke Security and Privileges through Grant and Revoke Commands) Data Control Language(Commit and Rollback Commands) DCL commands like Grant, Revoke

Implementing the database security by granting and revoking privileges given to the user. Implementing the database security by granting and revoking privileges given to the user.

Oracle 9i

Oracle 9i

Practical 7

Joins(Self join)

Join like cross join, Equi Join, Natural How to access meaningful data from Join, Outer Join (left, right and full), Self multiple tables using a single select Join statement. Mid Term Practical Lab Test Join like cross join, Equi Join, Natural How to access meaningful data from Join, Outer Join (left, right and full), Self multiple tables using a single select Join statement. Mid Term Practical Lab Test

Oracle 9i

Joins(Equi join)

Oracle 9i

Joins(Left outer join and right outer join.) Join like cross join, Equi Join, Natural How to access meaningful data from Join, Outer Join (left, right and full), Self multiple tables using a single select Join statement. Mid Term Practical Lab Test Joins(Cartesian product) Join like cross join, Equi Join, Natural How to access meaningful data from Join, Outer Join (left, right and full), Self multiple tables using a single select Join statement. Mid Term Practical Lab Test Nested Queries and Views Writing complex queries to retrieve meaningful results, creating virtual table from other base table(s) which help implement security as well Writing complex queries to retrieve meaningful results, creating virtual table from other base table(s) which help implement security as well

Oracle 9i

Oracle 9i

Practical 8

Joins(Nested Queries)

Oracle 9i

Joins(Views)

Nested Queries and Views

Oracle 9i

Practical 9

Implementation of Stored Procedures (Writing PL/SQL Code)

Structure of the PL/SQL , Fundamentals Provides a base for the PL/SQL which Oracle 9i of PL/SQL, Reading the Value During is fully loaded with procedural Run Time (%TYPE and %ROWTYPE), capabilities Control Statements including conditional as well as iterative Cursor and its types Implicit and Explicit Know about the work area that the Oracle 9i Oracle engine needs for the query execution and to store the results of the query at the server side Subprograms like Stored Procedure and Functions, and packages Learn about how procedures and functions are used to perform a particular task and what are the differences between them Oracle 9i

Practical 10

Implementation of cursors(Implicit and Explicit Cursors)

Practical 11

Implementation of Stored Procedures (Stored Procedures)

Practical 12

Implementation of Stored Procedures (Stored Procedures)

Subprograms like Stored Procedure and Functions, and packages

Learn about how procedures and functions are used to perform a particular task and what are the differences between them

Oracle 9i

Practical 13

Implementation of Triggers(Triggers)

Triggers and its types (ROW triggers and How to automate the triggers based STATEMENT Triggers) upon the certain events on a particular End Term Practical Lab Test in Practical table or view in the database 14 Triggers and its types (ROW triggers and How to automate the triggers based STATEMENT Triggers) upon the certain events on a particular End Term Practical Lab Test in Practical table or view in the database 14

Oracle 9i

Practical 14

Implementation of Triggers(Triggers)

Oracle 9i

SPILL OVER
Practical 15 Spill Over

You might also like