SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' +vanzar* +vinur* +feteasc* +alba* +ploiest*' IN BOOLEAN MODE)) and ((`OBIECT_ACTIVITATE` like "sec %" or `FIRMA` like "sec %" or `OBIECT_ACTIVITATE` like "% sec %" or `FIRMA` like "% sec %") or (`OBIECT_ACTIVITATE` like "sec,%" or `FIRMA` like "sec,%" or `OBIECT_ACTIVITATE` like "% sec,%" or `FIRMA` like "% sec,%" or `OBIECT_ACTIVITATE` like "% sec" or `FIRMA` like "% sec")) and `COD` like 'satu mare%' order by `CREDITE` desc, `TVA` desc, `DATA` desc