Hi,
I have two words regulate and control.
I want to retrieve data from table only for regulate i.e it should not get the rows that has word control.
I tried using LIKE and like but it is giving syntax error. I am using 3.23 version.
query is like this:
How to get only records related to regulate but not control?
with regards
Archana
I have two words regulate and control.
I want to retrieve data from table only for regulate i.e it should not get the rows that has word control.
I tried using LIKE and like but it is giving syntax error. I am using 3.23 version.
query is like this:
Code:
select * from table1 where col_name like '%regulate%' NOT col_name like '%control%';
with regards
Archana
Comment