Replacing NULL Values | SQL Intermediate Level Question

Publié le: 07 août 2024
sur la chaîne: Select Star
786
33

Namastey All,

Welcome to Select Star. Today I am solving a medium level interview question.

We have been provided a table shop and we are required to replace NULL Values in it with last non null value.

Topics covered :

1. Window Function SUM (RUNNING SUM)

2. Requirement of PRIMARY KEY

3. CASE WHEN inside SUM

4. SELF JOIN


Related Playlists:

1. Basic SQL Course :
   • Basic SQL Course  

2. SQL Easy Interview Questions :
   • SQL Easy Interview Question  

3. SQL Mediun to Hard Level Interview Questions :
   • SQL Intermediate to Advanced Interview Que...  

If you want me to solve some specific questions, then email me :
ananttnegii@gmail.com

Script for table creation :

create table shop (product varchar(50));

insert into shop values ('Table'),(null),(null),('Chair'),(null),('Sofa'),(null),(null),(null),(null);

select * from shop;

Happy Querying

#sql #data #dataanalytics #dataanalyst #analysis #analyst #dataengineers #dataengineering #machinelearning #datascience #datascientist #machinelearningengineer #businessanalyst #businessanalyticsjobs #businessanalytics #sqlserver #sqltips #sqlforbeginners #postgres #postgresql #mssqlserver #mssql #oracle #mysql #mysqltutorials #database #databasedesign #databasemanagement


Sur cette page du site, vous pouvez voir la vidéo en ligne Replacing NULL Values | SQL Intermediate Level Question durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Select Star 07 août 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 786 fois et il a aimé 33 téléspectateurs. Bon visionnage!