Error!

select * from jm_vid where visible = 1 and converted = 1 order by pos, id