DBMS Practical Lab File
DBMS Practical Lab File
Latest version
Latest version of oracle database is oracle database 21c which is the 21.1.0 which was released
on December 2020(cloud), august 2021(Linux).
Installation steps of oracle (oracle version used is oracle 11g):
Downloading the installation files
Step 1: Go to oracle.com and Click on Options menu.
1
Fig. 1: Oracle.com Interface
Step 2: Click the Download Button and Scroll Down to Database Section.
2
Step 4: After Clicking the Download Button, the page will be directed to Login Screen where
you’ll need to Sign in Oracle Account. If you don’t have one, then you must Sign Up, because
without that you won’t be able to download the Files.
3
Step 2: Click Yes to continue. This will start Oracle Universal Installer.
Step 3: Select any of the three different Installation Options according to your needs.
4
Practical No – 2
5
4.Patient – Test Report Relationship
• One patient can have multiple test reports.
• One test report is associated with only one patient.
5. Rooms – Patient Relationship
• One room can accommodate multiple patients over time.
• One patient occupies one room at a time.
6
Practical No. 3
7
II. Implement DML Commands – Insert, Select, Update, Delete
1.INSERT - insert data into a table Create a table Faculty with basic details
like(Name,Roll,Age,Marks)
INSERT INTO Student
VALUES ('ROHIT TYAGI', 45, 20, 90);
8
3.DELETE - deletes all records from a table, the space for the records remain
DELETE FROM Student WHERE Roll = 1;