Below is the table structure:

[![table structure](https://i.stack.imgur.com/xj0sk.png)](https://i.stack.imgur.com/xj0sk.png)

I want to pull last 5 unique domain.

I have tried following query, but it shows incorrect results - it wipes google.com from results since it also exist against prior ids:
`SELECT DISTINCT domain FROM searches ORDER BY id DESC 5`

Can anyone suggest a fix to the query.