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