not like in mysql

by Ramya 2010-11-02 15:25:54

use not like in mysql query to check if not condition

to check if not condition in mysql query, use "not like" keywords as,
mysql> select category from table where category not like 'Animal'


this query will execute the list of categories added in database except the category 'Animal'

Tagged in:

863
like
0
dislike
0
mail
flag

You must LOGIN to add comments