$ 0 0 Hi, You can try this SELECT (SEL UID FROM TD3471.TEMP WHERE dt=(SEL MAX(dt) FROM TD3471.TEMP )) AS GID, MID FROM TD3471.TEMP ORDER BY 2;
Hi,
You can try this