摘要: --select*from 名 order by 列 asc --升序排列--select*from 名 order by 列 desc --降序排列--select distinct 列 from 名 --去重--select 列 from 名 group by 列 --分组--函数--selec 阅读全文
posted @ 2016-06-11 22:02 宋小尧 阅读(109) 评论(0) 推荐(0) 编辑
摘要: --create database 库名--创建数据库--drop database 库名--删除数据库--create table 名--创建表--drop table 名-- 删除表--insert into 名 values() --增加--delete from 名 where 列=值 -- 阅读全文
posted @ 2016-06-11 21:59 宋小尧 阅读(99) 评论(0) 推荐(0) 编辑