Не понимаю почему не могу записать созданный id в другую таблицу
WITH cte_id as (INSERT INTO words( name_word, discription_word) VALUES ('cool', 'круто') RETURNING Id)
INSERT INTO users_words(users_id,words_id,status_learn_word)VALUES(649651821, cte_id , 0) ;
WITH cte_id AS (
INSERT INTO words (name_word, discription_word)
VALUES ('cool', 'круто')
RETURNING Id
)
INSERT INTO users_words (users_id, words_id, status_learn_word)
SELECT 649651821, id , 0
FROM cte_id;