摘要:
sql server中查询一个表中某个数据重复条数大于1的所有信息 select id,Count(*) from table group by id having count(id)>1 阅读全文
摘要:
sql如何判断某值并赋给他另外的值 select *,case when xingbie=0 then '女' else '男' end as xingbie from yishibiao select XingBieHanZi,CASE WHEN(XingBieHanZi='男') THEN 1 阅读全文