Hello! I have made an advanced query for you to accomplish just that!
#+BEGIN_QUERY
{:title "Work tasks"
:query [:find (pull ?b [*])
:where
[?t :block/name "work"] ; always lowercase
[?p :block/tags ?t]
[?b :block/refs ?p]
[?b :block/marker ?m]
[(contains? #{"TODO" "DOING"} ?m)]
]
}
#+END_QUERY
I will also link this in the task management topic 
1 Like