Based on the Google Form input I have the following data collected from the user
+-------+--------+--------+--------+ | Name | Col1 | Col2 | Col3 | +-------+--------+--------+--------+ | name1 | | | 1 | | name2 | 3 | | | | name3 | | 2 | | +-------+--------+--------+--------+ which only one of the Col1, Col2 or Col3 will contain value
What I want is to created a view like this
+-------+--------+ | Name | Col | +-------+--------+ | name1 | 1 | | name3 | 2 | | name2 | 3 | +-------+--------+ The SQL command should not only merge Col1, Col2 and Col3 but also sort the new Col based on it value.
Thanks in advance
