DB Error: unknown error

SELECT count(*) as count,userCode,userName FROM ABLOG_user,ABLOG_news WHERE ABLOG_news.newsStatus=1 AND ABLOG_user.userID=ABLOG_news.userID GROUP BY ABLOG_news.userID ORDER BY count desc [nativecode=1317 ** Query execution was interrupted]