Sql Why Using Max Function In Query Cause Postgresql Performance

Sql Why Using Max Function In Query Cause Postgresql Performance