How to combine two queries, to get all tasks from one main topic?

Hello all,
I am pretty new to logseq and I am trying to get all “Later/Now” tasks in a certain hierarchy. I have mixed private and work in one Journal. To distinguish both I usually start every workday with a block [[work/projectA]] or [[personal]] or [[personal/projectX]].

I am trying to setup two distinct pages “work/tasks” and “personal/tasks”, for doing so have to merge somehow two working queries, and I am asking here for help on how to achieve this.

The following queries both work independently:

{:title "Find tasks: personal"
:query [
	:find (pull ?b [*])
	[?b :block/marker ?marker]
	[(contains? #{"LATER" "NOW"} ?marker)]
	[?p :block/name "personal"]
{:query [:find (pull ?b [*])
	[?b :block/ref-pages ?p]
	[?p :block/name ?tag]
	[(clojure.string/starts-with? ?tag "personal")]]

How to combine both into one. The goal is to only show tasks from blocks marked as “personal”.


OK; it is very simple.
I have now two task pages, one for work and one for personal stuff. On the page I have things I am doing now on top followed by the tasks reserved for later. Here is the setup.

{{query (and [[personal]] (todo now))}}
{{query (and [[personal]] (todo later))}}