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