No video

SQL Interview Question - Solution (Part - XVIII) |

  Рет қаралды 744

MeanLifeStudies

MeanLifeStudies

Күн бұрын

Пікірлер: 9
@namangarg7023
@namangarg7023 Күн бұрын
Very good knowledge u have about querying..tks
@gsrsakhilakhil528
@gsrsakhilakhil528 Ай бұрын
Thank you so much sir for making videos on daily after watching all your videos im feeling that im improving everyday
@AnandKumar-dc2bf
@AnandKumar-dc2bf Ай бұрын
You are making awesome vidoes hope u get much more viewerships...
@MeanLifeStudies
@MeanLifeStudies Ай бұрын
I really wish and Thank you so much for you support.
@namangarg7023
@namangarg7023 Күн бұрын
Just one request pls use small cte names and aliases it would be easy for beginners all the best..🙂
@harishsingh_424
@harishsingh_424 Ай бұрын
Awesome 👍 Request you to please make a detailed video on the stored procedure. I have searched the entire youtube but not getting helpful
@MeanLifeStudies
@MeanLifeStudies Ай бұрын
Thank you. I will do it soon.
@kailashpatro5768
@kailashpatro5768 Ай бұрын
hi sir what i did first i create one table min(date), max(date) after that i join the table with sales_info then after i by using lead() function i solved the solution with cte as ( select customername , min(date) as first_date, max(date) as last_date from sales_info group by customername ) select *, ((lead(SalesAmount,1) over(partition by c.customerName order by c.first_date)) - s.SalesAmount )*100/s.SalesAmount as prev_amount from cte c inner join sales_info s on s.date in (c.first_date,c.last_date)
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 22 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 39 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 28 МЛН
English or Spanish 🤣
00:16
GL Show
Рет қаралды 7 МЛН
Learn SQL + Database Concepts in 20 Minutes
24:34
Chandoo
Рет қаралды 51 М.
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 22 МЛН