Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
3列のテーブルがあります。
select contactname phone radio A B 1234 radio B A 1212
jqueryを使用して、2番目の文字を使用して2番目の列をソートしたい(最初の行はBで、2番目の行はA)
SELECT * FROM table ORDER BY SUBSTRING(field, 2) DESC;
また
SELECT * FROM table ORDER BY SUBSTRING(field, 2) ASC;