Question: How can I keep the orientation of a view completely unchanged when the interface orientation changes, independently from the other views?

For example, if I have a tall blue view in portrait mode, I would like the view to remain oriented the same way when the interface switches to landscape mode. If I have any other views aside from this view, the other views should reorient as usual, and, also, the status bar should get reoriented as well. The only view that should not get reoriented is this blue view.

![Expected behavior](https://i.stack.imgur.com/wVnxq.png)

All I could do so far with Auto Layout was to resize and reorient the view, which is what I don't want to happen.

![Actual behavior](https://i.stack.imgur.com/JDcka.png)

Answer: 
```
select count(case when extract(month from emp_table_date) = 1 then 1 end) as jan,
       count(case when extract(month from emp_table_date) = 2 then 1 end) as feb,
       count(case when extract(month from emp_table_date) = 3 then 1 end) as mar,
       count(case when extract(month from emp_table_date) = 4 then 1 end) as april,
       count(case when extract(month from emp_table_date) = 5 then 1 end) as may,
       count(case when extract(month from emp_table_date) = 6 then 1 end) as jun,
       count(case when extract(month from emp_table_date) = 7 then 1 end) as jul,
       count(case when extract(month from emp_table_date) = 8 then 1 end) as aug,
       count(case when extract(month from emp_table_date) = 9 then 1 end) as sep,
       count(case when extract(month from emp_table_date) = 10 then 1 end) as oct,
       count(case when extract(month from emp_table_date) = 11 then 1 end) as nov,
       count(case when extract(month from emp_table_date) = 12 then 1 end) as december
from emp_table;

```
```
SELECT TRUNC(emp_table_date,'MON') as "MON",
       COUNT(emp_table_date)       as "CNT"
FROM   emp_table
GROUP BY TRUNC(emp_table_date,'MON');

```

This will return the count of each month in `rows`. Use standard `PIVOT` to convert it into `columns`.