Richard_xia收录,时间:2008-6-18 14:23:47 | 相关网摘,我也收藏
select * from template a where not exists(select 1 from template where 科目编码=a.上级科目编码)
http://topic.csdn.net/u/20080124/22/1f33cf34-32c5-4e4b-8b7a-0405b4081fae.html