I would have to ask why you have student names in 2 different tables? Duplication of data will (and you have encountered one manifestation) cause you problems. Search the internet for articles on Normalization.
So long as you have a common field in both tables you could use an INNER JOIN on these common fields. Your SELECT statement should list all the fields from both tables (EG SELECT Table1.Field1, Table1.Field2, Table2.Field1, Table2.Field2 etc) and then follow with the INNER JOIN (EG INNER JOIN Table1.Field1 ON Table2.Field1)