SQL SELF JOIN | UNION & UNION ALL in SQL | SQL Tutorial in Hindi 12

  Рет қаралды 171,316

Rishabh Mishra

Rishabh Mishra

Күн бұрын

Пікірлер: 108
@AshishTiwari-ug2lg
@AshishTiwari-ug2lg 6 ай бұрын
I was looking for a Hindi guy who can teach the SQL in very normal way. finally i found you Brother. the way of you teaching is simply awesome and Thanks for the video Man.
@RishabhMishraOfficial
@RishabhMishraOfficial 6 ай бұрын
Glad you liked ✅️
@PocketSavvy-s7c
@PocketSavvy-s7c Ай бұрын
​@@RishabhMishraOfficial bro ya file use kia hu wo dy du
@kauraman6991
@kauraman6991 Жыл бұрын
I always struggled to understand joins . Thanks for explaining in such a great way 🙂
@atishalikhar6746
@atishalikhar6746 2 ай бұрын
Even gate smasher can't made me understand this smooth that you done
@RishabhMishraOfficial
@RishabhMishraOfficial 2 ай бұрын
glad you liked it! :)
@RishiRap
@RishiRap Жыл бұрын
self join totally incomprehensible. You need to elborate MORE on Self join.
@radhikateli
@radhikateli 4 ай бұрын
Rest everything i understood except self join...lil bit confusing.. Rishab sir your teaching is awesome. Please explain the concept of self join in detail
@Aayatq
@Aayatq Жыл бұрын
This is wonderful. Thank you for your help.
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad you liked it ✅️
@dipannitadas6339
@dipannitadas6339 Жыл бұрын
Bohot ache se samjhaye sir. Thank you.
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad you liked ✅️
@labdhibavishi2430
@labdhibavishi2430 8 ай бұрын
Thank you so much sir. best explanation ever.
@RishabhMishraOfficial
@RishabhMishraOfficial 8 ай бұрын
Glad you liked ✅️
@Desh-Videsh-Updates
@Desh-Videsh-Updates Жыл бұрын
jioooo. Kya example diye ho, sb clear ho gya..❣
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad you liked it ✅️
@SirajuddinMohammed-zh8im
@SirajuddinMohammed-zh8im 18 күн бұрын
Very nice but self join concept agar thoda aur descriptive rahta toh ache se samajh aaata
@avneeshyashika_official
@avneeshyashika_official 3 ай бұрын
Heyy riahabh jo apne union krwaya mai actually oracle m krti hu to mujhe 2no ka hi same op mila
@rohitbhandare7376
@rohitbhandare7376 Жыл бұрын
Great Work Thank you.!
@GauravSharma-xp5gf
@GauravSharma-xp5gf Жыл бұрын
Sir you give the best explanations, keep doing this. I had searched a lot for this kind of videos 👍
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad you liked it 👍
@warriorspartan1697
@warriorspartan1697 Жыл бұрын
I have been trying to understand self join for quite a long time, but your illustration @04:05 leaves no doubt anymore. Thank you very much Sir.
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad it was helpful! ✅️
@padhaidotcom9276
@padhaidotcom9276 Жыл бұрын
could you please sir, repeat this class once more i am very confused to this class, i didn't understood difference
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Okayy noted ✅️
@NismaKashif
@NismaKashif 2 ай бұрын
Thank You, Sir, for best explanation technique.
@RishabhMishraOfficial
@RishabhMishraOfficial 2 ай бұрын
Glad you liked ✅️
@M_gaming992
@M_gaming992 9 ай бұрын
aren sir g love you ho geya kiya hi badiya smja diya apna tu
@kumarishanupriya3733
@kumarishanupriya3733 3 ай бұрын
Thank you so much sir 🙏 for the good explanation
@RishabhMishraOfficial
@RishabhMishraOfficial 3 ай бұрын
Glad you liked ✅️
@urbanpahadihiker8672
@urbanpahadihiker8672 Жыл бұрын
Dear sir , Why we are taking , what is the reason behind ???? (On T2.empid = T1.manager_id ) Instead of (On T1.empid = T2. Manager_id)
@ReelgramJams-vm3ug
@ReelgramJams-vm3ug Жыл бұрын
thats the same problem i have, nobody tells u about this
@ReelgramJams-vm3ug
@ReelgramJams-vm3ug Жыл бұрын
if apko reason pta chla ho toh pls btana
@dipannitadas6339
@dipannitadas6339 Жыл бұрын
Yes we can use T1. Empid = T2. ManagerID. Then in select part we need to put 'select T1. Empname As Manager Name , T2. Empname As Employee Name.... '
@iamsatyamjha
@iamsatyamjha 10 ай бұрын
In the given SQL query for a self-join, you have chosen to join the EMP table with itself using the condition ON T2.EMPID = T1.MANAGERID. This means you are joining the table on the employee's ID (EMPID) matching with the manager's ID (MANAGERID). The reason for this choice is to establish a hierarchical relationship between employees and their managers. By using T2.EMPID = T1.MANAGERID, you are retrieving rows where the EMPID of one record (representing an employee) matches the MANAGERID of another record (representing the manager). This way, you can identify the managers of each employee. If you were to use ON T1.EMPID = T2.MANAGERID, it would imply a reverse relationship where you are trying to match employee IDs with the manager's ID. This might not provide the desired hierarchical structure, as it would indicate employees who manage other employees. In most organizational structures, employees report to managers, so it makes more sense to use T2.EMPID = T1.MANAGERID for a self-join in this context. In summary, the choice of ON T2.EMPID = T1.MANAGERID is appropriate for representing the relationship between employees and their respective managers.
@cybershrajal
@cybershrajal 10 ай бұрын
randomly scroll kar raha the achanak se aapki video aa gayi. paper acha gaya
@RishabhMishraOfficial
@RishabhMishraOfficial 10 ай бұрын
Awesome, glad it was helpful ✅️
@fit_tubes_365
@fit_tubes_365 11 күн бұрын
Thankyou So Much!
@RishabhMishraOfficial
@RishabhMishraOfficial 10 күн бұрын
Glad you liked
@pooja1899
@pooja1899 3 ай бұрын
Thank you for clear the confusion
@kiddosknowledgewizbyakshit9954
@kiddosknowledgewizbyakshit9954 6 ай бұрын
Really in a simple language you have explained these important topics... Thanks a lot( Although I have researched many tutorials but couldn't find this kind of crystal clear explanation)
@rajikkhan8825
@rajikkhan8825 Жыл бұрын
Sir your explanation is very good . Thanks
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad you liked ✅️
@ankitpurshottam3442
@ankitpurshottam3442 2 ай бұрын
good
@RishabhMishraOfficial
@RishabhMishraOfficial 2 ай бұрын
Thanks
@Khan-mc3gi
@Khan-mc3gi Жыл бұрын
sir great video and easy to explain by you sir how to apply sql project in power bi for example if i find who customer most purchase made so sir how i visualize this in power bi visualization to show who customer make most of purchase by company there is any video u make pls share if u make
@vishu3040
@vishu3040 Жыл бұрын
Thank you sir Thanks a lot You explain in better way 🤩😍😘😘
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad you liked it ✨️
@kharedeeksha17
@kharedeeksha17 Жыл бұрын
very well explained
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad you liked ✅️
@SubhamMajumdar-c9r
@SubhamMajumdar-c9r 18 күн бұрын
hi sir first of all thank you for teaching in such easy way. sir i have a qu actually i didn't understand what is the difference between union and full join ? i think both returns kind of similar output then when we use union and when we use full join ?
@mahendraprajapati9809
@mahendraprajapati9809 Жыл бұрын
Very nice Rishabh, very simple way, thank you very much for this. Can you please make more advance videos on MS ACCESS DATABASE VBA
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Okayy noted
@dsa_tutorial
@dsa_tutorial 5 ай бұрын
Mindblowing keep going .
@Sankiengineer
@Sankiengineer 2 ай бұрын
Great
@RishabhMishraOfficial
@RishabhMishraOfficial 2 ай бұрын
Glad you liked ✅️
@avanendrasharma8244
@avanendrasharma8244 Жыл бұрын
On question sir In Self join after on could it not be written like t2.emp_id=t1.manager_id or t1.emp_id = t2.msnsger_id
@pareekshitraiyakwar4937
@pareekshitraiyakwar4937 Жыл бұрын
Respected sir, can you PLEASE make a video on the topic of... EQUI & NONEQUI JOIN
@sunilsaini6299
@sunilsaini6299 8 ай бұрын
3:25, Agar Join likte h to Self Join consider hota h bymistake u said Inner Join
@arjunbhasin8302
@arjunbhasin8302 7 ай бұрын
INNER hota hai
@sonuamlani8516
@sonuamlani8516 Жыл бұрын
Hi Rishabh, @ 03:23, you mentioned when we write just JOIN it is considered as INNER JOIN. I think you mean to say SELF join correct ?
@RishuPuri
@RishuPuri Жыл бұрын
nope, he said if we simply write JOIN it will considered as inner join, we have to write the same table_name again as t2 for self join...
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
@RishuPuri yes that's correct!
@Ishdeepkaur-e5o
@Ishdeepkaur-e5o 3 ай бұрын
sir ,agr 3,4 table diye ho toh sbko join krna jruri hai yaa use case k hisaab se join krna hota h?
@SandipanSarkar-c8v
@SandipanSarkar-c8v 7 ай бұрын
Finished watching
@RishabhMishraOfficial
@RishabhMishraOfficial 7 ай бұрын
Awesome, keep learning n keep growing 🚀
@sandeepkumarnishad8009
@sandeepkumarnishad8009 10 ай бұрын
great explanation for ever
@Digital_Ego
@Digital_Ego Жыл бұрын
Gr8 video
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
Glad you liked it ✅️
@SnehaKumari-e4l
@SnehaKumari-e4l 10 ай бұрын
best🎉🎉
@nabinbist1220
@nabinbist1220 Жыл бұрын
Sir Normalization ke video vi banao like it
@SandipanSarkar-c8v
@SandipanSarkar-c8v 7 ай бұрын
This dataset is not present ,Kindly update this file for practice which is valuable otherwise we have to manually create it.I hope u can understand
@deepankarsaxena4636
@deepankarsaxena4636 4 ай бұрын
Select All ❌ Select Star ❌ Select Sab Kuch ✅
@IMRANANSARI-yo1mm
@IMRANANSARI-yo1mm Жыл бұрын
Sir, what's the difference between inner join and union join as i feel it is similar. Further more, for union join all the headers of both the table should be similar?
@rivughosh4814
@rivughosh4814 Жыл бұрын
Isn't union uses two tables and inner join is with in same table?
@rizwan1396
@rizwan1396 5 ай бұрын
It means union all is same as full outer join?
@neelamgaikwad9809
@neelamgaikwad9809 10 ай бұрын
Hi rishab yeh 4:08 timestamp pe T2 kyu pehle lia hai... Why not T1.empid = T2 manager_id??
@archanarkumar9754
@archanarkumar9754 4 ай бұрын
Why T1 and T2 ? Table to ek hi hai
@neilagarwal9698
@neilagarwal9698 4 ай бұрын
what is the difference between union clause and full outer clause
@mukeshdhoni0786
@mukeshdhoni0786 7 ай бұрын
Sit table 2 banta hai naa isme ya ekhi table se ho jayega
@Ishdeepkaur-e5o
@Ishdeepkaur-e5o 3 ай бұрын
I think ,ek hi table se hota h
@abhinavsharma9178
@abhinavsharma9178 7 ай бұрын
Shad Goswami vrinda ko jai
@ShivamMishra-dh7zx
@ShivamMishra-dh7zx 4 ай бұрын
Glad someone noticed
@jiatxtmoa7434
@jiatxtmoa7434 5 ай бұрын
What is the difference between full outer join and union
@moh.editzz
@moh.editzz 6 ай бұрын
hello sir ,in my workbanch do not work "full outer join" sir plzz solved lots of problem.🙏🙏🙏
@g.sproduction1674
@g.sproduction1674 Жыл бұрын
Sql me kisi bhi file ko import kaise karte hai iske liye video bna dijiye
@RishabhMishraOfficial
@RishabhMishraOfficial Жыл бұрын
already uploaded, watch video- create table in sql
@mahendrapandit8606
@mahendrapandit8606 11 ай бұрын
Hii sir good morning your video is very well explaind sir data science regarding aapse bat karni h please tell me aapse contact kaise kru thank you
@imanjabbar5433
@imanjabbar5433 6 ай бұрын
what if dont use aliases why it is not working without using aliases
@RishabhMishraOfficial
@RishabhMishraOfficial 6 ай бұрын
It should work, check the syntax n table n column names
@Cricstory0108
@Cricstory0108 3 ай бұрын
Self join run nahi ho raha ha
@gate2ece357
@gate2ece357 4 ай бұрын
Bhaiya, mai UNION likha toh b 5 rows a raha hai .. aisa kyun zara bataiyega. Madan Mohan ka 2 bar nama a raha hai .
@RishabhMishraOfficial
@RishabhMishraOfficial 4 ай бұрын
Agar sari values same hogi tabhi vo duplicate hoga. You can try only select Name column to check of there are still duplicate values or not.
@shashanksingh5084
@shashanksingh5084 6 ай бұрын
are you Vaishnava?? because you are taking the name of prominent 6 Goswami of vrindavan?
@ShivamMishra-dh7zx
@ShivamMishra-dh7zx 4 ай бұрын
Glad someone noticed.
@makarsh29
@makarsh29 Жыл бұрын
bhai y union mysql m run nhi kr rha
@DeadlyGaming407
@DeadlyGaming407 8 ай бұрын
what if name is same but amount is differnt and we did union ??
@RishabhMishraOfficial
@RishabhMishraOfficial 8 ай бұрын
Then it's not a duplicate
@Altaf_Alam
@Altaf_Alam 4 ай бұрын
@Batistabrockbombf5
@Batistabrockbombf5 9 ай бұрын
Union karte tim madan mohan to nahi aana chaiye tha. ye name to dono table me hai to union sirf unique values leta ha. can anyone explain???
@wasilkhan2507
@wasilkhan2507 9 ай бұрын
union takes all the values from both the tables and show only unique values in output.
@galgotianhelper610
@galgotianhelper610 Жыл бұрын
😊
@syedarshad9028
@syedarshad9028 7 ай бұрын
Select sab kuch😂
@Digital_Ego
@Digital_Ego Жыл бұрын
Python ???
@Amannarwal280
@Amannarwal280 Ай бұрын
Sir synatx error show kar raha hu = I'd
@RishabhMishraOfficial
@RishabhMishraOfficial Ай бұрын
Check spelling of column names
@Bloging-yadav
@Bloging-yadav 5 ай бұрын
Ye work Nahi kr raha hai
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 53 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2 МЛН
бабл ти гель для душа // Eva mash
01:00
EVA mash
Рет қаралды 9 МЛН
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 196 М.
Group By and Having Clause in SQL | SQL Tutorial in Hindi 9
10:37
Rishabh Mishra
Рет қаралды 219 М.
Most Asked SQL Interview Question - Solved Using 3 Methods
14:51
Rishabh Mishra
Рет қаралды 82 М.
MySQL UNION & UNION ALL Tutorial in Hindi / Urdu
15:22
Yahoo Baba
Рет қаралды 110 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 53 МЛН