staff
table:
id name
1 tony
2 sony
3 bony
4 rony
etc.
xyz
table:
current staff, next staff, hod staff, vp staff.
1 2 3 4
2 3 1 4
4 3 2 1
etc.
when is run
`select * from xyz,`
I need a query which instead of giving me id
it will actually give me names of that staff from staff table.