LAST_QUERY_ID
Returns the ID of the most recently executed query.
Analyze Syntax
func.last_query_id()
Analyze Examples
func.last_query_id()
┌───────────────┐
│ 'abc-123-def' │
└───────────────┘
SQL Syntax
LAST_QUERY_ID()
SQL Examples
SELECT LAST_QUERY_ID();
┌─────────────────┐
│ abc-123-def-456 │
└─────────────────┘