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),
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.