select
*
from mission
where user_id_belonged = '1' and status=0
limit 0,10
order by id ASC
*
from mission
where user_id_belonged = '1' and status=0
limit 0,10
order by id ASC
以上sql语句运行会报sql错误
order by 要放在limit前边,以下sql是正确的
select
*
from mission
where user_id_belonged = '1' and status=0
order by id ASC
limit 0,10