摘要: SQL语句的DECODE()和NVL()函数用法 SELECT DECODE(choose_tool,0,'宝马',1,'电动车',2,'自行车','步行') AS my_tool FROM data_tool_t //分析:当choose_tool为0时候,my_tool=‘宝马’ 当choose 阅读全文
posted @ 2018-04-21 17:31 chch213 阅读(1003) 评论(0) 推荐(0) 编辑