salix/print/templates/reports/balance-compensation/sql/company.sql

8 lines
156 B
MySQL
Raw Normal View History

2022-11-02 14:54:23 +00:00
SELECT
2022-11-03 07:08:24 +00:00
s.name,
s.nif,
s.street,
s.city
FROM supplier s
JOIN receipt r ON r.companyFk = s.id
WHERE r.id = ?;