Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
知道为什么:
CREATE DEFINER = `root` @`%` PROCEDURE `getEventData` (IN id INT) BEGIN SELECT * FROM `event` WHERE `id` = id ; END $$
event当只有一条 id(主键)为 4 的记录时,返回表中的每一行?
event
其他有相同问题的人都知道,显然您不能使用与您正在检查的列同名的参数。