https://acadexcel.ru/video/2-how-to-sql-essential-chto-takoe-agregatnye-funkcii-v-t-sql/