摘要: 表中有A B C三列,用SQL语句实现:当A列大于B列时选择A列否则选择B列,当B列大于C列时选择B列否则选择C列。 ------------------------------------------ select (case when a>b then a else b end ), (case... 阅读全文
posted @ 2014-08-28 16:17 armyfai 阅读(347) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace msdemo{ class Program { static void Main(stri... 阅读全文
posted @ 2014-08-28 11:07 armyfai 阅读(357) 评论(0) 推荐(0) 编辑