SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' autorizar* tehnic* timisoar*' IN BOOLEAN MODE)) or ((`OBIECT_ACTIVITATE` like "rar %" or `FIRMA` like "rar %" or `OBIECT_ACTIVITATE` like "% rar %" or `FIRMA` like "% rar %") or (`OBIECT_ACTIVITATE` like "rar,%" or `FIRMA` like "rar,%" or `OBIECT_ACTIVITATE` like "% rar,%" or `FIRMA` like "% rar,%" or `OBIECT_ACTIVITATE` like "% rar" or `FIRMA` like "% rar")) and `COD` like 'Bihor%' order by `CREDITE` desc, `TVA` desc, `DATA` desc