作为查询的一部分,我需要搜索最后一个数字为9的九位数字。
我将如何进行这样的查询?
发布于 2015-08-18 17:09:07
informix中%的MOD
在9位数字之间
select colname
from tablename
where
MOD(colname, 10) = 9
and colname between 100000000 and 999999999 发布于 2015-08-18 16:58:59
select colname from tablename where colname%10 = 9发布于 2015-08-18 17:01:17
其中条款:
Where n % 10 = 9https://stackoverflow.com/questions/32078340
复制相似问题