I am trying to use the return value of a subquery in another query, but there is an error when using INSERT INTO as a subquery
SELECT * FROM (INSERT INTO items (name) VALUES ("test") RETURNING id);
The error message says:
ERROR: syntax error at or near "INTO"
How to fix this?