sqlite CAST id AS TEXT