this is the best teaching channel on SQL in KZbin.... I'm lucky I found this..
@geekyshows7 жыл бұрын
Thank You! Share with your friends and classmates
@yadneshkhode30917 жыл бұрын
Geeky Shows already did
@sandeepthewanderer Жыл бұрын
very well explained.....thank you
@ALLCPL6 жыл бұрын
बहोत अच्छी वीडियो है। 👍👍👍
@Ankurkumar146807 жыл бұрын
Very informative, thanks for sharing
@suvikash10334 жыл бұрын
Thanks for teaching.
@nitinmahajan86873 жыл бұрын
Very nice explained 🙏🙏🙏🚩🚩🚩
@technologybest32353 жыл бұрын
All the Best teacher's
@sabafathima85107 жыл бұрын
By the value in unique key we can identify the whole record but if there are two null values in that column then how we can identify a particular record uniquely
@geekyshows7 жыл бұрын
Even if there is only one NULL you can't identify that particular row becoz NULL contain some unknown value. I can understand your situation as well i m very impressed by your question. I cant believe that i forgot to discuss this part in this series. OK Let's talk about NULL what do you think about NULL i mean according to you what is NULL ? It seems you are taking NULL as string but NULL is something which doesn't really exists or we can't imagine what it could be or an unknown value. So Let's see this example there are two unknown person can u tell both these are same guy or different ? NO, You can't tell becoz you don't know them this is what NULL is. NULL (first unknown person) and NULL (2nd unknown person) it means NULL is not equal to NULL in SQL. I hope it is clear to you ?
@sabafathima85107 жыл бұрын
Geeky Shows k I know the functionality of NULL but as like primary key doesn't accept duplicate we have to give auto_constraint to it without which error appear similarly we should give auto_contraint to this also naaa ...... As the only difference between primary key n unique key is PK don't accept NULL values n UK accept it
@geekyshows7 жыл бұрын
There is one more difference there can be only one PRIMARY KEY in a table while UNIQUE KEY may be more than one. Trust me you will understand the genuine use of UK and PK when you will do some real project for now i believe your concept has clear.
@vickypatekar95325 жыл бұрын
Too Good Teaching Sir!
@SandeepKumar-so2st5 жыл бұрын
You are best
@Adarsh-fj3kh Жыл бұрын
Is it enough for data analyist
@nishantsharma36737 жыл бұрын
sir please explain how to import or export data from excel
@atikapatel723 жыл бұрын
Thank you so much sir
@mudassirhashmiofficial5 жыл бұрын
good video but it should be short
@amanbhargavaofficial3 жыл бұрын
Thank you 😊
@shivanyasingh88787 жыл бұрын
Nice sir!
@rahulkarmore97396 жыл бұрын
we also identify a record using primary key..so why we are use unique key
@binodthakur61134 жыл бұрын
suppose you have to fetch details by adhar card then adhar card number can me made unique - primary key is just auto-increment number.
@rahulkarmore97394 жыл бұрын
@@binodthakur6113 thanks for solved my confusion and also thanks for ur quick response😃
@kiarakhan88055 жыл бұрын
Where is stored procedures and triggers tutorials?
@AmanGupta-ze9fc7 жыл бұрын
Can we add two null values in unique key field??
@darknightcore99055 жыл бұрын
Yes unique key will allow everything of its type but wont allow the duplicate but null is not equal to null so we can add multiple nulls
@davidak1152 жыл бұрын
@@darknightcore9905 that's a lot of null xD
@mandarsalunkhe092 жыл бұрын
how to check which are the unique values in table ?
@CodingHack6 жыл бұрын
agar unique key ko auto increment kr de toh kiya hoga explain
@darknightcore99055 жыл бұрын
Nothing.no errors as no duplicates
@gauravthakare7221 Жыл бұрын
Different between primary Kay and unique kay
@carrierbuilding45304 жыл бұрын
*Sir is ka meaning kya ha?* Error SQL query: -- -- Indexes for dumped tables -- -- -- Indexes for table `ertable` -- ALTER TABLE `ertable` ADD PRIMARY KEY (`Sr`); MySQL said: Documentation #1068 - Multiple primary key defined
@geekyshows4 жыл бұрын
Multiple primary key defined. One table can have only one Primary Key.
@Sunshine-de1tb4 жыл бұрын
what is difference between unique key and primary key
@debarghyachakraborty4 жыл бұрын
Primary key can be only one. Unique key can be multiple.
@Sunshine-de1tb4 жыл бұрын
@@debarghyachakraborty thx
@ektagarg72112 жыл бұрын
Hello , I tried to use Alter command with UNIQUE but it is showing errror: alter table student add state varchar (10) UNIQUE KEY This command not working ..pls help
@DeepakRaj13 жыл бұрын
Why to use unique key when you can always use primary key?
@RaghiPandit6 жыл бұрын
is unique key same as unique constraint?
@debarghyachakraborty4 жыл бұрын
Yes, already mentioned in the video.
@RaghiPandit4 жыл бұрын
@@debarghyachakraborty dude you are replying like a year later. I don't really care about that at this point lol
@kiarakhan88055 жыл бұрын
Views and permissions?
@ManishKumar-yu8em4 жыл бұрын
please make a forigen key video
@smartcode13257 жыл бұрын
what is difference between primary key and unique
@1k2a3r4 жыл бұрын
Difference between desc and select
@Himanshu_Sharma..4 жыл бұрын
Desc gives you the meta data where as select helps in retrieving the information
@sandeepsahu87436 жыл бұрын
Sir....I think u r pursuing your IT degree from ignou ..So sir bca ya MCA kr rhe ho aap? Or sir web development k videos bnaye..How to become a good web developer?? Bahut help hogi sir
@geekyshows6 жыл бұрын
Learn Required Languages and Practice as much as you can