+ 3
I have a table where one of the fields can be empty. I'm trying to return only these rows where this field is empty. Any ideas ?
10 Respostas
+ 5
Ok. Now instead of putting WHERE field = NULL
put WHERE field IS NULL;
It should work now.
+ 4
Ok. Now instead of putting WHERE field = NULL
put WHERE field IS NULL;
It should work now.
https://www.w3schools.com/sql/sql_null_values.asp
+ 3
I think you should use: SELECT column_name FROM table_name WHERE column_name = NULL;
I'm not sure if it will work, but give it a try.
+ 2
thank you for your awnser. But I keep getting errors just doing WHERE field = "" ... WHERE field = '' ... WHERE field = null
+ 2
thank you very much for your help.
+ 1
hiii
+ 1
hiii
0
hi
0
yes
0
hi :)