摘要: SQL种类:DDL:数据定义语言DML:数据操作语言DQL:数据查询语言DCL:数据控制语言DDL:show databases; //查询数据库create database if not exists sqldb;//创建一个数据库use sqldb; //使用一个sqldbshow tables; //显示表create table if not exists cats(id int not null auto_increment, pid int not null default '0', name varchar(16) not null default '& 阅读全文
posted @ 2013-10-09 22:52 激扬飞雪 阅读(177) 评论(0) 推荐(0)