You can use the "formula" data type and using the function:from_dataset(
DatasetName, Field, Criteria).
The criteria obviusly is the rule to pick the specific tuple you want, for exemple you can do something like this:
ID: from_dataset("Persona", "id_persona", first_name = "John")
In this way you can pick the id_persona from Persona dataset where name is John.
Hope you can solve with this!
↧
Split SQL insert statements for a schema using other datasets
↧