SELECT s.name, s.nif, s.street, s.city FROM supplier s JOIN receipt r ON r.companyFk = s.id WHERE r.id = ?;