随笔分类 - MYSQL
摘要:1.联表查询 select * from zongyi zongyiitem where zongyi.id=zongyiitem.id 2.联表删除 delete from zongyi ,zongyiitem where zongyi.id=zongyiitem.zongyiid where z
阅读全文
摘要:1.创建存储过程: create procedure show(in id int) begin select * from sc where xuehao=id; end 2.使用存储过程: call show(10) 3.复杂操作: drop procedure show; //删除存储过程;
阅读全文

浙公网安备 33010602011771号