create table s_tmp as select * from Statistic where 1=2; 这个where1=2是什么意思呢

来源:学生作业帮助网 编辑:六六作业网 时间:2024/10/06 14:11:16
createtables_tmpasselect*fromStatisticwhere1=2;这个where1=2是什么意思呢createtables_tmpasselect*fromStatisti

create table s_tmp as select * from Statistic where 1=2; 这个where1=2是什么意思呢
create table s_tmp as select * from Statistic where 1=2; 这个where1=2是什么意思呢

create table s_tmp as select * from Statistic where 1=2; 这个where1=2是什么意思呢
where 1=2 永远不成立;
所以 select * from statistic from where 1=2 的结果是个空集合,只返回statistic的字段.