I've checked this question but all answers seem to provide a solution for when there is a single field. I need to additionally set one more field while inserting. I tried something like:
INSERT INTO foo (x, y)
select id
FROM boo b1, 3
I get
SQL Error [42601]: ERROR: syntax error at or near "3"
How can I use the select
AND another value to INSERT INTO
foo?