Get Design One To One Relationship Symbol Example Download Zip Pictures. For example, a user model might be associated with one mobile. To define this relationship, we place a mobile method on the user model.
I have a table called task_tbl and i want the user to rate a task the task can have only 1 rating in the database which will be from 1 to 5.
For more detail, please visit So, depending on your implementation, building a relationship like this may not be necessary to protect information. The example illustrates the advantage of embedding over referencing if you need to view one data entity in context of the other. Why would you do this, instead of just putting both rows into a single row in one table?