mysql if

select t.site_id,
if(id=24,num,0)a,
if(id=11,num,0)b
FROM

xx t

posted @   zfzf1  阅读(92)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示