Hi @Laura Victoria Torres Ferrer ,
Thank you for posting query in Microsoft Q&A Platform.
Delta tables supports only
NOT NULL
andCHECK
constrains. Primary key and Foreign Key constrains are not supported.
Kindly check below documentation to understand about this more.
https://learn.microsoft.com/en-us/azure/databricks/delta/delta-constraints
From your ask it seems you would like relate tables between bronze layer and silver layer based on columns data. Is this for validating data? If yes, you can load data in to data frames and then perform join between data frames to see differences.
Hope this helps. Please let us know how it goes.
-----------------
Please consider hitting Accept Answer
button. Accepted answers help community as well.