SELECT .* FROM WHERE (((.)=IIf([]![]![]=0,[]![]![],(([].[]) Not Like "0*"))));
http://www.sql.ru/forum/1091986/uslovie-otbora-dannyh