select
a.cid, a.status, c.cuid, type, d.cstcode
from
co_hist a, co_all c, cus_all d
where
a.cid = c.cid
and c.cuid = d.cuid
and a.seqno in (select max(seqno)
from cont_hist b
where a.cid in (658.22)
and a.cid = b.cid)
cstcode
的结果是9.122212.234.45566。我想在这一点上剪切“9.122212”并在我的其他查询中使用 - 我该怎么做?
请帮我