Using query but it returns a null row? (MySQL) -


i have table number of values. however, when use command:

select id table id <= 2 , id not null 

i following output:

#  id 1  1 2  2 *  null 

however, having null row messes things, use in statement on subquery, evaluates false there comparison null value.

could explain why null value exists, , how rid of it?

thanks!


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -