10 lines
254 B
MySQL
10 lines
254 B
MySQL
|
SELECT
|
||
|
c.dueDay,
|
||
|
c.iban,
|
||
|
sa.iban,
|
||
|
be.name AS bankName
|
||
|
FROM client c
|
||
|
JOIN company AS cny
|
||
|
JOIN supplierAccount AS sa ON sa.id = cny.supplierAccountFk
|
||
|
JOIN bankEntity be ON be.id = sa.bankEntityFk
|
||
|
WHERE c.id = ? AND cny.id = ?`
|