Added 'last_insert_id', 'lock tables' and 'unlock tables' to the known query types