我试图在postgreSQL中将所有数据从一个表插入另一个表,但不是为什么我一直遇到这个错误。有人可以帮忙吗。
mysql - move rows from one table to another
insert into rejected
select * from data
where Actual_Sale_Date = '03/08/2015'
and Last_Name_First_Name = 'Cindy'
错误:
ERROR: INSERT has more expressions than target columns
LINE 3: select * from data