I want to select the name like 'Bo%' or name like 'Ni%' from a table and I want to give a specific name to all that name like Bo and a specific name to all that name like Ni. But if I give an alias name as this it not works.
name like 'Bo%' as Male or name like'Ni%' as female. So how can I do this?