SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' pentr* impatimit* modelul* bucurest*' IN BOOLEAN MODE)) or ((`OBIECT_ACTIVITATE` like "cei %" or `FIRMA` like "cei %" or `OBIECT_ACTIVITATE` like "% cei %" or `FIRMA` like "% cei %") or (`OBIECT_ACTIVITATE` like "cei,%" or `FIRMA` like "cei,%" or `OBIECT_ACTIVITATE` like "% cei,%" or `FIRMA` like "% cei,%" or `OBIECT_ACTIVITATE` like "% cei" or `FIRMA` like "% cei")) or ((`OBIECT_ACTIVITATE` like "ego %" or `FIRMA` like "ego %" or `OBIECT_ACTIVITATE` like "% ego %" or `FIRMA` like "% ego %") or (`OBIECT_ACTIVITATE` like "ego,%" or `FIRMA` like "ego,%" or `OBIECT_ACTIVITATE` like "% ego,%" or `FIRMA` like "% ego,%" or `OBIECT_ACTIVITATE` like "% ego" or `FIRMA` like "% ego")) or ((`OBIECT_ACTIVITATE` like "xxl %" or `FIRMA` like "xxl %" or `OBIECT_ACTIVITATE` like "% xxl %" or `FIRMA` like "% xxl %") or (`OBIECT_ACTIVITATE` like "xxl,%" or `FIRMA` like "xxl,%" or `OBIECT_ACTIVITATE` like "% xxl,%" or `FIRMA` like "% xxl,%" or `OBIECT_ACTIVITATE` like "% xxl" or `FIRMA` like "% xxl")) and `COD` like 'Valcea%' order by `CREDITE` desc, `TVA` desc, `DATA` desc