sql between and

1 -between and 包括边界值,如果是日期 截止日期到00点0分 如果截止日期:2019-7-26 则为:2019-7-26 00:00:00

not between adn 不包括边界值

2 复制表

select * into newtable from oldtable where 1=2

insert into newtable select * from oldtable

猜你喜欢

转载自www.cnblogs.com/caojuansh/p/11249230.html
今日推荐