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