MicrolearnENPTES

SUM, AVG, MIN and MAX

Lesson 10 of 24 · SQL.Micro

The other everyday aggregates add up, average and find extremes. You can use several in the same SELECT.

Check yourself

Which function returns the cheapest price?

In one row, show the average price of all products and the total stock.

Do it in the browser: a real SQL tool, a short mission and instant feedback. No install.

Start this lesson — free
← Counting rowsGROUP BY →

All lessons · SQL.Micro