--------------+-------------------+
id | parent_id |
--------------+-------------------|
18 | <null> |
20 | <null> |
25 | 18 |
--------------+-------------------+
I want my query to select all ids where its id doesn't exist in parent_id column. How would I go about doing that?