求救:MYsql创建存储过程时报错1064
执行的SQL语句是:
create procedure TJZGS as select N_RYBH,sum(TIMEDIFF(D_XBSJ,D_SBSJ)) from T_RY_KQXX;
ERROR 1064(42000):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 'as select N_RYBH,sum(TIMEDIFF(D_XBSJ,D_SBSJ)) from T_RY_KQXX' at line 1