SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' cabinet* medical* dinc* severi*' IN BOOLEAN MODE)) or ((`OBIECT_ACTIVITATE` like "orl %" or `FIRMA` like "orl %" or `OBIECT_ACTIVITATE` like "% orl %" or `FIRMA` like "% orl %") or (`OBIECT_ACTIVITATE` like "orl,%" or `FIRMA` like "orl,%" or `OBIECT_ACTIVITATE` like "% orl,%" or `FIRMA` like "% orl,%" or `OBIECT_ACTIVITATE` like "% orl" or `FIRMA` like "% orl")) and `COD` like 'satu mare%' order by `CREDITE` desc, `TVA` desc, `DATA` desc