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