如何剪切此SQL查询结果并使用我的其他查询? [关闭]

问题描述 投票:-3回答:1
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”并在我的其他查询中使用 - 我该怎么做?

请帮我

sql string oracle oracle11g
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.