摘要:
index 索引(普通索引创建) 例 show index from 表 (查看表的索引) 例 create index 索引名 on 表(列名) (创建普通索引) 例 drop 索引名 on 表;(删除普通索引) create table in1( nid int not null auto_in 阅读全文
摘要:
prepare 准备 using 使用 deallocate 释放 execute 执行 delimiter $ drop procedure if exists proc $ create procedure proc() begin declare p1 int; set p1 = 11; se 阅读全文
摘要:
delimiter $ drop function if exists f1 $ mysql> create function f1(l1 int,l2 int) returns int begin declare mun int; set mun = l1 + l2; return(mun); e 阅读全文
摘要:
delimiter $ drop trigger if exists insert_color $ create trigger insert_color before insert on color for each row begin insert into co(cols) values(ne 阅读全文