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.
如何选择值超过 2 位小数的行?
例如,我们有这些值:
3.14 5.999 9.555 8.55
我只想选择这些值:
5.999 9.555
您可以将_其用作单字符通配符LIKE
_
LIKE
LIKE '%.___'
对不起,我已经找到了答案:
SELECT * FROM tableWHERE LENGTH(SUBSTR( column,INSTR( column,"."))) >3
table
column