Hello
I am using the following query to get the son and father records. But I would like also to have all records for admin (-1) and the records of grand father. Is there to improve the query to get the results?
Select * FROM events WHERE (User = $my_current_user_id) OR (User IN (SELECT Id FROM mitarbeiter WHERE Reportsto = $my_current_user_id))"
thanks
mpol_ch