SQL
Garvin Li
Dancing with data
展开
-
sql语句学习
针对一个表练习1.建表create table student(name Char(20),curriculum Char(20),score Char(20));插入数据: INSERT INTO student (name,curriculum,score) VALUES('王五','数学','100');mysql> select * from student;+--------+-----原创 2015-04-13 16:08:24 · 1509 阅读 · 0 评论 -
SQL语句学习总结
(转载请注明出处:http://blog.csdn.net/buptgshengod)1.归并重复项 +------+-------+| user | brand |+------+-------+| aa | 9 || aa | 9 || bb | 4 || bb | 3 || cc | 9 |+------+-------+原创 2014-05-09 11:29:05 · 1684 阅读 · 0 评论 -
MAC下homebre安装mysql
1.执行安装命令 brew install mysql2.执行完输入mysql会有如下bugERROR 2002 (HY000): Can not connect to local MySQL server through socket '/tmp/mysql.sock' (2)3.bug解决方案unset TMPDIR4.然后mysql_install_db --verbose --user=r原创 2015-04-09 15:32:43 · 2222 阅读 · 0 评论