I have two table ex: student_old & student_new. I want to copy data from student_old to student_new. The table structures are in two different ways. ex:
student_old
1. stu_id
2. stu_first_name
3. stu_middle_name
4. stu_last_name
5. stu_course
6. stu_class
student_new
1. student_id
2. student_last_name
3. student_first_name
4. student_address
5. student_dob
6. student_course
7. student_batch
8. student_class
Above is an example only. The table structures cannot be changed because it belong to an institute. There are 1000+ data in the old table. And there is no order between the two tables, as in data of column six of student_old should go to column eight in student_new. I need a SQL query to get data from the old table to the new.
I'm new to SQL. And i tried searching online, but i didn't get ant satisfactory answer. Hope you guys would help.