SELECT *
from posts
where
    rowid = last_insert_rowid()
