PostgreSQL: Calculating Min, Max & Average | Course | 2019

preview_player
Показать описание
PostgreSQL is a general purpose and object-relational database management system, the most advanced open source database system widely used to build back end systems. Startups including big companies such as Apple, Cisco, Redhat and more use Postgres to drive their business.

In this video you will learn how to use SQL Min, Max and Avg functions.

PS

Thanks for watching…
Рекомендации по теме
Комментарии
Автор

From 2:27, what if I want to get the distinct Make and their max(price) with only that specific model? When I use "select make, model, max(price) from car group by make" it says column car.model must appear in the GROUP BY clause or be used in an aggregate function. But when I use GROUP BY make, model I get same make multiple time with all the models. Which abolishes my point.

mahmudhassan
Автор

there is a mistake when calculating max price for each make 2:44

javohirorziqulov
Автор

What if i wanted it to show the min price and the name of the corresponding car (Just showing that one row with those 2 columns)? Is that possible?

venus
Автор

functions like SUM, ROUND are not working sir. please help me

sivaganesh
Автор

How does your PSQL show column names? Mine just show the boarders on the, and no headers.

Esehe