php - Mysql return empty rows if multi where condition with empty value -



php - Mysql return empty rows if multi where condition with empty value -

i have created table in name of folders table contain name,folderid,parentfolderid when write query homecoming empty rows

example 1 : query : select * folders_tbl parentresourceid='' result : expected

but have add together status in fail homecoming expected rows

example 2 : (issue) query : select * folders_tbl parentresourceid = '' , serviceid =1 , userid =1 result : returned empty result set table construction folderid bigint(20) serviceid int(11) userid bigint(20) foldername varchar(200) resourceid varchar(500) parentresourceid varchar createddate datetime modifieddate datetime shared int(11) istrashed int(11) isdeleted int(11) note : write query in phpmyadmin web ui

it seems have records contains null value. if use

parentresourceid null in condition

php mysql database phpmyadmin mysql-workbench

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -