Комментарии:
Fantastic.
ОтветитьBrother I have a problem in sql. Sum function give threefold or fourfold result with join query. could you please spend time fom me? I have shown the problem many yutube expert but they are procrastinating only. Thanks
ОтветитьPlease add video on partition by multiple columns
ОтветитьNice way of teaching🙂
ОтветитьGreat content and clear explanation of aggregate/window functions.
With using over (order by order_date), result set will be sorted whereas using over (order by order_date with rows between unbounded preceding and current row) result set will not be sorted in any order. Is that right ?
Sir. Great Video. You said that you will tell the differences between normal running sum and unbounded preceding and current row.
ОтветитьSir Hindi me vedio banaye please and each step explain why you are doing in hindi
Ответитьwhich database you have used in this tutorial Ankit ji
ОтветитьHi sir can you create videos from scratch for beginners
ОтветитьAmazing. Thank you so much
ОтветитьFor those of you writing your sql query on Postgresql. You can create the same table here in this Postgresql-compatible format:
CREATE TABLE int_orders (
order_number integer NOT NULL,
order_date date NOT NULL,
cust_id integer NOT NULL,
salesperson_id integer NOT NULL,
amount float NOT NULL
);
INSERT INTO int_orders (order_number, order_date, cust_id, salesperson_id, amount)
VALUES (30, DATE '1995-07-14', 9, 1, 460);
INSERT INTO int_orders (order_number, order_date, cust_id, salesperson_id, amount)
VALUES (10, DATE '1996-08-02', 4, 2, 540);
INSERT INTO int_orders (order_number, order_date, cust_id, salesperson_id, amount)
VALUES (40, DATE '1998-01-29', 7, 2, 2400);
INSERT INTO int_orders (order_number, order_date, cust_id, salesperson_id, amount)
VALUES (50, DATE '1998-02-03', 6, 7, 600);
INSERT INTO int_orders (order_number, order_date, cust_id, salesperson_id, amount)
VALUES (60, DATE '1998-03-02', 6, 7, 720);
INSERT INTO int_orders (order_number, order_date, cust_id, salesperson_id, amount)
VALUES (70, DATE '1998-05-06', 9, 7, 150);
INSERT INTO int_orders (order_number, order_date, cust_id, salesperson_id, amount)
VALUES (20, DATE '1999-01-30', 4, 8, 1800);
excellent
ОтветитьMaza agya, Thank you Ankit. Knowing how to work with lead and lag fn w/o actually using them, instead using preceding/following is awesome.
Ответитьi just love the way you teach
ОтветитьWhy it gives running sum only when we use order by?
Ответитьhi ankit 17/32
video completed
Hello Ankit
I have one question.
As you said we can use 1 preceding and 1 preceding function which works similar to Lag function. But let's say when there is too much data in the database and if we use the " 1 preceding and 1 preceding " function then how the system will behave in terms of performance. Can we use " 1 preceding and 1 preceding " for query optimisation???
Share sql playlist please
ОтветитьVery well explained. Thanks for sharing amazing content as you always do.
Ответитьmasterclass to clear aggregation concepts once and for all. Thanks Ankit.
ОтветитьWhen creating the tables
Why the columns and insert datais kept in the braces
kuch samjh nehi aya bhai please try to explain why instead of saying the same thing in english
Ответитьi asked my trainer but this solved my problem!! Thanks sir
ОтветитьJust a masterclass, the way you teach is simply outstanding ....Jem of a person :)
ОтветитьThis is awesome.. 😎
ОтветитьThanks for your videos. I have learned a lot. I believe it is not easy to make videos. Thanks for your time.
ОтветитьCame across this video today and thought of checking to refresh concepts and i would say you explained every aspect and usecase of aggregation functions very well !
ОтветитьExcellent Explanation... Wat a Class Sir ... Brilliant ...😍😍🤩🤩🤩
ОтветитьLoved it! you nailed it. Keep growing and keep sharing! 😍
ОтветитьYour way of approach and explanation was excellent.
ОтветитьHi Ankit, Thanks for posting this video I went through this and understood whole concept. I really appreciate you for explaining in simple way. Thanks Again!
ОтветитьIt would have been nice if you had explained with examples.
ОтветитьGreat and Excellent teaching. Thank you for sharing. I have learned a lot.
ОтветитьHello Sir,
Can you explain how unbounded preceding and current row is different from just order by order_date. Query would give the same result I believe
Awesome video! Cleared all my doubts around aggregation functions in SQL.
ОтветитьOne of the best few videos on Window Functions!
Or I must say 'The Best'...
Awesome video❤
ОтветитьVery well...
Really learning....
Much appreciated. You are really inspiring to learn SQL interestingly. God bless you and all the best.
ОтветитьBest Explanation on Window function, Thank you so much!!
ОтветитьAwesome Bro.. !!!
ОтветитьI saw a question in Leetcode 619
A single number is a number that appeared only once in the MyNumbers table. Find the largest single number. If there is no single number, report null:
why this worked:
select max(num) as num
from (select num from MyNumbers
group by num
having count(*) = 1) a
and this didn't:
select max(num) as num
from from MyNumbers
group by num
having count(num) = 1
You sir are an amazing teacher!
ОтветитьTHANK YOU! This is one of the best sql explanation tutorial I have seen. It helps a lot!
ОтветитьHi Ankit, could you pls do one video on table partitioning??
Ответитьgod bless you Ankit
Ответитьvery nice way of explaining. Like the pace and keeps it interesting
ОтветитьCrisp and clear
Ответить