SELECT USERNAME,ORDER_CODE,MAX(DATE) AS ULTIMO_PAGAMENTO
FROM ACCOUNT
INNER JOIN FATTURE ON ACCOUNT.ID = FATTURE.FK
GROUP BY USERNAME, ORDER_CODE
Almeno credo...
SELECT USERNAME,ORDER_CODE,MAX(DATE) AS ULTIMO_PAGAMENTO
FROM ACCOUNT
INNER JOIN FATTURE ON ACCOUNT.ID = FATTURE.FK
GROUP BY USERNAME, ORDER_CODE
Almeno credo...
I don't wanna have to shout it out / I don't want my hair to fall out
I don't wanna be filled with doubt / I don't wanna be a good boy scout
I don't wanna have to learn to count / I don't wanna have the biggest amount
I don't wanna grow up