码迷,mamicode.com
首页 > 数据库 > 详细

sql语句

时间:2015-10-28 12:20:52      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:

mysql -h host -u user -p;

load data local infile ‘/path/pet.txt‘ into table pet lines terminated by ‘\r\n‘;

insert into pet values(‘Puffball‘,‘Diane‘,‘hamster‘,‘f‘,‘1999-03-30‘,NULL);

insert into user(host,user,password,select_priv,insert_priv,uodate_priv) values(‘localhost‘,‘guest‘,PASSWORD(‘122‘),‘Y‘,‘Y‘,‘Y‘);

select host,user,passeword from user where user=‘guest‘;

 

sql语句

标签:

原文地址:http://www.cnblogs.com/breece/p/4916703.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!