Solution: Do Math with Your Data
We'll cover the following...
We'll cover the following...
Query
SELECT COUNT(*) AS total_pets, AVG(age) AS average_ageFROM pets;
Explanation
This SQL query calculates two things from the pets ...
SELECT COUNT(*) AS total_pets, AVG(age) AS average_ageFROM pets;
This SQL query calculates two things from the pets ...