How to get table where some columns are queried and behaves as rows?
Source table
ID | Name | Funct | Phone1 | Phone2 | Phone3
1 | John | boss | 112233 | 114455 | 117788
2 | Jane | manager | NULL | NULL | 221111
3 | Tony | merchant | 441100 | 442222 | NULL
Wanted result
ID | Name | Funct | Phone | Ord
1 | John | boss | 112233 | 1
1 | John | boss | 114455 | 2
1 | John | boss | 117788 | 3
2 | Jane | manager | 221111 | 3
3 | Tony | merchant | 441100 | 1
3 | Tony | merchant | 442222 | 2
Ord is a column where is the order number (Phone1...Phone3) of the original column
EDITED:
OK, UNION would be fine when phone numbers are in separed columns, but what if the source is following (all numbers in one column)?:
ID | Name | Funct | Phones
1 | John | boss | 112233,114455,117788
2 | Jane | manager | 221111
3 | Tony | merchant | 441100,442222
Here I understand, that column Ord is a non-sense (so ignore it in this case), but how to split numbers to separed rows?

