SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and (MATCH (`OBIECT_ACTIVITATE`,`FIRMA`,`LOCALITATE`,`COD`) AGAINST (' navigar* baza* clasic* smartphones* cluj* napoc*' IN BOOLEAN MODE)) or ((`OBIECT_ACTIVITATE` like "gps %" or `FIRMA` like "gps %" or `OBIECT_ACTIVITATE` like "% gps %" or `FIRMA` like "% gps %") or (`OBIECT_ACTIVITATE` like "gps,%" or `FIRMA` like "gps,%" or `OBIECT_ACTIVITATE` like "% gps,%" or `FIRMA` like "% gps,%" or `OBIECT_ACTIVITATE` like "% gps" or `FIRMA` like "% gps")) or ((`OBIECT_ACTIVITATE` like "pda %" or `FIRMA` like "pda %" or `OBIECT_ACTIVITATE` like "% pda %" or `FIRMA` like "% pda %") or (`OBIECT_ACTIVITATE` like "pda,%" or `FIRMA` like "pda,%" or `OBIECT_ACTIVITATE` like "% pda,%" or `FIRMA` like "% pda,%" or `OBIECT_ACTIVITATE` like "% pda" or `FIRMA` like "% pda")) or ((`OBIECT_ACTIVITATE` like "gps %" or `FIRMA` like "gps %" or `OBIECT_ACTIVITATE` like "% gps %" or `FIRMA` like "% gps %") or (`OBIECT_ACTIVITATE` like "gps,%" or `FIRMA` like "gps,%" or `OBIECT_ACTIVITATE` like "% gps,%" or `FIRMA` like "% gps,%" or `OBIECT_ACTIVITATE` like "% gps" or `FIRMA` like "% gps")) or ((`OBIECT_ACTIVITATE` like "pda %" or `FIRMA` like "pda %" or `OBIECT_ACTIVITATE` like "% pda %" or `FIRMA` like "% pda %") or (`OBIECT_ACTIVITATE` like "pda,%" or `FIRMA` like "pda,%" or `OBIECT_ACTIVITATE` like "% pda,%" or `FIRMA` like "% pda,%" or `OBIECT_ACTIVITATE` like "% pda" or `FIRMA` like "% pda")) or ((`OBIECT_ACTIVITATE` like "uri %" or `FIRMA` like "uri %" or `OBIECT_ACTIVITATE` like "% uri %" or `FIRMA` like "% uri %") or (`OBIECT_ACTIVITATE` like "uri,%" or `FIRMA` like "uri,%" or `OBIECT_ACTIVITATE` like "% uri,%" or `FIRMA` like "% uri,%" or `OBIECT_ACTIVITATE` like "% uri" or `FIRMA` like "% uri")) and `COD` like 'satu mare%' order by `CREDITE` desc, `TVA` desc, `DATA` desc