SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' pret* depozit* transport* gratuit* pentr* comenz* pest* bucurest*' IN BOOLEAN MODE)) or ((`OBIECT_ACTIVITATE` like "400 %" or `FIRMA` like "400 %" or `OBIECT_ACTIVITATE` like "% 400 %" or `FIRMA` like "% 400 %") or (`OBIECT_ACTIVITATE` like "400,%" or `FIRMA` like "400,%" or `OBIECT_ACTIVITATE` like "% 400,%" or `FIRMA` like "% 400,%" or `OBIECT_ACTIVITATE` like "% 400" or `FIRMA` like "% 400")) or ((`OBIECT_ACTIVITATE` like "ron %" or `FIRMA` like "ron %" or `OBIECT_ACTIVITATE` like "% ron %" or `FIRMA` like "% ron %") or (`OBIECT_ACTIVITATE` like "ron,%" or `FIRMA` like "ron,%" or `OBIECT_ACTIVITATE` like "% ron,%" or `FIRMA` like "% ron,%" or `OBIECT_ACTIVITATE` like "% ron" or `FIRMA` like "% ron")) and `COD` like 'Bihor%' order by `CREDITE` desc, `TVA` desc, `DATA` desc