=================Oracle==================
1.创建表
Create table [tableName](id int,name varchar2(64));
2.删除表
drop table [tableName];
3.修改表
alert table [tableName] add newColumn varchar2(64);
comment on table [tableName] is ‘表的描述‘;
comment on column [tableName.column] is ‘列的描述‘;
4.查询表
select * from [tableName];
时间: 2024-10-27 13:41:59