早教吧 育儿知识 作业答案 考试题库 百科 知识分享

createtablestmpasselect*fromStatisticwhere1=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的字段.