Alert description with data from queries

Hello everyone,

I am struggling with the message text of an alert. I have a alert based on a sql query, something like:

SELECT field1, field2, field3, metric_field FROM ...

and an expression to raise an alert based on metric_field.

I added field1, field2 and field3 to use them in the description (for instance with {{ $labels.field2 }}). But the labels are used to uniquely identify an alert. When field2 changes the alert is resolved and then fired again with the new value of field2. In fact, I need my alert uniquely identified only by field1. Others fields are in the query just to be displayed in the description.

Does anyone know the good practice for this situation?