# sequenceMatchEvents (/docs/reference/sql/aggregate-functions/sequencematchevents)



This page describes the RawTree engine binary used to generate this reference. It does not define Query API support. Descriptions retain upstream ClickHouse terminology. See [SQL interface scope](/docs/reference/clickhouse-compatibility#service-interfaces).

A variant of sequenceMatch that returns information about the events that matched the given pattern.
