if you have two tables:
emp (id , name, grad)
grad (id, name)
and you want to compare column (emp.name and grad.name) with LIKE % use this:
select e.name, g.name
from emp e inner join grad g
ON e.grad like CONCAT('%',g.name, '%');
~/.bash_profile
or~/.profile To set Gentoo-like colors on bash prompt, edit ~/.profile (or /etc/profile for system-wide defaults) and add the following:
and add the following two lines:export CLICOLOR=1
#Dark blue
#export LSCOLORS=ExFxCxDxBxegedabagacad
#Gentoo Color
export LSCOLORS=ExGxFxDxCxDxDxhbhdacEc
#Light Blue Color
#export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx