select - sql LIKE statement combined from three "like"`s -


how combine sql query 3 statements? i`m trying this:

select * mytable     (name '%somechars%' ,      (city '%somechars%' ,       type like'% somechars%')   ); 

it doesn`t work, can me please ?

the query correct except fact type sql keyword, try putting between bracket that:

select * [mytable]   ([name] '%somechars%' ,         ([city] '%somechars%' ,          [type] '%somechars%')); 

ps: parenthesis not needed


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -