Table of contents | |
Fundamentals of a Database | |
Database Management System (DBMS) | |
Relational Databases | |
Terms Related to Relational Databases | |
Entity-Relationship Model (E-R Model) |
A database is a systematically organized collection of related information that allows for easy access, management, and updating. It supports various operations, including adding, updating, and deleting data.
Data: These are raw and unprocessed facts, including digital representations of text, numbers, images, or sound. For example, a student's test score is a piece of data.
Information: When data is processed, organized, or structured within a context to make it meaningful, it becomes information. For example, the average score of a class derived from individual test scores is information.
A database is made up of several components, each referred to as an object:
The architecture of a DBMS is typically divided into three levels:
In a relational database, data is stored across multiple tables, with relationships defined between them. A Relational Database Management System (RDBMS) manages these tables and their relationships. An RDBMS can spread a single database's data across several tables. Examples include Base, Oracle, DB2, Sybase, and Informix.
Relation: A relation in a relational database is a table with rows and columns representing data items and their relationships. It has three key properties:
Domain: A domain is the set of all possible values that an attribute or column in a table can take. If the elements of a domain are indivisible, the domain is considered atomic.
Attributes: Attributes are the column headings in a table, each having a distinct name.
Tuples: Tuples are the rows in a relation, each consisting of a set of values for the attributes.
Key: A key is a column or set of columns used to uniquely identify rows in a table or establish relationships with other tables. For example, in a table with columns like ID, name, and address, each of these columns could serve as a key to uniquely identify records.
The E-R Model is a diagrammatic representation of the entities in a database and their relationships. It is also known as the E-R Diagram.
There are two types of entity sets:
Relationship: A relationship represents how multiple entities are associated with one another. It is depicted by a diamond shape in E-R diagrams. Relationships can be categorized into three types:
Tit-Bits
48 videos|22 docs|33 tests
|
1. What is the importance of a Database Management System (DBMS) in managing databases? |
2. How do Relational Databases differ from other types of databases? |
3. How does the Entity-Relationship Model (E-R Model) help in designing a database? |
4. What are some common terms related to Relational Databases that one should be familiar with? |
5. How can a solid understanding of Database Concepts benefit someone preparing for the SSC CGL exam? |
|
Explore Courses for SSC CGL exam
|