SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' instalar* aparat* conditionat* aparat* conditionat* bucurest*' IN BOOLEAN MODE)) or ((`OBIECT_ACTIVITATE` like "aer %" or `FIRMA` like "aer %" or `OBIECT_ACTIVITATE` like "% aer %" or `FIRMA` like "% aer %") or (`OBIECT_ACTIVITATE` like "aer,%" or `FIRMA` like "aer,%" or `OBIECT_ACTIVITATE` like "% aer,%" or `FIRMA` like "% aer,%" or `OBIECT_ACTIVITATE` like "% aer" or `FIRMA` like "% aer")) or ((`OBIECT_ACTIVITATE` like "aer %" or `FIRMA` like "aer %" or `OBIECT_ACTIVITATE` like "% aer %" or `FIRMA` like "% aer %") or (`OBIECT_ACTIVITATE` like "aer,%" or `FIRMA` like "aer,%" or `OBIECT_ACTIVITATE` like "% aer,%" or `FIRMA` like "% aer,%" or `OBIECT_ACTIVITATE` like "% aer" or `FIRMA` like "% aer")) and `COD` like 'Valcea%' order by `CREDITE` desc, `TVA` desc, `DATA` desc