SQL = SELECT * FROM `baza` where `VIZIBIL` >= 1 and ((`OBIECT_ACTIVITATE` like "our %" or `FIRMA` like "our %" or `OBIECT_ACTIVITATE` like "% our %" or `FIRMA` like "% our %") or (`OBIECT_ACTIVITATE` like "our,%" or `FIRMA` like "our,%" or `OBIECT_ACTIVITATE` like "% our,%" or `FIRMA` like "% our,%" or `OBIECT_ACTIVITATE` like "% our" or `FIRMA` like "% our")) and ((`OBIECT_ACTIVITATE` like "web %" or `FIRMA` like "web %" or `OBIECT_ACTIVITATE` like "% web %" or `FIRMA` like "% web %") or (`OBIECT_ACTIVITATE` like "web,%" or `FIRMA` like "web,%" or `OBIECT_ACTIVITATE` like "% web,%" or `FIRMA` like "% web,%" or `OBIECT_ACTIVITATE` like "% web" or `FIRMA` like "% web")) and ((`OBIECT_ACTIVITATE` like "srl %" or `FIRMA` like "srl %" or `OBIECT_ACTIVITATE` like "% srl %" or `FIRMA` like "% srl %") or (`OBIECT_ACTIVITATE` like "srl,%" or `FIRMA` like "srl,%" or `OBIECT_ACTIVITATE` like "% srl,%" or `FIRMA` like "% srl,%" or `OBIECT_ACTIVITATE` like "% srl" or `FIRMA` like "% srl")) and `COD` like 'Bihor%' order by `CREDITE` desc, `TVA` desc, `DATA` desc