Alphabetical and numeric sorting of SQL statements

my request: the serial field is sorted first by the first letter, and then by the number after"-". It is best to split it by"- "rather than by subscript

Mar.06,2021

select * from fabric ORDER BY MID (serial, 1,3), MID (serial,4,6) + 1;

write death first for the time being, and leave it to the great gods to solve.

Menu