摘要: case函数的妙用select person,ticket_name,sum(case when ticket_name is not null then 1 end) as 总票数 ,sum(case when ticket_price is not null then ticket_price  阅读全文
posted @ 2018-03-06 16:05 静静的代码生活 阅读(380) 评论(0) 推荐(0) 编辑