求一SQL语句关于改变列名
select      
 case   when   sex   =   true   then    '男 '    
 else    '女 ' 
 end   
 from   table   
 如何使其列名成为性别,即as写在哪
------解决方案--------------------select    
 case when sex = true then  '男 '  
 else  '女 ' 
 end as xxx   
 from table
------解决方案--------------------select    
 case when sex = true then  '男 '  
 else  '女 ' 
 end as 性别   
 from table   
 上个帖已经回复了啊