-1

I have a table in my database named master_table. I want to copy the records from this table to another table named daily_table, everyday at 8 am. The records copied everyday should not overwrite the existing records in the daily table. I'm using phpMyAdmin mysql. Is there any way to do this?

user1930115
  • 995
  • 2
  • 11
  • 19

1 Answers1

1

If both tables are truly the same schema:

INSERT INTO newTable SELECT * FROM oldTable

Reference : here

Community
  • 1
  • 1
Ganesh Salunkhe
  • 596
  • 1
  • 4
  • 18