RDBMS stands for Relational Database Management System. RDBMS is the basis for SQL, and for all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.A Relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by E. F. Codd.
In general, databases store sets of data that can be queried for use in other applications. A database management system supports the development, administration and use of database platforms.
An RDBMS is a type of DBMS with a row-based table structure that connects related data elements and includes functions that maintain the security, accuracy, integrity and consistency of the data.
What is table
The RDBMS database uses tables to store data. A table is a collection of related data entries and contains rows and columns to store data.
A table is the simplest example of data storage in RDBMS.
Let\’s see the example of student table.
ID | Name | AGE | COURSE |
---|---|---|---|
1 | Abhinay | 24 | M.Tech |
2 | Aarav | 20 | C.A |
3 | Megha | 21 | BCA |
4 | Ratana | 22 | MCA |
5 | Vimala | 26 | BSC |
What is field
Field is a smaller entity of the table which contains specific information about every record in the table. In the above example, the field in the student table consist of id, name, age, course.
What is row or record
A row of a table is also called record. It contains the specific information of each individual entry in the table. It is a horizontal entity in the table. For example: The above table contains 5 records.
Let\’s see one record/row in the table.
1 | Abhinay | 24 | M.Tech |
What is column
A column is a vertical entity in the table which contains all information associated with a specific field in a table. For example: \”name\” is a column in the above table which contains all information about student\’s name.
Abhinay |
Aarav |
Megha |
Ratana |
Vimala |
NULL Values
The NULL value of the table specifies that the field has been left blank during record creation. It is totally different from the value filled with zero or a field that contains space.
Data Integrity
There are the following categories of data integrity exist with each RDBMS:
Entity integrity: It specifies that there should be no duplicate rows in a table.
Domain integrity: It enforces valid entries for a given column by restricting the type, the format, or the range of values.
Referential integrity: It specifies that rows cannot be deleted, which are used by other records.
User-defined integrity: It enforces some specific business rules that are defined by users. These rules are different from entity, domain or referential integrity.