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