Learn how to use the basic aggregation functions available in Presto.
- [Instructor] Aggregating data in Presto…is using the ANSI SQL functions.…It's something that, if you're familiar…with SQL, you already know.…There are some additional ones here…that I want to cover though that may be new to you,…and I also want to explain one interesting way…that Presto does this.…First off, let me dive over to MySQL and show you…what happens if I try to run a histogram function.…I can log in with root as the username…and root as the password.…If I wanted to say, do select histogram hs_rank,…which is a column in our US grad rates table,…from test.us_grad_rates, I get an error.…
Function histogram does not exist.…That doesn't mean that I have to stop trying though,…so let's get out of MySQL and see what happens.…Now, if I log in to Presto,…and I want to run this same function.…Remember, I have a connection to MySQL, I can do so.…So select, histogram, hs_rank from MySQL.test.us_grad_rates.…You can see I have the occurrence…of every rank in that column.…It isn't super interesting because that column,…
Data science expert Ben Sullins helps you get up to speed with Presto, and leverage it to accomplish a wide-range of data science and analytics tasks. He uses different interfaces with Presto—such as R and Tableau—and digs into the expressive SQL language that Presto offers for your analysis. At the end of this course, you'll know the key concepts of Presto and how to use them to take full advantage of your modern big data system.
- What does Presto do?
- Running Presto
- Connecting from Tableau and R
- Connecting to Hive, MySQL, and the local system
- Retrieving data
- Combining data sources
- Basic SQL functions
- Advanced SQL functions
- Migrating from Hive
Skill Level Intermediate
SQL: Data Reporting and Analysiswith Emma Saunders2h 16m Intermediate
Advanced SQL for Data Scientistswith Dan Sullivan1h 24m Advanced
Cassandra Data Modeling Essential Trainingwith Dan Sullivan1h 38m Intermediate
1. Introducing Presto
2. Running Presto
4. SQL Syntax
5. Basic SQL functions
6. Advanced SQL Functions
7. Migrating from Hive
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.