Home > Database > Mysql Tutorial > 数据库-新人:mysql存储过程求问

数据库-新人:mysql存储过程求问

WBOY
Release: 2016-06-06 09:35:06
Original
966 people have browsed it

mysql数据库存储过程

各位老师,由于工作需要,最近学了mysql。这段时间也看了许多有关存储过程的教程和案例。但还是摸不着头脑。这里要请教大家,mysql存储过程具体应该如何实现。(给我个大概得框架就行)
这里需要用manager_id=human_id这个条件,找出符合条件的thuman,就如我图3。
但是接下来还要用新求出来的thuman_id=human_id这个条件循环查询出manager下面的thuman信息。
这个本人认为要用到存储过程循环查询建表和插入。但由于个人技术水平原因,求各位不啬赐教。可以不用具体代码,就大概框架。图片说明图片说明图片说明图片图片图片

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template