sql - LIKE and NOT LIKE in MySQL do not match total number of rows -
for example, have 100 row table varchar
column.
i run these queries:
select count(*) mytable mytext '%hello%' select count(*) mytable mytext not '%hello%'
i not getting total count of 100. not picking of rows reason. why happening?
check null
values, neither like
nor not like
count these.
Comments
Post a Comment