You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by b.bck_pos' at line 3
zapytanie:
select b.*, p.* from oia_cms_blocks as b
left join oia_cms_plugin as p
on p.plug_id = b.plug_id where b.con_id = order by b.bck_pos