先上图:
图中有两个时间,我想按照两个之中最大的一个排序。
按我的调查是这样
order by if chuhuotime>updatetime chuhuotime else updatetime desc
可是显示报错,可能是我的写法有误。
请教大家了。
图中有两个时间,我想按照两个之中最大的一个排序。
按我的调查是这样
order by if chuhuotime>updatetime chuhuotime else updatetime desc
可是显示报错,可能是我的写法有误。
请教大家了。
结帖。