How to count, sum, and average rows in SQL: Databases for Developers #6

Опубликовано: 05 Октябрь 2024
на канале: The Magic of SQL
16,458
109

Want to count how many rows your query returns?

Or the number of orders per customer?

Or find your fastest time to run races of 1k, 5k and 10k?

You can answer all these questions in SQL using group by and aggregate functions. Watch this video to find out how!

For a complete list of aggregate functions available in Oracle Database 12.2 g to: http://docs.oracle.com/database/122/S...

Take the Databases for Developers FREE SQL course at https://devgym.oracle.com/pls/apex/dg...

Need help with SQL? Ask us over on AskTOM: https://asktom.oracle.com

Twitter:   / chrisrsaxon  
Daily SQL Twitter tips:   / sqldaily  
All Things SQL blog: https://blogs.oracle.com/sql/

============================
The Magic of SQL with Chris Saxon

Copyright © 2015 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.