I have the following table
| id | title | parent |
------------------------
| 1 | example | 0 |
| 2 | example2 | 2 |
3 example3 3
4 example4 2
5 example5 2
How can I make a query in function of title field to get back all the row where parent_id's values are equal.
example: show all rows having the same parent as the row which matches title="example2".
should give back
2 | example2 | 2
4 | example4 | 2
5 | example5 | 2