select id, name, phone_number from contacts where (phone_number like '__________' or phone_number like'___-___-____') and phone_number not like '0%' and phone_number not regexp '[a-z]' order by id;