Mavzu 4: Relyatsion Ma’lumotlar Bazasiga Kirish Reja


Download 340.01 Kb.
bet1/4
Sana23.09.2023
Hajmi340.01 Kb.
#1685623
  1   2   3   4
Bog'liq
Mavzu 4. Relyatsion malumotlar bazasiga kirish

Mavzu 4: Relyatsion Ma’lumotlar Bazasiga Kirish

Reja:

  • Relyatsion ma’lumotlar bazasi haqida tushuncha
  • Relyatsion ma’lumotlar bazasi shakllantirish shartlari
  • Relyatsion modellardagi turli amallar
  • Key(Kalit)lar va ulardan foydalanish

1. Relyatsion ma’lumotlar bazasi

Relyatsion modelda ma’lumotlar jadvallarda tasvirlanadi.

  • Relyatsion modelda ma’lumotlar jadvallarda tasvirlanadi.
  • Har bir jadvalda bir qancha ustunlar mavjud va har bir jadvalning takrorlanmas nomi bor.
  • Har bir qatorda ma’lumot saqlanadi.

Relyatsion model konsepsiyasi

  • 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.
  • Tuple – It is nothing but a single row of a table, which contains a single record.
  • Relation Schema: A relation schema represents the name of the relation with its attributes.

Relyatsion model konsepsiyasi

  • Cardinality: Total number of rows present in the Table.
  • Column: The column represents the set of values for a specific attribute.
  • Relation instance – Relation instance is a finite set of tuples in the RDBMS system. Relation instances never have duplicate tuples.
  • Relation key - Every row has one, two or multiple attributes, which is called relation key.
  • Attribute domain – Every attribute has some pre-defined value and scope which is known as attribute domain

2. Relyatsion ma’lumotlar bazasini shakllantirish shartlari

Relyatsion modelga asoslangan ma’lumotlar bazasidagi ma’lumotlarning to’gri bog’lanish hosil qilishi uchun 3 ta asosiy shart-qoidalar mavjud:

  • Relyatsion modelga asoslangan ma’lumotlar bazasidagi ma’lumotlarning to’gri bog’lanish hosil qilishi uchun 3 ta asosiy shart-qoidalar mavjud:
    • Domain Contstraints
    • Key Constraints.
    • Referential Integrity Constraints.

Download 340.01 Kb.

Do'stlaringiz bilan baham:
  1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling