Artwork

Content provided by Best Java podcast on iTunes, learn about variables, control structures, collections, data types, des, Best Java podcast on iTunes, Learn about variables, and Control structures. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Best Java podcast on iTunes, learn about variables, control structures, collections, data types, des, Best Java podcast on iTunes, Learn about variables, and Control structures or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

SQL Group By

47:00
 
Share
 

Manage episode 163963615 series 1289539
Content provided by Best Java podcast on iTunes, learn about variables, control structures, collections, data types, des, Best Java podcast on iTunes, Learn about variables, and Control structures. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Best Java podcast on iTunes, learn about variables, control structures, collections, data types, des, Best Java podcast on iTunes, Learn about variables, and Control structures or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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

  continue reading

112 episodes

Artwork

SQL Group By

How to Program with Java Podcast

1,702 subscribers

published

iconShare
 
Manage episode 163963615 series 1289539
Content provided by Best Java podcast on iTunes, learn about variables, control structures, collections, data types, des, Best Java podcast on iTunes, Learn about variables, and Control structures. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Best Java podcast on iTunes, learn about variables, control structures, collections, data types, des, Best Java podcast on iTunes, Learn about variables, and Control structures or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

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

  continue reading

112 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide