几个简单的基本的sql语句
来源:互联网 发布:广州淘宝村在哪里 编辑:程序博客网 时间:2024/05/29 10:01
选择:select * from table1 where 范围
插入:insert into table1(field1,field2) values(value1,value2)
删除:delete from table1 where 范围
更新:update table1 set field1=value1 where 范围
查找:select * from table1 where field1 like ’%value1%’ —like的语法很精妙,查资料!
排序:select * from table1 order by field1,field2 [desc]
总数:select count as totalcount from table1
求和:select sum(field1) as sumvalue from table1
平均:select avg(field1) as avgvalue from table1
最大:select max(field1) as maxvalue from table1
最小:select min(field1) as minvalue from table1
0 0
- 几个简单的基本的sql语句:
- 几个简单的基本的sql语句
- 几个简单的基本的sql语句
- 简单基本的sql语句
- 简单基本的sql语句
- 简单基本的sql 语句
- 简单基本的sql语句
- 学的几个简单的SQL语句
- Sql Server 的几个简单语句
- MySQL最常用的几个基本SQL语句
- 基本的sql语句
- 基本的sql语句
- 基本的SQL语句
- SQL的基本语句
- sql的基本语句
- 几个精彩的SQL语句
- 几个基础的SQL语句
- 几个sql语句的介绍
- 初用pycharm测试flask时常见报错
- 写个程序,运行时CPU占用率为50%
- MonoDevelop 下debug代码不通过的一些问题解决方案
- HTTPOXY漏洞下的思考
- CodeForces 349B Color the Fence
- 几个简单的基本的sql语句
- 69道Spring面试题和答案
- splay树的一些基本操作 c语言代码
- Poj 1274 The Perfect Stall【二分匹配】
- There is a problem with the configuration server.(usr/lib/libgconf2-4/gconf-sanity-check-2 ...)
- maven 源
- 二维数组
- HeadFirstJava——13_网络与线程
- 共轭分布