0% found this document useful (0 votes)
2 views

OSS program output

The document details the creation and manipulation of a patient database, including the creation of tables, insertion of patient records, and updates to patient information. It lists patients with their IDs, names, ages, and states, showcasing various operations such as table alterations and schema management. Additionally, it includes records of patients being added and updated, as well as the creation and dropping of views and users.

Uploaded by

Dharini J
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)
2 views

OSS program output

The document details the creation and manipulation of a patient database, including the creation of tables, insertion of patient records, and updates to patient information. It lists patients with their IDs, names, ages, and states, showcasing various operations such as table alterations and schema management. Additionally, it includes records of patients being added and updated, as well as the creation and dropping of views and users.

Uploaded by

Dharini J
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/ 8

Tables successfully created.

SamplePatientsTable:
PatientID Patient Name Age
1 Kanaga 19
2 Arun 8
3 Shasvatha 3

Tables_in_patientDatabase
PatientID
Patient Name
Age

Table altered.

Columns Type Null Default


PatientID int(4) unasigned NO NULL
Patient Name Varchar(20) YES NULL
Age int(3) YES NULL

Query OK, 0 rows affected (0.00 sec)

Table Dropped.

3 Row(s) inserted.

1 row updated

Table altered
Table altered.

Patients
PatientID
Patient Name
Age

Table altered.

User Created.

User Dropped.

Schema created successfully.

Database

Patients

Schema Dropped.
Table Created.

Table Created.

Table Created.

Table Created.

Table Created.

View Created.

View Updated.

View Dropped.

Patients:
Patient Name State
Kanaga TamilNadu
Arun Kerala
Shasvatha Kerala

Patient Name State


Kanaga TamilNadu
PatientID Patient Name State Age

003 Shasvatha Kerala 3


002 Arun Kerala 8

State
TamilNadu
Kerala
Kerala

PatientID State
001 TamilNadu
002 Kerala
003 Kerala

PatientID Patient Name State Age

003 Shasvatha Kerala 3


002 Arun Kerala 8
001 Kanaga Tamilnadu 19

PatientID Patient Name State Age

001 Kanaga Tamilnadu 19


002 Arun Kerala 8
003 Shasvatha Kerala 3
PatientID Patient Name State Age

001 Kanaga Tamilnadu 19

PatientID Patient Name State Age

001 Kanaga Tamilnadu 19

PatientID Patient Name State Age

001 Kanaga Tamilnadu 19

PatientID Patient Name State Age

003 Shasvatha Kerala 3


002 Arun Kerala 8

PatientID Patient Name State Age

003 Shasvatha Kerala 3


002 Arun Kerala 8

PatientID Patient Name State Age

003 Shasvatha Kerala 3


PatientID

001
002
003
004
PatientID Patient Name State Age

004 Ammu NULL 30

PatientID Patient Name State Age

001 Kanaga Tamilnadu 19


002 Arun Kerala 8
003 Shasvatha Kerala 3

PatientID Patient Name State Age

001 Kanaga Tamilnadu 19


002 Arun Kerala 8

PatientID Patient Name State Age

001 Kanaga Tamilnadu 19


PatientID Patient Name State Age

001 Kanaga Tamilnadu 19


002 Arun Kerala 8
001 Shasvatha Kerala 3

Age
30

Age
10

Age
3

Age
19

Age
4
PatientID Age

001 19

PatientID Age

003 3

PatientID

001
002
003
004
004
006
007
008

PatientID
004

You might also like