I am getting data 

```
1 34 abc5
1 24 abc3
1 12 abc2
1 24 abc1
1 34 abc6
1 34 abc76
1 24 ab1c243
1 24 abc243
1 34 abc243
1 34 abc243

```

from my query .. is there any way to get output like this

my query 

```
SELECT * FROM table2
WHERE (abc2 IN  (SELECT * FROM table3 AS f INNER JOIN
table1 AS u ON u.id_usr = f.userLogedin_id
WHERE      (u.id_usr = '13'))) AND (publish_status = '3')
ORDER BY guser_ID

1 34 abc5
1 34 abc6
1 24 abc3
1 24 abc1
1 12 abc2

```

i.e. orderby desc and limit to 2 per unique user .. in this case 34, 24 and 12 are unique user