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

# maxSimpleState

> maxSimpleState combinator를 사용하는 예시

<div id="description">
  ## 설명
</div>

[`SimpleState`](/ko/reference/functions/aggregate-functions/combinators#-simplestate) combinator는 [`max`](/ko/reference/functions/aggregate-functions/max)
함수에 적용할 수 있으며, 모든 입력 값 중 최댓값을 반환합니다. 반환되는
결과의 유형은 `SimpleAggregateState`입니다.

<div id="example-usage">
  ## 예시 사용법
</div>

[`minSimpleState`](/ko/guides/clickhouse/examples/aggregate-function-combinators/minSimpleState#example-usage)에 있는 예시는
`maxSimpleState`와 `minSimpleState`의 사용 예를 모두 보여줍니다.

<div id="see-also">
  ## 관련 항목
</div>

* [`max`](/ko/reference/functions/aggregate-functions/max)
* [`SimpleState combinator`](/ko/reference/functions/aggregate-functions/combinators#-simplestate)
* [`SimpleAggregateFunction 유형`](/ko/reference/data-types/simpleaggregatefunction)
