1.查询语句
select count(*) from aa;
select * from aa;
2.删除语句
truncate table aa;
delete from aa;
3.插入语句
insert into DATA_00222 select * from DATA_MPITEST where ROWNUM <= 100000;
insert into aa(id,name) values("","");
4.更新语句
update DATA_00222 set BIRTH=sysdate;
5.修改语句
alter table tablename modify filedname varchar2(20); (修改字段类型)
本文介绍了SQL的基本操作,包括查询、删除、插入和更新等语句的使用方法,并提供了具体的示例代码,帮助读者快速掌握SQL的基本用法。
36万+

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



