It worked, but to a certain extent, because in this case I used more than just one column, and when I used the {endrepeat} command, I was duplicating my entries.
Select property: {dbselect: SELECT Propriedade FROM Table; space=0rTsvJIAG84gs6CNXsn8iA; menu=yes}{dbselect: SELECT Categoria, `5% OFF NO CARTÃO - ATÉ 15 DE OUTUBRO`, Propriedade FROM Table WHERE Propriedade = @propriedade; space=0rTsvJIAG84gs6CNXsn8iA; multiple=yes; menu=no}
List of categories is: {repeat: for item in categoria} {repeat: for category in `5% off no cartão - até 15 de outubro`}
{=item} {=category}
Select property: {dbselect: SELECT Propriedarde FROM `Community-Properties` GROUP BY Propriedarde ORDER BY Propriedarde ASC; space=id; menu=yes; multiple=yes}
{repeat: for item in propriedarde}
{dbselect: SELECT Categoria FROM `Community-Properties` WHERE Propriedarde = {=item}; space=id; multiple=yes; menu=no}
List of categories for {=item} is: {repeat: for item in categoria}
{=item}
{endrepeat}
{endrepeat}
You can also use {=join(preco, ", ")} instead of {=join(preco, "BLAZE_AND")} to separate the prices differently if you don't want it to say "2306" and "2306"