Můžete použít regexp_like() . Pro vzestupné řazení:
order by (case when regexp_like(col, '^[0-9]+$') then 1 else 2 end) asc,
col asc
Můžete použít regexp_like() . Pro vzestupné řazení:
order by (case when regexp_like(col, '^[0-9]+$') then 1 else 2 end) asc,
col asc