कृपया प्रयास करें:
select *
From tbl
order by cast(Left(Col, PatIndex('%[^0-9]%', Col)) as int)
MySql के लिए, कृपया प्रयास करें:
select *
From tbl
order by convert(SUBSTRING_INDEX(Col, ' ', 1), UNSIGNED INTEGER)
कृपया प्रयास करें:
select *
From tbl
order by cast(Left(Col, PatIndex('%[^0-9]%', Col)) as int)
MySql के लिए, कृपया प्रयास करें:
select *
From tbl
order by convert(SUBSTRING_INDEX(Col, ' ', 1), UNSIGNED INTEGER)