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 'index from sys_applications where id=''' at line 1
select index from sys_applications where id=''
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 'index from geoplaces where id='15'' at line 1
select geotype_id, index from geoplaces where id='15'
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 'index from sys_labels_real where action_id='0' order by id asc' at line 1
select id, text_code, index from sys_labels_real where action_id='0' order by id asc
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 'index asc' at line 2
select * from sys_bottons, sys_bottons_permissions where sys_bottons.application_id='' and sys_bottons.table_name is null and sys_bottons.id=sys_bottons_permissions.botton_id and sys_bottons_permissions.type_4='1' order by index asc