Compare a MySql table with an excel table using java : I have a marks table with attributes student_id and total_marks. Here student_id refers to the primary key of student table.

I have same marks table stored as an Excel file. 

Now I want to write a java program to find out the students who are having a mismatch between data in MySql database and Excel file.