0:02 [Music] 0:06 thank you 0:09 [Music] 0:11 Hello friends welcome back to our 0:13 channel so in the previous sessions we 0:15 have discussed about the functional 0:17 dependency and different properties of 0:20 functional dependencies that Armstrong 0:22 axioms and reference rules inference 0:25 rules in this session we'll say One More 0:28 Concept that is a types of functional 0:30 dependencies 0:32 thank you 0:36 types of functional dependencies 0:39 so coming to the first one so we'll take 0:42 this table as an example so student 0:44 table with a student ID student name age 0:47 college and the place 0:49 so coming to the first 0:51 type 0:54 so first one is in 0:56 trivial 0:58 trivial functional dependency 1:01 so what is meant by this trivial 1:03 functional dependency so in the previous 1:04 session we have seen about the 1:06 reflexivity 1:08 reflexivity property of functional 1:10 dependency the same will comes under 1:12 this trivia that means if 1:15 a tends to be 1:18 is a functionally dependent 1:21 then 1:23 be 1:25 is 1:26 subset 1:31 if B is subset of a then we call it as a 1:36 trivial functional dependent okay so 1:39 that means the dependent should be 1:42 a subset of determinants so here A and B 1:46 are the determinant and the dependent so 1:49 a can be having a multiple attributes 1:52 and B can have a multiple attributes so 1:54 whatever the attributes are there in B 1:56 should be a subset of a so such type of 1:59 functional dependency is a trivial 2:01 functional dependency so in this example 2:03 consider here 2:05 so 2:07 trivial for trivial you can observe so 2:11 the combination of S ID and s name 2:16 can give S ID right 2:20 so with the help of Sid and S name we 2:23 can get Sid as a attribute so this is a 2:26 self we can simply use this one okay so 2:29 s name tends to s name is itself okay 2:31 self functionally dependent because 2:33 here these are called as a determinants 2:36 and this is a dependent so by if you are 2:39 having the Sid along the name we can 2:42 have the Sid so which is nothing but a 2:45 subset of this one which is nothing but 2:48 a subset of this particular determinant 2:52 so such type of dependency we call it as 2:55 a trivial functional dependency trivial 2:58 functional dependent 3:00 so the second one is a non-trivial 3:06 non-trivial functional dependent so 3:08 quite opposite to this trivial so a 3:11 tends to B is the functionality 3:14 dependent if B is not a subset 3:21 not a subset of a that means whatever 3:24 the dependence we are having those 3:26 should be not a subset of determinants 3:29 okay so such type of functional 3:31 dependency we call it as a non-trivial 3:34 functional dependency so here coming 3:35 with the example coming to this 3:37 non-trivial so 3:42 here you can get S ID comma s name 3:47 can get age so age is functionally 3:52 dependent on the combination of Sid and 3:54 S name so you can observe here Sid and S 3:56 name 101 Sunday gives it 25 1 0 2 sorry 4:00 24 103 25 and 104 sorry 23 that means 4:05 there is no redundancy here okay and we 4:08 can get a edge also age or simply you 4:11 can give age and college age and College 4:15 right so here like this we can give 4:19 which are not a subset of the 4:22 determinants thus uh dependence should 4:24 not be subset of determinants 4:30 dependent set 4:33 should not be 4:37 subset 4:39 of 4:42 determinate 4:43 so this is clear this is clear so on the 4:47 left hand side which is a determinant on 4:49 the right hand side is a dependent right 4:52 so this type we call it as a non-trivial 4:54 functional dependency 4:56 and the third one 5:11 multi-valued dependency 5:18 multi-valued functional dependency 5:21 so here 5:24 a tends to BC is a functional dependent 5:30 then 5:31 B and C should not be independent should 5:37 not be dependent that means 5:41 either B tends to C or C tends to B 5:45 should not be 5:48 functionally dependent so then such type 5:51 of thing we call it as a multi-value 5:53 functional dependency such type of 5:55 values we call it as a 5:57 multi-valued dependency 6:00 right 6:01 so here 6:08 multi-valued so simply here we can give 6:11 S ID with the s name 6:15 comma H so if if it is a so you can 6:19 observe this is a functional dependency 6:21 because with the help of Sid we can get 6:23 both the s name and DH so there is no 6:25 repetition simply we can get it now what 6:28 we have to check means whether this 6:29 functional dependency is a multi-valued 6:31 or not that means so 6:34 there should not be relation in between 6:36 the dependents so 6:39 no relation 6:44 [Music] 6:46 dependence 6:48 dependence so here the dependent set is 6:50 assignment ACH so consider s name 6:54 tends to age 6:56 or age 6:57 tends to s name 6:59 so these both are should not be 7:01 dependent for first come to s name and 7:03 age so Sandeep it's a 25 and sarada is 7:07 24 and you can observe these two tooth 7:09 pulls okay so we have seen the 7:12 definition of functional dependencies so 7:14 if you want to check for the functional 7:16 dependency first we need to consider two 7:18 tuples randomly so that if if two tuples 7:22 are having the same x value that the 7:25 same Tuple should have the corresponding 7:27 y values also same right so here we are 7:30 having the same X values are the so s 7:32 name it's a survey but a different age 7:35 24 23 7:37 different age so this is not 7:39 functionally dependent coming to the 7:41 reverse process H tends to s name so 25 7:44 year Sunday when 25 years satwik so this 7:47 is also not possible so this is not a 7:49 functionally dependent so that implies 7:51 this particular functional dependency is 7:55 multi-value functional dependency 7:57 is a multi-value functional dependency 7:59 right so hope you understood this one so 8:03 one thing if a tends to BC is a 8:05 functionally dependent then B and C 8:08 should be dependent 8:12 should not be dependent so 8:16 should not be 8:17 dependent right so that means B tends to 8:21 C or C tends to be both should not be 8:23 functionally dependent so here we have 8:26 taken the example and we have translated 8:28 right next one the fourth and the last 8:31 one is a transitive functionally 8:33 dependent so now also we have already 8:35 observed in the Axiom property that is a 8:38 transitivity rule right so the same 8:41 thing here 8:46 so the fourth one 8:49 transitive 8:51 functional dependency 8:54 so a tends to B 8:57 is a functionally dependent and B tends 9:01 to C is also functionally dependent then 9:05 a tends to C is functionally dependent 9:09 so if a tends to B is functionally 9:11 dependent and if B tends to C is 9:13 functionally dependent similarly 9:14 similarly so from these two functional 9:17 dependencies we can derive a tends to c 9:19 as a functional dependency so this is a 9:22 type of situation we call it as a 9:24 transitive functional dependencies so 9:27 coming to the transitive 9:31 transitive so here we can get S ID 9:35 tends to college 9:38 and College 9:41 tends to place 9:43 so simply we can say yes ID tends to 9:47 place so let us check it let us check it 9:51 first Sid 9:53 tends to college we have to check 9:55 whether it is a functional dependent or 9:57 not so Sid and college so one zero one 10:00 one zero two one zero three one zero 10:01 four so there is no repetition so this 10:04 is f d 10:05 and coming to the college and place 10:08 foreign 10:11 college and place so I think 10:17 yeah 10:18 you can observe here also there is no 10:20 repetition okay so BEC we are CC lbrc 10:25 pvpa Sid so that means we are having a 10:28 unique values different values there is 10:30 no repetition 10:31 right so you can observe here we for we 10:33 are see we are set a college it's a 10:36 place is Vijayawada and PVP societies 10:38 for college places Vijayawada but we 10:41 have to compare only if the X values are 10:44 equal then we have to go with the Y 10:46 values but here the X values are not 10:48 equal so you need not bother about the Y 10:51 values so this is also in a functionally 10:54 dependent so what we have to do in the 10:56 transitive functional dependency this 10:58 implies yes idg 11:02 determines the place that means 11:05 if you have the student number we can 11:07 say he is studying in which place so if 11:10 you go with the sid101 11:13 zero two it's a Vijayawada one zero 11:16 three mileagram one zero four it's a 11:18 Vijayawada so here also the X values are 11:20 different so we need not bother about 11:22 the Y values so this is the transitivity 11:27 functional dependency transitive 11:29 functional dependencies 11:30 right so 11:33 this is how these are the different 11:35 types of functional dependencies 11:36 available so once again I'll write the 11:39 answer okay these are the examples so 11:42 that you will be understanding clearly 11:44 the first one 11:45 trivial 11:48 trivial 11:51 non-trivial 11:57 multi-value 12:02 and 12:04 transitive 12:08 transitive so these are the different 12:10 types of functional dependencies and 12:12 once again I'm repeating so these are 12:15 the base for the normalization because 12:17 if you understand clearly about these 12:20 functional dependencies that means what 12:21 the functional dependency and what is 12:24 the properties and the rules of 12:26 functional dependencies and what are the 12:27 different types of functional 12:28 dependencies then it would be very easy 12:31 to understand the normalization process 12:33 right so if you are not aware about the 12:36 functional dependency and the properties 12:38 of functional dependency I'll post the 12:40 playlist complete dbms play playlist 12:42 Link in the description section so just 12:45 to go through those two concepts while 12:46 moving on towards normalization so sorry 12:49 the three videos functional dependencies 12:51 properties and types of functional 12:53 dependencies so you just go through all 12:56 these three so that the normalization 12:57 process which we are going to explain in 13:00 the next sessions will be easily 13:02 understandable right so let's stop here 13:05 and if you are having any doubts 13:07 regarding these types of functional 13:08 dependencies feel free to post your 13:10 doubts in the comment section definitely 13:12 I will try to clarify all your doubts 13:13 and if you really enjoyed my session 13:15 like my session share my session with 13:18 your friends and don't forget to 13:19 subscribe to our Channel thanks for 13:21 watching thank you very much