this is my code, pretty simple, I always get errors i dont know where I went wrong, please help:
create function fun1() returns int(1) begin
return 1;
# Time Action Message Duration / Fetch
0 1 11:20:30 end Error Code: 1064. 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 1 0.000 sec