SELECT user_id, default_address FROM customer_view c SELECT a.id, a.consignee, p.name province, a.zip_code, a.city, a.name, a.active, c.Pais country FROM address_view a LEFT JOIN vn2008.province p ON a.province_id = p.province_id JOIN vn2008.Paises c ON c.Id = p.Paises_Id WHERE active != FALSE

Addresses