currently inserting data with a loop in perl into psql database and i would like to do it in one transaction...
I select one row of ids and i need to put it into other table like VALUES (12345, ?) where ? is the id i get from the SELECT. Thanks
INSERT INTO table SELECT ... FROM otherTable
ah thanks, i found out i can use constant tables for this
Обсуждают сегодня