47. UNIQUE KEY in SQL (Hindi)

  Рет қаралды 78,411

Geeky Shows

Geeky Shows

Күн бұрын

Пікірлер
@yadneshkhode3091
@yadneshkhode3091 7 жыл бұрын
this is the best teaching channel on SQL in KZbin.... I'm lucky I found this..
@geekyshows
@geekyshows 7 жыл бұрын
Thank You! Share with your friends and classmates
@yadneshkhode3091
@yadneshkhode3091 7 жыл бұрын
Geeky Shows already did
@sandeepthewanderer
@sandeepthewanderer Жыл бұрын
very well explained.....thank you
@ALLCPL
@ALLCPL 6 жыл бұрын
बहोत अच्छी वीडियो है। 👍👍👍
@Ankurkumar14680
@Ankurkumar14680 7 жыл бұрын
Very informative, thanks for sharing
@suvikash1033
@suvikash1033 4 жыл бұрын
Thanks for teaching.
@nitinmahajan8687
@nitinmahajan8687 3 жыл бұрын
Very nice explained 🙏🙏🙏🚩🚩🚩
@technologybest3235
@technologybest3235 3 жыл бұрын
All the Best teacher's
@sabafathima8510
@sabafathima8510 7 жыл бұрын
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
@geekyshows
@geekyshows 7 жыл бұрын
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 ?
@sabafathima8510
@sabafathima8510 7 жыл бұрын
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
@geekyshows
@geekyshows 7 жыл бұрын
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.
@vickypatekar9532
@vickypatekar9532 5 жыл бұрын
Too Good Teaching Sir!
@SandeepKumar-so2st
@SandeepKumar-so2st 5 жыл бұрын
You are best
@Adarsh-fj3kh
@Adarsh-fj3kh Жыл бұрын
Is it enough for data analyist
@nishantsharma3673
@nishantsharma3673 7 жыл бұрын
sir please explain how to import or export data from excel
@atikapatel72
@atikapatel72 3 жыл бұрын
Thank you so much sir
@mudassirhashmiofficial
@mudassirhashmiofficial 5 жыл бұрын
good video but it should be short
@amanbhargavaofficial
@amanbhargavaofficial 3 жыл бұрын
Thank you 😊
@shivanyasingh8878
@shivanyasingh8878 7 жыл бұрын
Nice sir!
@rahulkarmore9739
@rahulkarmore9739 6 жыл бұрын
we also identify a record using primary key..so why we are use unique key
@binodthakur6113
@binodthakur6113 4 жыл бұрын
suppose you have to fetch details by adhar card then adhar card number can me made unique - primary key is just auto-increment number.
@rahulkarmore9739
@rahulkarmore9739 4 жыл бұрын
@@binodthakur6113 thanks for solved my confusion and also thanks for ur quick response😃
@kiarakhan8805
@kiarakhan8805 5 жыл бұрын
Where is stored procedures and triggers tutorials?
@AmanGupta-ze9fc
@AmanGupta-ze9fc 7 жыл бұрын
Can we add two null values in unique key field??
@darknightcore9905
@darknightcore9905 5 жыл бұрын
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
@davidak115
@davidak115 2 жыл бұрын
@@darknightcore9905 that's a lot of null xD
@mandarsalunkhe09
@mandarsalunkhe09 2 жыл бұрын
how to check which are the unique values in table ?
@CodingHack
@CodingHack 6 жыл бұрын
agar unique key ko auto increment kr de toh kiya hoga explain
@darknightcore9905
@darknightcore9905 5 жыл бұрын
Nothing.no errors as no duplicates
@gauravthakare7221
@gauravthakare7221 Жыл бұрын
Different between primary Kay and unique kay
@carrierbuilding4530
@carrierbuilding4530 4 жыл бұрын
*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
@geekyshows
@geekyshows 4 жыл бұрын
Multiple primary key defined. One table can have only one Primary Key.
@Sunshine-de1tb
@Sunshine-de1tb 4 жыл бұрын
what is difference between unique key and primary key
@debarghyachakraborty
@debarghyachakraborty 4 жыл бұрын
Primary key can be only one. Unique key can be multiple.
@Sunshine-de1tb
@Sunshine-de1tb 4 жыл бұрын
@@debarghyachakraborty thx
@ektagarg7211
@ektagarg7211 2 жыл бұрын
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
@DeepakRaj1
@DeepakRaj1 3 жыл бұрын
Why to use unique key when you can always use primary key?
@RaghiPandit
@RaghiPandit 6 жыл бұрын
is unique key same as unique constraint?
@debarghyachakraborty
@debarghyachakraborty 4 жыл бұрын
Yes, already mentioned in the video.
@RaghiPandit
@RaghiPandit 4 жыл бұрын
@@debarghyachakraborty dude you are replying like a year later. I don't really care about that at this point lol
@kiarakhan8805
@kiarakhan8805 5 жыл бұрын
Views and permissions?
@ManishKumar-yu8em
@ManishKumar-yu8em 4 жыл бұрын
please make a forigen key video
@smartcode1325
@smartcode1325 7 жыл бұрын
what is difference between primary key and unique
@1k2a3r
@1k2a3r 4 жыл бұрын
Difference between desc and select
@Himanshu_Sharma..
@Himanshu_Sharma.. 4 жыл бұрын
Desc gives you the meta data where as select helps in retrieving the information
@sandeepsahu8743
@sandeepsahu8743 6 жыл бұрын
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
@geekyshows
@geekyshows 6 жыл бұрын
Learn Required Languages and Practice as much as you can
48. PRIMARY KEY in SQL (Hindi)
11:12
Geeky Shows
Рет қаралды 112 М.
50. AUTO INCREMENT in SQL (Hindi)
16:20
Geeky Shows
Рет қаралды 62 М.
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 105 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
46. NOT NULL in SQL (Hindi)
8:55
Geeky Shows
Рет қаралды 56 М.
106. Create Table with Foreign Key in SQL Practical (Hindi)
6:26
Geeky Shows
Рет қаралды 161 М.
26. IS NULL and IS NOT NULL in SQL (Hindi)
5:45
Geeky Shows
Рет қаралды 81 М.
30. IN Operator in SQL (Hindi)
7:17
Geeky Shows
Рет қаралды 65 М.
40. LIKE with % WildCard in SQL (Hindi)
13:20
Geeky Shows
Рет қаралды 63 М.
44. ORDER BY decending order in SQL (Hindi)
4:02
Geeky Shows
Рет қаралды 66 М.
104. What is Foreign Key in SQL (Hindi)
4:38
Geeky Shows
Рет қаралды 140 М.
15. INSERT INTO in SQL (Hindi)
9:57
Geeky Shows
Рет қаралды 118 М.
27. AND operator in SQL (Hindi)
2:56
Geeky Shows
Рет қаралды 52 М.
105. Create Table with Foreign Key in SQL Theory (Hindi)
8:58
Geeky Shows
Рет қаралды 59 М.