DMA-chapter No1
DMA-chapter No1
• Practical
• ESE – 50 M
• PA – 50 M
Chapter No 1
Creating Relational Database(08 M)
2. RDBMS Technology
3. Introduction to SQL
Concepts of relational database
• The relational data model was introduced by E. F. Codd
in 1970.
• it is the most widely used data model.
• The relational data model describes the world as “a
collection of inter-related relations (or tables).” A
relational data model involves the use of data tables
that collect groups of elements into relations.
• These models work based on the idea that each table
setup will include a primary key or identifier. Other
tables use that identifier to provide "relational" data
links and results.
Relational Model Concepts
Terms
• Attribute: Each column in a Table. Attributes are the properties which
define a relation. e.g., Student_Rollno, NAME,etc.
• Tables – In the Relational model the, relations are saved in the table
format. It is stored along with its entities. A table has two properties rows
and columns. Rows represent records and columns represent attributes.
• Column: The column represents the set of values for a specific attribute.
Cardinality
• It is the first key which is used to identify one and only one
instance of an entity uniquely.
• Foreign keys are the attribute of the table which is used to point to the
primary key of another table.
• Now in the EMPLOYEE table, Department_Id is the foreign key, and both
the tables are related.
DBMS Software
Relational Algebra