This is probably a stupid question but I don't get it.
I have a table called sites
2 rows have a name='siteisdow n'
1 row has a value of 1 and the other has a value of '' (nothing)
This works fine, it returns 1 row with a value of 1, along with all the
other columns.
"SELECT * from sites where name='siteisdow n' AND value =".TRUE);
This returns nothing:
"SELECT * from sites where name='siteisdow n' AND value ='' ";
I don't understand why this returns nothing.
How do I call the siteisdown row with a value of nothing ?
I have a table called sites
2 rows have a name='siteisdow n'
1 row has a value of 1 and the other has a value of '' (nothing)
This works fine, it returns 1 row with a value of 1, along with all the
other columns.
"SELECT * from sites where name='siteisdow n' AND value =".TRUE);
This returns nothing:
"SELECT * from sites where name='siteisdow n' AND value ='' ";
I don't understand why this returns nothing.
How do I call the siteisdown row with a value of nothing ?
Comment