SELECT T1.FRAMENO, T1.UNDERTAKER10,T1.STATUSCODEDATE10, MAX(T1.STATUSCODEDATE10) OVER(PARTITION BY T1.FRAMENO) FROM RT_REPAIR T1 WHERE T1.STATUSCODEDATE10 IS NOT NULL ORDER BY T1.FRAMENO,T1.STATUSCODEDATE10
时间: 2024-10-08 06:03:09
SELECT T1.FRAMENO, T1.UNDERTAKER10,T1.STATUSCODEDATE10, MAX(T1.STATUSCODEDATE10) OVER(PARTITION BY T1.FRAMENO) FROM RT_REPAIR T1 WHERE T1.STATUSCODEDATE10 IS NOT NULL ORDER BY T1.FRAMENO,T1.STATUSCODEDATE10