SQL函数讲解

1 查询
select * from 表名

2 增加
insert into 表名(字段一,字段二) values(字段值一,字段值二)

3 删除
delete from 表名 where 字段=值

4 修改
update 表名 set 字段=值 where 字段=值

5 分组
sql语句… group by 字段 having 条件

6 limit 0,5
分页查询条数

7 字段执行顺序
select * from 表名 where 字段=值

发布了40 篇原创文章 · 获赞 77 · 访问量 2453

猜你喜欢

转载自blog.csdn.net/weixin_45395031/article/details/103647133