Your query as posted is not valid SQL and should be returning an error.
If the query was corrected in the obvious way and returns no rows, i.e. the while() loop is never entered, that would be because there are no rows in that table with 'EMPTY' in column4. This is correct behaviour.
Bookmarks