Are you interested in attending an online SQL training course? We have received a few inquiries and are now planning one on 18 and 19 September 2021. This will be a 10 hours instructor led training covering SQL concepts as well as practical SQL query writing. The training cost is USD 100. If you are interested, please register here - forms.gle/y2U2eKmShq6JUnc29 Thank you 🙂
@mihirforyou35313 жыл бұрын
Mam what are the topics will be covered?
@jashanpreetsingh47502 жыл бұрын
Thanks a lot . Exactly solved the query i was having.
@LearnatKnowstar2 жыл бұрын
Thank you 🙏
@tlubaina3 жыл бұрын
You just saved my semester! Thanks
@LearnatKnowstar3 жыл бұрын
Thank you
@surajpatil35793 жыл бұрын
Thanks mam, splendid explanation keep making content like this!!
@saktibiswal6445 Жыл бұрын
Awesome explanation of LAG & OFFSET. Thanks!!
@LearnatKnowstar Жыл бұрын
Glad it was helpful!
@chandudevarapu15783 жыл бұрын
Thank you mam... Nice explained pls upload more videos like that... I will refer my friends also this type of scenarios very useful for us
@LearnatKnowstar3 жыл бұрын
Thanks so much. Do make sure that you and your friends subscribe to the channel 🙂
@mihirforyou35313 жыл бұрын
Thank you Mam ... very useful.. nicely explained ☺️
@LearnatKnowstar3 жыл бұрын
Thank you so much!
@mummz33712 жыл бұрын
I love watching your content because of the practical examples you use, thank you ❤️
@LearnatKnowstar2 жыл бұрын
Thank you
@MokshDrar Жыл бұрын
@@LearnatKnowstar Thanks maam you are very smart
@NareskanthM5 ай бұрын
Great Explanation !
@NareskanthM4 ай бұрын
thanks sister ! very easy to understand !
@LearnatKnowstar4 ай бұрын
Glad it was helpful!
@Regc10 Жыл бұрын
This is amazing helped me alot.
@LearnatKnowstar Жыл бұрын
Glad it was helpful.
@nikolaybaranov22132 жыл бұрын
Great explanation of how window functions work!
@LearnatKnowstar2 жыл бұрын
Thank you
@thatssodinesh7857 Жыл бұрын
You're great! Thank you so much
@LearnatKnowstar Жыл бұрын
Thank you!
@brianducharme34183 жыл бұрын
Thank you so very much!!
@LearnatKnowstar3 жыл бұрын
Glad it helped!
@pupu417842 жыл бұрын
Thank you so much. I needed this! :D
@LearnatKnowstar2 жыл бұрын
Glad it was helpful.
@deepthimurali962 Жыл бұрын
Can you suggest how to use lag and offset if we want to compare Jan-Feb 2022 vs Jan-Feb 2023. I basically want to sum both jan and feb and compare the growth Thanks for this!
@pravinm1490 Жыл бұрын
Nicely explained
@LearnatKnowstar Жыл бұрын
Thank you so much 🙂
@mmohan6922 ай бұрын
Akka super akka
@pravinm1490 Жыл бұрын
very nicely explained
@LearnatKnowstar Жыл бұрын
Thank you so much 🙂
@ajeshrajan8079 Жыл бұрын
Good explanation
@LearnatKnowstar Жыл бұрын
Thank you
@Tech2BI3 жыл бұрын
As long as it's 2017 or higher versions we have functions for the same scenarios for previous versions like 2012 or 2008 r2 do you have any solution for this?
@Hello.1253-e8v3 жыл бұрын
Excellent video series. Take a bow!! Could you please make something like this in Stored procs, performance tuning concepts
@LearnatKnowstar3 жыл бұрын
Thanks so much. Sure, we will be posting videos on advanced topics in near future.
@jadeldeek51002 жыл бұрын
is possible to have monthly figures or yearly figures by columns not by row as your example? YEAR 1, YEAR 2 OR JAN, FEB , MARS ....
@kesavanandt11952 жыл бұрын
Good explanation madam...thank you very much. And mam, what modification is to be done in this query to get the next month sales.??
@LearnatKnowstar2 жыл бұрын
Thank you. You can use the LEAD function instead of the LAG function
@oladman9058 Жыл бұрын
Wow!
@jonnybrooks97 Жыл бұрын
How can you drill down into specific columns with this, for example if you wanted to look at month on month changes for each store or region?
@satyapalrawat7857 Жыл бұрын
Hi - this is very helpful. But what if there is a month missing in the last year data ?
@arfathth51762 жыл бұрын
Can i know the recommended on other customer sql query
@ankurranjan32182 жыл бұрын
Let suppose Data does not have consecutive months data. For example I am having 2020-01 and 2020-06 data only then If I am comparing with previous month using LAG then it will not be correct, right? As it will compare June from Jan but I wanted to compare only June from May. How to proceed for this type of scenrio.
@pranavnair89772 жыл бұрын
use cross join
@vinaymaddi48012 жыл бұрын
Can anyone explain the last scenario month(orderdate)-1 is taken for offset. How is that.
@vinayv19402 жыл бұрын
Hi , How about compare day wise sales with previous year day wise sales. ie; compare 29/9/2021 to 29/9/2022
@pradeepvaka25452 жыл бұрын
In the offset use year instead of month Lag(sum(sales) , year(orderdate))
@rohitwaregaonkar3703 Жыл бұрын
Write a stored procedure that accepts the month and year as inputs Please help
@balamuralibattala3283 Жыл бұрын
Hi everyone,How to find the company that has growth in three successive years.pls provide solution for it
@gowthamev87453 жыл бұрын
How to calculate interview in sql for example:- customer placed an order, we have to find the customer who placed an order more than 1 within 7 days
@gelectiusdroid41472 жыл бұрын
I can tell you
@gmocore2 жыл бұрын
tnks !!! I
@sivachaitanya6330 Жыл бұрын
month(date) inside lag() function is throwing error says month should not be here in mysql ................what is the solution.........lag(sum(amount),Month(date))-------------->ERRor?????????????????
@advancewebdevelopment98022 жыл бұрын
There are 897 days in query. How to get results by year months days in same query
@ganeshkharad2 жыл бұрын
why use lag??? what if the data for a few months in a year are absent ???