primary key 主键
use +文件名
insert into author()
select ……union
from
where
查找下一个月的会员
where month(birthday)-month(getdate())=-11 or month(getdate())+1=month(birthday)
primary key 主键
use +文件名
insert into author()
select ……union
from
where
查找下一个月的会员
where month(birthday)-month(getdate())=-11 or month(getdate())+1=month(birthday)
转载于:https://my.oschina.net/u/3820334/blog/1807954