Тёмный

NULL SAFE Join - Tricky SQL Interview Question🔥SQL Joins - No One Will Tell You This❤️Data Engineer🔥 

E-Learning Bridge
Подписаться 175 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

26 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@shashank_mishra
@shashank_mishra 2 года назад
How many of you already knew about Null Safe Join? Let me know in the comment section
@debajyotideba5001
@debajyotideba5001 2 года назад
Sir , please make a set of SQL problems sheet basic to advance for Data Engineer ❤️. In the market there are bunch of SDE sheet for SDE, but for DE there is no such sheet for Aspiring DE. So, please make it, it will be helpful for all the Aspiring Data Engineer ❤️💙
@vineetpandya1306
@vineetpandya1306 2 года назад
I had no idea about this concept at all!! Thanks Shashank so much....you're literally updating us about all these tricky interview cases free of cost 😇
@VedanttMehtaa
@VedanttMehtaa 2 года назад
create table tableA(colA int): create table tableB(ColB int); insert into tableA(colA) values(1),(2),(1),(5),(NULL),(NULL) insert into tableB(colB) values(NULL),(2),(5),(5);
@sanjeevrana1954
@sanjeevrana1954 Год назад
Thank you!!😀
@debajyotideba5001
@debajyotideba5001 2 года назад
Sir , please make a set of SQL problems sheet basic to advance for Data Engineer ❤️. In the market there are bunch of SDE sheet for SDE, but for DE there is no such sheet for Aspiring DE. So, please make it, it will be helpful for all the Aspiring Data Engineer ❤️💙
@ravindra2141
@ravindra2141 2 года назад
as soon as i heard null safe , COALESCE was the first thing that came to my mind .
@gurramvarunchowdary5735
@gurramvarunchowdary5735 2 года назад
Exactly 😀
@anjanguharoy
@anjanguharoy 2 года назад
You mean select * from tableA inner join tableB on coalesce(tableA.colA,'')=coalesce(tableB.colB,'') ? Considering colA and colB are string
@gurramvarunchowdary5735
@gurramvarunchowdary5735 2 года назад
@@anjanguharoy yes
@shashankemani1609
@shashankemani1609 2 года назад
I didn't know about null safe join at all. And not sure how we can use coalesce here. I don't think it's useful in this case. As always superb thank you! Please come up with more such problems 🙏🏻
@mbkamath3720
@mbkamath3720 Год назад
Mind blowing!🤯🤯🤯thank u Shashank for these kt..hungry for more..
@ThePragyashree
@ThePragyashree 2 года назад
So good... I really didn't know about null safe logic... Thank you so much.. 👍
@millennial_post
@millennial_post Год назад
This totally new problem statement for me...thanks for the detailed information.
@avilashsadual3393
@avilashsadual3393 2 года назад
Instead of long or operation:select * from tablea a, tableb b where nvl(a.cola,'awe') = nvl(b.colb,'awe');
@prathamIsOp
@prathamIsOp 9 месяцев назад
I was asked this question in my interview and i answered with null getting matched with the null. Now i have finally understood how to handle null values with inner join.
@AbhishekSharma-sr6mh
@AbhishekSharma-sr6mh 2 года назад
You can also use something like this in ON clause, single condition- ON ISNULL(ColA, 9999) = ISNULL(ColB, 9999) **9999 is just an arbitrary value for the sake of join whenever NULL value is encountered.
@hdr-tech4350
@hdr-tech4350 Год назад
tableA.colA == tableB.colB or (tableA.colA is null and tableB.colB is null) ; null safe join Operator
@aman6646
@aman6646 2 года назад
Can you make a similar video on that question from your Amazon data engineer interview which was about table a and b something about plane ?
@hariomawasthi2675
@hariomawasthi2675 2 года назад
Really enjoyed the way you explained the concept ...very simple and easy to understand
@VamsiKrishna-je3iy
@VamsiKrishna-je3iy 2 года назад
Kindly do video on aggregate function like department wise in various combination ur video of joins helped me a lot
@databridge9580
@databridge9580 2 года назад
You could have used NVL for that , again it's in Oracle, don't know what is there in my SQL
@navjotsingh-hl1jg
@navjotsingh-hl1jg 2 года назад
sir where all this things learn from?
@ramanreddy7276
@ramanreddy7276 Год назад
postgresql with cte as ( select COALESCE(v1,0) as v1 from t1 as a1 ), bb as ( select COALESCE(v1,0) as v1 from t2 as b1) select * from cte as c1 inner join bb as d1 on c1.v1 = d1.v1;
@chirag1688
@chirag1688 2 года назад
Your videos were very helpful for me to get motivated keep it up brother...❤
@pankajdubey1123
@pankajdubey1123 5 месяцев назад
thanks sir for this content
@eshakhosla1
@eshakhosla1 Год назад
Hi. Thankyou for sharing this useful video. Also, I have one doubt if you can help - What will be the result if left/right joins are applied to these two tables?
@Datapassenger_prashant
@Datapassenger_prashant 2 года назад
Main thing is , asking the questions from interviewer. This concept was not known to me as well ..
@manunair3327
@manunair3327 2 года назад
Sir could please share any platform name where we can practice these kind of questions ? Please reply thanks in advance
@deepanshusingh6057
@deepanshusingh6057 2 года назад
Interesting , thanx
@forniteguruji9409
@forniteguruji9409 2 года назад
Hey Shashank, Is there any good source to practice or get to know these types of tricky questions for FAANG level preparation?
@shashank_mishra
@shashank_mishra 2 года назад
Sadly nothing as such available
@sagaragarwal5705
@sagaragarwal5705 2 года назад
Hi sir, please make more videos on sql
@smileplease6151
@smileplease6151 2 года назад
Thank you so much bro
@sravankumar1767
@sravankumar1767 2 года назад
Superb bro 👌
@ravinarayan1008
@ravinarayan1008 2 года назад
Hi sir, I am a SQL database developer and wants to get into data engineer profile ,plz guide me.
@subhojitpaul5527
@subhojitpaul5527 2 года назад
Very informative
@jignesh1001
@jignesh1001 2 года назад
Why didn’t u use isnull or coalesce operation..
@sudharsanaragavendra1213
@sudharsanaragavendra1213 2 года назад
Hi mr.shashank Is engineering degree is must to become data engineer?.
@ganaparthijagadeesh
@ganaparthijagadeesh 2 года назад
Isnull in sqlserver
@francis.joseph
@francis.joseph 2 года назад
what is the use of null safe joins
@SunilVerma-qg8bb
@SunilVerma-qg8bb 2 года назад
Can we use WHERE statement instead of OR
@dv584
@dv584 2 года назад
Similar experience,, I had two interviews with two different companies .... in the first interview the interviewer asked a question related to Lead and Lag functions (I have never used them and hardly know about them in SQL server), I was not able to solve it.. the later day in another interview i had similar question from another level 5 company.. luckily i was able to answer it as i already had learned after the previous interview.
@forniteguruji9409
@forniteguruji9409 2 года назад
what is level 5 company?
@taniyasaini6830
@taniyasaini6830 2 года назад
cant we use IFNULL or ISNULL?
@powerfullifehacks7238
@powerfullifehacks7238 2 года назад
Hi Sashank, can you suggest me a course to crack Data engineer roles in FAANG level companies. Plz🙏🙏🙏🙂🙂 -currently I am working as azure data engineer
@shashank_mishra
@shashank_mishra 2 года назад
There is no dedicated course for it but I have created a roadmap for the same
@powerfullifehacks7238
@powerfullifehacks7238 2 года назад
Thanks Shashank for your reply
@VamsiKrishna-je3iy
@VamsiKrishna-je3iy 2 года назад
In struggling with it
@Sharmasurajlive
@Sharmasurajlive 2 года назад
👍🏻
@hirenvjaiswal
@hirenvjaiswal 2 года назад
Awesome @shashank
@sravankumar1767
@sravankumar1767 2 года назад
Keep posting new videos 📹 ✨
Далее
Practice SQL Interview Query | Big 4 Interview Question
14:47
How He Got $600,000 Data Engineer Job
19:08
Просмотров 116 тыс.