U n i v e r s i t y of S i n d h, J a m s h o r o
Presented By:
Name : Bilal Khanzada Roll no : 2K20/SWE/28
Name : Rashid Ali Jatoi Roll no : 2K20/SWE/89
Submitted to: Sir Zulifqar Ali Bhutto
ü A database is an organized collection of data, so that it
can be easily accessed and managed.
ü You can organize data into tables, rows, columns, and
index it to make it easier to find relevant information.
ü The main purpose of the database is to operate a large
amount of information by storing, retrieving, and A cylindrical structure is used to display
managing data. the image of a database.
The word schema comes from the Greek word skhēma, which means shape
and overall structure, or more generally, plan.
For Example:-
Name Roll No: Class Marks Course
1. A database schema is a blueprint or architecture of how our data will
look.
2. It describes both the organization of data and the relationships between
tables in a given database.
3. It doesn’t hold data itself, but instead describes the shape of the data and
how it might relate to other tables or models.
1. All important or relevant data
2. Consistent formatting for all data entries
3. Unique keys for all entries and database objects
4. Each column in a table has a name and data type
For Example:
Name Roll No: Class Marks Course
Schemas are an essential part of dbms. In smaller projects, database
schemas are usually written by the developers who will be working
on the project. This is because they are most likely to have intimate
knowledge of how the project will work.
There are three type of databse schema
Physical schema
logical schema
View schema.
1. Physical Schema:
The physical database schema represents how data is stored on disk storage.
It is the actual code that will be used to create the structure of your database.
2. View Schema:
This level is closest to the user, It has external schema.
External schema describe the part of the database that perticular user group is
interacting in and hides rest of the database from user group.
3. logical schema:
A logical database schema represents how the data is organized in terms of
tables.
It also explains how attributes from tables are linked together.
Logical level hides the details of physical storage