Reference › SQL Reference › SQL Statements › Data Manipulation Language (DML) › Information Functions Information Functions¶ LAST_QUERY_ID() LAST_INSERT_ID() Last updated on Oct 19, 2026