- 博客(6)
- 收藏
- 关注
原创 关于MySQL运算例子
求平均值 mysql> select avg(price) from tmp151; +------------+ | avg(price) | +------------+ | 60.0000 | +------------+ 1 row in set (0.00 sec) 求和 mysql> select sum(price) from tmp151; +------
2013-09-17 08:04:02
502
原创 MySQl主键以及外键
1、创建雇员表 mysql> create table gyb(gyh char(4) primary key,xm char(8) not null,nl smallint( 55),dz varchar(10),xs int(50)); Query OK, 0 rows affected (0.11 sec) mysql> desc gyb; +-------+-----------
2013-09-11 21:05:36
748
原创 第二天的作业代码,虽然有点无脑吧!!!
Enter password: ******* Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.6.13-enterprise-commercial-advanced MySQL Enterprise Server - Advan
2013-09-04 21:15:50
878
转载 MySQL常见错误
· 错误:1000 SQLSTATE: HY000 (ER_HASHCHK) 消息:hashchk · 错误:1001 SQLSTATE: HY000 (ER_NISAMCHK) 消息:isamchk · 错误:1002 SQLSTATE: HY000 (ER_NO) 消息:NO · 错误:1003 SQLSTATE: HY000 (ER_YES) 消息:YES
2013-09-04 17:40:40
1070
原创 第一次写博客,不知道写点啥
今天学了MySQL,敲了些简单的代码。 心情怎一个爽字了得呢!!! 晒晒咱的成果, Enter password: *** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 14 Server version: 5.6.13-enterprise-commercia
2013-09-03 21:00:27
451
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅