Lec-67: SQL Aggregate Functions - SUM, AVG(n), COUNT, MIN, MAX Functions | DBMS
HTML-код
- Опубликовано: 5 авг 2024
- 👉Subscribe to our new channel: / @varunainashots
0:00 - Introduction
1:16 - MAX
3:25 - MIN
4:20 - COUNT
6:52 - SUM
8:13 - AVG
► Structured Query Language (SQL)(Complete Playlist):
• Structured Query Langu...
Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
►Design and Analysis of algorithms (DAA):
• Design and Analysis of...
►Computer Architecture (Complete Playlist):
• Computer Organization ...
► Theory of Computation
• TOC(Theory of Computat...
►Artificial Intelligence:
• Artificial Intelligenc...
►Computer Networks (Complete Playlist):
• Computer Networks (Com...
►Operating System:
• Operating System (Comp...
►Database Management System(Complete Playlist):
• DBMS (Database Managem...
►Discrete Mathematics:
• Discrete Mathematics
►Compiler Design:
• Compiler Design (Compl...
►Number System:
• Number system
►Cloud Computing & BIG Data:
• Cloud Computing & BIG ...
►Software Engineering:
• Software Engineering
►Data Structure:
• Data Structure
►Graph Theory:
• Graph Theory
►Programming in C:
• C Programming
►Digital Logic:
• Digital Logic (Complet...
---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on RUclips: / gatesmashers
►Subscribe to our new channel: / @varunainashots
► Like our page on Facebook: / gatesmashers
► Follow us on Instagram: / gate.smashers
► Follow us on Instagram: / varunainashots
► Follow us on Telegram: t.me/gatesmashersofficial
► Follow us on Threads: www.threads.net/@gate.smashers
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: gatesmashers2018@gmail.com
Great video! Kudos to you, sir!
Just a few corrections though:
1. Instead of SELECT DISTINCT(COUNT Salary) FROM Emp; , the query should be SELECT COUNT(DISTINCT Salary) FROM Emp;
2. Similarly, instead of SELECT DISTINCT(SUM Salary) FROM Emp; , the query should be SELECT SUM(DISTINCT Salary) FROM Emp; , and
3. Instead of SELECT DISTINCT(AVG Salary) FROM Emp; , the query should be SELECT AVG(DISTINCT Salary) FROM Emp;
Yeah I also able to figured it out as I was doing practical side by side
thnx ,
true
yeah faced the same thing while practicing and was about to comment the same
Thanks for sharing
6:40 SELECT COUNT( DISTINCT Salary) FROM Emp; is the correct answer.
ooh bro thanks i was also confused when it didnt worked
One of the best RUclips channels for engineering and computer science students.👌👌
It was a great video to learn SQL, Between kindly correct your query expression at time 6:17 to SELECT COUNT(DISTINCT(salary)) FROM employee; Thank you.
Thanks
@@janvinaik5072 hey it's good to see an army here
@@mallikarjunpidaparthi ohh heyy!!!!!
@@mallikarjunpidaparthi army??
@@janvinaik5072 yes I am
I came across ur videos. And I swear u made my life easier. I wanted to join SQL classes, however couldn't join right now due to financial condition.. And I started following ur videos. I don think I need any coaching outside. Thanks sir.
You're right bro
Trueee..,😍
Thank you so much for all your hard work!!! We really appreciate it!!
select sum ( distinct ( salary ) ) from emp;
cos first we have to distinct the data and then we want the sum of that distinct data.
Yes I have same problem with that....
We need to distinct salary then take sum.
ruclips.net/video/5FsIa4Mp3ho/видео.html
good bro....I also face the same problem and bcz of u it solve
i really appreciate ur videos. They helped me alot in clearing my concepts thanks for such good stuff
One question but the answer providing with complete details , that's superb. Thank you so much sir
You are a great teacher...much appreciated...thanks...no technical background required to understand your explanation..
Sir you deserve to be a best youtuber according to me you explaining topic very easily
It was a great video to learn SQL, But in this video kindly correct your query expression at time 6:17 to SELECT COUNT(DISTINCT(salary)) FROM employee;
I watch all of your videos and you are a saviour! You make us understand complex concepts in easier way,thanks a ton! I recommend your channel to my friends and they love it too:)
Bhai maza aa gaya aapse padh kr. sab log bhai ka channel subscribe kro aur bell dabana na bhulna🙏🙏🙏
Respected sir... You are really great...getting the concept clearly
I got Alpha in OS by understanding concepts from videos of sir now I am studying DBMS and now I again came back to sir lectures
Thank you so much sir, this video really helped me understand aggregate functions!
Sir ji query thori glt likh di apne
Select COUNT(DISTINCT salary) from emp order by asc;
select count(distinct(dept)) from emp;
This is the correct one thanks
Excellent explanation sir.... Love ur videos
Thank you..sooo much sir
Excellent teaching
Thank you so much for all your videos. It is easy to understand
Couldn’t get my head around this in classes thanks for your help
Sir, you are the best. Your videos helped me a lot. Thank you
Thank you so much . Ur videos helped me a lot
Thank you sir for teaching us and keep going
select sum(distinct(salary) )from emp; will actually give sum of distinct salaries.
PADHAKU BACCHE 🙃
Thanks you, sir aap bhaut he aaram aaram se samjhte ho to sab ek baar me samaj a jata h.... Again thank you!!
Detailed explanation. Thank you.
thank you sir for make this easy video for us
So nice ,
This tutorial beneficiate me more detailing...
thanks dear
Sir aap logic ko bahut hi acche sai samjhate ho. Great job.
You way of teaching is outstanding sir😊
it was a great person and each in every ponit.
Thank you so much sir Bahut hi achhi series hai ❤️🙏
Bro kuch bhi hai pr aapne har ek aggregate ko har tarh ki situation se bta hai thanku bro ❤️
i think correct syntax is -.> SELECT count (DISTINCT salary) FROM emp; thanks for videos sir
yes bro you are right
Thank you so much sir for making these videos🙏🙏🙏🙏
U r perfect trainer 👍thank u
Very Very Nice Teaching Sir ,thank you so much.
thanks alot for this information🥰.......today is my assignmnt and i get hlp from this video
Sir you are Great , Excellent explanation
Thanks a lot sir for such a understansting teaching 😊
thank you so much sir excellent teaching...
i
Thank you bhaiya for this amazing explanation!
thnkk u so much sir..i m the biggest fan of u ...really..
really so helpful ...thank sir.
You are the best teacher in my life.
Thanks, helpfull video
Sir ne employee table me apni salary sabse zada likhi h 🤣🤣🤭🤭🤭
Salary is in dollars
@@pavankulkarni7431 I don't bro 😅
ruclips.net/video/5FsIa4Mp3ho/видео.html
Rahul Kushwaha
1 year ago
select sum ( distinct ( salary ) ) from emp;
cos first we have to distinct the data and then we want the sum of that distinct data.
9
Very nice, km time m jyada fayda🙏 I like uhhh
When I start watching your videos ...I automatically continued to watch one by one 😂😊
Thank u so much sir.
thank u so much Bro , Gr8 eforts for us
All of ur videos are easily understandable ... Punjabi's are lit
Lots of love hats off sir
Simply super bro TQs
Thanks you sir for this video.. Tomorrow is my presentation in our class... And your video is very helpfull really2 thanks sir..
Thanks for the easy explanation🙂
Now I will definitely score well in university exam. Thanks sir
Super se bahut uper sir ..thanks alot ...
Super bro Ur teaching
Thanks a lot...... It really helped me😊
You are so hardworking
Keep it up
Thanku sir for making this topic so clr
Wow tusi great ho sir bohat acha andaz Hy parhanay ka keep going bro
Thank You. Keep learning and sharing
Hello Sir , Your videos are too good . Please make videos on sql network traffic
Thanku😊😊😊😊😊😊
Thnku so much sir this video is very helpful for me 🙏🙏🙏
You will always remain in my youtube subscribed list.
Sir..we love ur videos..if possible plz go through the syllabus of NVS PGT computer science syllabus..nd teach according to their syllabus till the NVS exam..plzzz it's a request sir..unka syllabus dekhne m hi bht dangerous hai
Thank you so much clear understand
Thank you sir you are awesome
great work sir...!
Great content, no doubt on that! !! but the only problem I usually face is that videos are not in sequence in playlist, in this playlist also after Lec -50 there is direct Lec-55 andI couldn't find Lec-51 in this playlist. This is the same reason I left in between the 'Computer Organization' series..
Yes this is my problem also
Sir u r great God bless u inshaAllah
Tank you!!
It is such a nice way helpfull
Great video. It's like learning SQL in the easiest way possible. It is only possible by a great Teacher like Singla Sir. Thank you, sir.
JAZAK Allah sir
Great sirrrrr very helpfull
Nice explanation 👍
Very Nice, Man!
Well Explained.
U r genius sir actually 👍👍👍👍👍👍👍👌👌👌👌👌👌
Thank you sir
Channal deserves 1M
thanks sir....
Thanks❤
Thanks brother, From Bangladesh ❤❤😊
Nice sir bhut easy way mai smjha diye
Thankyouu so much sir😇
Very well explained😊😊👌
Thnq uu soo much sr
superb teaching sir ji
Sir thank you for helping student ❤❤❤
Love from Pakistan 🇵🇰❤️
Great work sir 😊
thank u....
Thankyou sir