sql - QUALIFY keyword in Teradata, Is there any equivalent in Oracle? -


below query in teradata gives latest record id_field

select * table qualify row_number() over(partition id_field order update_date desc)=1 

is there equivalent keyword qualify in oracle.

as per knowledge, have write inner query in oracle same operation or self join. there simple ways in teradata.

appreciate response much.

select *  ( select table.*, row_number() over(partition id_field order update_date desc) record_order  table ) record_order=1 


Comments

Popular posts from this blog

Multilayer CSV to filtered excel -

Listboxes in c# -

ios - Why must I define variables twice in the Header file? -