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.
我有一个三列的表。
select contactname phone radio A B 1234 radio B A 1212
我想使用 jquery 使用第二个字母(在第一行是 B,第二行是 A)对第二列进行排序..任何解决方案....
SELECT * FROM table ORDER BY SUBSTRING(field, 2) DESC;
或者
SELECT * FROM table ORDER BY SUBSTRING(field, 2) ASC;