Summary
Keywords
Full Transcript
In this video we will learn how to implement scd type 1 and type 2 using SQL. This will help you build logics using update and insert statement. script: CREATE TABLE product_stg( Product_id INT, Product_Name VARCHAR(50), Price DECIMAL(9,2) ); CREATE TABLE product_dim( Product_id INT primary key, Product_Name VARCHAR(50), Price DECIMAL(9,2), last_update date ); create TABLE product_dim( product_key int identity(1,1) primary key, Product_id INT, Product_Name VARCHAR(50), Price DECIMAL(9,2), start_date date, end_date date ); 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 #sql #dataengineer
