I've a table like this:
If I'm given a single or a list of menuID, I need to find the all the parents for all the menuID. For Example if I'm given MenuID as 1601120013, I need to find the following.
I'm a newbie to sql, I'm not even sure how to approach this kind of scenario.