首页 > 数据库技术 > 详细

航图转换相关sql

时间:2017-10-25 00:25:58      阅读:334      评论:0      收藏:0      [点我收藏+]

--旧库列举所有类型航图

select distinct  c.identifier airport_icao,d.sc_code chart_type,s.name
from special_chart s, airport c, special_chart_type d
where
c.isdirectory=1 and c.bureau_id<8 and
 c.airport_id=s.airport_id and s.sc_type_id=d.sc_type_id
and d.sc_code=‘机场图_停机位置图‘
order by s.name

--新库顺序列举航图类型

select * from TERMINAL_CHART_TYPE t
order by nvl(t.parent_type_id,0),t.seq_num

航图转换相关sql

原文:http://www.cnblogs.com/mol1995/p/7726260.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!