title: Implementing foreign key from two different tables
body: <p>I have three tables and from first table I want to send data column <code>transId</code> into second table column <code>refId</code>, and the same from third table I want to send data column <code>transId</code> into second table column <code>refId</code> with relation of both first and third table. How is this possible?</p>