i have a query i need grouped by col1 and ordered by the values of col1 and col2 matching first then the non matching values then the next group in col1
this is the ddata as it is now
see 2nd out output for desired result)
col1 col2
---- ----
12 21
12 22
12 12
12 23
13 24
13 13
13 25
13 26
14 27
14 28
14 14
14 29
i would like to output this like
desired result)
col1 col2
---- ----
12 12
12 21
12 22
12 23
13 13
13 24
13 25
13 26
14 14
14 27
14 28
14 29
any help will be greatly appreciated...thanks in advance
keith
this is the ddata as it is now
col1 col2
---- ----
12 21
12 22
12 12
12 23
13 24
13 13
13 25
13 26
14 27
14 28
14 14
14 29
i would like to output this like
col1 col2
---- ----
12 12
12 21
12 22
12 23
13 13
13 24
13 25
13 26
14 14
14 27
14 28
14 29
any help will be greatly appreciated...thanks in advance
keith