易截截图软件、单文件、免安装、纯绿色、仅160KB

MYSQL 备忘录

MySQL client programs:
mysql
The command-line tool for interactively entering SQL statements or executing them from a file in batch mode. See Section 4.5.1, “mysql — The MySQL Command-Line Tool”.
mysqladmin
A client that performs administrative operations, such as creating or dropping databases, reloading the grant tables, flushing tables to disk, and reopening log files. mysqladmin can also be used to retrieve version, process, and status information from the server. See Section 4.5.2, “mysqladmin — Client for Administering a MySQL Server”.
mysqlcheck
A table-maintenance client that checks, repairs, analyzes, and optimizes tables. See Section 4.5.3, “mysqlcheck — A Table Maintenance and Repair Program”.
mysqldump
A client that dumps a MySQL database into a file as SQL, text, or XML. See Section 4.5.4, “mysqldump — A Database Backup Program”.
mysqlimport
A client that imports text files into their respective tables using LOAD DATA INFILE. See Section 4.5.5, “mysqlimport — A Data Import Program”.
mysqlshow
A client that displays information about databases, tables, columns, and indexes. See Section 4.5.6, “mysqlshow — Display Database, Table, and Column Information”.
mysqlslap
A client that is designed to emulate client load for a MySQL server and report the timing of each stage. It works as if multiple clients are accessing the server. See Section 4.5.7, “mysqlslap — Load Emulation Client”.


相关文档:

mysql 函数

***function(/*常用函数*/)***
----统计函数----
AVG    --求平均值
COUNT   --统计数目
MAX    --求最大值
MIN    --求最小值
SUM    --求和
--AVG
use pangu
select avg(e_wage) as dept_avgWage
from employee
group by dept_id
--M ......

mysql 语法

Transact_SQL小手册
*******************Transact_SQL********************
--语 句                                功 能
--数据操作
SELECT & ......

mysql中GROUP BY结合GROUP_CONCAT的使用 [转]

http://javeye.javaeye.com/blog/558093
我们知道,group by可以将sql查询结果按照group by后面列进行分类显示。比如:
Sql代码
select
 columnA,columnB 
from
 
table
 
group
 
by
 columnA,columnB  
select columnA,columnB from table group by columnA,colum ......

Linux下安装MySQL数据库攻略

1.MySQL简介
   MySQL是一个广泛使用的结构化查询语言(SQL)数据库服务器。和其他SQL服务器一样,MySQL提供了访问和管理SQL数据库的方法,但是,MySQL同时也提供了创建数据库结构以及在这些结构中添加、修改和删除这些结构的工具。
   MySQL数据库相关的软件包主要有以下几种:
   ......

Mysql中的isolation level

Mysql中的事务可以运行在下面4个isolation level中,影响着select操作的结果:
1. Read Uncommitted
事务可以读到其他事务没有提交的内容
2. Read Committed
事务可以读到其他事务已经提交的内容
3. Repeatable Read
InnoDB的默认level,可以确保,在事务中每次执行的读操作返回的结果都与第一次时的一致
4. Seriali ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号