I have made one table with id, purchaser, seller,
Then I have a table called entities: id, entityname
The purchaser and seller fields reference an entity id
How can I setup a query where I now gets the purchasing entity name and the selling entity name.
Which relations do I need to setup.
Then I have a table called entities: id, entityname
The purchaser and seller fields reference an entity id
How can I setup a query where I now gets the purchasing entity name and the selling entity name.
Which relations do I need to setup.