Моля, опитайте:
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)