Hi,
this is simple question.
Two Table JOIN In One ID.
Use INNER Join
Like:
studentlogin(id,name,age,address,login_id)
student reg(id,login_id)
select name,id,age,address,login_id from studentlogin INNER JOIN studentreg AS sr ON studentlogin.id= sr.id