zoukankan      html  css  js  c++  java
  • case的应用

    select (case
              when (m.code_dir = 'F') then
               n.code_startpointid
              else
               n.code_endpointid
            end) as startid,
           
            (case
              when (m.code_dir = 'F') then
               n.code_endpointid
              else
               n.code_startpointid
            end) as endid
     
       from rte_seg m, segment n
      where m.segment_id = n.segment_id
      

  • 相关阅读:
    Nginx
    Influxdb
    Gitlab
    Git
    Gogs
    Dockerfile
    Docker Data
    My Projects
    中文学习
    科技精选
  • 原文地址:https://www.cnblogs.com/weihongli/p/2972598.html
Copyright © 2011-2022 走看看