SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' oferim* pret* plat* cash* bucurest*' IN BOOLEAN MODE)) or ((`OBIECT_ACTIVITATE` like "cel %" or `FIRMA` like "cel %" or `OBIECT_ACTIVITATE` like "% cel %" or `FIRMA` like "% cel %") or (`OBIECT_ACTIVITATE` like "cel,%" or `FIRMA` like "cel,%" or `OBIECT_ACTIVITATE` like "% cel,%" or `FIRMA` like "% cel,%" or `OBIECT_ACTIVITATE` like "% cel" or `FIRMA` like "% cel")) or ((`OBIECT_ACTIVITATE` like "mai %" or `FIRMA` like "mai %" or `OBIECT_ACTIVITATE` like "% mai %" or `FIRMA` like "% mai %") or (`OBIECT_ACTIVITATE` like "mai,%" or `FIRMA` like "mai,%" or `OBIECT_ACTIVITATE` like "% mai,%" or `FIRMA` like "% mai,%" or `OBIECT_ACTIVITATE` like "% mai" or `FIRMA` like "% mai")) or ((`OBIECT_ACTIVITATE` like "bun %" or `FIRMA` like "bun %" or `OBIECT_ACTIVITATE` like "% bun %" or `FIRMA` like "% bun %") or (`OBIECT_ACTIVITATE` like "bun,%" or `FIRMA` like "bun,%" or `OBIECT_ACTIVITATE` like "% bun,%" or `FIRMA` like "% bun,%" or `OBIECT_ACTIVITATE` like "% bun" or `FIRMA` like "% bun")) and `COD` like 'satu mare%' order by `CREDITE` desc, `TVA` desc, `DATA` desc