First query gets the ID and registration time:
SELECT
t1.mid
t1.regtime
Subquery needs to go to another table, and SELECT address, city from t2 WHERE t2.mid = t1.mid AND MAX(t2.seqs)
t2 may contain multiple mids with different sequence numbers. So we want mids to match, and for seqs to be the highest.
Problem: returning multiple columns within 1 subquery while getting the highest t2.mid.
Desired end result:
mid | regtime | address | city
Should work.
HTH