我对这个存储过程的语法有很多麻烦,它应该从名为Country的表中返回所有信息,并试图使用参数进行比较:
Create Procedure CountrybyPK (country char(50))
begin
Select * From Country
Where Country.Name=country
end;
我得到的错误说明:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'end' at line 5