Instruments
ExecuteSQLit sql=
select concat('',Instruments.iID,'') as Instrument,iDescription as Description from Instruments where iIsDeleted=0 and ProjectId in (0,) order by iID

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') order by iID' at line 1