Write SQL query to solve given problem: Please list the IDs of the teachers who have advised more than 4 others to teach.. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT p_id_dummy FROM advisedBy GROUP BY p_id_dummy HAVING COUNT(p_id_dummy) > 4