Oracle
 sql >> Base de Dados >  >> RDS >> Oracle

MAX(DATA) - SQL ORACLE

select * from 
  (SELECT MEMBSHIP_ID
   FROM user_payment WHERE user_id=1
   order by paym_date desc) 
where rownum=1;