INSERT INTO (
SELECT student_info.Student_Name,scores.Final
FROM student_info
INNER JOIN scores ON scores.Student_id=student_info.Student_id
AND scores.Subject_id=1)
(Student_Name,Final) VALUES("a",1)
Something like this.....What i want to achieve is that i want to add a new row to the queried result which will display the average of the columns above it.