一定要在sql中写么?在程序中计算不好么?很可能造成浪费地:)SELECT (INTERVAL (case WEEKDAY('2006-06-23') when '1' then '3' when '2' then '3' when '3' then '5' when '4' then '5' when '5' then '5' when '6' then '4' when '7' then '3' else '' end) DAY + "2006-06-23") as a;
调试欢乐多
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货