LAST_QUERY_ID
Descriptionβ
Get the query id of the current user's last query.
Syntaxβ
LAST_QUERY_ID()
Return Valueβ
Returns the query id of the current user's last query;
Examplesβ
select last_query_id();
+-----------------------------------+
| last_query_id() |
+-----------------------------------+
| 128f913c3ec84a1e-b834bd0262cc090a |
+-----------------------------------+