I have a little bit of a problem in a mysql query. It is this one:
[CODE=mysql]SELECT `id` FROM `table` WHERE `row1'`='someth ing' AND `row2` NOT NULL;[/CODE]
How can i select values that verify `row1'`='someth ing' but are not NULL ?
I tried ! , != and others but with no luck
[CODE=mysql]SELECT `id` FROM `table` WHERE `row1'`='someth ing' AND `row2` NOT NULL;[/CODE]
How can i select values that verify `row1'`='someth ing' but are not NULL ?
I tried ! , != and others but with no luck
Comment