FUNCTIONAL DEPENDENCY, KEYS & Closures- Finding Keys in various Examples in DBMS

  Рет қаралды 9,511

Ritu Kapur Classes

Ritu Kapur Classes

Күн бұрын

Пікірлер: 8
@firibuanyass
@firibuanyass 5 жыл бұрын
Best explanation ever
@mustansirbhagat
@mustansirbhagat 6 ай бұрын
in definition, it should be t1.x = t1.y right? because we are comparring 2 attributes in same tuple for each tuple
@ritukapurclasses1591
@ritukapurclasses1591 4 ай бұрын
no, first you check if x is same for any two rows abd if it is, then we check for y. So, it’s the rule is t1.x = t2.x.
@akhilreddy4852
@akhilreddy4852 7 жыл бұрын
what about other keys??
@subhadippatra7930
@subhadippatra7930 6 жыл бұрын
The attribute closure which consists all the attributes of the relation forms the candidate key. On the other hand, a candidate key is an attribute which can uniquely identify any record of a relation . May you give me the possible intuition, if from an attribute let's say A we can reach other attribute then we can ensure that A can uniquely identify any record in the relation ?
@deepanshubansal8010
@deepanshubansal8010 5 жыл бұрын
Nice English
@subhadippatra7930
@subhadippatra7930 6 жыл бұрын
Madam, isn't is true that candidate key is always minimal ? Because, as E is candidate key and now E is present in RHS of any FD CD->E then from CD we can reach each and every attribute. That's true. But CD is not minimal. So, CD should be a super key. How can it be a candidate key ?
@ritukapurclasses1591
@ritukapurclasses1591 6 жыл бұрын
Minimal doesn't means minimal in length. We say a key is not minimal if its subset is also a candidate key. As no subset of CD is a key, CD is minimal
NORMALIZATION: Concept, Levels of Normalization, 1 NF & Examples(DBMS)
2:46
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 12 МЛН
Wall Rebound Challenge 🙈😱
00:34
Celine Dept
Рет қаралды 18 МЛН
10 Finding Candidate Keys - Example 1
17:16
GATE CS Videos by Ashish Mithole
Рет қаралды 144
NORMALIZATION 2NF (SECOND NORMAL FORM)- Concept & Example (DBMS)
6:23
Ritu Kapur Classes
Рет қаралды 7 М.
Relational Database Design  -Closure of a set of attributes
19:19
Coding Christi -Python, Java, SQL
Рет қаралды 919
DBMS - Closure on Attribute Sets
7:13
TutorialsPoint
Рет қаралды 24 М.
Functional Dependency in DBMS
8:14
making IT simple
Рет қаралды 69 М.
Illustration on Finding Candidate Key | Example #GATE-2013 | DBMS
8:10
Edredo for Learners
Рет қаралды 321 М.