sql


UNION   联集
INTERSECT 交集

minus 第一次查询的结果中存在 而第二次查询的结果中不存在     <排除重复>

concat 将查询结果 串联

substring  方言:<oracle : substr> <sql server : substring><Mysql:substr,substring>

trim    ltrim(去开头空格) rtrim(去结尾空格)

alter table "tablename"
删除 drop
增加 add
修改  change "栏位名称" "新栏位名称" "资料种类"
改资料 modify "栏位名称" "资料种类"

http://sql.1keydata.com/cn/sql-intersect.php

http://book.51cto.com/art/200710/57731.htm


oracle函数

posted @ 2008-02-27 20:49  简单飞扬-  阅读(274)  评论(0编辑  收藏  举报