i\'ve got a table \"bla\" like this:
[id] [name] [fk] 1 test 4 2 foo 5 3 bar NULL
if i do the sql
Following statement should help:
SELECT * FROM bla WHERE COALESCE(fk,0) <> 4