컬럼끼리 비교하기

컬럼끼리 비교하기

더시민 0 821 0

select * from a_serverset where A_name = '특정컬럼값' and A_title like concat('%',name,'%')

 

select * from a_serverset where A_name = '특정컬럼값' and A_title like '%'+name+'%'

 

이런방법으로 컬럼의값으로 like 사용가능

0 Comments
제목
Category
Facebook Twitter GooglePlus KakaoStory KakaoTalk NaverBand