wixData.query() between two collections

Hi, is there a way in javascript to use the wixData.query() function with two collections?
I would like to do a simple join, but how?

Thank you and Merry Christmas to everyone.
Claudio

You can use the wixuser.register() function to register the user within wix and use wixdata.query () to save even more details in another database, so you can better manage the user via wix but have freedom with databases

Already found your solution?