wang_2011_ying 2012-03-12 16:07
浏览 209
已采纳

有关SQL语句的问题

select count(*) from dual where 'A0132' in (

select column_value
from table (select split(WMSYS.WM_concat(industrytypeno), ',')

      from map_industry mi
     where mi.newmaterial is not null

)

)
谁能帮我解答一下这段SQL的意思。

  • 写回答

4条回答

  • long13131462101 2012-03-12 16:43
    关注

    [code="java"]select split(WMSYS.WM_concat(industrytypeno), ',') from map_industry mi where mi.newmaterial is not null 查出来是一张表 a
    select column_value from a 查出来是单列的表B
    select count(*) from dual where 'A0132' in(B表的这一列)[/code]

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样