I need to select all distinct "structures" of a table and order them depending on the value of column "str_order". The following two commands don't work.
select distinct structure from T_STRUCT_FEAT_M where stage='m' order by
str_order
select distinct structure from (select * from T_STRUCT_FEAT_M where stage='m' order by str_order)
What would be the proper command?
select distinct structure from T_STRUCT_FEAT_M where stage='m' order by
str_order
select distinct structure from (select * from T_STRUCT_FEAT_M where stage='m' order by str_order)
What would be the proper command?