Hi @Oscar Nicolas , welcome to Microsoft Q&A forum.
Cross database query by mentioning the database name in the query is not supported in Azure SQL Database, however we can do cross database query using elastic queries through external tables.
Please refer to below article on how to implement it:
Read more about elastic query:
Please let us know if this helps or else we can discuss further.
If answer helps, please mark it 'Accept Answer'