I have three tables in a ternary relationship. I want to convert it to a logical schema and create the tables in SQL Tables are Prescription, Device and Order.