Thank you so so much! I finally understand 100% how to use group by clauses!
@AhamedKabeer-wn1jb3 жыл бұрын
Thank you.. Well explained..
@BronX0052 жыл бұрын
Seriously needed this video... thank you sir 🙏
@timmytesla96552 жыл бұрын
You have no idea how this has helped me. Thank you very much for this video.
@soujanyakatuku16175 жыл бұрын
excellent information and good explanation.......
@Vantamanta4 жыл бұрын
Really good video with Good examples and nice explanation.
@osoriomatucurane951110 ай бұрын
Awesome tutorial, concise and crystaal clear!
@SAK-y6j5 жыл бұрын
Excellent
@MrBauer733 жыл бұрын
Very helpful :) thank you
@supreranap98315 жыл бұрын
Nice explanation tq
@rave.2012 жыл бұрын
Bless u dude, finally can do the "invalid select list" issue :)
@scottarena68086 жыл бұрын
Excellent video. I am currently studying, on my own to become a DBA--this has been very helpful. Thank you for the video!
@jorgepadron24264 жыл бұрын
Excellent!
@amralkhatib50315 жыл бұрын
Thanks man i have seen about 10 videos but your video is the best
@chitradevaki49664 жыл бұрын
Thanks a lot very useful to write queries..very nicely explained covering all the scenarios
@Daniel.E_Rides3 жыл бұрын
Great tutorial! Thanks
@Hanna-bf3ug2 жыл бұрын
can you upload more video's please. you are one of these people who knows how to explain. Thanks so much I watched more than 10 video's trying to understand group by and finally i found you. thanks more please
@SQLwithManoj2 жыл бұрын
Thanks so much Hanna... Could you plz tell me the topics that you like I should cover?
@Hanna-bf3ug2 жыл бұрын
@@SQLwithManoj Thanks for the quick replay Manoj. Topics like store procedures, functions, subqueries, joins all the good stuff 🙂. Thanks again
@supreranap98315 жыл бұрын
Good
@dogmahacker82787 жыл бұрын
SOOOOOOOOOOOOOOOOO much better than my teacher!
@majidshahani6 жыл бұрын
The way you explain is really great. Thanks Manoj sahib.
@JohnJamalSingh6 жыл бұрын
Thanks so much Manoj, really its useful....
@maf77644 жыл бұрын
thank u so much
@techtricks6252 жыл бұрын
This is really helpful for me ☺️ Thank you so much 😊
@pinakim115 жыл бұрын
Thanks Manoj,nice video. You explained nicely.
@bingxiao10085 жыл бұрын
It is really helpful. The explanation is concise and easy to understand. Thank you so much!
@kspkumar75074 жыл бұрын
THANK YOU SO MUCH
@harishbabu64507 жыл бұрын
Very nice Manoj, clear explanation !
@divyakakkirala60884 жыл бұрын
Thnq so much manoj, finally I understand how to write queries in SQL , one suggestion is , when am watching videos thorough mobile, there is no mobile compatibility for videos, mean to say SQL window not clarity can you check this.
3 жыл бұрын
THANK YOU!! This guide was super informative!
@somnathgiri3565 жыл бұрын
After so many searches it's seems I clicked on the correct video.
@anilkumaryadav1066 жыл бұрын
helpful,good job
@ASHOKKUMAR-fj6ms6 жыл бұрын
Its excellent class , thank you sooooooooooooooo much manoj . your rocking man ,your explanation are simple super.
@princenishad15 жыл бұрын
this video help me a lot thank you so much sir
@mohammedalshami39376 жыл бұрын
Nice Explanation
@sravanireddy20427 жыл бұрын
nice explaination and thanks u so much mr.manoj
@omojowoleke71306 жыл бұрын
Tank u for a great work.
@DybFrostDocuments6 жыл бұрын
Super video - thanks!
@PrasantKumarV766 жыл бұрын
You made it very easy and clear to practice. I did lot of experiments with the help of this. Appreciate your effort. Besides, I'm unable to find Joins video done by you. Can you provide the link or create video with some complex examples of various joins? Thanks!
@RiteshKumar-qr7pq4 жыл бұрын
I watched lot of video on Group By clause but finally i got to understand what exactly it is thank u sir please make a video on Having clause in sql
@SQLwithManoj4 жыл бұрын
HAVING clause video... kzbin.info/www/bejne/bqGnZKueaLKfhMk
@harshadas39427 жыл бұрын
Thanks a lot. This is really helpful. great explanation!!!!
@umairzafar20677 жыл бұрын
Great job...
@crazytalkmeet52226 жыл бұрын
thanks for your explanation. its really helpfull
@gulzarsingh36813 жыл бұрын
How to select other columns without aggregate. eg: select col1, col2, col3, col4, col5 from tab1 where col3=xval group by col5 . In Postgres
@ManojPandeyManub223 жыл бұрын
GROUP BY clause does not allow you to have columns that are not part of the GROUP-BY clause. Try using ROW_NUMBER() with Aggregate functions, link: sqlwithmanoj.com/2010/08/10/using-over-and-partion-by-clauses-with-aggregate-functions-in-sql-server/
@paragawaken6 жыл бұрын
Very helpful.
@oelh34266 жыл бұрын
Thank you a lot , pro explanation
@pinkilihitkar80934 жыл бұрын
VERY USEFUL...BUT VOICE WERE LOW IN WHOLE VIDEO
@althafmohammed52856 жыл бұрын
Thanx manoj
@johnmwenda3537 жыл бұрын
thanks... awesome explanation
@broderick1234567894 жыл бұрын
Explained this beautifully.... I must add though even in your example, the glass ceiling was present. In every department Males had a higher salary than females lol
@tusharjadhav46257 жыл бұрын
Thanks a lot sir, video is very helpful
@kessangla78646 жыл бұрын
thank you sir
@shounakrendalkar27323 жыл бұрын
Really helpful!!!!!!!!!
@amargorsipati95147 жыл бұрын
Excellent bro
@satishkumargarepalli36926 жыл бұрын
soooo good do you have any videos related to store procedures, user defined functions,triggers??? please provide me the urls only t-sql i am asking
@rajat_bisht_vlogs3 жыл бұрын
Sir how can we use Group by , count and join together?
@SQLwithManoj3 жыл бұрын
Here is an example: SELECT D.DeptName, COUNT(E.EmployeeID) FROM Department D JOIN Employee E on E.DeptID = D.DeptID GROUP BY D.DeptName
@SQLwithManoj3 жыл бұрын
If you need with WHERE & HAVING clause as well... check here: Here is an example: SELECT D.DeptName, COUNT(E.EmployeeID) FROM Department D JOIN Employee E on E.DeptID = D.DeptID WHERE E.Gender = 'Male' GROUP BY D.DeptName HAVING COUNT(E.EmployeeID) > 10
@stephenr.kutuahn87637 жыл бұрын
great,thanks
@davidlewisn10172 жыл бұрын
Hello,Great work, could you offer some help i am stuck on using sum and group by- your help is much appreciated.David
@supreranap98315 жыл бұрын
Hi Manoj please explain joins
@sudeshhinge53918 жыл бұрын
Thank You Sir !! Thanks a lot...............
@mahdifardi68226 жыл бұрын
so useful :))
@780575306 жыл бұрын
Awesome Bro !
@althafmohammed52856 жыл бұрын
I got confident aftr seeng dz
@achulu877 жыл бұрын
Nice bro 👍
@kajoldave81222 жыл бұрын
Write a query to list down employee details such as EMP_ID, FIRST_NAME, LAST_NAME, ROLE, DEPARTMENT, and EMP_RATING grouped by dept. Also include the respective employee rating along with the max emp rating for the department. how to do this? please helppppp
@yogeswarannatarajan73156 жыл бұрын
Thank you
@oblivious367 жыл бұрын
Excellent, Cheers
@naresh90sharma6 жыл бұрын
Hi sir good evening, sir I'm using the query in Excel data connection , I don't have permission for data base one mstp , Sir my question is how to filter group sum & where condition like type = e and type = I type = as,
@Curious_Stranger4 жыл бұрын
Each GROUP BY expression must contain at least one column that is not an outer reference.
@kohli24192 жыл бұрын
I want to add colum to a table while using the group by clause without sorting the data ,I don't need the col in group by but I need that column without grouping , I have already used the group by by another column
@Jeremy-mr2qi5 жыл бұрын
papa bless
@maryamaa5562 жыл бұрын
Thank you!!
@jericunabia3584 Жыл бұрын
How about i want to see the average only the engineering?
@tafiyer4 жыл бұрын
When you do count *, isnt it counting all vs number of employees ?
@SQLwithManoj4 жыл бұрын
COUNT(*) means counting all rows, irrespective of what data it is, can be duplicate also.
@daniwalker19964 жыл бұрын
in your video the record is repeating more than one time is there any way to fix it ?
@sumaiyasumi26105 жыл бұрын
why u put order by after group by clause, If we dont use order by what will be difference, I didnt get it . sorry.
@ManojPandeyManub225 жыл бұрын
The ORDER BY clause, after GROUP BY clause is added to sort the record set by Departments & Gender.
@stafaninadar9646 жыл бұрын
Can u combine count with average
@ManojPandeyManub226 жыл бұрын
yes, you can , please check at 11:48 time
@stafaninadar9646 жыл бұрын
@@ManojPandeyManub22 I need to apply average with count value
@ManojPandeyManub226 жыл бұрын
can you please explain what you are trying to do? Like input and expected output, or query?
@mdkhrafi5 жыл бұрын
Can we use 1.Having (condition) AND (condition) 2.Having (condition) OR (condition)
@SQLwithManoj5 жыл бұрын
Yes, you can have AND & OR condition with HAVING clause, so that you can filter on aggregated data. If you want to filter on grouping columns then use WHERE cause.
@mdkhrafi5 жыл бұрын
@@SQLwithManoj Thanks, yeah as far as I knew that we can use OR with WHERE also but can't use AND. Thanks again
@SQLwithManoj5 жыл бұрын
you can use AND with WHERE clause also !!!
@mdkhrafi5 жыл бұрын
Yes, I actually meant 2 rows at a time.
@SQLwithManoj5 жыл бұрын
No, you can't use HAVING clause 2 times in a single query. But, if you have any such requirement then it could be done the other way. Let me know if you need some help?
@jericunabia3584 Жыл бұрын
How about i want the average only in engineering.??? display only the average in engineering???
@christiancampos88068 жыл бұрын
help me answer my script : SELECT COUNT(Make, Model, ProcessorType) as "Number Available" FROM CR_computer;
@SQLwithManoj8 жыл бұрын
you just need to have your query like this: SELECT COUNT(*) as "Number Available" FROM CR_computer;
@bbibek16 жыл бұрын
SIR CAN U EXPLAIN GROUP BY WITH ROLL UP AND CUBE..