What is wrong with this stored procedure?

前端 未结 2 1646
太阳男子
太阳男子 2020-12-12 08:05

I keep getting this error for the below MySQL SP any ideas?

CREATE PROCEDURE productpricing(
OUT pl DECIMAL(8,2), OUT ph DECIMAL(8,2),

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-12 08:26

    you need group by if you use min,max i think. if that doesnt work try #p1 to create a temp table. May be problem is the table you are inserting it to.

提交回复
热议问题