Chapter 1 (Hindi)
Completion requirements
Topic wise chapter (Hindi)
4. Table Structure in DBMS
1️⃣ Definition (परिभाषा)
- English: A table is a two-dimensional structure in a database that stores data in rows (tuples) and columns (attributes).
- Hindi: Table database में एक दो‑dimensional structure है जिसमें data rows (tuples) और columns (attributes) में store होता है।
- Each row (tuple) → one record (जैसे एक student का पूरा data).
- Each column (attribute) → specific data field (जैसे Name, Age).
2️⃣ Components of a Table (टेबल के घटक)
- Table Name (टेबल का नाम): Unique name to identify table (e.g., Students).
- Attributes / Columns (कॉलम): Data fields (e.g., StudentID, Name, Age).
- Tuples / Rows (पंक्तियाँ): Actual data entries (जैसे एक student का record).
- Degree (डिग्री): Number of attributes (columns की गिनती).
- Cardinality (कार्डिनैलिटी): Number of tuples (rows की गिनती).
- Domain (डोमेन): Allowed values for each attribute (जैसे Age हमेशा integer होना चाहिए).
- Constraints (नियम): Rules to maintain data consistency (Primary Key, Foreign Key, Not Null, Unique, Check).
3️⃣ Key Points (Quick Recap – संक्षेप में)
- Table = Rows + Columns
- Row = Record (tuple)
- Column = Attribute (field)
- Degree = Number of columns
- Cardinality = Number of rows
- Constraints = Rules ensuring correctness & uniqueness of data