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 ❤️💙
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 😇
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 ❤️💙
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 🙏🏻
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.
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.
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;
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?
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.