salix/print/templates/reports/delivery-note/sql/client.sql

8 lines
141 B
SQL

SELECT
c.id,
c.socialName,
c.street,
c.fi
FROM ticket t
JOIN client c ON c.id = t.clientFk
WHERE t.id = ?