Write SQL query to solve given problem: Please list the top three most frequently occurring words and their ids.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT word, wid FROM words ORDER BY occurrences DESC LIMIT 3