Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT *
- FROM(
- SELECT /*+FIRST_ROWS(1)*/
- *
- FROM
- table_x
- WHERE
- costam = costam
- ORDER BY
- jakas_data DESC, id DESC
- )
- WHERE
- ROENUM <= 1
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement