ISWE103P Database Systems Lab 0 0 2 1 Pre-requisite NIL Syllabus version 1.0 Course Objectives 1. To understand, design and implement databases. 2. To create new relational database and perform various transactions on it. Course Outcomes 1. Use of Structured Query Language (SQL) interface of a Relational Database Management System (RDBMS) package to create, populate and query the database. 2. Formulate query using SQL, solutions to a usage of query and data update problem. 3. Use procedural language to develop comprehensive solutions for all type of applications. Indicative Experiments Hours 1. Database creation Creating tables - Viewing all Tables in a Database - 2 Hours Dropping / Truncating/Renaming Tables. 2 Schema Refinement Alter table for new column - new domain size - rename a 4 Hours column with new domain type - set new constraints to the table - drop constraints/modify constraints. 3. Database manipulation Inserting / Updating / Deleting Records in a Table - Using 2 Hours transaction control commands – commit, rollback and save point. 4. For a given set of relational schemes, perform the following 4 Hours Simple Queries - Simple Queries with Aggregate functions - Queries with Aggregate functions (group by -having clauses). 5. SET Operators and Built-in Functions Union, Intersection, Minus, and Queries involving Date 2 Hours Functions - String Functions and Math Functions. 6. Complex Queries (Nested and Join Queries) Join Queries-Inner Join, Outer Join - Sub queries-with IN, 6 Hours EXISTS clause. 7. Views Creating Views (with and without check option) - Dropping 2 Hours views - Selecting from a view. 8. PL/SQL Programs • Variables, Constants, loops, conditionals, etc. 2 Hours • Sample program using FOR loop to insert ten rows into a database table. 9. PL/SQL– Block 4 Hours Cursor, Procedure, and Functions.
Proceedings of the 70th Academic Council (24.06.2023) 574
Item 70/20 - Annexure - 18
10. PL/SQL – Trigger 2 Hours
Total Laboratory Hours 30 hours Text Book(s) 1 Bob Bryla, Kevin Loney, “Oracle Database 12C: The Complete Reference”, Illustrated Edition, McGraw-Hill Education, Oracle Press, 2017. 2 Steven Feuerstein, Bill Pribyl, “Oracle PL/SQL Programming”, 6th Edition, O'Reilly Media, Inc., 2014. Mode of assessment: Continuous Assessment Tests, Final Assessment Test Recommended by Board of Studies 30-05-2023 Approved by Academic Council No. 70 Date 24-06-2023
Proceedings of the 70th Academic Council (24.06.2023) 575