> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8c05c8a2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# maxSimpleState

> مثال على استخدام المُركِّب maxSimpleState

<div id="description">
  ## الوصف
</div>

يمكن تطبيق المُركِّب [`SimpleState`](/ar/reference/functions/aggregate-functions/combinators#-simplestate) على الدالة [`max`](/ar/reference/functions/aggregate-functions/max)
ليُرجع القيمة القصوى من بين جميع قيم الإدخال. ويُرجِع
النتيجة من النوع `SimpleAggregateState`.

<div id="example-usage">
  ## مثال على الاستخدام
</div>

يوضح المثال الوارد في [`minSimpleState`](/ar/guides/clickhouse/examples/aggregate-function-combinators/minSimpleState#example-usage)
استخدام كلٍّ من `maxSimpleState` و`minSimpleState`.

<div id="see-also">
  ## راجع أيضًا
</div>

* [`max`](/ar/reference/functions/aggregate-functions/max)
* [`SimpleState مُركِّب`](/ar/reference/functions/aggregate-functions/combinators#-simplestate)
* [`SimpleAggregateFunction type`](/ar/reference/data-types/simpleaggregatefunction)
