refs #5525 remove AS
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Carlos Satorres 2024-07-04 16:54:57 +02:00
parent f3dcc7dd99
commit 64f5ad0e19
1 changed files with 5 additions and 5 deletions

View File

@ -1,16 +1,16 @@
SELECT SELECT
m.code AS mandateCode, m.code mandateCode,
s.name, s.name,
s.street, s.street,
sc.name AS country, sc.name country,
s.postCode, s.postCode,
s.city, s.city,
sp.name AS province, sp.name province,
s.nif, s.nif,
sa.iban, sa.iban,
sa.supplierFk, sa.supplierFk,
be.name AS bankName, be.name bankName,
ad.value AS accountDetailValue ad.value accountDetailValue
FROM FROM
client c client c
LEFT JOIN mandate m ON m.clientFk = c.id AND m.companyFk = ? AND m.finished IS NULL LEFT JOIN mandate m ON m.clientFk = c.id AND m.companyFk = ? AND m.finished IS NULL