while(true) mysql_query(conn, " select close, id from fivemin order by id DESC LIMIT 5 ");result = mysql_store_result(conn); float sum = 0;while((row=mysql_fetch_row(result)))
我试图在mysql中定义存储过程,但是出错了,我无法理解我做错了什么。CREATE PROCEDURE distance(lat1 Float,long1 Float,lat2 Float,long2 Float,OUT distance Float)错误:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your M