select match.*,(case when chipset='0' then '甲赢' else '乙赢' end)as chipset,(case when result is null then '未知' when result=0 then '甲赢' else '乙赢' end)as gameresult,(stake.chip+stake.costs) as money from match left join stake on(match.matchid=stake.matchid) where stake.userid=$this->userid order by match.matchid desc
select case
最新推荐文章于 2024-01-08 10:54:18 发布