79420517

Date: 2025-02-07 10:23:52
Score: 0.5
Natty:
Report link

Maybe I am missing something, but why dont you just use:

SELECT 
    MODEL,
    MAX(DATE)
FROM 
    MODEL_TABLE
GROUP BY MODEL

(Null-values are handled well, works fine with Sql-Server)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aku