SELECT a.id, a.name, a.consignee, a.city, a.zip_code, a.province_id, c.Id country_id
FROM address_view a
LEFT JOIN vn2008.province p ON p.province_id = a.province_id
JOIN vn2008.Paises c ON c.Id = p.Paises_Id
WHERE active != FALSE AND a.id = #address
AddEditAddress
SELECT Id, Pais FROM vn2008.Paises
ORDER BY Pais
SELECT province_id, name FROM vn2008.province
WHERE Paises_Id = #country
ORDER BY name