I am trying to insert all data from one table to another in postgreSQL but do not why I keep running into this error. Can someone please help out here.
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:
ERROR: INSERT has more expressions than target columns
LINE 3: select * from data