I would like to get all the immediate folders from a given path. For example, I would like to query the 6 immediate folders under we-retail/en:

I found a similar post here: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-querybuilder-how-to-re... but it is using X-Path.
Here is the query for XPATH:
type=nt:base
path=/content/dam/we-retail/en
property=jcr:primaryType
property.1_value=sling:OrderedFolder
property.2_value=sling:Folder
path.flat=true
p.hits=selective
p.properties=jcr:path
Does anyone know what would be the query for JCR SQL2? Thanks!