【拆分】类似split
split_part(字段,‘字符’,下标)
select split_part(house_full_number,'-',1),house_full_number from layout_house
select split_part(house_full_number,'-',2),house_full_number from layout_house
select split_part(house_full_number,'-',3),house_full_number from layout_house
【字符串转数字】
to_number(‘字段’,‘999999999’)
select door_num from resident_information
select door_num from resident_information order by to_number(split_part(door_num,'-',1),'999999'),to_number(split_part(door_num,'-',2),'999999') asc