Replacing NULL Values | SQL Intermediate Level Question

Pubblicato il: 07 agosto 2024
sul canale di: 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


In questa pagina del sito puoi guardare il video online Replacing NULL Values | SQL Intermediate Level Question della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Select Star 07 agosto 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 786 volte e gli è piaciuto 33 spettatori. Buona visione!