Database and RDBMS
Database and RDBMS
Controls Eliminated
Redundancy Inconsistency
• Table:
- Rows (tuples): Records for different entities
- Fields (columns): Represents attribute for entity
- Primary key: Field in table used for key fields
- Foreign key: Primary key used in second table as look-up field to identify
records from original table
Relational Database Tables
The select, project, and join operations enable data from two different
tables to be combined and only selected attributes to be displayed.
Example of SQL QUERY
SELECT PART.Part_Number,PART.Part_Name,SUPPLIER.Supplier Number,SUPPLIER.Supplier_Name
FROM PART,SUPPLIER
WHERE PART.supplier_Number= SUPPLIER.Supplier_Number AND Part_Number = 137 OR
Part_Number = 150;
Difference Between
DBMS - RDBMS -
1. DBMS applications store data as file. 1. RDBMS applications store data in tabular form.
2. In DBMS, data is generally stored in 2. In RDBMS, the tables have an identifier called
either a hierarchical form or a navigational primary key and the data values are stored in the form
form. of tables.
3. DBMS uses file system to store data, so 3. In RDBMS, data values are stored in the form of
there will be no relation between the tables, so a relationship between these data values
tables. will be stored in the form of a tables as well.
4. DBMS has to provide some uniform 4. RDBMS system supports a tabular structure of the
methods to access the stored information. data and a relationship between them to access the
stored information.
5. DBMS is meant to be for small 5. RDBMS is designed to handle large amount of data.
organization and deal with small data. It It supports multiple users.
supports single user.
6. Example - file systems, Xml etc. 6. Example – MySQL, SQL Server, Oracle etc.
Submitted By :
Group 4
Navneet Saini ;11800214
Akashdeep Singh ; 11800415
Komal Sharma; 11800699
MBA – I (F130)