have a department table that has some users
department has a field named access which is different for any level
eg:
dep1 {
level1-access : 21
level2-access: 22
level3-access: 23
}
dep2 {
level1-access : 34
level2-access: 35
level3-access: 36
}
how do I make this ?
you need to store these values in a map. find out if your db engine supports map. or better, use mongodb
Wanna use sql server
Обсуждают сегодня