select * from (select id as ID,name as NAME  from table ) a where ID='123'

posted on 2012-08-27 17:25  清风暮雨  阅读(693)  评论(0)    收藏  举报