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.
我正在尝试将此 MySQL 查询转换为 SQLite 查询...
SELECT nickname FROM userinfo ORDER BY Round(RIGHT(nickname, Length(nickname) - Length('string')))
...用于对字母数字值进行排序。它在 MySQL 中按预期工作,但是当我在 SQLite 上运行它时,这个相同的查询不会返回任何记录。如何将此查询转换为 SQLite?提前致谢。
试试这个:
SELECT nickname FROM userinfo ORDER BY Round(RIGHT(nickname, Len(nickname) - Len('string')))