Need help in forming a query
-
I am currently working on dash board application, I have a table say ‘User_data_master’ User_data_master(‘id’, ‘uid’, ‘data’, ‘instid’,’deptid’) Id-primary key uid- user id referred to user bio data data- data posted deptid- department id instid- institute id Above table will store data for different employee from different department of an institution In select query I need to get my rows belongs to me (I have saved), Then people from my department, Then rest of rows which belongs to my Institute. Any help is appreciated mostly
-
I am currently working on dash board application, I have a table say ‘User_data_master’ User_data_master(‘id’, ‘uid’, ‘data’, ‘instid’,’deptid’) Id-primary key uid- user id referred to user bio data data- data posted deptid- department id instid- institute id Above table will store data for different employee from different department of an institution In select query I need to get my rows belongs to me (I have saved), Then people from my department, Then rest of rows which belongs to my Institute. Any help is appreciated mostly