My problem is that i have some user that have some sector more than thier office!!
Table(USER)
user_id
office_id
user_name
...
Table(OFFICE)
office_id
office_name
...
Table(SECTOR_OFFICE)
office_id
sector_id
Table(SECTOR_USER)
user_id
sector_id
By example : Office1 have sector(1001,1002,1003) but i have a user1 in Office1 who have sector (1005) and me i want to sort the sector by user1 and i want to have (1001,1002,1003,1005)
Table(USER)
user_id
office_id
user_name
...
Table(OFFICE)
office_id
office_name
...
Table(SECTOR_OFFICE)
office_id
sector_id
Table(SECTOR_USER)
user_id
sector_id
By example : Office1 have sector(1001,1002,1003) but i have a user1 in Office1 who have sector (1005) and me i want to sort the sector by user1 and i want to have (1001,1002,1003,1005)