SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' dotari* ambientul* pune* evident* atuuri* pentr* stralucest* iasi*' IN BOOLEAN MODE)) or ((`OBIECT_ACTIVITATE` like "iar %" or `FIRMA` like "iar %" or `OBIECT_ACTIVITATE` like "% iar %" or `FIRMA` like "% iar %") or (`OBIECT_ACTIVITATE` like "iar,%" or `FIRMA` like "iar,%" or `OBIECT_ACTIVITATE` like "% iar,%" or `FIRMA` like "% iar,%" or `OBIECT_ACTIVITATE` like "% iar" or `FIRMA` like "% iar")) or ((`OBIECT_ACTIVITATE` like "iti %" or `FIRMA` like "iti %" or `OBIECT_ACTIVITATE` like "% iti %" or `FIRMA` like "% iti %") or (`OBIECT_ACTIVITATE` like "iti,%" or `FIRMA` like "iti,%" or `OBIECT_ACTIVITATE` like "% iti,%" or `FIRMA` like "% iti,%" or `OBIECT_ACTIVITATE` like "% iti" or `FIRMA` like "% iti")) or ((`OBIECT_ACTIVITATE` like "vor %" or `FIRMA` like "vor %" or `OBIECT_ACTIVITATE` like "% vor %" or `FIRMA` like "% vor %") or (`OBIECT_ACTIVITATE` like "vor,%" or `FIRMA` like "vor,%" or `OBIECT_ACTIVITATE` like "% vor,%" or `FIRMA` like "% vor,%" or `OBIECT_ACTIVITATE` like "% vor" or `FIRMA` like "% vor")) and `COD` like 'satu mare%' order by `CREDITE` desc, `TVA` desc, `DATA` desc