MAX (id) function with MySQli
in PostgreSQL you could use use something called "windowing and analytics". this does not exist in MySQL however.
an alternative way would be to use GROUP BY and do ..
SELECT max(id), person, address, ... FROM tab GROUP BY person, address, ...
this should work somewhat efficiently if you need it for all. if you need it for jsut one folk you should go for ypercube's answer.