Oracle
 sql >> Datenbank >  >> RDS >> Oracle

MAX(DATUM) - SQL ORACLE

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