MySQL + SQL · Lesson 13
RDBMS Concepts Examples के साथ
मुख्य RDBMS Concepts
RDBMS कुछ core concepts पर बना है: relation, tuple, attribute, domain, keys और integrity rules।
Concepts
| Concept | मतलब |
|---|---|
| Relation | Table |
| Tuple | Row |
| Attribute | Column |
| Domain | Column के allowed values |
| Primary key | Row को unique पहचानती है |
| Foreign key | दूसरी table से जोड़ती है |
Integrity Rules
- Entity integrity: primary key NULL नहीं हो सकती।
- Referential integrity: foreign key को मौजूद primary key से match करना चाहिए (या NULL)।
सारांश
- Relation, tuple, attribute, domain, keys relational model बनाते हैं।
- Entity व referential integrity data valid रखते हैं।