摘要: 1、显示数据库 show databases;2、选择数据库use 数据库名;3、显示数据库中的表show tables;4、显示数据表的结构describe 表名;5、显示表中记录SELECT * FROM 表名6、建库 create databse 库名;7、建表create table 表名 (字段设定列表);mysql> create table name( -> id int auto_increment not null primary key , -> uname char(8), -> gender char(2), -> birthday dat 阅读全文
posted @ 2012-11-16 17:32 lhfly 阅读(125760) 评论(4) 推荐(6) 编辑