1
我不知道MySQL的排序字符串是有可能與否我有主代碼刺這樣根據數第一
Math 451
Math 451a
Math 452
Math 452a
Math 452b
我想查詢,將整理這些字符串這樣
Math 451
Math 452
Math 451a
Math 452a
Math 452b
我試圖
CAST(SUBSTR(subjects.code,INSTR(subjects.code, " ") + 1) AS UNSIGNED)
但預計 感謝您的任何不能正常工作幫助和建議
感謝這個邏輯 – sanu