salix/print/templates/reports/cmr-authorization/sql/client.sql

10 lines
161 B
SQL

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 = ?