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