SELECT c.id, c.socialName, c.name, c.fi, c.street, cty.country FROM client c JOIN country cty ON cty.id = c.countryFk WHERE c.id = ?