
SQL Group By
About this episode
After having talked about all the SQL Aggregate functions, there's one more topic that goes hand in hand with what we've already learned… The group by keyword. This particular keyword allows us to take a bunch of data and mash it all together into matching groups and then perform aggregate functions on those groups (like sum and avg). You might ask yourself why you'd want to "mash together" a bunch of data. The answer to this is best explained with an example, but let me try to put it in regular words before we jump into our example. Grouping data together allows us to look at aggregate data in relation to unique piece of data (or rows), a typical use case would be to group all the matching data together so you can get a count of the number of occurrences of specific data. An example related to grouping and counting could be a presidential election, you'll have all the votes in a database and you'll want to group that data together to get the total votes for each unique candidate... For more info, check out the show notes via http://howtoprogramwithjava.com/session48
More from How to Program with Java Podcast
I'm losing software contracts right now, and I want to tell you why. Business owners who would've paid me $10,000 to build them something are telling me they'll just build it themselves with AI. That…
It's been over a year since my last episode, and I owe you an update. In this episode, I get real about what happened with the Coders Campus coding bootcamp — why we had to shut down new admissions, a…
Episode Summary In this episode, Trevor Page delves into the challenges aspiring software developers face when trying to land their first job. Drawing from his 15 years of programming experience and 1…
Summary To reach out and connect with Alex, here's her LinkedIn profile: https://www.linkedin.com/in/alex-mamolo-2a1b57222/ In this episode, Trevor interviews Alex, who shares her journey from being a…
To reach out and connect with Tony: https://www.linkedin.com/in/edmonds-tony/ Takeaways - Negotiate your salary and consider the market conditions in your area. - Remote work opportunities are availab…