- 浏览: 201465 次
- 性别:
- 来自: 上海
文章分类
最新评论
-
qiankai86:
s
多个文件上传的功能 -
zhjxzhj:
经测试不能用
PDF破解软件 -
meadlai:
很不错...哈哈...
PDF破解软件 -
talin2010:
刚学了,复习一下。。
Mysql+tomcat连接池自己的例子 -
yshuaiwen:
上面的方法都不怎么好,太麻烦,而且都需要改tomcat的xml ...
Mysql+tomcat连接池的配置实例
连接
交叉连接
mysql> select * from color, attribute;
+-------+-----------+
| color | attribute |
+-------+-----------+
| black | eyes |
| black | hair |
| brown | eyes |
| brown | hair |
| gray | eyes |
| gray | hair |
+-------+-----------+
6 rows in set (0.00 sec)
这里面有个问题 当如果有4个表 每个包含100条记录的时候出来的结果会很多
内连接
mysql> select * from products;
+-----+------------+
| Pid | Pname |
+-----+------------+
| 1 | apples |
| 2 | oranges |
| 3 | pineapples |
| 4 | bananas |
+-----+------------+
4 rows in set (0.00 sec)
mysql> select * from sales;
+----+-----+----------+
| id | Pid | quantity |
+----+-----+----------+
| 1 | 3 | 2300 |
| 2 | 2 | 1500 |
| 3 | 1 | 3400 |
+----+-----+----------+
3 rows in set (0.00 sec)
mysql> select Pname ,quantity from products,sales where products.Pid=sales.Pid;
+------------+----------+
| Pname | quantity |
+------------+----------+
| apples | 3400 |
| oranges | 1500 |
| pineapples | 2300 |
+------------+----------+
3 rows in set (0.05 sec)
mysql> select products,quantity from products,sales where products.Pid=sales.Pid
and sales.quantity>2000;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'sales
.quantity>2000' at line 1
mysql> select Pnama,quantity from products,sales where products.Pid=sales.Pidand
sales.quantity>2000;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'sales
.quantity>2000' at line 1
mysql> select Pname,quantity from products,sales where products.Pid=sales.Pidand
sales.quantity>2000;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'sales
.quantity>2000' at line 1
mysql> select Pname ,quantity from products,sales where products.Pid=sales.Pid;
+------------+----------+
| Pname | quantity |
+------------+----------+
| apples | 3400 |
| oranges | 1500 |
| pineapples | 2300 |
+------------+----------+
3 rows in set (0.02 sec)
mysql> select Pname ,quantity from products,sales where products.Pid=sales.Pid a
nd sales.quantity>2000;
+------------+----------+
| Pname | quantity |
+------------+----------+
| apples | 3400 |
| pineapples | 2300 |
+------------+----------+
2 rows in set (0.02 sec)
mysql> select * from user;
+-----+-------+
| uid | name |
+-----+-------+
| 100 | sue |
| 103 | hary |
| 104 | louis |
| 107 | sam |
| 110 | james |
| 111 | mark |
| 112 | rita |
+-----+-------+
7 rows in set (0.00 sec)
mysql> select * from group;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'grou
' at line 1
mysql> select * from groups;
+-----+-----------+
| gid | name |
+-----+-----------+
| 501 | authors |
| 502 | actors |
| 503 | musicians |
| 504 | chefs |
+-----+-----------+
4 rows in set (0.00 sec)
mysql> select * from users_groups;
+-----+-----+
| uid | gid |
+-----+-----+
| 11 | 502 |
| 100 | 501 |
| 100 | 502 |
| 100 | 503 |
| 102 | 501 |
| 104 | 502 |
| 107 | 502 |
| 110 | 501 |
| 112 | 501 |
+-----+-----+
9 rows in set (0.00 sec)
mysql> select user.name,groups.name from user,groups,users_groups where user.uid
=users_groups.uid and groups.gid= users_groups.gid;
+-------+-----------+
| name | name |
+-------+-----------+
| sue | authors |
| james | authors |
| rita | authors |
| sue | actors |
| louis | actors |
| sam | actors |
| sue | musicians |
+-------+-----------+
7 rows in set (0.01 sec)
左外连接
mysql> select * from user left join users_groups on user.uid=users_groups.uid;
从连接的左部(user表)选择所有的行,对于选中的每一行,或者从右部(users_groups表)显示相匹配的值(能够满足on或者using子句约束的值)。或者显示null的一行。这种类型的连接称为左外连接。
+-----+-------+------+------+
| uid | name | uid | gid |
+-----+-------+------+------+
| 100 | sue | 100 | 501 |
| 100 | sue | 100 | 502 |
| 100 | sue | 100 | 503 |
| 103 | hary | NULL | NULL |
| 104 | louis | 104 | 502 |
| 107 | sam | 107 | 502 |
| 110 | james | 110 | 501 |
| 111 | mark | NULL | NULL |
| 112 | rita | 112 | 501 |
+-----+-------+------+------+
9 rows in set (0.00 sec)
下面的语句和上面的结果是一样的
mysql> select * from user left join users_groups using(uid);
+-----+-------+------+
| uid | name | gid |
+-----+-------+------+
| 100 | sue | 501 |
| 100 | sue | 502 |
| 100 | sue | 503 |
| 103 | hary | NULL |
| 104 | louis | 502 |
| 107 | sam | 502 |
| 110 | james | 501 |
| 111 | mark | NULL |
| 112 | rita | 501 |
+-----+-------+------+
9 rows in set (0.00 sec)
右外连接
mysql> select * from users_groups right join groups using(gid);
+-----+-----------+------+
| gid | name | uid |
+-----+-----------+------+
| 501 | authors | 100 |
| 501 | authors | 102 |
| 501 | authors | 110 |
| 501 | authors | 112 |
| 502 | actors | 11 |
| 502 | actors | 100 |
| 502 | actors | 104 |
| 502 | actors | 107 |
| 503 | musicians | 100 |
| 504 | chefs | NULL |
+-----+-----------+------+
10 rows in set (0.00 sec)
通过浏览null 值,很容易看到哪一组没有成员
mysql> select * from users_groups right join groups using(gid) where uid is null
;
+-----+-------+------+
| gid | name | uid |
+-----+-------+------+
| 504 | chefs | NULL |
+-----+-------+------+
1 row in set (0.02 sec)
自查询
mysql> insert into menu(id,label,parent) values(1,'sevices','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(2,'company','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(3,'media center','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(4,'your account','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(5,'community','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(6,'for content publishers','1');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(7,'for small businesses','1');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(8,'backgroud','2');
Query OK, 1 row affected (0.05 sec)
mysql> insert into menu(id,label,parent) values(9,'client','2');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(10,'addresses','2');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(11,'jobs','2');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(11,'news','2');
ERROR 1062 (23000): Duplicate entry '11' for key 'PRIMARY'
mysql> insert into menu(id,label,parent) values(12,'news','2');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(13,'press releases','3');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(14,'media kit','3');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(15,'log in','4');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(16,'columns','5');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(17,'colophon','16');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(18,'cut','16');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(19,'boombox','16');
Query OK, 1 row affected (0.01 sec)
mysql> select * from menu;
+----+------------------------+--------+
| id | label | parent |
+----+------------------------+--------+
| 1 | sevices | 0 |
| 2 | company | 0 |
| 3 | media center | 0 |
| 4 | your account | 0 |
| 5 | community | 0 |
| 6 | for content publishers | 1 |
| 7 | for small businesses | 1 |
| 8 | backgroud | 2 |
| 9 | client | 2 |
| 10 | addresses | 2 |
| 11 | jobs | 2 |
| 12 | news | 2 |
| 13 | press releases | 3 |
| 14 | media kit | 3 |
| 15 | log in | 4 |
| 16 | columns | 5 |
| 17 | colophon | 16 |
| 18 | cut | 16 |
| 19 | boombox | 16 |
+----+------------------------+--------+
19 rows in set (0.00 sec)
它创建了第一个表的虚拟拷贝,然后使用一个常规的内连接来把两个表映射到一起,并且得到需要的输出。
mysql> select a.label as parent_label,b.label as child_label from menu as a,menu
as b where a.id =b.id;
+------------------------+------------------------+
| parent_label | child_label |
+------------------------+------------------------+
| sevices | sevices |
| company | company |
| media center | media center |
| your account | your account |
| community | community |
| for content publishers | for content publishers |
| for small businesses | for small businesses |
| backgroud | backgroud |
| client | client |
| addresses | addresses |
| jobs | jobs |
| news | news |
| press releases | press releases |
| media kit | media kit |
| log in | log in |
| columns | columns |
| colophon | colophon |
| cut | cut |
| boombox | boombox |
+------------------------+------------------------+
19 rows in set (0.00 sec)
联合
mysql> select symbol,price from exchangea union select symbol,price from exchang
eb;
+--------+--------+
| symbol | price |
+--------+--------+
| BGHU | 12.90 |
| HDGS | 6.48 |
| HDTE | 123.71 |
| HTYF | 90.10 |
| TDGB | 78.44 |
| WERR | 32.91 |
| YTEM | 39.65 |
| DFRM | 9.43 |
| HTYF | 89.70 |
| POYT | 87.10 |
| TDGB | 79.00 |
+--------+--------+
11 rows in set (0.01 sec)
mysql> select symbol,price from exchangea where price >35.00 union select symbol
,price from exchangeb where price between 4.00 and 95.00;
+--------+--------+
| symbol | price |
+--------+--------+
| HDTE | 123.71 |
| HTYF | 90.10 |
| TDGB | 78.44 |
| YTEM | 39.65 |
| DFRM | 9.43 |
| HTYF | 89.70 |
| POYT | 87.10 |
| TDGB | 79.00 |
+--------+--------+
8 rows in set (0.00 sec)
可以通过union运算符中添加all关键字来关掉mysql自动过滤重复记录的功能。
mysql> select symbol from exchangea union all select symbol from exchangeb;
+--------+
| symbol |
+--------+
| BGHU |
| HDGS |
| HDTE |
| HTYF |
| TDGB |
| WERR |
| YTEM |
| DFRM |
| HTYF |
| POYT |
| TDGB |
+--------+
11 rows in set (0.00 sec)
交叉连接
mysql> select * from color, attribute;
+-------+-----------+
| color | attribute |
+-------+-----------+
| black | eyes |
| black | hair |
| brown | eyes |
| brown | hair |
| gray | eyes |
| gray | hair |
+-------+-----------+
6 rows in set (0.00 sec)
这里面有个问题 当如果有4个表 每个包含100条记录的时候出来的结果会很多
内连接
mysql> select * from products;
+-----+------------+
| Pid | Pname |
+-----+------------+
| 1 | apples |
| 2 | oranges |
| 3 | pineapples |
| 4 | bananas |
+-----+------------+
4 rows in set (0.00 sec)
mysql> select * from sales;
+----+-----+----------+
| id | Pid | quantity |
+----+-----+----------+
| 1 | 3 | 2300 |
| 2 | 2 | 1500 |
| 3 | 1 | 3400 |
+----+-----+----------+
3 rows in set (0.00 sec)
mysql> select Pname ,quantity from products,sales where products.Pid=sales.Pid;
+------------+----------+
| Pname | quantity |
+------------+----------+
| apples | 3400 |
| oranges | 1500 |
| pineapples | 2300 |
+------------+----------+
3 rows in set (0.05 sec)
mysql> select products,quantity from products,sales where products.Pid=sales.Pid
and sales.quantity>2000;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'sales
.quantity>2000' at line 1
mysql> select Pnama,quantity from products,sales where products.Pid=sales.Pidand
sales.quantity>2000;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'sales
.quantity>2000' at line 1
mysql> select Pname,quantity from products,sales where products.Pid=sales.Pidand
sales.quantity>2000;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'sales
.quantity>2000' at line 1
mysql> select Pname ,quantity from products,sales where products.Pid=sales.Pid;
+------------+----------+
| Pname | quantity |
+------------+----------+
| apples | 3400 |
| oranges | 1500 |
| pineapples | 2300 |
+------------+----------+
3 rows in set (0.02 sec)
mysql> select Pname ,quantity from products,sales where products.Pid=sales.Pid a
nd sales.quantity>2000;
+------------+----------+
| Pname | quantity |
+------------+----------+
| apples | 3400 |
| pineapples | 2300 |
+------------+----------+
2 rows in set (0.02 sec)
mysql> select * from user;
+-----+-------+
| uid | name |
+-----+-------+
| 100 | sue |
| 103 | hary |
| 104 | louis |
| 107 | sam |
| 110 | james |
| 111 | mark |
| 112 | rita |
+-----+-------+
7 rows in set (0.00 sec)
mysql> select * from group;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near 'grou
' at line 1
mysql> select * from groups;
+-----+-----------+
| gid | name |
+-----+-----------+
| 501 | authors |
| 502 | actors |
| 503 | musicians |
| 504 | chefs |
+-----+-----------+
4 rows in set (0.00 sec)
mysql> select * from users_groups;
+-----+-----+
| uid | gid |
+-----+-----+
| 11 | 502 |
| 100 | 501 |
| 100 | 502 |
| 100 | 503 |
| 102 | 501 |
| 104 | 502 |
| 107 | 502 |
| 110 | 501 |
| 112 | 501 |
+-----+-----+
9 rows in set (0.00 sec)
mysql> select user.name,groups.name from user,groups,users_groups where user.uid
=users_groups.uid and groups.gid= users_groups.gid;
+-------+-----------+
| name | name |
+-------+-----------+
| sue | authors |
| james | authors |
| rita | authors |
| sue | actors |
| louis | actors |
| sam | actors |
| sue | musicians |
+-------+-----------+
7 rows in set (0.01 sec)
左外连接
mysql> select * from user left join users_groups on user.uid=users_groups.uid;
从连接的左部(user表)选择所有的行,对于选中的每一行,或者从右部(users_groups表)显示相匹配的值(能够满足on或者using子句约束的值)。或者显示null的一行。这种类型的连接称为左外连接。
+-----+-------+------+------+
| uid | name | uid | gid |
+-----+-------+------+------+
| 100 | sue | 100 | 501 |
| 100 | sue | 100 | 502 |
| 100 | sue | 100 | 503 |
| 103 | hary | NULL | NULL |
| 104 | louis | 104 | 502 |
| 107 | sam | 107 | 502 |
| 110 | james | 110 | 501 |
| 111 | mark | NULL | NULL |
| 112 | rita | 112 | 501 |
+-----+-------+------+------+
9 rows in set (0.00 sec)
下面的语句和上面的结果是一样的
mysql> select * from user left join users_groups using(uid);
+-----+-------+------+
| uid | name | gid |
+-----+-------+------+
| 100 | sue | 501 |
| 100 | sue | 502 |
| 100 | sue | 503 |
| 103 | hary | NULL |
| 104 | louis | 502 |
| 107 | sam | 502 |
| 110 | james | 501 |
| 111 | mark | NULL |
| 112 | rita | 501 |
+-----+-------+------+
9 rows in set (0.00 sec)
右外连接
mysql> select * from users_groups right join groups using(gid);
+-----+-----------+------+
| gid | name | uid |
+-----+-----------+------+
| 501 | authors | 100 |
| 501 | authors | 102 |
| 501 | authors | 110 |
| 501 | authors | 112 |
| 502 | actors | 11 |
| 502 | actors | 100 |
| 502 | actors | 104 |
| 502 | actors | 107 |
| 503 | musicians | 100 |
| 504 | chefs | NULL |
+-----+-----------+------+
10 rows in set (0.00 sec)
通过浏览null 值,很容易看到哪一组没有成员
mysql> select * from users_groups right join groups using(gid) where uid is null
;
+-----+-------+------+
| gid | name | uid |
+-----+-------+------+
| 504 | chefs | NULL |
+-----+-------+------+
1 row in set (0.02 sec)
自查询
mysql> insert into menu(id,label,parent) values(1,'sevices','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(2,'company','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(3,'media center','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(4,'your account','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(5,'community','0');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(6,'for content publishers','1');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(7,'for small businesses','1');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(8,'backgroud','2');
Query OK, 1 row affected (0.05 sec)
mysql> insert into menu(id,label,parent) values(9,'client','2');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(10,'addresses','2');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(11,'jobs','2');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(11,'news','2');
ERROR 1062 (23000): Duplicate entry '11' for key 'PRIMARY'
mysql> insert into menu(id,label,parent) values(12,'news','2');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(13,'press releases','3');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(14,'media kit','3');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(15,'log in','4');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(16,'columns','5');
Query OK, 1 row affected (0.03 sec)
mysql> insert into menu(id,label,parent) values(17,'colophon','16');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(18,'cut','16');
Query OK, 1 row affected (0.02 sec)
mysql> insert into menu(id,label,parent) values(19,'boombox','16');
Query OK, 1 row affected (0.01 sec)
mysql> select * from menu;
+----+------------------------+--------+
| id | label | parent |
+----+------------------------+--------+
| 1 | sevices | 0 |
| 2 | company | 0 |
| 3 | media center | 0 |
| 4 | your account | 0 |
| 5 | community | 0 |
| 6 | for content publishers | 1 |
| 7 | for small businesses | 1 |
| 8 | backgroud | 2 |
| 9 | client | 2 |
| 10 | addresses | 2 |
| 11 | jobs | 2 |
| 12 | news | 2 |
| 13 | press releases | 3 |
| 14 | media kit | 3 |
| 15 | log in | 4 |
| 16 | columns | 5 |
| 17 | colophon | 16 |
| 18 | cut | 16 |
| 19 | boombox | 16 |
+----+------------------------+--------+
19 rows in set (0.00 sec)
它创建了第一个表的虚拟拷贝,然后使用一个常规的内连接来把两个表映射到一起,并且得到需要的输出。
mysql> select a.label as parent_label,b.label as child_label from menu as a,menu
as b where a.id =b.id;
+------------------------+------------------------+
| parent_label | child_label |
+------------------------+------------------------+
| sevices | sevices |
| company | company |
| media center | media center |
| your account | your account |
| community | community |
| for content publishers | for content publishers |
| for small businesses | for small businesses |
| backgroud | backgroud |
| client | client |
| addresses | addresses |
| jobs | jobs |
| news | news |
| press releases | press releases |
| media kit | media kit |
| log in | log in |
| columns | columns |
| colophon | colophon |
| cut | cut |
| boombox | boombox |
+------------------------+------------------------+
19 rows in set (0.00 sec)
联合
mysql> select symbol,price from exchangea union select symbol,price from exchang
eb;
+--------+--------+
| symbol | price |
+--------+--------+
| BGHU | 12.90 |
| HDGS | 6.48 |
| HDTE | 123.71 |
| HTYF | 90.10 |
| TDGB | 78.44 |
| WERR | 32.91 |
| YTEM | 39.65 |
| DFRM | 9.43 |
| HTYF | 89.70 |
| POYT | 87.10 |
| TDGB | 79.00 |
+--------+--------+
11 rows in set (0.01 sec)
mysql> select symbol,price from exchangea where price >35.00 union select symbol
,price from exchangeb where price between 4.00 and 95.00;
+--------+--------+
| symbol | price |
+--------+--------+
| HDTE | 123.71 |
| HTYF | 90.10 |
| TDGB | 78.44 |
| YTEM | 39.65 |
| DFRM | 9.43 |
| HTYF | 89.70 |
| POYT | 87.10 |
| TDGB | 79.00 |
+--------+--------+
8 rows in set (0.00 sec)
可以通过union运算符中添加all关键字来关掉mysql自动过滤重复记录的功能。
mysql> select symbol from exchangea union all select symbol from exchangeb;
+--------+
| symbol |
+--------+
| BGHU |
| HDGS |
| HDTE |
| HTYF |
| TDGB |
| WERR |
| YTEM |
| DFRM |
| HTYF |
| POYT |
| TDGB |
+--------+
11 rows in set (0.00 sec)
发表评论
-
MYSQL完全手册学习笔记(练习时候的数据库)
2008-10-23 11:14 2042MYSQL完全手册学习笔记(练习时候的数据库) 4-10章的 -
MYSQL完全手册学习笔记(第九章)
2008-10-21 17:51 1224使用数据 插入、更新 和删除记录 插入 Inser ... -
MYSQL完全手册学习笔记(第八章)
2008-10-20 11:30 2272使用数据库和表 创建数据库 mysql> crea ... -
MYSQL完全手册学习笔记(第七章)
2008-10-16 17:31 1495MYSQL函数 mysql> select round ... -
MySQL 5.1参考手册
2008-10-15 15:49 1196http://dev.mysql.com/doc/refman ... -
MYSQL完全手册学习笔记(第六章)
2008-10-15 15:47 1157运算符 算数运算符 mysql> select 10+ ... -
MYSQL完全手册学习笔记(第五章)
2008-10-15 14:41 1150数据类型 Float(5,2)规定显示的值不会超过5位数字 ... -
MySQL 5.1新特性之事件调度器(Event Scheduler)
2008-10-15 14:39 1359MySQL 5.1新特性之事件调度器(Event Schedu ... -
MYSQL完全手册学习笔记(第四章)
2008-10-15 13:45 1266MYSQL完全手册学习笔记 ... -
MySQL常用命令及基本操作总结
2008-10-15 10:46 1850MySQL常用操作基本操作,以下都是MySQL5.0下测试通过 ... -
Mysql命令集锦
2008-09-04 17:45 861Mysql命令集锦 MySQL常 ... -
mysql 驱动文件
2008-08-26 10:04 1538mysql 驱动文件 -
mysql帮助文档
2008-08-26 10:00 2418mysql 的帮助文档说明 -
Mysql命令集锦
2008-08-23 09:32 1008Mysql命令集锦 MySQL常 ...
相关推荐
《MYSQL完全手册学习笔记》是针对MySQL数据库系统的一份详细学习资料,主要涵盖了数据库的各个方面,包括基础概念、安装配置、SQL语法、表的设计、索引、事务处理、视图、存储过程、触发器、备份恢复等。这些知识点...
MYSQL完全手册MYSQL完全手册MYSQL完全手册MYSQL完全手册MYSQL完全手册
### MySQL核心技术学习笔记 #### 一、为什么要学习数据库 学习数据库的重要性主要体现在以下几个方面: 1. **持久化数据到本地**:数据库能够将应用程序产生的数据持久化存储在磁盘上,即使系统重启也不会丢失...
《MySQL完全手册(中文)》是MySQL数据库管理系统的一部详尽参考指南,旨在为读者提供全面、深入的MySQL知识。本书基于《MySQL: The Complete Reference》的中文翻译,覆盖了MySQL的所有核心概念、功能和最佳实践,...
美河提供.MYSQL完全手册 美河提供.MYSQL完全手册 美河提供.MYSQL完全手册 美河提供.MYSQL完全手册
MySQL 高可用学习笔记 mysqlrouter_MHA 本文档主要讲解了 MySQL Router 和 MHA 的高可用配置和测试步骤。MySQL Router 是一个提供高可用和负载均衡的工具,而 MHA 是一个提供高可用和自动failover 的工具。下面我们...
数据库 MySQL 学习笔记高级篇.md
MySQL是世界上最受欢迎的关系型数据库管理系统之一,尤其在Web应用...学习MySQL不仅涉及理论知识,还需要大量的实践操作来熟悉其语法和功能。掌握MySQL能让你在数据管理、Web开发和系统集成等领域具备更强的竞争力。
MySQL中文完全手册,扫描版,PDF版,自己逐个加了目录,绝壁比市面上别的文档要好用!
MySQL OCP 超详细学习笔记$pdf MySQL OCP 超详细学习笔记.pdf 是一份详细的 MySQL 学习笔记,旨在帮助 MySQL DBA master 数据库管理的知识和技能。本笔记涵盖了 MySQL 的多个方面,包括 MySQL 的配置、性能优化、...
mysql的完全参考手册,电子书籍,共1846页,可以说完全囊括了mysql的全部奥秘。打包成了两部分,请下载后一起解压缩。这是第二部份
这份"mysql完全手册"旨在为学习MySQL的用户提供全面的参考指南,涵盖从基础概念到高级特性的各种操作和查询。 手册可能会包括以下几个主要部分: 1. **MySQL安装与配置**:这部分会介绍如何在不同操作系统上安装...
MySQL优化学习思维笔记.xmind
MySQL学习笔记.chmMySQL学习笔记.chmMySQL学习笔记.chmMySQL学习笔记.chm
美河提供.MYSQL完全手册.pdf ,易操作
这份“MySQL学习笔记”将引导我们深入理解其核心概念和实用技能。 一、MySQL简介 MySQL是一个开源、免费的数据库系统,由瑞典的MySQL AB公司开发,后被Oracle公司收购。它的设计目标是速度、可移植性和简洁性,支持...
通过阅读“mysql操作语法.htm”、“mysql语法.html”和“MySQL学习笔记.pdf”,你可以逐步掌握MySQL的所有关键语法和最佳实践。在学习过程中,不断实践和理解每个概念,将有助于提升你在数据库领域的专业技能。
MySQL是世界上最受欢迎的关系型数据库管理...以上只是MySQL学习笔记的一部分内容,实际的学习过程中,你还会接触到触发器、分区、复制、集群等更高级的主题。不断实践和深入研究,才能真正掌握这个强大的数据库系统。