SELECT a.id, a.street, a.nickname, a.city, a.postalCode, a.provinceFk, c.id countryFk FROM myAddress a LEFT JOIN vn.province p ON p.id = a.provinceFk JOIN vn.country c ON c.id = p.countryFk WHERE a.active AND a.id = #address

AddEditAddress

SELECT id, country FROM vn.country ORDER BY country
SELECT id, name FROM vn.province WHERE countryFk = #country ORDER BY name