创建

欢迎转载 ,转载时请保留作者信息。本文版权归本人所有,如有任何问题,请与我联系wang2650@sohu.com 。 过错

 


create table tableName (字段名 字段类型 primary key
)


删除
drop table if exists   tableName ;

表是否存在

select count(*) from db_class where class_name='tablename'

tableName要小写

重命名表
rename table  oldname  to  newname

相关文章:

  • 2022-12-23
  • 2021-06-15
  • 2021-11-30
  • 2022-02-02
  • 2022-01-12
  • 2021-12-13
  • 2021-09-19
  • 2021-12-09
猜你喜欢
  • 2021-08-02
  • 2021-12-30
  • 2021-12-24
  • 2021-11-13
  • 2022-12-23
  • 2021-07-01
相关资源
相似解决方案