SELECT
id_new,
id_user
FROM (
SELECT
id_new,
id_user,
RANK() OVER (PARTITION BY id_user ORDER by id_new DESK ) AS RNK
FROM tbl_bookmarks
GROUP BY id_user,id_new
) X WHERE RNK=1
SELECT MAX(id_new),id_user
FROM tbl_bookmarks
GROUP BY id_user