I want to retrieve the values of two columns related to two different models (without foreign keys). In SQL, I would write it as this: