Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只需要最新日期的行:
wip_entity_id Date_Received 1234 26/04/2013 1234 22/03/2008 1234 22/01/2009 1234 22/01/2009 1234 22/02/2006
您需要在上述场景中使用子选择查询:
SELECT * FROM (SELECT * FROM your_table_name ORDER BY Date_Received DESC ) WHERE ROWNUM = 1;
select * from tbl where Date_Received = (select max(Date_Received) from tbl);