DEPARTMENT Table
Create a simple DEPARTMENT table, insert records and run your first filtering, pattern-matching, update and delete queries.
Complete Oracle SQL, PL/SQL Programs, Practical Solutions, Viva Questions and Study Notes. Every practical set from the GTU syllabus, solved in Oracle with explanations, sample data and expected output — written for students who are just starting with databases.
Everything for the RDBMS lab and theory exam in one place.
Official set numbering from the GTU MCA Semester 1 RDBMS practical list.
Create a simple DEPARTMENT table, insert records and run your first filtering, pattern-matching, update and delete queries.
Build two related tables with full integrity constraints and answer the 23 official tasks on employees, salaries, birthdays and experience.
The salesmen–customers–orders database: the 46 official queries, from simple filtering to correlated subqueries and set operators.
Your first PL/SQL programs: an anonymous block, two stored functions and a stored procedure.
The EXAM database of applicants, entrance tests and centres: the 19 official tasks from updating IDs to relational division, a read-only view, procedures and a no-Sunday trigger.
A PL/SQL block that reads a department name and lists employees with five or more years of service.
Customers per country, average order value, an audit trigger, a top-customer function and a month-name procedure.
A formatted salary slip calculated from the basic pay: HRA, DA, medical allowance, PF, gross and net salary.
A procedure that takes two dates, validates them and prints every deposit and withdrawal in that period with totals.
Total salary with a cursor FOR loop, first as a function, then as a procedure filtered by the first letter of the name.