Data Integration Connectors
- Data Integration Connectors H2L
- All Products
SELECT B.customerid, B1.month, B1.year, B1.creditscore FROM PUBLIC.CREDITHISTORY B1, (SELECT B.customerid, MAX(B.month) as maxmonth FROM PUBLIC.CREDITHISTORY AS B GROUP BY B.customerid) AS B WHERE B1.customerid = B.customerid and B1.month = B.maxmonth;