select eventid, starttime, f_5, content, f_265, f_105, f_12 from fm_stdevent where f_5 =" +  job_num_p + " and f_265 =" +  cell_num_p + " and starttime>=" + date_str + " and starttime<" + date_end + " and rownum <30
现在用rownum <30好像不起作用,因为这是要返回结果集后,取前30行。所以在查询的时候已经死了,还有其它方法吗?