select top 2 *,
case sex when 1 then '' when 0 then '' end as sex_1,
case marriage when 1 then '已婚' when 0 then '未婚' end as marriage_1,
(
select typename from EJobhy where ID = calling) as calling_1,
(
select typename from EJobzw where ID = zwid) as zwid_1,
(
select typaneme from EJobArea where ID = yxareaid) as yxareaid_1,
(
select typename from EJobNewsType where ID = typeid) as typeid_1 
from Individual_xx where ID <> -1 and realname is not null  and ID not in
(

select top 4 ID from Individual_xx where ID <> -1  and realname is not null  order by taxis desc,id  

order by taxis desc, id 

posted on 2008-03-15 18:00  小角色  阅读(303)  评论(0)    收藏  举报