SELECT department_ID, head_ID FROM management WHERE temporary_acting = "Yes" OR "head_ID" < 6 OR "department_ID" > 11 UNION SELECT department_ID, head_ID FROM management WHERE "head_ID" <= 4 OR "department_ID" < 15 <table_name> : management col : department_ID | head_ID | temporary_acting row 1 : 2 | 5 | Yes row 2 : 15 | 4 | Yes row 3 : 2 | 6 | Yes row 4 : 7 | 3 | No row 5 : 11 | 10 | No <table_name> : management col : department_ID | head_ID | temporary_acting row 1 : 2 | 5 | Yes row 2 : 15 | 4 | Yes row 3 : 2 | 6 | Yes row 4 : 7 | 3 | No row 5 : 11 | 10 | No
col : department_ID | head_ID row 1 : 2 | 5 row 2 : 2 | 6 row 3 : 7 | 3 row 4 : 11 | 10 row 5 : 15 | 4