I need to split one column in two based on some condition. Here is an example of table:
id | title
----------
1  | one
2  | two
3  | three
4  | four
So, I'd like to have a view with two columns like id1 and id2, first one will contains ids that are lower than 3, second one - the rest ids, results should be consecutive. Expected result is
id1 | id2
----------
1   | 3
2   | 4
 
     
     
     
    