SELECT *
from posts
where
    id = last_insert_id()
