Keys in RDBMS

  Рет қаралды 376,556

Neso Academy

Neso Academy

Күн бұрын

Пікірлер: 159
@anjaligupta7532
@anjaligupta7532 7 ай бұрын
1000 times better explanation than our college teachers.. 👍
@Idiot-ashim
@Idiot-ashim 7 ай бұрын
Which university
@rajwindersinghlall1468
@rajwindersinghlall1468 6 ай бұрын
True
@dicey.1422
@dicey.1422 21 күн бұрын
shruti memda
@Mojpedia
@Mojpedia 12 күн бұрын
You are a data science student
@Hey_Haroon
@Hey_Haroon Жыл бұрын
I m from non tech background and this topics comes in my Mba course and you explain it very smoothly. thank you !
@debasisnath9951
@debasisnath9951 Жыл бұрын
from where are u pursuing mba? is it mba in IT?
@Hey_Haroon
@Hey_Haroon Жыл бұрын
@@debasisnath9951 yes, From GL Bajaj institute greater Noida
@kawizekambowa3488
@kawizekambowa3488 6 ай бұрын
Clear explanation indeed .
@nurlanacc1623
@nurlanacc1623 3 ай бұрын
@@Hey_Haroon Email in alone is superkeu? Because it has null row
@ragapriyakarthikeyan3139
@ragapriyakarthikeyan3139 Жыл бұрын
The session is too engaging ,Sir. Got cleared with all the concepts🙂.Thankyou sir
@danielsims5771
@danielsims5771 Жыл бұрын
Oh my goodness. You explained the complex Lecture to a lay_man's view. I subscribed right away. Sending love from Zambia
@mutalekapambwe6882
@mutalekapambwe6882 Жыл бұрын
🇿🇲🇿🇲🇿🇲🇿🇲🇿🇲
@peterlor4126
@peterlor4126 2 ай бұрын
My professor doesn't even know what he's most of the time, thankfully we have the help we can get here. Thank you very much!
@robertbehrens7026
@robertbehrens7026 Жыл бұрын
you explained it 10/10, thank you so much!
@BRIMACONTEH-d3v
@BRIMACONTEH-d3v Жыл бұрын
Such a great teacher with clean and clear explanation! thank you!
@exploreyourself6776
@exploreyourself6776 2 жыл бұрын
Precise And to the point.Well done 👍
@rayaneziadeh1879
@rayaneziadeh1879 Жыл бұрын
thank you for speaking clearly, finally found a video in which i can understand what its said
@kawizekambowa3488
@kawizekambowa3488 6 ай бұрын
It is not that difficult , it was just clarity i needed. Thank you
@m-47recordzz35
@m-47recordzz35 2 жыл бұрын
Nicely explained , Thnxx alot 💙
@aakankshakhawase1860
@aakankshakhawase1860 4 ай бұрын
Thank you for the explanation. Your explanation really helped in clearing the concepts regarding the keys.👍Great work!
@Torchbearer777
@Torchbearer777 4 ай бұрын
Thank you for giving the knowledge about DBMS Keys ❤
@tuikasrivastava1763
@tuikasrivastava1763 4 ай бұрын
seriously better than my professor!!!
@Cobenis_Kar
@Cobenis_Kar Жыл бұрын
Beautifully explained, thank you!
@VigneshwaranS-n2i
@VigneshwaranS-n2i 6 ай бұрын
really! understood very clearly , mainly this session has been too engaging without lag.
@gauravsrivastava17
@gauravsrivastava17 6 ай бұрын
clears all the concept about keys
@Saha121-h6y
@Saha121-h6y 10 ай бұрын
Fantastic... Teaching..Great Sir Thank you sir
@shresth_bhakta
@shresth_bhakta Жыл бұрын
Thanks NESO academy for this! Indeed and infromative video !
@sanjeebamat4485
@sanjeebamat4485 Жыл бұрын
Great lacture thank you for making such wonderful video .
@KathirNatarajan-wk3nc
@KathirNatarajan-wk3nc 11 ай бұрын
Very very clear, really useful, wonderful explanation.great mentor u r sir, pls put more videos regarding dbms sir 🙏🙏🙏
@ashokkumarpadmanabhan6483
@ashokkumarpadmanabhan6483 Ай бұрын
Really use very usefull. Appreciated your efforts of sharing !!!
@shrts-l8i
@shrts-l8i 5 ай бұрын
1.75 X club
@umaraju593
@umaraju593 9 ай бұрын
very clear explanation. thank you
@modiallo968
@modiallo968 9 ай бұрын
excellent work sir, thank you!
@geetashah4430
@geetashah4430 2 ай бұрын
Good explanation 😊
@abdullateefidris-jf3ub
@abdullateefidris-jf3ub Жыл бұрын
Well understood, Thanks❤
@dawaphunsumlodey153
@dawaphunsumlodey153 Жыл бұрын
Simple and effective explanation. Thank you
@jesusbrideindeed1657
@jesusbrideindeed1657 11 ай бұрын
You are a great teacher
@manasvikumarthakur5471
@manasvikumarthakur5471 8 ай бұрын
Great Explaination Sir !!!!
@kabir73722
@kabir73722 7 ай бұрын
Thanks very clear explanation
@regilearn2138
@regilearn2138 5 ай бұрын
Wow, appreciate you for this.
@RenuSharma-iv7cs
@RenuSharma-iv7cs 7 ай бұрын
Very nicely explained
@monicabhattacharya9029
@monicabhattacharya9029 2 жыл бұрын
Thank you so much sir 😃😃👌
@rivaldondezwenayo4028
@rivaldondezwenayo4028 Жыл бұрын
thank you i learnt alot from your work 😃😃😃😃😃😃
@yoyo-hm2qo
@yoyo-hm2qo 8 ай бұрын
wonderful!!thanks,i understand it 100%😂
@tinkupavan565
@tinkupavan565 8 ай бұрын
Super explanation 👌👌👌
@samuelayine418
@samuelayine418 7 ай бұрын
Great teacher !!!
@funkiel-nowka
@funkiel-nowka Жыл бұрын
@nesoacademy, are you sure that (Name, Phone) can be super key and candidate key? In "super key" part you've mentioned that you can not force an employee to have a phone number, so it can be null. What if we have in DB three employees named John without assigned phone number? 🤔🤔🤔
@baranhamoglu4072
@baranhamoglu4072 Жыл бұрын
we need an answer to this, @funkiel-nowka if you found out can you explaine to me aswell ?
@baranhamoglu4072
@baranhamoglu4072 Жыл бұрын
@Neso Academy
@haneenbaghdadi5966
@haneenbaghdadi5966 Жыл бұрын
Even (Name, email) can't be a superkey coz what if email is Also null and the name might have repeated too...
@gokulnaathb2627
@gokulnaathb2627 9 ай бұрын
You're right! I have the same doubt. Most probably, that part of the explanation is wrong.
@mohitzen
@mohitzen 2 жыл бұрын
Thank you sir 😊
@nitikaphogat8084
@nitikaphogat8084 2 ай бұрын
At 12:14 Wouldn't name ,email also be candidate key ...because name alone cannot be a key but when combined with phone number it become candidate key ....so I think name combined with email will also be candidate key ...... correct me if I am wrong
@ezanatadesa2485
@ezanatadesa2485 2 ай бұрын
You're right, If PhoneNumber and Email are not unique across tuples then both {Name, PhoneNumber} and {Name, Email} can be candidate keys.
@JasGawera
@JasGawera 2 ай бұрын
@@ezanatadesa2485 If Phone Number can be NULL, then (Name, Phone Number) cannot even be a candidate key can it? If John 101 and John 105 both have a NULL phone number then the key does not uniquely identify the tuple.
@yusefiguess
@yusefiguess 4 ай бұрын
Thank you very much for the video. I have a question, why are we picking {Name, phone} and {email} as candidate keys instead of {Name, email} and {Phone}?
@giack6235
@giack6235 8 ай бұрын
Thank you for the very clear explanation. Just a question: at 11:50 you are considering among candidate keys also {Name, Phone} but according to definition, candidate key is a minimal set of attributes to be key. Since we have already considered {ID} and {SSN} as keys, minimal set of attributes to be key is 1, while in the case {Name, Phone} set of attribute is 2, which is greater. So why do we consider {Name, Phone} still as candidate key?
@sumanthkumar4035
@sumanthkumar4035 7 ай бұрын
"minimal set of attributes" it implies that if you remove an attribute from it, it's no longer a key. minimal doesn't mean number of attributes, implies no extra attributes
@Bharathsuru
@Bharathsuru Жыл бұрын
Nice explanation 💥💥💯
@MEHARAsad-n3e
@MEHARAsad-n3e 2 ай бұрын
great ...explanation
@statuslover4867
@statuslover4867 2 жыл бұрын
Thank you sir for nice explanation ❤️
@abizeta7507
@abizeta7507 Жыл бұрын
great teacher😊
@RishtonKiBaatein
@RishtonKiBaatein 2 жыл бұрын
Thank you so much!
@atharva..deshmukh
@atharva..deshmukh Ай бұрын
Excellent!!
@ayaanshaidahusain507
@ayaanshaidahusain507 13 күн бұрын
Damn good explanation
@sachinragu1742
@sachinragu1742 2 жыл бұрын
If one name is repeated twice and both the rows have null as their phone number then how will {name, phone} be a super key?
@Kanna12377
@Kanna12377 Жыл бұрын
{name, phone} is not a key because u can't identify a unique tuple by using this in that condition
@anusuyag5183
@anusuyag5183 Жыл бұрын
@@Kanna12377for the super key u said like we can use name, phone as key right … that eg is coming for all candidate key primary key and alternative key.. then how come u r saying it’s not a keys
@Raven812
@Raven812 Жыл бұрын
It is candidate key
@ritasen225
@ritasen225 Жыл бұрын
First you should make name and phone number as a key because it's not null but it's not not unique also
@queenkhan500
@queenkhan500 Жыл бұрын
Am also confused😢
@Abhishek-jh9lz
@Abhishek-jh9lz Жыл бұрын
100/10 ❤
@adriand.2884
@adriand.2884 Жыл бұрын
Where is the tutorial of Normalization? I need it right now hehe, were done at keys in rdbms
@AhmadRazaNaveed
@AhmadRazaNaveed 4 ай бұрын
Thanks for a lot
@kousik8042
@kousik8042 Жыл бұрын
super key is like super set.but actually it is power set of keys
@SaucedUpShawty
@SaucedUpShawty Ай бұрын
Im getting a Neso Academy tattoo
@sonuudarokar09
@sonuudarokar09 Жыл бұрын
You can add one thing here that is unique key allow only one null value....not more than one
@Amdebirhan_Abebe
@Amdebirhan_Abebe Жыл бұрын
Thank you !
@Getagrip8
@Getagrip8 4 ай бұрын
In a candidate key what if one attribute values are not unique and other attributecan have a null value, How can we identify it...For example there are 3 john in the table and if two have no phone numbers then how can we identify the specific tuple
@A2Blearning1999
@A2Blearning1999 Жыл бұрын
Thank You
@utsabbanerjee2770
@utsabbanerjee2770 11 ай бұрын
Lecturer key loves names like yusuf, alya, John , Robin etc.
@sumanthkumar4035
@sumanthkumar4035 7 ай бұрын
So, the unique key, must support null values apart from being unique ?
@jovankumar7780
@jovankumar7780 Жыл бұрын
Thankyou sir ❤❤❤❤😊😊😊
@kavinarasan2619
@kavinarasan2619 Жыл бұрын
nandri thale
@varanaze.
@varanaze. Жыл бұрын
😂😂 Mass bro nee 😂
@HetShah-ww8ph
@HetShah-ww8ph 3 ай бұрын
One doubt : Super keys contain null values : {name,phone number} but if 1.{ john,null } and again in table we have 2.{john,null} than how we will identify the actual john than how it is valid…
@atharvdeshmukh8192
@atharvdeshmukh8192 Ай бұрын
Name and phone no can't be super key. Super key should able to uniquely identify tuple. It should have atleast one attribute which is able to uniquely identify tuple, along with it can continue additional attribute which are not helping to uniquely identify the tuple. Ssn,name and phone no can be super key
@umabharathyts1998
@umabharathyts1998 4 ай бұрын
Thanks !
@ravindrathakur4563
@ravindrathakur4563 2 жыл бұрын
Thanks
@Tijiyabhanu
@Tijiyabhanu 13 күн бұрын
Sir Unique key means it accepted null values or not
@hscodingdairies14
@hscodingdairies14 Жыл бұрын
Can someone please explain what is a unique key because it seemed same as alternate keys
@somendrasarkar7837
@somendrasarkar7837 Жыл бұрын
Let's assume a airplane reservation system. What can be a primary key? Flight Number or Flight Number+Date
@Hahe2023
@Hahe2023 10 ай бұрын
I think both can act as a primary key but according to lecture " primary key should never and rarely be changed " 15:55 So there may be chance of date not mentioned (null) so flight number will definitely be a primary key.
@nurlanacc1623
@nurlanacc1623 3 ай бұрын
Email in alone is superkeu? Because it has null row
@DaiMoscv
@DaiMoscv Жыл бұрын
(Name, email) what if the email is Null but the name alone cannot identify uniquely a tuple? In my opinion in this case it cannot be a superkey
@haneenbaghdadi5966
@haneenbaghdadi5966 Жыл бұрын
Yess....even (Name, phone) can't be a super key...the phone no. Can also be null and the name can be repeated too...ig we hv to assign these attributes with certain keys separately....
@tricks_without_treat
@tricks_without_treat Жыл бұрын
Thanks bro
@boy-bf3si
@boy-bf3si Ай бұрын
12:16 why phone number isn't a candidate key
@aswin5226
@aswin5226 Жыл бұрын
Is it possible for a unique and composite key to be something other than a candidate key?
@gokulnaathb2627
@gokulnaathb2627 9 ай бұрын
Thank you
@dipjoytidebnath5530
@dipjoytidebnath5530 Ай бұрын
its not mandatory chosen by DBA its depends on application developer which field is required and why so correct your knowledge DBA only responsible for permission related access not application related
@utube_int2075
@utube_int2075 Жыл бұрын
So, super key is set of all possible combinations of attributes that can uniquely identify tuples. Is it right?
@shrutiagnihotri526
@shrutiagnihotri526 7 ай бұрын
If a column does not uniquely identify a tuple..it can't be a key...then how can u say email I'd can be a super key while it can contain null value
@GIGAlex6
@GIGAlex6 7 ай бұрын
Composite key at 19:28
@gokulnaathb2627
@gokulnaathb2627 9 ай бұрын
How can {Name, Phone} uniquely identify a tuple? Phone is nullable, right?
@moatemsulongchar8418
@moatemsulongchar8418 8 ай бұрын
I think we can set it to NOT NULL
@SatyamMaurya..
@SatyamMaurya.. 8 ай бұрын
12:41 here , (salary and phone) too.
@hovering900
@hovering900 2 ай бұрын
Can only a null value be a candidate key?
@HetShah-ww8ph
@HetShah-ww8ph 3 ай бұрын
It is possible that both john have null phone numbers than how can we identify the actual john?????????? From the table ………
@userkanikanika
@userkanikanika 3 ай бұрын
Simple It's ID ID is always Unique
@gottipadthasahithisahithig1137
@gottipadthasahithisahithig1137 6 ай бұрын
Sir could you post SQL tutorial
@Ganeshay-09
@Ganeshay-09 11 ай бұрын
Primary key --> PK PK is unique, NOT NULL, required , never duplicate and used for uniquely identify the data in table. every table have a max 1 PK. create table empinfo( id number primary key, ename varchar2(20), deptid number ); Unique key --> UK UK is unique, required, never duplicate and used for uniquely identify the data in table. table can have more than 1 unique key. UK allows null. every null is unique, we can not compare null to another null. thats why UK allows null, because it treats every null as unique. 10+null = null 10- null = null null is unknown and undefined, we do not know the value, so it always gives us null
@talhashahid2176
@talhashahid2176 Ай бұрын
awesome
@syedidrees7354
@syedidrees7354 4 ай бұрын
how name and phone can be super key if there are 2 employees with same name and having null in their phone number field.
@ishalkumar9037
@ishalkumar9037 Жыл бұрын
Which one was the foreign key ??? Dept. Code or any other ??
@mjordan1117
@mjordan1117 Жыл бұрын
why is salary on the table if you dont make use of it? Why is it not an alternate key?
@hosseinramezani5025
@hosseinramezani5025 9 ай бұрын
l think Name and Phone togather cant be a super key, cause we can have two Johns that dont have phone numbers! please correct me if im wrong
@hewansolomon1973
@hewansolomon1973 8 ай бұрын
phone no is unique also it is can be null so it is super key i think
@gokulanvs
@gokulanvs 7 ай бұрын
In the super key what if two employees having same name both don't have phone number , how will you uniquely edit their data
@AlphaNOVA69
@AlphaNOVA69 4 ай бұрын
Then it is not a super key, a super key should have attributes that are uniquely identifiable for each entry
@rocklee3254
@rocklee3254 5 ай бұрын
one thing i would like to add is that... (name + phone) cannot be a candidate key because they can have null values and the primary motive of candidate key is to uniquely identify a tuple. (name + phone) cannot be a primary key as well because primary key can't have null values.
@TournamentNepal
@TournamentNepal Ай бұрын
candidate key can also have a null value
@skyskitchen7872
@skyskitchen7872 8 ай бұрын
salary also can't be a superkey, right?
@4rithv1
@4rithv1 8 ай бұрын
Yupp
@steveboel12
@steveboel12 9 ай бұрын
How can the set {Name, Phone} be a super key if multiple people can have the same name and not every person has a phone number?
@Debugger_97
@Debugger_97 7 ай бұрын
Super key is possible of all combinations even null attributes can be used
@Debugger_97
@Debugger_97 7 ай бұрын
Phone number alone and with others can be made super key but name won't !
@Debugger_97
@Debugger_97 7 ай бұрын
Ask ChatGpt after providing some attributes to it
@anusuyag5183
@anusuyag5183 Жыл бұрын
Unique key can b id or ssn right.. how come name, phone will be unique key
@enisozturk8075
@enisozturk8075 Жыл бұрын
I have the same question how the phone number can be a unique key? There could be multiple nulls.
@samsonsumba7875
@samsonsumba7875 6 ай бұрын
Great
@hehehe9925
@hehehe9925 Жыл бұрын
can a candidate key have null values?pls anyone reply
@haneenbaghdadi5966
@haneenbaghdadi5966 Жыл бұрын
Yess...Candidate key attribute can contain null values. Also know that it does not allow the same value in the attribute field.
@shivamtiwari9040
@shivamtiwari9040 Жыл бұрын
at 19:19 name is not a unique key phone is a unique key and you are saying that set of name and phone is unique key, what if two employee of same name don't have phone number.
@kousik8042
@kousik8042 Жыл бұрын
only phone number is also not a key. multiple employee might have no phone....2ndnot- employees with same name might also have no phone. so 'only name', 'only phone number', 'both name and phone number' are not keys...forget which type...those are not key first
@yoga_with_atharva
@yoga_with_atharva 8 ай бұрын
why email is not unique key> as it is unique and null value
@poulomi1801
@poulomi1801 7 ай бұрын
some companies allow employees to have multiple email addresses, or they might have an email alias system where multiple employees share the same email domain. Additionally, allowing null values means that not all employees are required to have an email address, which further complicates setting it as a unique key.
Keys in RDBMS (Solved Questions)
10:19
Neso Academy
Рет қаралды 42 М.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Рет қаралды 2,1 МЛН
Мама у нас строгая
00:20
VAVAN
Рет қаралды 11 МЛН
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
Lamborghini vs Smoke 😱
00:38
Topper Guild
Рет қаралды 33 МЛН
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
1NF 2NF 3NF DBMS Hindi
13:21
SaghirTeach
Рет қаралды 60 М.
Introduction to Data Models
16:24
Neso Academy
Рет қаралды 319 М.
2 Years of C++ Programming
8:20
Zyger
Рет қаралды 1,1 М.
Why is Python 150X slower than C?
10:45
Mehul - Codedamn
Рет қаралды 30 М.
SQL - Complete Course in 3 Hours | SQL One Shot using MySQL
3:16:14
Apna College
Рет қаралды 9 МЛН
Relational Model Constraints
12:48
Neso Academy
Рет қаралды 197 М.
Concept of Relationships in ER Diagram
15:06
Neso Academy
Рет қаралды 516 М.
Мама у нас строгая
00:20
VAVAN
Рет қаралды 11 МЛН