this is probably pretty simple but i've not yet been able to figure out.
i have a table with structure:
id | VALUE
FIELD | VALUE
FIELD | VALUE
FIELD | VALUE
FIELD | VALUE
etc...
some of the fields do not have values (not sure if they are NULL or empty....)
I want to select all where ID=value and FIELD has a value. in other words, i want to ignore all the fields without values. is there is simple command for this?
SELECT from tablename where LENGTH(any field*) > 0
something along those lines.
thanks!