SQL语言
flashing-c
不胜存心,安生苍穹?
展开
-
SQL语言共分为四大类
SQL语言共分为四大类:数据查询语言DQL,数据操纵语言DML,数据定义语言DDL,数据控制语言DCL。原创 2017-08-15 12:53:34 · 4557 阅读 · 0 评论 -
表存在则删除,不存在则创建(一句sql实现)
通过一句sql实现:1、表存在则删除;2、表不存在则创建;mysql:drop table if exists `test`;create table if not exists `test` (`id` integer not null, `name` varchar(10), primary key(`id`));sqlserver:if ex原创 2017-08-15 12:59:32 · 12292 阅读 · 0 评论