I am working on PHP Codeigniter with MySQL database, I have two tables Student (Original table) and Student1 (temporary table) and both tables have different columns.
I am uploading bulk of student list from a CSV file into that Student1 (temporary table), later I have to move those student details into Student (Original table). How can I do this?
This is different case, I am not only asking about executing the query, instead I have to do it using MVC (CodeIgniter).