对日常工作中用到的感觉有用的sql语句做个归纳,用于今后温故知新。
*复制表:
create table tablename as select * from table_src;
create table tablename as select * from table_src where 1 <> 1; --只复制表结构
本文归纳了日常工作中常用的SQL语句,包括复制表结构的方法。通过实际案例分享,帮助读者理解和掌握这些实用技巧。
对日常工作中用到的感觉有用的sql语句做个归纳,用于今后温故知新。
*复制表:
create table tablename as select * from table_src;
create table tablename as select * from table_src where 1 <> 1; --只复制表结构
91

被折叠的 条评论
为什么被折叠?