SQL语句基础(一)增删改查

xiaoxiao2021-02-28  112

1、增 create user 用户名 identified by 密码 create table 表名(字段名 类型 约束,字段名 类型 约束,……); insert into 表名 values(——) insert into 表名(字段名)values(–) 2、删 delete from 表名 where 字段=数据 drop table 表名 ; drop user xxx; 3、改 update 表名 set 字段=数据 where 字段=数据 alter——– 4、查 select * from 表名 where – (having — group by —order by —- ) 嵌套查询(in)

备注:查的详细讲解,请听下回分解

转载请注明原文地址: https://www.6miu.com/read-43448.html

最新回复(0)