Summary
Keywords
Full Transcript
In this video we are going to solve a very important business use case where we need to find difference between 2 dates excluding weekends and public holidays . Basically we need to find business days between 2 given dates using SQL. Zero to hero(Advance) SQL Aggregation: https://youtu.be/5Ighj_2PGV0 Most Asked Join Based Interview Question: https://youtu.be/xR87ctOgpAE Solving 4 Trick SQL problems: https://youtu.be/Ck1gQrlS5pQ Data Analyst Spotify Case Study: https://youtu.be/-YdAIMjHZrM Top 10 SQL interview Questions: https://youtu.be/Iv9qBz-cyVA Interview Question based on FULL OUTER JOIN: https://youtu.be/KQfWd6V3IB8 Playlist to master SQL : https://youtube.com/playlist?list=PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb Rank, Dense_Rank and Row_Number: https://youtu.be/xMWEVFC4FOk script: create table tickets ( ticket_id varchar(10), create_date date, resolved_date date ); delete from tickets; insert into tickets values (1,'2022-08-01','2022-08-03') ,(2,'2022-08-01','2022-08-12') ,(3,'2022-08-01','2022-08-16'); create table holidays ( holiday_date date ,reason varchar(100) ); delete from holidays; insert into holidays values ('2022-08-11','Rakhi'),('2022-08-15','Independence day'); #sql #business #days #analytics
