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

mysql入门记录

时间:2016-03-26 13:56:03      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:

mysql -h localhost(or ID) -u root -p

 

show databases;

create database <数据库名>;

drop database <数据库名>;

use pythontest;

describe tb01;

create table tb01(id int,name char(32));

insert into tb01 values(1,"test");

select  * from tb01;

select name, id from tb01 where id =1;

http://www.cnblogs.com/linjiqin/archive/2013/03/01/2939384.html

mysql入门记录

标签:

原文地址:http://www.cnblogs.com/heshangaichirou/p/5322711.html

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